Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note about instance relabeling for grafana dashboards #3

Closed
robbi5 opened this issue Mar 26, 2020 · 1 comment
Closed

Add note about instance relabeling for grafana dashboards #3

robbi5 opened this issue Mar 26, 2020 · 1 comment

Comments

@robbi5
Copy link

robbi5 commented Mar 26, 2020

First, thanks for the awesome bbb-exporter 😍

After setting it up a few minutes ago, I was a bit confused about missing cpu/bandwidth-metrics. The instance dropdown in grafana is build by using label_values(bbb_api_up, instance) - in my case that returned bbbhost.example:443.
The instance label from my netdata appeared as bbbhost.example:19999. In this case, the $instance variable in grafana contained bbbhost.example:443 and such the corresponding netdata metrics were not found.

Currently I've solved it by adding the following relabel config to my scrape_configs in prometheus.yml:

relabel_configs:
- source_labels: ['__address__']
  separator:     ':'
  regex:         '(.*):.*'
  target_label:  'instance'
  replacement:   '$1'

Just FYI - if you like, just close the issue - or add a note about the requirement of equal instance labels for netdata and the exporter for the dashboards :)

@greenstatic
Copy link
Owner

Thank you @robbi5 for your findings. Yeah, I made the assumption that both the exporter and Netdata will be behind the BigBlueButton Nginx reverse proxy. I will expand the documentation to include this. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants