Skip to content

Reinstate opentelemetry - #128

Merged
steventux merged 2 commits into
mainfrom
reinstate-opentelemetry
Jun 9, 2026
Merged

Reinstate opentelemetry#128
steventux merged 2 commits into
mainfrom
reinstate-opentelemetry

Conversation

@steventux

@steventux steventux commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Description

We disabled/removed opentelemetry with azure monitoring in the prep for the Hull test-run as we were seeing permissions errors and nothing else in the review env gateway logs.

We didn't see this behaviour in Hull when we configured a service to use opentelemetry (OTEL) as a test.

This PR re-adds the OTEL configuration as late as we can before starting services.
It also suppresses a lot of noise which comes from OTEL and azure monitoring as this fills the logs with unhelpful messages.

Tested on review env gateway.

Jira link

https://nhsd-jira.digital.nhs.uk/browse/DTOSS-13042

Review notes

Review checklist

  • Check database queries are correctly scoped to current_provider

steventux added 2 commits June 9, 2026 14:41
Configuring just before we start the service seems to avoid permissions
issues on Windows VMs. We did not see this issue on the Hull gateway
machine with the relay listener.
These flood the logs with request traces from the monitoring transports. We only need to know if the monitoring transport fails.
@steventux
steventux merged commit 413ed25 into main Jun 9, 2026
15 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants