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
See our versioning policy for more information about these stability guarantees.
Added
Add WithEndpointURL option to the exporters/otlp/otlpmetric/otlpmetricgrpc, exporters/otlp/otlpmetric/otlpmetrichttp, exporters/otlp/otlptrace/otlptracegrpc and exporters/otlp/otlptrace/otlptracehttp packages. (Add WithEndpointURL option to OTLP over HTTP exporters #4808)
ErrSchemaURLConflict is added to go.opentelemetry.io/otel/sdk/resource. This error is returned when a merge of two Resources with different (non-empty) schema URL is attempted. (Return merged Resource on schema conflict #4876)
Changed
The Merge and New functions in go.opentelemetry.io/otel/sdk/resource now returns a partial result if there is a schema URL merge conflict. Instead of returning nil when two Resources with different (non-empty) schema URLs are merged the merged Resource, along with the new ErrSchemaURLConflict error, is returned. It is up to the user to decide if they want to use the returned Resource or not. It may have desired attributes overwritten or include stale semantic conventions. (Return merged Resource on schema conflict #4876)
Fix missing Mix and Max values for go.opentelemetry.io/otel/exporters/stdout/stdoutmetric by introducing MarshalText and MarshalJSON for the Extrema type in go.opentelemetry.io/sdk/metric/metricdata. (sdk/metric/metricdata: Add MarshalJSON for Extrema #4827)
All modified and coverable lines are covered by tests ✅
Comparison is base (2c7761d) 82.6% compared to head (694d468) 82.6%.
Report is 1 commits behind head on main.
❗ Current head 694d468 differs from pull request most recent head c0460a9. Consider uploading reports for the commit c0460a9 to get more accurate results
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This release contains the first stable,
v1, release of the following modules:go.opentelemetry.io/otel/bridge/opencensusgo.opentelemetry.io/otel/bridge/opencensus/testgo.opentelemetry.io/otel/example/opencensusgo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpcgo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttpgo.opentelemetry.io/otel/exporters/stdout/stdoutmetricSee our versioning policy for more information about these stability guarantees.
Added
WithEndpointURLoption to theexporters/otlp/otlpmetric/otlpmetricgrpc,exporters/otlp/otlpmetric/otlpmetrichttp,exporters/otlp/otlptrace/otlptracegrpcandexporters/otlp/otlptrace/otlptracehttppackages. (Add WithEndpointURL option to OTLP over HTTP exporters #4808)ErrSchemaURLConflictis added togo.opentelemetry.io/otel/sdk/resource. This error is returned when a merge of twoResources with different (non-empty) schema URL is attempted. (Return merged Resource on schema conflict #4876)Changed
MergeandNewfunctions ingo.opentelemetry.io/otel/sdk/resourcenow returns a partial result if there is a schema URL merge conflict. Instead of returningnilwhen twoResources with different (non-empty) schema URLs are merged the mergedResource, along with the newErrSchemaURLConflicterror, is returned. It is up to the user to decide if they want to use the returnedResourceor not. It may have desired attributes overwritten or include stale semantic conventions. (Return merged Resource on schema conflict #4876)Fixed
ContainerIDresource detection on systemd when cgroup path has a colon. (Fix ContainerID detector on systemd with colon in cgroup path #4449)go.opentelemetry.io/otel/sdk/metricto cache instruments to avoid leaking memory when the same instrument is created multiple times. (Cache instruments so repeatedly creating identical instruments doesn't leak memory #4820)MixandMaxvalues forgo.opentelemetry.io/otel/exporters/stdout/stdoutmetricby introducingMarshalTextandMarshalJSONfor theExtrematype ingo.opentelemetry.io/sdk/metric/metricdata. (sdk/metric/metricdata: Add MarshalJSON for Extrema #4827)