ClickHouse / ClickHouse/ClickHouse

opentelemetry_span_log connect to processors_profile_log

Open
#77,395 0 comments 0 reactions 0 assignees View on GitHub
comp-logging external feature
Dominant language
C++
Stars
49.9k
Forks
9k
Avg merge
21h 32m
Merged PRs (30d)
515

Description

### Company or project name

_No response_

### Use case

Better Introspection

### Describe the solution you'd like

For `opentelemetry_trace_processors = 1` , introduce one more attribute, `clickhouse.processor_uniq_id`, which will map to column from `system.processors_profile_log` table

Ok, there is already some kind of relationship
https://github.com/ClickHouse/ClickHouse/blob/9f3659c9101bfec29e7f238c6c8a00b08eae6ac9/src/Processors/Executors/ExecutionThreadContext.cpp#L88

Alternative, is to introduce numerical id of processor -> `clickhouse.processor_id`

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.