mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* graphite: initial seriesByTag() support * graphite: groupByTags() function * graphite: aliasByTags() function * graphite: fix optional params update, issue #9238 * graphite: fix tag-related functions version * graphite: add 1.1.x version to config * graphite: fix seriesByTag() series parsing
23 lines
580 B
TypeScript
23 lines
580 B
TypeScript
///<reference path="../../../headers/common.d.ts" />
|
|
|
|
import angular from 'angular';
|
|
import _ from 'lodash';
|
|
|
|
export class GraphiteConfigCtrl {
|
|
static templateUrl = 'public/app/plugins/datasource/graphite/partials/config.html';
|
|
current: any;
|
|
|
|
/** @ngInject */
|
|
constructor($scope) {
|
|
this.current.jsonData = this.current.jsonData || {};
|
|
this.current.jsonData.graphiteVersion = this.current.jsonData.graphiteVersion || '0.9';
|
|
}
|
|
|
|
graphiteVersions = [
|
|
{name: '0.9.x', value: '0.9'},
|
|
{name: '1.0.x', value: '1.0'},
|
|
{name: '1.1.x', value: '1.1'},
|
|
];
|
|
}
|
|
|