Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added
go.opentelemetry.io/otel/exporters/prometheus
registers with a Prometheus registerer on creation. By default, it will register with the default Prometheus default registerer. A non-default registerer can be used by passing theWithRegisterer
option. (Refactor Prometheus exporter #3239)WithAggregationSelector
option to thego.opentelemetry.io/otel/exporters/prometheus
package to change the defaultAggregationSelector
used. (Added WithAggregationSelector to prometheus #3341)go.opentelemetry.io/otel/exporters/prometheus
converts theResource
associated with metric exports into atarget_info
metric. (convertsResource
into atarget_info
metric on the prometheus exporter #3285)Changed
"go.opentelemetry.io/otel/exporters/prometheus".New
function is updated to return an error. It will return an error if the exporter fails to register with Prometheus. (Refactor Prometheus exporter #3239)Fixed
OTEL_RESOURCE_ATTRIBUTES
environment variable are decoded. (Decode values from OTEL_RESOURCE_ATTRIBUTES #2963)baggage.NewMember
function decodes thevalue
parameter instead of directly using it. This fixes the implementation to be compliant with the W3C specification. (Fix baggage.NewMember to decode the accepted value #3226)attribute
package are now comparable based on their value, not instance. (otlpmetric with StringSlice produces duplicate metrics #3108 attribute: fix slice related function bug #3252)Shutdown
andForceFlush
methods of the"go.opentelemetry.io/otel/sdk/trace".TraceProvider
no longer return an error when no processor is registered. (Fix sdktrace.TraceProvider Shutdown/ForceFlush when no processor register #3268)go.opentelemetry.io/otel/exporters/prometheus
cumulatively sums histogram buckets. (Prometheus exporter does not cumulatively sum histogram buckets #3281)go.opentelemetry.io/otel/exporters/otlpmetric
exporters. (Histogram sum is not correct in latest version (critical) #3284, Fix HistogramDataPoints transform in otlpmetric #3293)Counter
andUpDownCounter
) are interpreted as exact, not incremental, sum values by the metric SDK. (Fix Asynchronous Counters Recording #3350, AsyncCounter and AsyncUpDownCounter expected callback value changed in v0.32.0 #3278)UpDownCounters
are now correctly output as Prometheus gauges in thego.opentelemetry.io/otel/exporters/prometheus
exporter. (Convert UpDownCounters to Prometheus gauges #3358)go.opentelemetry.io/otel/exporters/prometheus
no longer describes the metrics it will send to Prometheus on startup. Instead the exporter is defined as an "unchecked" collector for Prometheus. This fixes thereader is not registered
warning currently emitted on startup. (Prometheus exporter reports reader not registered on startup #3291 Removes the functionality of the Describe in prometheus exporter. #3342)go.opentelemetry.io/otel/exporters/prometheus
exporter now correctly adds_total
suffixes to counter metrics. (Add _total suffixes to prometheus counters #3360)go.opentelemetry.io/otel/exporters/prometheus
exporter now adds a unit suffix to metric names. This can be disabled using theWithoutUnits()
option added to that package. (Add unit suffixes to prometheus metric names #3352)