Feat: add option to show data source name (#2007)

Original [PR](https://github.com/grafana/grafana-zabbix/pull/2003)

Fixes #1766

---------

Co-authored-by: olaf <olaf@initworks.com>
This commit is contained in:
Zoltán Bedi
2025-05-05 13:39:04 +02:00
committed by GitHub
parent 8618b3b169
commit c0d212d3ae
6 changed files with 17 additions and 2 deletions

View File

@@ -19,6 +19,7 @@ export interface ProblemsPanelOptions {
opdataField?: boolean;
descriptionField?: boolean;
descriptionAtNewLine?: boolean;
showDatasourceName?: boolean;
// Options
hostsInMaintenance?: boolean;
showTriggers?: 'all triggers' | 'unacknowledged' | 'acknowledged';
@@ -70,6 +71,7 @@ export const defaultPanelOptions: Partial<ProblemsPanelOptions> = {
opdataField: false,
descriptionField: true,
descriptionAtNewLine: false,
showDatasourceName: false,
// Options
sortProblems: 'lastchange',
limit: undefined,