Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Otel #355

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft

Otel #355

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ ARG PIP_OPTIONS=.
RUN python -m venv /venv
ENV PATH=/venv/bin:$PATH

# enable opentelemetry support
ENV OTEL_EXPORTER_OTLP_TRACES_PROTOCOL=http/protobuf
ENV OTEL_EXPORTER_OTLP_ENDPOINT=http://127.0.0.1:4318
ENV OTEL_EXPORTER_OTLP_INSECURE=true
ENV OTEL_INSTRUMENTATION_HTTP_CAPTURE_HEADERS_SERVER_REQUEST=".*"
ENV OTEL_INSTRUMENTATION_HTTP_CAPTURE_HEADERS_SERVER_RESPONSE=".*"

# Copy any required context for the pip install over
COPY . /context
WORKDIR /context
Expand Down
4 changes: 4 additions & 0 deletions config/bl38p.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ env:
data_writing:
visit_directory: /dls/p38/data/2023/cm33874-1
group_name: BL38P

jaeger:
otlp:
host: http://jaeger-all-in-one.p38-daq
Loading
Loading