summaryrefslogtreecommitdiffstats
path: root/tools/otel/otel-collector-config.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tools/otel/otel-collector-config.yaml')
-rw-r--r--tools/otel/otel-collector-config.yaml39
1 files changed, 39 insertions, 0 deletions
diff --git a/tools/otel/otel-collector-config.yaml b/tools/otel/otel-collector-config.yaml
new file mode 100644
index 0000000000..ebbf0606cb
--- /dev/null
+++ b/tools/otel/otel-collector-config.yaml
@@ -0,0 +1,39 @@
+receivers:
+ otlp:
+ protocols:
+ grpc:
+
+exporters:
+ debug:
+ verbosity: detailed
+
+ loki:
+ endpoint: http://loki:3100/loki/api/v1/push
+ tls:
+ insecure: true
+ headers:
+ "X-Scope-OrgID": "1"
+ default_labels_enabled:
+ exporter: true
+ job: true
+ instance: true
+ level: true
+
+processors:
+ batch:
+
+extensions:
+ health_check:
+ zpages:
+ endpoint: ":55679"
+
+service:
+ pipelines:
+ logs:
+ receivers: [otlp]
+ processors: [batch]
+ exporters: [loki]
+
+ extensions:
+ - health_check
+ - zpages