Skip to content

Commit

Permalink
Fix grafana-cloud-missing-alert (#1111)
Browse files Browse the repository at this point in the history
* Fix grafana-cloud-missing-alert

* Update CHANGELOG.md
  • Loading branch information
QuentinBisson authored Apr 8, 2024
1 parent d989bac commit 1290948
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- Fix `PrometheusMissingGrafanaCloud` alert for non-mimir installations.
- Fix `IngressControllerDeploymentNotSatisfied` opsrecipe.

## [3.7.1] - 2024-04-08
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ spec:
annotations:
description: 'Prometheus is not sending data to Grafana Cloud.'
opsrecipe: tbd/
{{- if .Values.mimir.enabled }}
expr: absent(prometheus_remote_storage_samples_total{remote_name="grafana-cloud", cluster_type="management_cluster", cluster_id="{{ .Values.managementCluster.name }}", installation="{{ .Values.managementCluster.name }}", provider="{{ .Values.managementCluster.provider.kind }}", pipeline="{{ .Values.managementCluster.pipeline }}"})
{{- else }}
expr: absent(prometheus_remote_storage_samples_total{remote_name="grafana-cloud"})
{{- end }}
for: 1h
labels:
area: empowerment
Expand Down

0 comments on commit 1290948

Please sign in to comment.