Coder Social home page Coder Social logo

grafana调用query api报错 about query HOT 6 CLOSED

claybbs avatar claybbs commented on August 17, 2024
grafana调用query api报错

from query.

Comments (6)

laiwei avatar laiwei commented on August 17, 2024

看看query的日志先

from query.

claybbs avatar claybbs commented on August 17, 2024

@laiwei 找到原因了。"dashboard": "http://10.252.74.15:8081", 这个地方之前配置的是0.0.0.0错了。

from query.

claybbs avatar claybbs commented on August 17, 2024

@laiwei 感谢

from query.

jumping avatar jumping commented on August 17, 2024

我用的是默认配置,grafana也报错“2016/07/27 11:42:41 [I] Completed 192.168.10.17 admin "GET /api/grafana/metrics/find HTTP/1.1" 500 Internal Server Error 0 bytes in 1549us”。在query日志里面没有发现错误提示。

{
    "debug": "true",
    "http": {
        "enabled":  true,
        "listen":   "0.0.0.0:9966"
    },
    "graph": {
        "connTimeout": 1000,
        "callTimeout": 5000,
        "maxConns": 32,
        "maxIdle": 32,
        "replicas": 500,
        "cluster": {
            "graph-00": "127.0.0.1:6070"
        }
    },
    "api": {
        "query": "http://127.0.0.1:9966",
        "dashboard": "http://127.0.0.1:8081",
        "max": 500
    }
}

from query.

jumping avatar jumping commented on August 17, 2024

✋ 原来url里面只支持IP,而不支持域名。
2 pic

from query.

lemon9921010 avatar lemon9921010 commented on August 17, 2024

image
grafana添加数据源时,query日志报错,哪里出问题了呢,谢谢
@laiwei @UlricQin

from query.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.