Skip to content

Commit

Permalink
Add condition with sum and count for prometheus summaries
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhntd committed Jan 9, 2023
1 parent 5debba7 commit 3cd0591
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ release.
### Semantic Conventions

### Compatibility

- Add condition with sum and count for prometheus summaries
([3059]https:/open-telemetry/opentelemetry-specification/pull/3059)

### OpenTelemetry Protocol

- Add table for OTLP/HTTP response code and client retry recommendation
Expand Down
2 changes: 1 addition & 1 deletion specification/compatibility/prometheus_and_openmetrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Multiple Prometheus metrics are merged together into a single OTLP Summary:
* The `quantile` label on non-suffixed metrics is used to identify quantile points in summary metrics. Each Prometheus line produces one quantile on the resulting summary.
* Lines with `_count` and `_sum` suffixes are used to determine the summary's count and sum.
* If `_count` is not present, the metric MUST be dropped.
* If `_sum` is not present, the summaries's sum MUST be unset.
* If `_sum` is not present, the summaries's sum MUST be [set to zero.](https:/open-telemetry/opentelemetry-proto/blob/d8729d40f629dba12694b44c4c32c1eab109b00a/opentelemetry/proto/metrics/v1/metrics.proto#L601)

### Dropped Types

Expand Down

0 comments on commit 3cd0591

Please sign in to comment.