Skip to content

Support tracing the ClickHouse Java HTTP client #11562

@devurandom

Description

@devurandom

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

ClickHouse Java HTTP client (https://github.com/ClickHouse/clickhouse-java) queries currently show up only as HTTP traces.

Describe the solution you'd like

It would be nice if queries by the ClickHouse Java HTTP client were instrumented like database requests (in addition to the underlying HTTP requests), e.g. with a db.query.text, cf. https://opentelemetry.io/docs/specs/semconv/database/database-spans/.

Describe alternatives you've considered

  • Automatic HTTP client instrumentation shows that a request happens, but not the query. Relying on them is not an alternative.
  • Manual instrumentation of code that calls the ClickHouse Java HTTP client. This works, but is inconvenient.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    contribution welcomeRequest makes sense, maintainers probably won't have time, contribution would be welcomeenhancementNew feature or requestneeds triageNew issue that requires triagenew instrumentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions