Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

LLMObs annotationContext params are incorrect

Open
#34,672 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@npepin-hub is already working on this.

Since Apr 5, 2026.

  • #35760 by @npepin-hub — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, node.js
Domain
documentation

Research direction

Open the two linked documentation sections and compare annotationContext with index.d.ts at line 3356; then inspect the managed evaluations page for the hallucination heading. Done means the prompt field and allowed shape are documented accurately and the link resolves to the intended anchor.

Written by the indexing model from the issue text.

Description

Documentation Page

https://docs.datadoghq.com/llm_observability/instrumentation/sdk/?tab=nodejs#annotating-auto-instrumented-spans

Issue Description

Image

The document arguments do not include the prompt field.

Under prompt tracking, the field is included in the example, but the shape is incorrect, chat_template is not a allowed field

https://docs.datadoghq.com/llm_observability/instrumentation/sdk/?tab=nodejs#prompt-tracking

https://github.com/DataDog/dd-trace-js/blob/7dad226373cb171e896418dd0f5ca55df312fc3f/index.d.ts#L3356

Also, the link to hallucination doesn't go to a specific anchor: https://docs.datadoghq.com/llm_observability/evaluations/managed_evaluations/?tab=openai#hallucination

Image

@urseberry

Dominant language
JavaScript
Stars
621
Forks
1.3k
Avg merge
2d 9h
Merged PRs (30d)
441

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DataDog/documentation

All issues in DataDog/documentation

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.