Skip to content

insights: align spans and traces query contract - #1278

Merged
kishlay-singh-DO merged 3 commits into
digitalocean:mainfrom
dmamidala-glitch:cobs-1696-tracing-contract
Oct 21, 2026
Merged

kishlay-singh-DO merged 3 commits into
digitalocean:mainfrom
dmamidala-glitch:cobs-1696-tracing-contract

Conversation

@dmamidala-glitch

@dmamidala-glitch dmamidala-glitch commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • align public Insights spans/traces JSON fields with the deployed snake_case contract
  • replace the FlexQuery-style filter AST with the logs-style FilterExpression wire shape (condition, and, or, not, text_search)
  • document typed filter values, deployed operator/sort enums, records, pagination, examples, and errors

Internal references

Validation

  • npm run bundle -- specification/DigitalOcean-public.v2.yaml -o /tmp/openapi-cobs-1696-bundled.yaml (passes; 13 pre-existing repository warnings)
  • npm run lint -- specification/DigitalOcean-public.v2.yaml (passes; 8 pre-existing warnings in unrelated files)
  • npm run lint -- --ruleset spectral/bundled.spectral.yml /tmp/openapi-cobs-1696-bundled.yaml (passes; same 8 unrelated warnings)
  • git diff --check (passes)

The Docker-backed full Postman integration suite was not run locally.

Co-authored-by: Cursor <cursoragent@cursor.com>
@dmamidala-glitch
dmamidala-glitch marked this pull request as ready for review October 21, 2026 09:51
dmamidala-glitch and others added 2 commits October 21, 2026 15:35
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
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.

2 participants