From c17f2b40d42b3136adf71a37ecda72d0937e0ffd Mon Sep 17 00:00:00 2001 From: Luca Bello <36242061+lucabello@users.noreply.github.com> Date: Thu, 14 Mar 2024 13:46:44 +0100 Subject: [PATCH] add agent.yaml to 0.42.0 (#45) --- 0.40.2/agent.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 0.40.2/agent.yaml diff --git a/0.40.2/agent.yaml b/0.40.2/agent.yaml new file mode 100644 index 0000000..dfd9cb1 --- /dev/null +++ b/0.40.2/agent.yaml @@ -0,0 +1,17 @@ +server: + log_level: info + +metrics: + global: + scrape_interval: 1m + configs: + - name: test + host_filter: false + scrape_configs: + - job_name: local_scrape + static_configs: + - targets: ['127.0.0.1:12345'] + labels: + cluster: 'localhost' + remote_write: + - url: http://localhost:9009/api/prom/push