We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01f6db3 commit 04701fcCopy full SHA for 04701fc
src/datasource.ts
@@ -85,7 +85,7 @@ toMetricFindValue(rsp: DataQueryResponse): MetricFindValue[] {
85
86
overrideGrafanaVars(scopedVars: ScopedVars) {
87
// Replace time unit to match Datalayers
88
- if (scopedVars.__interval.text) {
+ if (scopedVars.__interval && scopedVars.__interval.text) {
89
const v = this.replaceTimeUnit(scopedVars.__interval.value);
90
scopedVars.__interval.value = v;
91
}
0 commit comments