Skip to content

Instantly share code, notes, and snippets.

@dirien
Created August 23, 2021 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dirien/9d8fd485af8177588342cbbe7d8b0742 to your computer and use it in GitHub Desktop.
Save dirien/9d8fd485af8177588342cbbe7d8b0742 to your computer and use it in GitHub Desktop.
inlets-grafana-agent.yaml
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