-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No AggTemp
column in otel.otel_metrics_histogram
Table
#33424
Labels
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This was referenced Jun 10, 2024
Appreciate the explanation in this issue, hope to get the PR merged soon. Thanks! |
dmitryax
pushed a commit
that referenced
this issue
Jun 19, 2024
**Description:** - Addresses lack of temporality in stored data model for `Histogram` and `Exponential Histogram` metric types in Clickhouse exporter **Link to tracking Issue:** #33424
Resolved by #33425 |
cparkins
pushed a commit
to AmadeusITGroup/opentelemetry-collector-contrib
that referenced
this issue
Jul 11, 2024
…telemetry#33425) **Description:** - Addresses lack of temporality in stored data model for `Histogram` and `Exponential Histogram` metric types in Clickhouse exporter **Link to tracking Issue:** open-telemetry#33424
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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: