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

replace contrib sampler with upstream sdk equivalent

Open
#1,256 0 comments 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
64/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
java
Domain
observability

Research direction

Start by reviewing the usage in custom/src/main/java/co/elastic/otel/compositesampling/DynamicCompositeParentBasedTraceIdRatioBasedSampler.java, especially the referenced line. Identify the current contrib sampler and its upstream SDK equivalent, then replace the usage and verify that the sampler behavior remains intact.

Written by the indexing model from the issue text.

Description

agent-java

We still use the sampler that is part of the contrib repository, we should replace with the upstream equivalent that is now part of the SDK.

See usage here :

https://github.com/elastic/elastic-otel-java/blob/d0df2784366f3ad69eb9b625648ca6674289c889/custom/src/main/java/co/elastic/otel/compositesampling/DynamicCompositeParentBasedTraceIdRatioBasedSampler.java#L60

Dominant language
Java
Stars
36
Forks
33
Avg merge
1d 10h
Merged PRs (30d)
29

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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 elastic/elastic-otel-java

All issues in elastic/elastic-otel-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.