open-telemetry / open-telemetry/opentelemetry-java

Introduce setAttributes(Map<String, String> map) to Span class

Open
#5,627 1 comment 0 reactions 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.
Not a problem, more a nice to have.

Currently I find myself writing iterations myself, multiple times..

Describe the solution you'd like
I feel like it would be nice to have a method that accepts a Map and do the iteration for me.

Describe alternatives you've considered
Utility static method to do this

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 locating the Span class and reviewing its existing attribute-setting methods. Check the surrounding API and tests to determine the expected Map behavior; done means the requested method is available and its behavior is covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.