Commit 71272d90 by bergquist

prom: make $__$interval the first suggested range vector

parent a4e4b767
...@@ -92,16 +92,19 @@ export class PromCompleter { ...@@ -92,16 +92,19 @@ export class PromCompleter {
}); });
} }
} }
vectors.push({
caption: '$__interval', vectors.unshift({
value: '[$__interval',
meta: 'range vector',
});
vectors.push({
caption: '$__interval_ms', caption: '$__interval_ms',
value: '[$__interval_ms', value: '[$__interval_ms',
meta: 'range vector', meta: 'range vector',
}); });
vectors.unshift({
caption: '$__interval',
value: '[$__interval',
meta: 'range vector',
});
callback(null, vectors); callback(null, vectors);
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment