Skip to content

Commit

Permalink
feat: add system field to data source instances
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenjaneczek committed Dec 2, 2024
1 parent 7ef35b2 commit 7c3bddc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7c3bddc

Please sign in to comment.