Last active
April 3, 2020 12:47
-
-
Save leoluk/cb6e1beaf8c1e357cdd162dbb740f282 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
[Service] | |
ExecStart=/usr/local/bin/folding_exporter -teamID 257832 -listen [::1]:8080 | |
User=prometheus | |
Restart=always | |
RestartSec=10 | |
[Install] | |
WantedBy=multi-user.target |
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
[Service] | |
ExecStart=/usr/bin/prometheus --web.listen-address="0.0.0.0:9090" --storage.tsdb.retention.time=365d | |
User=prometheus | |
WorkingDirectory=/opt/prom | |
Restart=always | |
RestartSec=10 | |
[Install] | |
WantedBy=multi-user.target |
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
global: | |
scrape_interval: 1m | |
scrape_timeout: 60s | |
evaluation_interval: 10s | |
scrape_configs: | |
- job_name: prometheus | |
honor_timestamps: true | |
scrape_interval: 5s | |
scrape_timeout: 5s | |
metrics_path: /metrics | |
scheme: http | |
static_configs: | |
- targets: | |
- localhost:9090 | |
- job_name: folding | |
scrape_interval: 15m | |
scheme: http | |
static_configs: | |
- targets: | |
- localhost:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment