Skip to content

Commit

Permalink
feat(cockpit): add datasourcetype 'alerts' (#2201)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot committed Sep 9, 2024
1 parent 4f03fa4 commit ffad205
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/cockpit/v1/cockpit_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ const (
DataSourceTypeLogs = DataSourceType("logs")
// Traces data source type, used to store and query traces using Grafana Tempo.
DataSourceTypeTraces = DataSourceType("traces")
// Alerts data source type, used as an endpoint for firing alerts using the Grafana Mimir alert manager.
DataSourceTypeAlerts = DataSourceType("alerts")
)

func (enum DataSourceType) String() string {
Expand All @@ -108,6 +110,7 @@ func (enum DataSourceType) Values() []DataSourceType {
"metrics",
"logs",
"traces",
"alerts",
}
}

Expand Down

0 comments on commit ffad205

Please sign in to comment.