Skip to content

Conversation

@aniszoubiramar
Copy link
Contributor

@aniszoubiramar aniszoubiramar commented Jan 1, 2026

Updated documentation to match Go implementation (source of truth).

Changes by Endpoint

POST /api/intake/llm-obs/v2/eval-metric

📄 Doc: content/en/llm_observability/instrumentation/api.md 🔧 Handler: CreateEvalMetrics

Icon Change Field Details
Add trace_id string
Add span_id string
Add ml_app_version string
Add metadata object
🔒 Required span_id (SpanContext) optional → required
🔒 Required trace_id (SpanContext) optional → required
🔒 Required key (TagContext) optional → required
🔒 Required value (TagContext) optional → required

Summary

Change Type Count
✅ Fields added 4
❌ Fields removed 0
🔄 Type fixes 0
🔒 Required fixes 4
Total 8

Additional Fixes

  • Fixed 2 broken internal links (#SpanContext → #spancontext, #TagContext → #tagcontext)

🤖 Generated with Claude Code

What does this PR do? What is the motivation?

Merge instructions

Merge readiness:

  • Ready for merge

For Datadog employees:

Your branch name MUST follow the <name>/<description> convention and include the forward slash (/). Without this format, your pull request will not pass CI, the GitLab pipeline will not run, and you won't get a branch preview. Getting a branch preview makes it easier for us to check any issues with your PR, such as broken links.

If your branch doesn't follow this format, rename it or create a new branch and PR.

[6/5/2025] Merge queue has been disabled on the documentation repo. If you have write access to the repo, the PR has been reviewed by a Documentation team member, and all of the required checks have passed, you can use the Squash and Merge button to merge the PR. If you don't have write access, or you need help, reach out in the #documentation channel in Slack.

Additional notes

Updated documentation to match Go implementation (source of truth).

## Changes by Endpoint

### POST /api/intake/llm-obs/v2/eval-metric
📄 Doc: content/en/llm_observability/instrumentation/api.md
🔧 Handler: CreateEvalMetrics

| Icon | Change | Field | Details |
|------|--------|-------|---------|
| ✅ | Add | trace_id | string |
| ✅ | Add | span_id | string |
| ✅ | Add | ml_app_version | string |
| ✅ | Add | metadata | object |
| 🔒 | Required | span_id (SpanContext) | optional → required |
| 🔒 | Required | trace_id (SpanContext) | optional → required |
| 🔒 | Required | key (TagContext) | optional → required |
| 🔒 | Required | value (TagContext) | optional → required |

## Summary

| Change Type | Count |
|-------------|-------|
| ✅ Fields added | 4 |
| ❌ Fields removed | 0 |
| 🔄 Type fixes | 0 |
| 🔒 Required fixes | 4 |
| **Total** | **8** |

## Additional Fixes

- Fixed 2 broken internal links (#SpanContext → #spancontext, #TagContext → #tagcontext)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@github-actions
Copy link
Contributor

github-actions bot commented Jan 1, 2026

Preview links (active after the build_preview check completes)

Modified Files

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