Created
August 23, 2021 14:59
-
-
Save dirien/9d8fd485af8177588342cbbe7d8b0742 to your computer and use it in GitHub Desktop.
inlets-grafana-agent.yaml
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
server: | |
log_level: info | |
http_listen_port: 12345 | |
prometheus: | |
wal_directory: /tmp/wal | |
global: | |
scrape_interval: 15s | |
configs: | |
- job_name: 'http-tunnel' | |
static_configs: | |
- targets: ['localhost:8123'] | |
scheme: https | |
authorization: | |
type: Bearer | |
credentials: TOKEN | |
tls_config: | |
insecure_skip_verify: true | |
remote_write: | |
- url: https://prometheus-us-central1.grafana.net/api/prom/push | |
basic_auth: | |
username: <your-username> | |
password: <your-password> | |
integrations: | |
agent: | |
enabled: true | |
node_exporter: | |
enabled: true | |
prometheus_remote_write: | |
- url: https://prometheus-us-central1.grafana.net/api/prom/push | |
basic_auth: | |
username: <your-username> | |
password: <your-password> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment