summaryrefslogtreecommitdiff
path: root/net/otelcol-contrib/files/config.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'net/otelcol-contrib/files/config.yaml')
-rw-r--r--net/otelcol-contrib/files/config.yaml41
1 files changed, 41 insertions, 0 deletions
diff --git a/net/otelcol-contrib/files/config.yaml b/net/otelcol-contrib/files/config.yaml
new file mode 100644
index 000000000000..15e658cdc508
--- /dev/null
+++ b/net/otelcol-contrib/files/config.yaml
@@ -0,0 +1,41 @@
+receivers:
+ nginx:
+ endpoint: "http://127.0.0.1:8080/status"
+ collection_interval: 10s
+ otlp:
+ protocols:
+ grpc:
+ endpoint: 0.0.0.0:4317
+
+exporters:
+ prometheus:
+ endpoint: 0.0.0.0:8889
+ namespace: default
+
+ debug:
+ verbosity: detailed
+
+processors:
+ batch:
+
+extensions:
+ health_check:
+ endpoint: 0.0.0.0:13133
+ pprof:
+ endpoint: 0.0.0.0:1777
+ zpages:
+ endpoint: 0.0.0.0:55679
+
+service:
+ extensions: [health_check, pprof, zpages]
+
+ pipelines:
+ metrics:
+ receivers: [nginx]
+ processors: [batch]
+ exporters: [prometheus]
+
+ traces:
+ receivers: [otlp]
+ processors: [batch]
+ exporters: [debug]