Skip to content

Instantly share code, notes, and snippets.

@jotak
Created December 8, 2017 08:18
Show Gist options
  • Save jotak/d99c04563903338268821b42340b3864 to your computer and use it in GitHub Desktop.
Save jotak/d99c04563903338268821b42340b3864 to your computer and use it in GitHub Desktop.
For Medium
global:
# set whatever you like
scrape_interval: 10s
scrape_timeout: 10s
scrape_configs:
- job_name: dc_prometheus
honor_labels: true
metrics_path: /federate
params:
match[]:
- '{job="my-kubernetes-job"}'
static_configs:
- targets:
- prometheus-slaveA:9090
- prometheus-slaveB:9090
@jotak
Copy link
Author

jotak commented Dec 8, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment