mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* Adding two new fields to the data JSON in the prometheus datasource configuration: prometheusType, and prometheusVersion. * Version field will attempt to auto-detect via buildinfo API when prometheus Type is selected
81 lines
3.1 KiB
TypeScript
81 lines
3.1 KiB
TypeScript
export const PromFlavorVersions: { [index: string]: Array<{ value?: string; label: string }> } = {
|
|
Prometheus: [
|
|
{ value: undefined, label: 'Please select' },
|
|
{ value: '2.0.0', label: '< 2.14.x' },
|
|
{ value: '2.14.0', label: '2.14.x' },
|
|
{ value: '2.15.0', label: '2.15.x' },
|
|
{ value: '2.16.0', label: '2.16.x' },
|
|
{ value: '2.17.0', label: '2.17.x' },
|
|
{ value: '2.18.0', label: '2.18.x' },
|
|
{ value: '2.19.0', label: '2.19.x' },
|
|
{ value: '2.20.0', label: '2.20.x' },
|
|
{ value: '2.21.0', label: '2.21.x' },
|
|
{ value: '2.22.0', label: '2.22.x' },
|
|
{ value: '2.23.0', label: '2.23.x' },
|
|
{ value: '2.24.0', label: '2.24.x' },
|
|
{ value: '2.25.0', label: '2.25.x' },
|
|
{ value: '2.26.0', label: '2.26.x' },
|
|
{ value: '2.27.0', label: '2.27.x' },
|
|
{ value: '2.28.0', label: '2.28.x' },
|
|
{ value: '2.29.0', label: '2.29.x' },
|
|
{ value: '2.30.0', label: '2.30.x' },
|
|
{ value: '2.31.0', label: '2.31.x' },
|
|
{ value: '2.32.0', label: '2.32.x' },
|
|
{ value: '2.33.0', label: '2.33.x' },
|
|
{ value: '2.34.0', label: '2.34.x' },
|
|
{ value: '2.35.0', label: '2.35.x' },
|
|
{ value: '2.36.0', label: '2.36.x' },
|
|
{ value: '2.37.0', label: '2.37.x' },
|
|
{ value: '2.38.0', label: '2.38.x' },
|
|
{ value: '2.39.0', label: '2.39.x' },
|
|
{ value: '2.40.0', label: '2.40.x' },
|
|
|
|
// This value will be returned for future versions of prometheus until we add new entries to this object
|
|
{ value: '2.40.1', label: '> 2.40.x' },
|
|
],
|
|
Mimir: [
|
|
{ value: undefined, label: 'Please select' },
|
|
{ value: '2.0.0', label: '2.0.x' },
|
|
{ value: '2.1.0', label: '2.1.x' },
|
|
{ value: '2.2.0', label: '2.2.x' },
|
|
{ value: '2.3.0', label: '2.3.x' },
|
|
{ value: '2.4.0', label: '> 2.3.x' },
|
|
],
|
|
Thanos: [
|
|
{ value: undefined, label: 'Please select' },
|
|
{ value: '0.0.0', label: '< 0.16.x' },
|
|
{ value: '0.16.0', label: '0.16.x' },
|
|
{ value: '0.17.0', label: '0.17.x' },
|
|
{ value: '0.18.0', label: '0.18.x' },
|
|
{ value: '0.19.0', label: '0.19.x' },
|
|
{ value: '0.20.0', label: '0.20.x' },
|
|
{ value: '0.21.0', label: '0.21.x' },
|
|
{ value: '0.22.0', label: '0.22.x' },
|
|
{ value: '0.23.0', label: '0.23.x' },
|
|
{ value: '0.24.0', label: '0.24.x' },
|
|
{ value: '0.25.0', label: '0.25.x' },
|
|
{ value: '0.26.0', label: '0.26.x' },
|
|
{ value: '0.27.0', label: '0.27.x' },
|
|
{ value: '0.28.0', label: '0.28.x' },
|
|
{ value: '0.29.0', label: '> 0.28.x' },
|
|
],
|
|
Cortex: [
|
|
{ value: undefined, label: 'Please select' },
|
|
{ value: '0.0.0', label: '< 1.0.0' },
|
|
{ value: '1.0.0', label: '1.0.0' },
|
|
{ value: '1.1.0', label: '1.1.x' },
|
|
{ value: '1.2.0', label: '1.2.x' },
|
|
{ value: '1.3.0', label: '1.3.x' },
|
|
{ value: '1.4.0', label: '1.4.x' },
|
|
{ value: '1.5.0', label: '1.5.x' },
|
|
{ value: '1.6.0', label: '1.6.x' },
|
|
{ value: '1.7.0', label: '1.7.x' },
|
|
{ value: '1.8.0', label: '1.8.x' },
|
|
{ value: '1.9.0', label: '1.9.x' },
|
|
{ value: '1.10.0', label: '1.10.x' },
|
|
{ value: '1.11.0', label: '1.11.x' },
|
|
{ value: '1.13.0', label: '1.13.x' },
|
|
{ value: '1.14.0', label: '> 1.13.x' },
|
|
],
|
|
};
|