From 7c3bddcc7baf367b5dc09dd89917b5cd210f9209 Mon Sep 17 00:00:00 2001 From: Darren Janeczek Date: Mon, 2 Dec 2024 12:08:47 -0500 Subject: [PATCH] feat: add `system` field to data source instances --- backend/common.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/common.go b/backend/common.go index 885d00486..13ab7f254 100644 --- a/backend/common.go +++ b/backend/common.go @@ -79,6 +79,10 @@ type DataSourceInstanceSettings struct { // This should be the same value as PluginContext.PluginId. Type string + // This indicates that the instance is a system instance and should not appear + // in Grafana except through code that will explicitly request system data sources + System bool + // Name is the configured name of the data source instance. Name string