open-telemetry / open-telemetry/opentelemetry-java

Is there any plan to increase the instrument name length?

Open
#6,257 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Request
Dominant language
Java
Stars
2.5k
Forks
1k
Avg merge
3d 17h
Merged PRs (30d)
58

Description

Is your feature request related to a problem? Please describe.

I checked the history of increasing from 63 to 255.

Could consider the situation of using more than 255 instrument names?

https://github.com/open-telemetry/opentelemetry-java/pull/5697

Describe the solution you'd like

Unlimited, but I wish I could specify the settings.

Describe alternatives you've considered

Thanks to so many people, I'm using good functions well.

We have installed an openelemetry java agent in our service to use openelemetry and opensearchapm.

I got caught in instrument-name limit (255) causing WARN. Is there a plan to change the limit?

Additional context

No response

Contributor guide

Open the contributing guide

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.

Research direction

Start by reviewing the linked pull request #5697 and the Java agent behavior that emits the warning when an instrument name exceeds 255 characters. Clarify whether the limit should be configurable or removed, then identify the affected implementation and tests; done means the agreed behavior is implemented and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
observability-sre
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.