mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
22 lines
445 B
JavaScript
22 lines
445 B
JavaScript
// jshint ignore: start
|
|
// jscs: disable
|
|
ace.define("ace/snippets/prometheus",["require","exports","module"], function(require, exports, module) {
|
|
"use strict";
|
|
|
|
// exports.snippetText = "# rate\n\
|
|
// snippet r\n\
|
|
// rate(${1:metric}[${2:range}])\n\
|
|
// ";
|
|
|
|
exports.snippets = [
|
|
{
|
|
"content": "rate(${1:metric}[${2:range}])",
|
|
"name": "rate()",
|
|
"scope": "prometheus",
|
|
"tabTrigger": "r"
|
|
}
|
|
];
|
|
|
|
exports.scope = "prometheus";
|
|
});
|