feat(api): add monitoring feature with track_events use case#539
Merged
Conversation
This was referenced May 9, 2026
980b864 to
07aef72
Compare
59eef3a to
4561886
Compare
519be8c to
ac3beba
Compare
sindre-nistad
requested changes
May 19, 2026
5d9ca42 to
1f00490
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack 2/4 — base: `stack/01-infra` (#538)
Adds an API-side monitoring feature for application telemetry.
Stack
This pull request introduces a new monitoring/telemetry endpoint, upgrades Azure and OpenTelemetry dependencies, and improves authentication and observability integration. It also includes minor improvements and maintenance updates.
Key changes:
Monitoring and Telemetry
/monitoring/v2/trackPOST endpoint to the OpenAPI spec for tracking telemetry events, including comprehensive request/response schemas and error handling.Event,EventBase,EventData,ExceptionData,MetricsData,TelemetryErrorDetails, andTelemetryResultto support the new monitoring endpoint. [1] [2]Observability and Dependency Upgrades
azure-identityand newer versions ofazure-monitor-opentelemetryand related exporters. [1] [2]ClientSecretCredentialwhen service principal credentials are available, allowing ingestion even when local authentication is disabled. Falls back to connection-string auth otherwise.Authentication Improvements
user_id,full_name,email,roles) from the token payload, improving downstream user context. [1] [2]API and Schema Consistency
user_idas a required field in multiple todo response schemas for consistency and traceability. [1] [2] [3] [4]Developer Experience and Maintenance
These changes collectively improve the API's observability, security, and maintainability while adding support for advanced telemetry use cases.