Scrape Loki metrics
Change-Id: I2cd9c872882cd760fc2ff10028b7e03a31f8fba5
diff --git a/charts/prometheus/prometheus.yaml b/charts/prometheus/prometheus.yaml
index df785d3..66ae8d8 100644
--- a/charts/prometheus/prometheus.yaml
+++ b/charts/prometheus/prometheus.yaml
@@ -1149,6 +1149,10 @@
static_configs:
- targets:
- localhost:9090
+ - job_name: loki
+ static_configs:
+ - targets:
+ - #@ "loki-{}.{}.svc.cluster.local:3100".format(data.values.namespace, data.values.namespace)
# A scrape configuration for running Prometheus on a Kubernetes cluster.
# This uses separate scrape configs for cluster components (i.e. API server, node)