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" {
70
70
71
71
otelcol.processor.batch "default" {
72
72
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]
76
80
}
77
81
}
78
82
Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ services:
29
29
<< : *dev
30
30
environment :
31
31
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 : " .*"
32
35
command :
33
36
- opentelemetry-instrument
34
37
- python
@@ -39,6 +42,9 @@ services:
39
42
<< : *dev
40
43
environment :
41
44
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 : " .*"
42
48
ports :
43
49
- ' 8001:8001'
44
50
command :
You can’t perform that action at this time.
0 commit comments