Skip to content
This repository was archived by the owner on Oct 23, 2019. It is now read-only.
This repository was archived by the owner on Oct 23, 2019. It is now read-only.

[questing] Empty grafana dashboard #219

@Igor-lkm

Description

@Igor-lkm

Problem: Dashboard 1598 is empty, data from zipkin is in Prometheus

Setup: k8s cluster with zipkin, prometheus (helm) and grafana (helm)

I am using zipkin-transport-http to send data to zipkin

Dashboard: https://grafana.com/grafana/dashboards/1598

gnetId: 1598
revision: 15

Zipkin deployment config on k8s with Prometheus scraping configuration:

      annotations:
        prometheus.io/scrape: 'true'
        prometheus.io/port: '9411'
        prometheus.io/path: '/actuator/prometheus'
    spec:
      containers:
        - name: zipkin
          image: 'openzipkin/zipkin:2.15.0'

Example response produces by zipkin:9411/actuator/prometheus

zipkin_collector_messages_total{transport="http",} 223.0

Dashboard is empty:

Screenshot 2019-08-05 at 11 20 42

Data is in prometheus:

Screenshot 2019-08-05 at 11 20 58

Example: Messages received per transport

Example query from dashboard:

sum by(transport)(rate(zipkin_collector_messages_total{job="zipkin",instance=~"$instances"}[$__interval]))

And seems i do not have job="zipkin",instance=~"$instances"

So this would work ok:

sum by(transport)(rate(zipkin_collector_messages_total{}[5m]))

In table view looks like this:

Screenshot 2019-08-05 at 11 50 28

Job: kubernetes-pods

Seems somehow job and instance are missed 🤔 Maybe I am missing something?

Thanks for the help!

Added:

Works ok with different labels.

Looks like it is a broad question at the end.

For example RabbitMQ has metrics like rabbitmq_node_mem_used, prefixed with rabbitmq (dashboard 4279)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions