Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Add instructions to set up alerting channels to Prometheus example #227

Merged
merged 2 commits into from
Dec 9, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add Alertmanager datasource to Grafana
chrkl committed Dec 9, 2022
commit 9253b135bae43cd6572e825ff0b11d1956beb560
11 changes: 10 additions & 1 deletion prometheus/values.yaml
Original file line number Diff line number Diff line change
@@ -75,7 +75,7 @@ prometheus:
ruleSelectorNilUsesHelmValues: false

####### This block enabled scrape discovery based on typical prometheus annotations

additionalScrapeConfigs:
# Scrape config for service endpoints.
#
@@ -174,3 +174,12 @@ prometheus:
- source_labels: [__meta_kubernetes_pod_name]
action: replace
target_label: kubernetes_pod_name

grafana:
additionalDataSources:
- name: Alertmanager
type: alertmanager
url: http://{{ printf "%s-kube-prometh-alertmanager.%s" .Release.Name .Release.Namespace }}:9093
access: proxy
jsonData:
implementation: prometheus