-
-
- Implementation
-
-
-
-
- {
- onOptionsChange(
- produce(options, (draft) => {
- draft.jsonData.handleGrafanaManagedAlerts = e.currentTarget.checked;
- })
- );
- }}
- />
-
-
+ );
+ }}
+ />
+
{options.jsonData.handleGrafanaManagedAlerts && (
Make sure to enable the alert forwarding on the settings page.
)}
-
+
-
- Graphite Query
+
+
setTarget(e.currentTarget.value || '')}
onBlur={() => updateValue('target', target)}
placeholder="Example: statsd.application.counters.*.count"
/>
-
+
Or
-
- Graphite events tags
+
-
-
+
+
);
};
diff --git a/public/app/plugins/datasource/graphite/configuration/MappingsConfiguration.tsx b/public/app/plugins/datasource/graphite/configuration/MappingsConfiguration.tsx
index 8babee6d2a2..10de5f75ddd 100644
--- a/public/app/plugins/datasource/graphite/configuration/MappingsConfiguration.tsx
+++ b/public/app/plugins/datasource/graphite/configuration/MappingsConfiguration.tsx
@@ -1,6 +1,6 @@
import React, { ChangeEvent, useState } from 'react';
-import { Button, Icon, InlineField, InlineFieldRow, Input } from '@grafana/ui';
+import { Box, Button, Icon, InlineField, InlineFieldRow, Input } from '@grafana/ui';
import MappingsHelp from './MappingsHelp';
@@ -27,7 +27,7 @@ export const MappingsConfiguration = (props: Props): JSX.Element => {
)}
{props.showHelp && }
-
+
{mappings.map((mapping, i) => (
@@ -71,7 +71,7 @@ export const MappingsConfiguration = (props: Props): JSX.Element => {
>
Add label mapping
-
+
);
};
diff --git a/public/app/plugins/panel/barchart/BarChartPanel.tsx b/public/app/plugins/panel/barchart/BarChartPanel.tsx
index 13555415e9d..4088029f4f4 100644
--- a/public/app/plugins/panel/barchart/BarChartPanel.tsx
+++ b/public/app/plugins/panel/barchart/BarChartPanel.tsx
@@ -92,7 +92,7 @@ export const BarChartPanel = (props: PanelProps) => {
const xGroupsCount = vizSeries[0]?.length ?? 0;
const seriesCount = vizSeries[0]?.fields.length ?? 0;
- const totalSeries = info.series[0].fields.length - 1;
+ const totalSeries = Math.max(0, (info.series[0]?.fields.length ?? 0) - 1);
let { builder, prepData } = useMemo(
() => {
diff --git a/public/locales/de-DE/grafana.json b/public/locales/de-DE/grafana.json
index e608fb2218a..e9192406205 100644
--- a/public/locales/de-DE/grafana.json
+++ b/public/locales/de-DE/grafana.json
@@ -453,6 +453,16 @@
"title": "Versionen"
}
},
+ "dashboards": {
+ "settings": {
+ "variables": {
+ "dependencies": {
+ "button": "",
+ "title": ""
+ }
+ }
+ }
+ },
"data-source-list": {
"empty-state": {
"button-title": "",
@@ -497,6 +507,12 @@
"title": "",
"visibility": ""
},
+ "logs": {
+ "maximum-pinned-logs": "",
+ "no-logs-found": "",
+ "scan-for-older-logs": "",
+ "stop-scan": ""
+ },
"rich-history": {
"close-tooltip": "Abfrageverlauf schließen",
"datasource-a-z": "Datenquelle A-Z",
@@ -1479,11 +1495,6 @@
},
"query-editor-not-exported": "Datenquellen-Plugin exportiert keine Komponente des Abfrageeditors"
},
- "recentlyDeleted": {
- "filter": {
- "placeholder": ""
- }
- },
"refresh-picker": {
"aria-label": {
"choose-interval": "Automatische Aktualisierung ausgeschaltet. Aktualisierungszeitintervall auswählen",
diff --git a/public/locales/en-US/grafana.json b/public/locales/en-US/grafana.json
index 66793ded596..8d9fd95fbf6 100644
--- a/public/locales/en-US/grafana.json
+++ b/public/locales/en-US/grafana.json
@@ -453,6 +453,16 @@
"title": "Versions"
}
},
+ "dashboards": {
+ "settings": {
+ "variables": {
+ "dependencies": {
+ "button": "Show dependencies",
+ "title": "Dependencies"
+ }
+ }
+ }
+ },
"data-source-list": {
"empty-state": {
"button-title": "Add data source",
diff --git a/public/locales/es-ES/grafana.json b/public/locales/es-ES/grafana.json
index b3c44746295..d7595475012 100644
--- a/public/locales/es-ES/grafana.json
+++ b/public/locales/es-ES/grafana.json
@@ -453,6 +453,16 @@
"title": "Versiones"
}
},
+ "dashboards": {
+ "settings": {
+ "variables": {
+ "dependencies": {
+ "button": "",
+ "title": ""
+ }
+ }
+ }
+ },
"data-source-list": {
"empty-state": {
"button-title": "",
@@ -497,6 +507,12 @@
"title": "",
"visibility": ""
},
+ "logs": {
+ "maximum-pinned-logs": "",
+ "no-logs-found": "",
+ "scan-for-older-logs": "",
+ "stop-scan": ""
+ },
"rich-history": {
"close-tooltip": "Cerrar el historial de consultas",
"datasource-a-z": "Fuente de datos A-Z",
@@ -1479,11 +1495,6 @@
},
"query-editor-not-exported": "El complemento de la fuente de datos no exporta ningún componente del editor de consultas"
},
- "recentlyDeleted": {
- "filter": {
- "placeholder": ""
- }
- },
"refresh-picker": {
"aria-label": {
"choose-interval": "Actualización automática desactivada. Elija un intervalo de tiempo de actualización",
diff --git a/public/locales/fr-FR/grafana.json b/public/locales/fr-FR/grafana.json
index 74f930d67d3..a82c54f7606 100644
--- a/public/locales/fr-FR/grafana.json
+++ b/public/locales/fr-FR/grafana.json
@@ -453,6 +453,16 @@
"title": "Versions"
}
},
+ "dashboards": {
+ "settings": {
+ "variables": {
+ "dependencies": {
+ "button": "",
+ "title": ""
+ }
+ }
+ }
+ },
"data-source-list": {
"empty-state": {
"button-title": "",
@@ -497,6 +507,12 @@
"title": "",
"visibility": ""
},
+ "logs": {
+ "maximum-pinned-logs": "",
+ "no-logs-found": "",
+ "scan-for-older-logs": "",
+ "stop-scan": ""
+ },
"rich-history": {
"close-tooltip": "Fermer l'historique des requêtes",
"datasource-a-z": "Source de données A-Z",
@@ -1479,11 +1495,6 @@
},
"query-editor-not-exported": "Le plugin source de données n'exporte aucun composant de l'éditeur de requête"
},
- "recentlyDeleted": {
- "filter": {
- "placeholder": ""
- }
- },
"refresh-picker": {
"aria-label": {
"choose-interval": "Actualisation automatique désactivée. Choisir un intervalle de temps d'actualisation",
diff --git a/public/locales/pseudo-LOCALE/grafana.json b/public/locales/pseudo-LOCALE/grafana.json
index f0455ab7fb1..c9b676d7374 100644
--- a/public/locales/pseudo-LOCALE/grafana.json
+++ b/public/locales/pseudo-LOCALE/grafana.json
@@ -453,6 +453,16 @@
"title": "Vęřşįőʼnş"
}
},
+ "dashboards": {
+ "settings": {
+ "variables": {
+ "dependencies": {
+ "button": "Ŝĥőŵ đępęʼnđęʼnčįęş",
+ "title": "Đępęʼnđęʼnčįęş"
+ }
+ }
+ }
+ },
"data-source-list": {
"empty-state": {
"button-title": "Åđđ đäŧä şőūřčę",
diff --git a/public/locales/pt-BR/grafana.json b/public/locales/pt-BR/grafana.json
index 7e6309697af..538030fec77 100644
--- a/public/locales/pt-BR/grafana.json
+++ b/public/locales/pt-BR/grafana.json
@@ -453,6 +453,16 @@
"title": "Versões"
}
},
+ "dashboards": {
+ "settings": {
+ "variables": {
+ "dependencies": {
+ "button": "",
+ "title": ""
+ }
+ }
+ }
+ },
"data-source-list": {
"empty-state": {
"button-title": "",
@@ -497,6 +507,12 @@
"title": "",
"visibility": ""
},
+ "logs": {
+ "maximum-pinned-logs": "",
+ "no-logs-found": "",
+ "scan-for-older-logs": "",
+ "stop-scan": ""
+ },
"rich-history": {
"close-tooltip": "Fechar histórico de consultas",
"datasource-a-z": "Fonte de dados A-Z",
@@ -1479,11 +1495,6 @@
},
"query-editor-not-exported": "O plug-in de origem de dados não exporta nenhum componente de editor de consulta"
},
- "recentlyDeleted": {
- "filter": {
- "placeholder": ""
- }
- },
"refresh-picker": {
"aria-label": {
"choose-interval": "Atualização automática desativada. Escolha o intervalo de tempo de atualização",
diff --git a/public/locales/zh-Hans/grafana.json b/public/locales/zh-Hans/grafana.json
index 1907918627e..ed98538b140 100644
--- a/public/locales/zh-Hans/grafana.json
+++ b/public/locales/zh-Hans/grafana.json
@@ -448,6 +448,16 @@
"title": "版本"
}
},
+ "dashboards": {
+ "settings": {
+ "variables": {
+ "dependencies": {
+ "button": "",
+ "title": ""
+ }
+ }
+ }
+ },
"data-source-list": {
"empty-state": {
"button-title": "",
@@ -492,6 +502,12 @@
"title": "",
"visibility": ""
},
+ "logs": {
+ "maximum-pinned-logs": "",
+ "no-logs-found": "",
+ "scan-for-older-logs": "",
+ "stop-scan": ""
+ },
"rich-history": {
"close-tooltip": "关闭查询历史记录",
"datasource-a-z": "数据源 A-Z",
@@ -1473,11 +1489,6 @@
},
"query-editor-not-exported": "数据源插件不导出任何查询编辑器组件"
},
- "recentlyDeleted": {
- "filter": {
- "placeholder": ""
- }
- },
"refresh-picker": {
"aria-label": {
"choose-interval": "自动刷新已关闭。选择刷新时间间隔",