Skip to content

Conversation

@mazzy89
Copy link
Collaborator

@mazzy89 mazzy89 commented Oct 21, 2025

This enables distributed tracing and monitoring capabilities for the API service when deployed to environments with OpenTelemetry collectors.

  • Add OpenTelemetry dependencies for distributed tracing
  • Create observability.ts module with OTLP trace exporter configuration
  • Add OTEL config variables to support trace endpoint and headers
  • Export Config type from config.ts for reusability
  • Integrate opentelemetry middleware into main application
  • Configure service name from FLY_APP_NAME environment variable
  • Support optional OTEL_EXPORTER_OTLP_HEADERS for authentication

This PR is in DRAFT and it is blocked by an issue elysiajs/opentelemetry#54

- Add OpenTelemetry dependencies for distributed tracing
- Create observability.ts module with OTLP trace exporter configuration
- Add OTEL config variables to support trace endpoint and headers
- Export Config type from config.ts for reusability
- Integrate opentelemetry middleware into main application
- Configure service name from FLY_APP_NAME environment variable
- Support optional OTEL_EXPORTER_OTLP_HEADERS for authentication

This enables distributed tracing and monitoring capabilities for the API
service when deployed to environments with OpenTelemetry collectors.
@mazzy89 mazzy89 self-assigned this Oct 21, 2025
@netlify
Copy link

netlify bot commented Oct 21, 2025

Deploy Preview for dither-staging ready!

Name Link
🔨 Latest commit 733a763
🔍 Latest deploy log https://app.netlify.com/projects/dither-staging/deploys/68f7d78dcc10850008d6b791
😎 Deploy Preview https://deploy-preview-396--dither-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@salmad3 salmad3 linked an issue Oct 27, 2025 that may be closed by this pull request
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.

Setup basic alerting

2 participants