diff options
author | Alex Auvolat <alex@adnab.me> | 2022-02-26 22:06:37 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-02-26 22:06:37 +0100 |
commit | 465e2627261c504279553cb4426abf30d518dc47 (patch) | |
tree | 4d0502d55b81b0bdc56083f90711e48492020b91 /app/telemetry/config/otel-config.yaml | |
parent | 41a65b803217d7a3ebdaa5029d58a5cac4ce63da (diff) | |
download | nixcfg-465e2627261c504279553cb4426abf30d518dc47.tar.gz nixcfg-465e2627261c504279553cb4426abf30d518dc47.zip |
Add node_exporter to telemetry pipeline
Diffstat (limited to 'app/telemetry/config/otel-config.yaml')
-rw-r--r-- | app/telemetry/config/otel-config.yaml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/telemetry/config/otel-config.yaml b/app/telemetry/config/otel-config.yaml index 574d01c..1c14860 100644 --- a/app/telemetry/config/otel-config.yaml +++ b/app/telemetry/config/otel-config.yaml @@ -14,7 +14,12 @@ receivers: scrape_interval: 5s static_configs: - targets: - - "localhost:3909" + - "{{ env "attr.unique.network.ip-address" }}:3909" + - job_name: "node_exporter" + scrape_interval: 30s + static_configs: + - targets: + - "{{ env "attr.unique.network.ip-address" }}:9100" exporters: logging: |