-
Notifications
You must be signed in to change notification settings - Fork 8
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
VictoriaMetrics datasource #18
Comments
More general feature request: to add support or an example query for Prometheus datasource in Grafana. This datasource is compatible with VictoriaMetrics. See also MetricsQL docs. |
In order to make this plugin work with any prometheus-compatible datasource(including VictoriaMetrics), you need to set 2 queries: one for wind speed and one for speed direction. "targets": [
{
"datasource": {
"type": "prometheus",
"uid": "P4169E866C3094E38"
},
"exemplar": false,
"expr": "meteo_ws_mean{location=\"$location\"}",
"instant": false,
"interval": "",
"legendFormat": "speed",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "P4169E866C3094E38"
},
"exemplar": false,
"expr": "meteo_wd_mean{location=\"$location\"}",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "direction",
"refId": "B"
}
] Tested with following versions: |
confirm - it works) |
Thanks @newrushbolt , I've added a section to the README based on your comment, see https://github.com/spectraphilic/grafana-windrose#prometheus ; feel free to amend it with a PR if there's something wrong. Closing. |
I confirm too, it works with v9.0.6 and influxdb.... |
Is it possible to use this plugin with VictoriaMetrics?
The text was updated successfully, but these errors were encountered: