File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
opentelemetry/instrumentation Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,13 @@ services:
77 - OTEL_EXPORTER_OTLP_ENDPOINT=http://otelcol:4318
88 - OTEL_SERVICE_NAME=otel-quickstart-go
99 - OTEL_GO_X_EXEMPLAR=true
10+ - OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION=BASE2_EXPONENTIAL_BUCKET_HISTOGRAM
1011 volumes :
1112 - logs:/var/log:rw
1213 depends_on :
1314 - " otelcol"
1415 otelcol :
15- image : otel/opentelemetry-collector-contrib:0.105.0
16+ image : otel/opentelemetry-collector-contrib:0.115.1
1617 volumes :
1718 - ./otel-collector-config.yaml:/etc/otelcol-contrib/config.yaml:ro
1819 - logs:/var/log:ro
Original file line number Diff line number Diff line change @@ -90,6 +90,14 @@ processors:
9090 detectors : ["env", "gcp"]
9191
9292service :
93+ telemetry :
94+ metrics :
95+ readers :
96+ - pull :
97+ exporter :
98+ prometheus :
99+ host : ' 0.0.0.0'
100+ port : 8888
93101 pipelines :
94102 traces :
95103 receivers : ["otlp"]
You can’t perform that action at this time.
0 commit comments