Victoriametrics: Datapoints pannel in the VM Dashboard seems wrong

Created on 11 Jun 2020  路  2Comments  路  Source: VictoriaMetrics/VictoriaMetrics

Describe the bug
Currently, when we use the available Grafana dashboard for VM provided in this repo, the panel "Datapoints" seems wrong; on https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/dashboards/victoriametrics.json#L1352, the number of data-points is divided by the amount of used storage (datapoints-per-byte), but the value name is bytes-per-datapoint. Is a mistake or I have misunderstood something ?

If it is a mistake, it is easy to fix:

-              "expr": "sum(vm_rows{job=\"$job\", type != \"indexdb\"}) / sum(vm_data_size_bytes{job=\"$job\", type!=\"indexdb\"})",
+              "expr": "sum(vm_data_size_bytes{job=\"$job\", type!=\"indexdb\"}) / sum(vm_rows{job=\"$job\", type != \"indexdb\"})",

To Reproduce
Import the dashboard https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/dashboards/victoriametrics.json on Grafana

Expected behavior
I expect to see the graph of bytes-per-datapoint and not datapoints-per-byte

Screenshots
_No screenshot_

Version
_Not applicable_

Used command-line flags
_Not applicable_

Additional context
_Not applicable_

bug dashboard

Most helpful comment

Thanks @hagen1778 for that. The fixed dashboard is already released, so I close this issue.

All 2 comments

Thanks for report @xunleii! See linked PRs for a fix.

Thanks @hagen1778 for that. The fixed dashboard is already released, so I close this issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Serrvosky picture Serrvosky  路  3Comments

oOHenry picture oOHenry  路  4Comments

pmitra43 picture pmitra43  路  3Comments

sh0rez picture sh0rez  路  3Comments

valyala picture valyala  路  4Comments