Hello all,
I am trying push the metrics from the Prometheus installed on mu Kubernetes
cluster to another centralized Prometheus server.
In my Kubernetes cluster I have configured the remote_write section for the
config map used by Prometheus on my Kubernetes cluster
prometheus.yml: |
global:
evaluation_interval: 1m
scrape_interval: 1m
scrape_timeout: 10s
remote_write:
- url: http://mypromserver:9091/metrics/job/aksjob/instance/aks1
In my centralized Prometheus server, I have the below configuration in the
Prometheus.yaml file:
global:
scrape_interval: 10s
scrape_configs:
- job_name: 'prometheus_metrics'
scrape_interval: 5s
static_configs:
- targets: ['localhost:9090']
- job_name: 'node_exporter_metrics'
scrape_interval: 5s
static_configs:
- targets: ['localhost:9100']
- job_name: 'Pushgateway'
scrape_interval: 5s
static_configs:
- targets: ['localhost:9091']
Am I doing anything wrong here. I am browsing my portal but I am not able
to understand how to query the metrics which have been forwarded from my
Kubernetes cluster ... if at all they are being forwarded.
Any help would be greatly appreciated here.
Regards,
Saurabh
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/48048233-b188-4eeb-91fe-10d052bbdb5bn%40googlegroups.com.