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

Ensure `gen_ai.*` ops are deprecated or have a corresponding `gen_ai.operation.name`

Open
#709 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
50/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
observability

Research direction

The issue names no files, so begin by searching the repository for gen_ai. attribute and operation definitions, and compare them with the gen_ai.operation.name values in the OTel GenAI conventions. Deprecate the ops that have no matching operation name and add the matching values as enum entries. Add a test that asserts every gen_ai.* op maps to an operation name or is deprecated. Done when the test passes and the one existing comment's questions are answered.

Written by the indexing model from the issue text.

Description

Deprecate any that do not have a corresponding gen_ai.operation.name in Sentry's conventions or in OTel GenAI conventions.
If the corresponding gen_ai.operation.name exists in OTel conventions, add the value as a possible enum value.

Create a test to maintain the invariant.

The pattern for GenAI ops is that they consist of the value of the gen_ai.operation.name attribute appended to the literal gen_ai..

Dominant language
TypeScript
Stars
16
Forks
6
Avg merge
2d 9h
Merged PRs (30d)
63

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 getsentry/sentry-conventions

All issues in getsentry/sentry-conventions

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.