open-telemetry / open-telemetry/opentelemetry-java-instrumentation
ClickHouse Java client multiple endpoint support
@jaydeluca is already working on this.
Since Jul 24, 2026.
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 1.2k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 228
Description
Is your feature request related to a problem? Please describe.
Today instrumentation code caches address of an endpoint https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/324d0f74b93f467dd91b8091924a47c7309d7ee1/instrumentation/clickhouse/clickhouse-client-v2-0.8/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/clickhouse/clientv2/v0_8/ClickHouseClientV2Instrumentation.java#L57
Recently this part was changed and multiple endpoints are possible. They are used in case of failure.
Please see this PR https://github.com/ClickHouse/clickhouse-java/pull/2880
Describe the solution you'd like
- Context should have actual endpoint
- Failure is reported as some metric or just number of retries.
Describe alternatives you've considered
No response
Additional context
No response
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.