Skip to content

Commit

Permalink
feat: update OpenTelemetry configuration in flow-worker Dockerfile
Browse files Browse the repository at this point in the history
- Added environment variables for OpenTelemetry metric export interval and OTLP compression in the flow-worker Dockerfile.
  • Loading branch information
iamKunalGupta committed May 16, 2024
1 parent f3c819c commit 176d883
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions stacks/flow.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ ENTRYPOINT [\
]

FROM flow-base AS flow-worker

# Sane defaults for OpenTelemetry
ENV OTEL_METRIC_EXPORT_INTERVAL=10000
ENV OTEL_EXPORTER_OTLP_COMPRESSION=gzip

ENTRYPOINT [\
"./peer-flow",\
"worker"\
Expand Down

0 comments on commit 176d883

Please sign in to comment.