[CU-86b90ukc7] Add OTLP telemetry submission after publisher question execution#173
Open
angelo-DNAStack wants to merge 9 commits intomainfrom
Open
[CU-86b90ukc7] Add OTLP telemetry submission after publisher question execution#173angelo-DNAStack wants to merge 9 commits intomainfrom
angelo-DNAStack wants to merge 9 commits intomainfrom
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…orrectly Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
☂️ Python Coverage
Overall Coverage
New Files
Modified Files
|
☂️ Python Coverage
Overall Coverage
New Files
Modified Files
|
…env var Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #173 +/- ##
=======================================
Coverage ? 59.61%
=======================================
Files ? 181
Lines ? 11088
Branches ? 0
=======================================
Hits ? 6610
Misses ? 4478
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Summary
DNASTACK_METRICS_ENABLED=trueto submit an OTLP trace span to collection-service after eachomics publisher questions askexecutionChanges
dnastack/feature_flags.py—metrics_enabledflag backed byDNASTACK_METRICS_ENABLEDenv vardnastack/cli/commands/publisher/questions/telemetry.py—build_otlp_spanandsubmit_telemetryhelpersdnastack/client/collections/client.py—submit_telemetry(otlp_payload)method posting toPOST /otlp/v1/tracesdnastack/cli/commands/publisher/questions/commands.py— timing + telemetry submission inask_questionCLAUDE.md— replaced stale pyenv setup instructions withuv runguidanceTest plan
make test-unitpassesDNASTACK_METRICS_ENABLED=true, verifysubmit_telemetryis called afteraskcompletes🤖 Generated with Claude Code