Repository navigation
COBS-1348: Add Insights traces query OpenAPI - #1256
Merged
kishlay-singh-DO merged 6 commits intoOct 9, 2026
Merged
kishlay-singh-DO merged 6 commits into
kishlay-singh-DO merged 6 commits into
Conversation
Add the public traces search and get-by-id operations so they can appear on the official API docs, matching the existing logs search pattern.
- flat filter expressions (type/expressions/field/operator/value/query), lowercase operators - orderBy direction asc/desc; pagination limit 0-1000 (0 = default 100), no cursor - time instants accept RFC3339 or unix timestamps; GET supports from/to (default 7d) - document text/plain service errors (400/404/502) vs JSON edge errors (401/403/404/429) - list supported regions, single-region only, 60s timeout - drop region from trace/span models; neutral example names
srajputdo
marked this pull request as ready for review
October 9, 2026 10:39
…8/traces-query-openapi # Conflicts: # specification/DigitalOcean-public.v2.yaml
…8/traces-query-openapi # Conflicts: # specification/DigitalOcean-public.v2.yaml
kishlay-singh-DO
approved these changes
Oct 9, 2026
This was referenced Oct 9, 2026
srajputdo
added a commit
to srajputdo/godo
that referenced
this pull request
Oct 12, 2026
Add InsightsService.SearchTraces and GetTrace for the public traces query endpoints documented in digitalocean/openapi#1256.
kishlay-singh-DO
pushed a commit
to digitalocean/godo
that referenced
this pull request
Oct 12, 2026
Add InsightsService.SearchTraces and GetTrace for the public traces query endpoints documented in digitalocean/openapi#1256.
This was referenced Oct 12, 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.
Summary
POST /v2/insights/query/{region}/traces/searchandGET /v2/insights/query/{region}/traces/{trace_id}.Testing
make lint: 0 errors (only pre-existing warnings outside insights).eq/in/exists/and/not/text_search),orderBy, limits, time formats, 400/404 errors, bad region 404, no-token 401.api.digitalocean.com, team 38134955, nyc2): search/GET 200 with real data; filterseq/neq/orincl. no-match;orderByasc/desc;limit: 1→hasMore: true; all error checks match the docs.Notes
text/plainwhile Edge errors are JSON{id, message}. The docs reflect current behaviour.