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

Metrics in grafana dashboards replace * for garbage string #1

Open
hghmn opened this issue Nov 21, 2016 · 0 comments
Open

Metrics in grafana dashboards replace * for garbage string #1

hghmn opened this issue Nov 21, 2016 · 0 comments

Comments

@hghmn
Copy link
Contributor

hghmn commented Nov 21, 2016

Description

When the grafana container is created, several of the metrics from the loaded dashboards appear to have the same string replacing what should be the * character

Steps to reproduce the issue

  1. Create a dashboard that has a metric with the * character
  2. Start the container in Docker with the enclosing dashboards folder mounted
  3. Open the Grafana dashboard to view the metric

Describe the results you received

The metric expression, after loaded into grafana:

100 - (avg by (cpu) (irate(node_cpu{mode=\"idle\", instance=~\"$server\"}[5m])) bin boot dev docker-entrypoint.sh etc home lib lib64 media mnt opt proc root run run.sh sbin srv sys tmp usr var 100)

Describe the results you expected

The metric expression, before loaded into grafana:

100 - (avg by (cpu) (irate(node_cpu{mode=\"idle\", instance=~\"$server\"}[5m])) * 100)
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

1 participant