Add additional ENV variables to the dockerfile
This commit is contained in:
parent
04b4b55d34
commit
d99024d27a
1 changed files with 5 additions and 3 deletions
|
@ -2,9 +2,11 @@ FROM scratch
|
||||||
|
|
||||||
COPY ${CI_WORKSPACE}/target/release/osrs-prometheus-exporter /bootstrap
|
COPY ${CI_WORKSPACE}/target/release/osrs-prometheus-exporter /bootstrap
|
||||||
|
|
||||||
ENV OTEL_SERVICE_NAME osrs-prometheus-exporter
|
ENV OTEL_SERVICE_NAME=osrs-prometheus-exporter
|
||||||
ENV OTEL_EXPORTER_OTLP_ENDPOINT http://localhost:4317
|
ENV OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
|
||||||
ENV OTEL_EXPORTER_OTLP_PROTOCOL grpc
|
ENV OTEL_EXPORTER_OTLP_PROTOCOL=grpc
|
||||||
|
ENV OTEL_TRACES_SAMPLER=always_on
|
||||||
|
ENV axum_tracing_opentelemetry=info
|
||||||
|
|
||||||
EXPOSE 3030
|
EXPOSE 3030
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue