Logo
Explore Help
Sign In
IntenseWebs/grafana
3
0
Fork 0
You've already forked grafana
mirror of https://github.com/grafana/grafana.git synced 2025-02-25 18:55:37 -06:00
Code Issues Packages Projects Releases Wiki Activity
Files
6adcfa9e50f3bcb1aca50ee68d83bc1856126142
grafana/public/app/plugins/datasource/graphite/versions.ts

6 lines
155 B
TypeScript
Raw Normal View History

Graphite: fix autocomplete when tags are not available (#31680) * Return empty list of tags when tags are not available In some configurations graphite-web fail to return the list of tags. It shouldn't however prevent displaying list of metrics (which is concatenated with tags). * Populate jsonData with default version of Graphite The version of Graphite is preselected in the dropdown but was not saved in jsonData initially. * Fix a typo * Show a popup with an error message * Always use the latest Graphite value as the default one when creating a datasource * Move autocomplete error handling to GraphiteQueryCtrl * Test error handing in Graphite autocomplete * Test default Graphite version fallback * Rename graphite_versions.ts to versions.ts * Remove redundant import * Code formatting, minor renaming * Remove redundant error info
2021-03-16 10:59:53 +01:00
import { last } from 'lodash';
export const GRAPHITE_VERSIONS = ['0.9', '1.0', '1.1'];
export const DEFAULT_GRAPHITE_VERSION = last(GRAPHITE_VERSIONS)!;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 61ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API