-
-
Save dasl-/eb28a9f692fdc76dc2c8033b40557616 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # my global config | |
| global: | |
| scrape_interval: 10s # Set the scrape interval to every 15 seconds. Default is every 1 minute. | |
| evaluation_interval: 10s # Evaluate rules every 15 seconds. The default is every 1 minute. | |
| # scrape_timeout is set to the global default (10s). | |
| # A scrape configuration containing exactly one endpoint to scrape: | |
| scrape_configs: | |
| # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config. | |
| - job_name: "node" | |
| # metrics_path defaults to '/metrics' | |
| # scheme defaults to 'http'. | |
| static_configs: | |
| - targets: [ | |
| "study:9100", | |
| "study:9101", | |
| "pifi:9100", | |
| "kitchen:9100", | |
| "scaredycat:9100", | |
| "bedroom:9100", | |
| "piwall:9100", | |
| "piwall1:9100", | |
| "piwall2:9100", | |
| "piwall3:9100", | |
| "piwall4:9100", | |
| "piwall5:9100", | |
| "piwall6:9100", | |
| "piwall7:9100", | |
| "piwall8:9100", | |
| "piwall9:9100", | |
| "piwall10:9100", | |
| ] | |
| # Remove the port number suffix from the instance labels | |
| relabel_configs: | |
| - source_labels: [__address__] | |
| regex: "([^:]+):\\d+" | |
| target_label: instance | |
| storage: | |
| tsdb: | |
| out_of_order_time_window: 1d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment