You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The otel.otel_metrics_histogram table has no AggTemp column, so it is impossible to tell the difference between Delta and Cumulative metrics stored in this table.
Steps to Reproduce
Expected Result
AggTemp in the otel.otel_metrics_sum table is stored from the metric.AggregationTemporality(). The same should be the case for otel.otel_metrics_histogram
Actual Result
No AggTemp column in otel.otel_metrics_histogram.
Collector version
v0.102.0
Environment information
No environment information necessary. This affects all environments.
OpenTelemetry Collector configuration
Any implementation of the clickhouseexporter would have this bug.
**Description:**
- Addresses lack of temporality in stored data model for `Histogram` and
`Exponential Histogram` metric types in Clickhouse exporter
**Link to tracking Issue:** #33424
Component(s)
exporter/clickhouse
What happened?
Description
The
otel.otel_metrics_histogram
table has noAggTemp
column, so it is impossible to tell the difference betweenDelta
andCumulative
metrics stored in this table.Steps to Reproduce
Expected Result
AggTemp
in theotel.otel_metrics_sum
table is stored from themetric.AggregationTemporality()
. The same should be the case forotel.otel_metrics_histogram
Actual Result
No
AggTemp
column inotel.otel_metrics_histogram
.Collector version
v0.102.0
Environment information
No environment information necessary. This affects all environments.
OpenTelemetry Collector configuration
Any implementation of the clickhouseexporter would have this bug.
Log output
Additional context
Current
otel.otel_metrics_histogram
schema: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/exporter/clickhouseexporter/internal/histogram_metrics.go#L21-L60Current
otel.otel_metrics_sum
schema: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/exporter/clickhouseexporter/internal/sum_metrics.go#L21-L57I am planning on opening a PR to fix this as well.
The text was updated successfully, but these errors were encountered: