Created
April 6, 2022 06:31
-
-
Save dmyerscough/f476f946f13b364ea7f87163e79d24eb to your computer and use it in GitHub Desktop.
This file contains 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
# Sample config for Prometheus. | |
global: | |
scrape_interval: 30s # Set the scrape interval to every 15 seconds. Default is every 1 minute. | |
evaluation_interval: 30s # Evaluate rules every 15 seconds. The default is every 1 minute. | |
remote_write: | |
- url: https://prometheus-prod-10-prod-us-central-0.grafana.net/api/prom/push | |
basic_auth: | |
username: <PROMETHEUS USERNAME> | |
password: <API TOKEN> | |
scrape_configs: | |
- job_name: tesla_powerwall | |
scrape_interval: 15s | |
metrics_path: /metrics | |
static_configs: | |
- targets: ['localhost:9961'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment