Git Product home page Git Product logo

example-grafana-prometheus's People

Contributors

girishc13 avatar samsja avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

girishc13 bugz1

example-grafana-prometheus's Issues

Grafana cannot query any metrics data after connecting to the prometheus data source

I use these three profiles from:
https://github.com/jina-ai/example-grafana-prometheus/tree/main/opentelemetry-local

  • docker-compose.yml
  • otel-collector-config.yml
  • prometheus-config.yml

The following command was executed:

docker-compose up

The output log is here:
https://gist.github.com/coolmian/0b583a24d044255bda76889caf5f83a8

I can normally access these three front-end pages:
http://ip:3000/
http://ip:16686/
http://ip:9090/

I added a Prometheus data source in Grafana, and the configured address is http://ip:9090
After saving, display Data source is working

Then I imported the dashboard through the configuration file
https://github.com/jina-ai/example-grafana-prometheus/blob/main/grafana-dashboards/flow-histogram-metrics.json

Then I sent a few requests

from jina import Flow, Document, DocumentArray

if __name__ == '__main__':
    with Flow(
        tracing=True,
        traces_exporter_host='http://myip',
        traces_exporter_port=4317,
        metrics=True,
        metrics_exporter_host='http://myip',
        metrics_exporter_port=4317,
    ).add(uses='jinaai://jina-ai/SimpleIndexer') as f:
        f.post('/', DocumentArray([Document(text='hello')]))

I see the tracking data in the Jeager UI.
However, No data is displayed on all panels of the dashboard in Grafana.

I also can't get any data by the metrics names in Prometheus front-end pages.
https://docs.jina.ai/concepts/flow/instrumentation/#instrumenting-flow

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.