Skip to content

Conversation

@collinlokken
Copy link
Contributor

@collinlokken collinlokken commented Jan 6, 2025

Why is this pull request needed?

OpenSensus is deprecated and should be migrated to OpenTelemetry

To support correct tracing, exceptions in the api routers should be handled differently

What does this pull request change?

  • Replace OpenSensus with OpenTelemetry
  • Replace existing exception handling with custom route class ExceptionHandlingRoute that wraps requests in try/except to capture and handle excpetions on our own
  • Add cryptography as a separate dependency as it was included with OpenSensus

Issues related to this change:

Closes #251

@collinlokken collinlokken marked this pull request as ready for review January 6, 2025 13:12
@collinlokken collinlokken force-pushed the fix/replace-open-census branch from 2ea9b99 to 5485cab Compare January 6, 2025 13:26
Copy link
Collaborator

@eoaksnes eoaksnes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@collinlokken collinlokken force-pushed the fix/replace-open-census branch from e81133c to 2dc5881 Compare January 8, 2025 12:02
@collinlokken collinlokken merged commit 710e9f1 into main Jan 9, 2025
7 checks passed
@collinlokken collinlokken deleted the fix/replace-open-census branch January 9, 2025 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: replace OpenSensus with OpenTelemetry

3 participants