File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -70,9 +70,13 @@ otelcol.processor.transform "add_resource_attributes_as_metric_attributes" {
7070
7171otelcol.processor.batch "default" {
7272 output {
73- metrics = [otelcol.exporter.otlphttp.grafanacloud.input]
74- logs = [otelcol.exporter.otlphttp.grafanacloud.input]
75- traces = [otelcol.exporter.otlphttp.grafanacloud.input]
73+ // metrics = [otelcol.exporter.otlphttp.grafanacloud.input]
74+ // logs = [otelcol.exporter.otlphttp.grafanacloud.input]
75+ // traces = [otelcol.exporter.otlphttp.grafanacloud.input]
76+
77+ metrics = [otelcol.exporter.debug.console.input]
78+ logs = [otelcol.exporter.debug.console.input]
79+ traces = [otelcol.exporter.otlp.jaeger.input]
7680 }
7781}
7882
Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ services:
2929 << : *dev
3030 environment :
3131 OTEL_SERVICE_NAME : " bootstrap-fastapi-dev"
32+ OTEL_RESOURCE_ATTRIBUTES : " deployment.environment=local"
33+ OTEL_INSTRUMENTATION_HTTP_CAPTURE_HEADERS_SERVER_REQUEST : " .*"
34+ OTEL_INSTRUMENTATION_HTTP_CAPTURE_HEADERS_SERVER_RESPONSE : " .*"
3235 command :
3336 - opentelemetry-instrument
3437 - python
@@ -39,6 +42,9 @@ services:
3942 << : *dev
4043 environment :
4144 OTEL_SERVICE_NAME : " bootstrap-socketio-dev"
45+ OTEL_RESOURCE_ATTRIBUTES : " deployment.environment=local"
46+ OTEL_INSTRUMENTATION_HTTP_CAPTURE_HEADERS_SERVER_REQUEST : " .*"
47+ OTEL_INSTRUMENTATION_HTTP_CAPTURE_HEADERS_SERVER_RESPONSE : " .*"
4248 ports :
4349 - ' 8001:8001'
4450 command :
You can’t perform that action at this time.
0 commit comments