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

Use `embeddings` in `gen_ai.operation.name`

Open Beginner friendly
#7,269 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
70/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
java, spring
Domain
observability

Research direction

Start by reading the model observability support introduced in #954 and locate where embedding model observations set gen_ai.operation.name. Update the value to embeddings, then check the relevant observability tests to confirm embedding observations use the standard value.

Written by the indexing model from the issue text.

Description

status: waiting-for-triage

Expected Behavior

Use embeddings as the value of gen_ai.operation.name in embedding model observations.

The OpenTelemetry GenAI conventions define embeddings as the operation name for embedding generation.

Current Behavior

Spring AI embedding model observations use gen_ai.operation.name=embedding.

The singular value was introduced with the initial model observability support, tracked in #953 and implemented in #954.

Context

Queries and dashboards using the standard embeddings value do not match Spring AI embedding operations without additional mapping.

Using the standard value would make Spring AI telemetry consistent with other GenAI instrumentation.

Dominant language
Java
Stars
9.6k
Forks
3k
Avg merge
2d 11h
Merged PRs (30d)
15

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 spring-projects/spring-ai

All issues in spring-projects/spring-ai

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.