This is a release candidate for the v1.19.0/v0.42.0 release. That release is expected to include the v1 release of the OpenTelemetry Go metric SDK and will provide stability guarantees of that SDK. See our versioning policy for more information about these stability guarantees.
Changed
Allow '/' characters in metric instrument names. (#4501)
Fixed
In go.opentelemetry.op/otel/exporters/prometheus, don't try to create the Prometheus metric on every Collect if we know the scope is invalid. (#4499)
This release drops the compatibility guarantee of Go 1.19.
Added
Add WithProducer option in go.opentelemetry.op/otel/exporters/prometheus to restore the ability to register producers on the prometheus exporter's manual reader. (#4473)
Add IgnoreValue option in go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest to allow ignoring values when comparing metrics. (#4447)
Deprecated
The NewMetricExporter in go.opentelemetry.io/otel/bridge/opencensus was deprecated in v0.35.0 (#3541).
The deprecation notice format for the function has been corrected to trigger Go documentation and build tooling. (#4470)
Removed
Removed the deprecated go.opentelemetry.io/otel/exporters/jaeger package. (#4467)
Removed the deprecated go.opentelemetry.io/otel/example/jaeger package. (#4467)
Removed the deprecated go.opentelemetry.io/otel/sdk/metric/aggregation package. (#4468)
Removed the deprecated internal packages in go.opentelemetry.io/otel/exporters/otlp and its sub-packages. (#4469)
Dropped guaranteed support for versions of Go less than 1.20. (#4481)
This release drops the compatibility guarantee of [Go 1.19].
Added
Add WithProducer option in go.opentelemetry.op/otel/exporters/prometheus to restore the ability to register producers on the prometheus exporter's manual reader. (#4473)
Add IgnoreValue option in go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest to allow ignoring values when comparing metrics. (#4447)
Changed
Use a TestingT interface instead of *testing.T struct in go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest. (#4483)
Deprecated
The NewMetricExporter in go.opentelemetry.io/otel/bridge/opencensus was deprecated in v0.35.0 (#3541).
The deprecation notice format for the function has been corrected to trigger Go documentation and build tooling. (#4470)
Removed
Removed the deprecated go.opentelemetry.io/otel/exporters/jaeger package. (#4467)
Removed the deprecated go.opentelemetry.io/otel/example/jaeger package. (#4467)
Removed the deprecated go.opentelemetry.io/otel/sdk/metric/aggregation package. (#4468)
Removed the deprecated internal packages in go.opentelemetry.io/otel/exporters/otlp and its sub-packages. (#4469)
Dropped guaranteed support for versions of Go less than 1.20. (#4481)
[1.17.0/0.40.0/0.0.5] 2023-08-28
Added
Export the ManualReader struct in go.opentelemetry.io/otel/sdk/metric. (#4244)
Export the PeriodicReader struct in go.opentelemetry.io/otel/sdk/metric. (#4244)
Add support for exponential histogram aggregations.
A histogram can be configured as an exponential histogram using a view with "go.opentelemetry.io/otel/sdk/metric".ExponentialHistogram as the aggregation. (#4245)
Export the Exporter struct in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc. (#4272)
Export the Exporter struct in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#4272)
The exporters in go.opentelemetry.io/otel/exporters/otlp/otlpmetric now support the OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE environment variable. (#4287)
Add WithoutCounterSuffixes option in go.opentelemetry.io/otel/exporters/prometheus to disable addition of _total suffixes. (#4306)
Add info and debug logging to the metric SDK in go.opentelemetry.io/otel/sdk/metric. (#4315)
The go.opentelemetry.io/otel/semconv/v1.21.0 package.
The package contains semantic conventions from the v1.21.0 version of the OpenTelemetry Semantic Conventions. (#4362)
Accept 201 to 299 HTTP status as success in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp and go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#4365)
Document the Temporality and Aggregation methods of the "go.opentelemetry.io/otel/sdk/metric".Exporter" need to be concurrent safe. (#4381)
Expand the set of units supported by the Prometheus exporter, and don't add unit suffixes if they are already present in go.opentelemetry.op/otel/exporters/prometheus (#4374)
Move the Aggregation interface and its implementations from go.opentelemetry.io/otel/sdk/metric/aggregation to go.opentelemetry.io/otel/sdk/metric. (#4435)
The exporters in go.opentelemetry.io/otel/exporters/otlp/otlpmetric now support the OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION environment variable. (#4437)
Add the NewAllowKeysFilter and NewDenyKeysFilter functions to go.opentelemetry.io/otel/attribute to allow convenient creation of allow-keys and deny-keys filters. (#4444)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps go.opentelemetry.io/otel/exporters/prometheus from 0.39.0 to 0.41.0.
Release notes
Sourced from go.opentelemetry.io/otel/exporters/prometheus's releases.
... (truncated)
Changelog
Sourced from go.opentelemetry.io/otel/exporters/prometheus's changelog.
... (truncated)
Commits
4242228
Release v1.18.0/v0.41.0/v0.0.6 (#4489)ac4fca2
Use a TB interface in metricdatatest (#4483)77d6237
Bump actions/checkout from 3 to 4 (#4490)8ef7339
dependabot updates Sun Sep 10 14:30:56 UTC 2023 (#4498)e44ea5c
Revert "Collector example: add metrics and use official port (#4466)" (#4487)9737995
Drop support for Go 1.19 (#4481)6eedabf
Collector example: add metrics and use official port (#4466)76c370f
Document public metric SDK interfaces to remain stable (#4396)01d64c3
Update go versions used in workflows (#4480)fc70923
Ignore value option for metricdatatest (#4447)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show