X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Fdocker%2Fosm_pods%2Fprometheus.yaml;h=a914ea535b6789f1d4753b0095086352677e3f6a;hb=89c5f55fc5fe30e9f38ef079ebf27ac996183d61;hp=2610710f4a78de0893ca4c7fea7ef5c3df17a77f;hpb=09eaa9263cfd3f0eaf3c10d756a781ee241cb5e6;p=osm%2Fdevops.git diff --git a/installers/docker/osm_pods/prometheus.yaml b/installers/docker/osm_pods/prometheus.yaml index 2610710f..a914ea53 100644 --- a/installers/docker/osm_pods/prometheus.yaml +++ b/installers/docker/osm_pods/prometheus.yaml @@ -73,8 +73,10 @@ data: # A scrape configuration containing exactly one endpoint to scrape: # Here it's Prometheus itself. - scrape_configs: [] - # scrape_configs: + scrape_configs: + - job_name: 'mon_exporter' + static_configs: + - targets: ['mon:8000'] # Add here other external targets, e.g. a pushgateway # - job_name: 'pushgateway' # static_configs: @@ -125,7 +127,7 @@ spec: - name: prom-db mountPath: /prometheus - name: prometheus-config-sidecar - image: opensourcemano/prometheus:12 + image: opensourcemano/prometheus:13 env: - name: MONGODB_URL value: mongodb://mongodb-k8s:27017/?replicaSet=rs0