fix(otel): point AgentOps OTLP exporter at otlp.agentops.ai#31490
Merged
yucheng-berri merged 1 commit intoJun 27, 2026
Merged
Conversation
The AgentOps preset hardcoded https://otlp.agentops.cloud/v1/traces, a domain that no longer resolves (NXDOMAIN), so every span silently failed to export with a NameResolutionError in the BatchSpanProcessor worker. The live ingest host is otlp.agentops.ai (the auth host api.agentops.ai was already correct). Pin the endpoint to the resolvable host and add a regression test on the constant.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Contributor
Greptile SummaryThis PR updates the AgentOps OTLP trace export endpoint. The main changes are:
Confidence Score: 5/5The change is narrowly scoped to the AgentOps OTLP endpoint constant and a focused regression test. No code issues were identified in the changed files, and the update aligns the exporter with the reachable AgentOps OTLP host while keeping auth behavior unchanged.
What T-Rex did
Reviews (1): Last reviewed commit: "fix(otel): point AgentOps OTLP exporter ..." | Re-trigger Greptile |
tin-berri
approved these changes
Jun 27, 2026
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.
Relevant issues
Linear ticket
Pre-Submission checklist
Screenshots / Proof of Fix
The AgentOps OTLP preset pointed at
https://otlp.agentops.cloud/v1/traces, which no longer resolves, so spans were dropped before leaving the processBefore, the deprecated domain fails to resolve:
and the exporter aborts:
After, the live host is reachable:
End to end with the fix: a litellm proxy with
LITELLM_OTEL_V2=trueandcallbacks: ["agentops"], hitting a real Anthropic model, exported the full request trace (server span, auth, postgres lookups, guardrail, the LLM call, and the spend write) to AgentOps. The span landed withservice_name=agentopsand a realProjectIdin the AgentOps waterfall view; before the fix nothing arrivedType
🐛 Bug Fix
Changes
_AGENTOPS_ENDPOINTnow points athttps://otlp.agentops.ai/v1/tracesinstead of the unresolvableotlp.agentops.cloud. The auth host (api.agentops.ai) was already correct and is unchanged. Added a regression test pinning the constant to the live host so a stale domain can never ship again