From ede88293aeab0632b8ea3cd6e47d2e001265c264 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Boudereau?= Date: Wed, 3 Apr 2024 14:49:03 +0200 Subject: [PATCH] update windows draft --- _DRAFT/OTEL-windows/otelcontribcol/pipeline.agent.yaml | 6 ++++-- _DRAFT/OTEL-windows/otelcontribcol/run.ps1 | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 _DRAFT/OTEL-windows/otelcontribcol/run.ps1 diff --git a/_DRAFT/OTEL-windows/otelcontribcol/pipeline.agent.yaml b/_DRAFT/OTEL-windows/otelcontribcol/pipeline.agent.yaml index d74fc805..cb8e2c64 100644 --- a/_DRAFT/OTEL-windows/otelcontribcol/pipeline.agent.yaml +++ b/_DRAFT/OTEL-windows/otelcontribcol/pipeline.agent.yaml @@ -2,7 +2,8 @@ exporters: otlphttp/mimir: endpoint: http://localhost:9009/otlp debug: - verbosity: detailed + # verbosity: detailed + verbosity: basic receivers: # otelcontribcol metrics + host metrics @@ -90,4 +91,5 @@ service: metrics/agent: receivers: [prometheus/agent, hostmetrics/agent] processors: [attributes/agent, resourcedetection/system, transform, batch/agent] - exporters: [otlphttp/mimir] \ No newline at end of file + # exporters: [otlphttp/mimir] + exporters: [debug] \ No newline at end of file diff --git a/_DRAFT/OTEL-windows/otelcontribcol/run.ps1 b/_DRAFT/OTEL-windows/otelcontribcol/run.ps1 new file mode 100644 index 00000000..839b3e29 --- /dev/null +++ b/_DRAFT/OTEL-windows/otelcontribcol/run.ps1 @@ -0,0 +1 @@ +.\otelcol-contrib.exe --config .\pipeline.agent.yaml \ No newline at end of file