Skip to content

Commit

Permalink
Add Mimir Alertmanager datasource (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoBrigitte authored Dec 5, 2024
1 parent 3992f3c commit ca3637d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Add Mimir Alertmanager datasource

## [0.9.1] - 2024-11-21

### Fixed
Expand Down
11 changes: 11 additions & 0 deletions pkg/grafana/grafana.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@ var defaultDatasources = []Datasource{
"implementation": "prometheus",
},
},
{
Name: "Mimir Alertmanager",
Type: "alertmanager",
IsDefault: false,
URL: "http://mimir-alertmanager.mimir.svc:8080",
Access: datasourceProxyAccessMode,
JSONData: map[string]interface{}{
"handleGrafanaManagedAlerts": false,
"implementation": "mimir",
},
},
{
Name: "Mimir olly-op",
Type: "prometheus",
Expand Down

0 comments on commit ca3637d

Please sign in to comment.