Closed
Description
Describe the bug
A clear and concise description of what the bug is.
With Expression, queries can be used only to compute expression;
In that cas, query may be "hidden", but required.
So for grafana-snapshot by example, need to transmit "hide" param from query to datasource.
To Reproduce
Steps to reproduce the behavior:
see grafana-snapshot-tool Issue 5
Expected behavior
A clear and concise description of what you expected to happen.
that que query_factory add hide param in query:
{
"0": {
"adhocFilters": [],
"datasource": {
"type": "prometheus",
"uid": "beb2k426wosu8b"
},
"datasourceId": 1,
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum(rate(node_cpu_seconds_total[$__rate_interval]))",
"fullMetaSearch": false,
"hide": true,
"includeNullMetadata": false,
"instant": false,
"interval": "60s",
"intervalMs": 15000,
"legendFormat": "__auto",
"maxDataPoints": 916,
"range": true,
"refId": "first",
"useBackend": false
}
}
Versions
- Grafana: [ 11]
grafana-client
: [current ]
Additional context
will be used in conjoinction with new release of grafana-snapshot
Metadata
Metadata
Assignees
Labels
No labels