chore(deps): bump the opentelemetry group across 1 directory with 5 updates
Bumps the opentelemetry group with 2 updates in the / directory: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp and go.opentelemetry.io/otel/sdk.
Updates go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.51.0 to 0.53.0
Release notes
Sourced from go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp's releases.
Release v1.28.0/v0.53.0/v0.22.0/v0.8.0/v0.3.0/v0.1.0
Overview
Added
- Add the new
go.opentelemetry.io/contrib/detectors/azure/azurevmpackage to provide a resource detector for Azure VMs. (#5422)- Add support to configure views when creating MeterProvider using the config package. (#5654)
- The
go.opentelemetry.io/contrib/configadd support to configure periodic reader interval and timeout. (#5661)- Add log support for the autoexport package. (#5733)
- Add support for disabling the old runtime metrics using the
OTEL_GO_X_DEPRECATED_RUNTIME_METRICS=falseenvironment variable. (#5747)- Add support for signal-specific protocols environment variables (
OTEL_EXPORTER_OTLP_TRACES_PROTOCOL,OTEL_EXPORTER_OTLP_LOGS_PROTOCOL,OTEL_EXPORTER_OTLP_METRICS_PROTOCOL) ingo.opentelemetry.io/contrib/exporters/autoexport. (#5816)- The
go.opentelemetry.io/contrib/processors/minsevmodule is added. This module provides and experimental logging processor with a configurable threshold for the minimum severity records must have to be recorded. (#5817)- The
go.opentelemetry.io/contrib/processors/baggagecopymodule. This module is a replacement ofgo.opentelemetry.io/contrib/processors/baggage/baggagetrace. (#5824)Changed
- Improve performance of
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcwith the usage ofWithAttributeSet()instead ofWithAttribute(). (#5664)- Improve performance of
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttpwith the usage ofWithAttributeSet()instead ofWithAttribute(). (#5664)- Update
go.opentelemetry.io/contrib/configto latest released configuration schema which introduces breaking changes whereAttributesis now amap[string]interface{}. (#5758)- Upgrade all dependencies of
go.opentelemetry.io/otel/semconv/v1.25.0togo.opentelemetry.io/otel/semconv/v1.26.0. (#5847)Fixed
- Custom attributes targeting metrics recorded by the
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttpare not ignored anymore. (#5129)- The double setup in
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace/examplethat caused duplicate traces. (#5564)- The superfluous
response.WriteHeadercall ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpwhen the response writer is flushed. (#5634)- Use
c.FullPath()method to sethttp.routeattribute ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#5734)- Out-of-bounds panic in case of invalid span ID in
go.opentelemetry.io/contrib/propagators/b3. (#5754)Deprecated
- The
go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelechopackage is deprecated. If you would like to become a Code Owner of this module and prevent it from being removed, see #5550. (#5645)- The
go.opentelemetry.io/contrib/instrumentation/gopkg.in/macaron.v1/otelmacaronpackage is deprecated. If you would like to become a Code Owner of this module and prevent it from being removed, see #5552. (#5646)- The
go.opentelemetry.io/contrib/samplers/aws/xraypackage is deprecated. If you would like to become a Code Owner of this module and prevent it from being removed, see #5554. (#5647)- The
go.opentelemetry.io/contrib/processors/baggage/baggagetracepackage is deprecated. Use the addedgo.opentelemetry.io/contrib/processors/baggagecopypackage instead. (#5824)
- Use
baggagecopy.NewSpanProcessoras a replacement forbaggagetrace.New.
NewSpanProcessoraccepts aFitlerfunction type that selects which baggage members are added to a span.NewSpanProcessorreturns a*baggagecopy.SpanProcessorinstead of atrace.SpanProcessorinterface. The returned type still implements the interface.#5550: open-telemetry/opentelemetry-go-contrib#5550 #5552: open-telemetry/opentelemetry-go-contrib#5552 #5554: open-telemetry/opentelemetry-go-contrib#5554
... (truncated)
Changelog
Sourced from go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp's changelog.
[1.28.0/0.53.0/0.22.0/0.8.0/0.3.0/0.1.0] - 2024-07-02
Added
- Add the new
go.opentelemetry.io/contrib/detectors/azure/azurevmpackage to provide a resource detector for Azure VMs. (#5422)- Add support to configure views when creating MeterProvider using the config package. (#5654)
- The
go.opentelemetry.io/contrib/configadd support to configure periodic reader interval and timeout. (#5661)- Add log support for the autoexport package. (#5733)
- Add support for disabling the old runtime metrics using the
OTEL_GO_X_DEPRECATED_RUNTIME_METRICS=falseenvironment variable. (#5747)- Add support for signal-specific protocols environment variables (
OTEL_EXPORTER_OTLP_TRACES_PROTOCOL,OTEL_EXPORTER_OTLP_LOGS_PROTOCOL,OTEL_EXPORTER_OTLP_METRICS_PROTOCOL) ingo.opentelemetry.io/contrib/exporters/autoexport. (#5816)- The
go.opentelemetry.io/contrib/processors/minsevmodule is added. This module provides and experimental logging processor with a configurable threshold for the minimum severity records must have to be recorded. (#5817)- The
go.opentelemetry.io/contrib/processors/baggagecopymodule. This module is a replacement ofgo.opentelemetry.io/contrib/processors/baggage/baggagetrace. (#5824)Changed
- Improve performance of
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcwith the usage ofWithAttributeSet()instead ofWithAttribute(). (#5664)- Improve performance of
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttpwith the usage ofWithAttributeSet()instead ofWithAttribute(). (#5664)- Update
go.opentelemetry.io/contrib/configto latest released configuration schema which introduces breaking changes whereAttributesis now amap[string]interface{}. (#5758)- Upgrade all dependencies of
go.opentelemetry.io/otel/semconv/v1.25.0togo.opentelemetry.io/otel/semconv/v1.26.0. (#5847)Fixed
- Custom attributes targeting metrics recorded by the
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttpare not ignored anymore. (#5129)- The double setup in
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace/examplethat caused duplicate traces. (#5564)- The superfluous
response.WriteHeadercall ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpwhen the response writer is flushed. (#5634)- Use
c.FullPath()method to sethttp.routeattribute ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#5734)- Out-of-bounds panic in case of invalid span ID in
go.opentelemetry.io/contrib/propagators/b3. (#5754)Deprecated
- The
go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelechopackage is deprecated. If you would like to become a Code Owner of this module and prevent it from being removed, see #5550. (#5645)- The
go.opentelemetry.io/contrib/instrumentation/gopkg.in/macaron.v1/otelmacaronpackage is deprecated. If you would like to become a Code Owner of this module and prevent it from being removed, see #5552. (#5646)- The
go.opentelemetry.io/contrib/samplers/aws/xraypackage is deprecated. If you would like to become a Code Owner of this module and prevent it from being removed, see #5554. (#5647)- The
go.opentelemetry.io/contrib/processors/baggage/baggagetracepackage is deprecated. Use the addedgo.opentelemetry.io/contrib/processors/baggagecopypackage instead. (#5824)
- Use
baggagecopy.NewSpanProcessoras a replacement forbaggagetrace.New.
NewSpanProcessoraccepts aFitlerfunction type that selects which baggage members are added to a span.NewSpanProcessorreturns a*baggagecopy.SpanProcessorinstead of atrace.SpanProcessorinterface. The returned type still implements the interface.#5550: open-telemetry/opentelemetry-go-contrib#5550 #5552: open-telemetry/opentelemetry-go-contrib#5552 #5554: open-telemetry/opentelemetry-go-contrib#5554
[1.27.0/0.52.0/0.21.0/0.7.0/0.2.0] - 2024-05-21
... (truncated)
Commits
af75717Release v1.28.0/v0.53.0/v0.22.0/v0.8.0/v0.3.0/v0.1.0 (#5847)b6a9271fix(deps): update module github.com/aws/aws-sdk-go to v1.54.13 (#5843)66306feAdd@XSAMand@dmathieuas repository maintainers (#5838)f783d1fUpgrade Go versions in CI (#5845)d6e791cfix(deps): update module github.com/aws/aws-sdk-go-v2/service/s3 to v1.58.0 (...efde831Removeotelmongodeprecation while we onboard a Code Owner (#5840)32d3e6afix(deps): update module google.golang.org/grpc to v1.65.0 (#5837)1ce0d1cRevert toolchain addition to autoexport (#5841)53f34f2fix(deps): update module cloud.google.com/go/compute/metadata to v0.4.0 (#5835)56e279efix(deps): update module github.com/aws/aws-sdk-go to v1.54.12 (#5834)- Additional commits viewable in compare view
Updates go.opentelemetry.io/otel from 1.26.0 to 1.28.0
Changelog
Sourced from go.opentelemetry.io/otel's changelog.
[1.28.0/0.50.0/0.4.0] 2024-07-02
Added
- The
IsEmptymethod is added to theInstrumenttype ingo.opentelemetry.io/otel/sdk/metric. This method is used to check if anInstrumentinstance is a zero-value. (#5431)- Store and provide the emitted
context.ContextinScopeRecordsofgo.opentelemetry.io/otel/sdk/log/logtest. (#5468)- The
go.opentelemetry.io/otel/semconv/v1.26.0package. The package contains semantic conventions from thev1.26.0version of the OpenTelemetry Semantic Conventions. (#5476)- The
AssertRecordEqualmethod togo.opentelemetry.io/otel/log/logtestto allow comparison of two log records in tests. (#5499)- The
WithHeadersoption togo.opentelemetry.io/otel/exporters/zipkinto allow configuring custom http headers while exporting spans. (#5530)Changed
Tracer.Startingo.opentelemetry.io/otel/trace/noopno longer allocates a span for empty span context. (#5457)- Upgrade
go.opentelemetry.io/otel/semconv/v1.25.0togo.opentelemetry.io/otel/semconv/v1.26.0ingo.opentelemetry.io/otel/example/otel-collector. (#5490)- Upgrade
go.opentelemetry.io/otel/semconv/v1.25.0togo.opentelemetry.io/otel/semconv/v1.26.0ingo.opentelemetry.io/otel/example/zipkin. (#5490)- Upgrade
go.opentelemetry.io/otel/semconv/v1.25.0togo.opentelemetry.io/otel/semconv/v1.26.0ingo.opentelemetry.io/otel/exporters/zipkin. (#5490)
- The exporter no longer exports the deprecated "otel.library.name" or "otel.library.version" attributes.
- Upgrade
go.opentelemetry.io/otel/semconv/v1.25.0togo.opentelemetry.io/otel/semconv/v1.26.0ingo.opentelemetry.io/otel/sdk/resource. (#5490)- Upgrade
go.opentelemetry.io/otel/semconv/v1.25.0togo.opentelemetry.io/otel/semconv/v1.26.0ingo.opentelemetry.io/otel/sdk/trace. (#5490)SimpleProcessor.OnEmitingo.opentelemetry.io/otel/sdk/logno longer allocates a slice which makes it possible to have a zero-allocation log processing usingSimpleProcessor. (#5493)- Use non-generic functions in the
Startmethod of"go.opentelemetry.io/otel/sdk/trace".Traceto reduce memory allocation. (#5497)service.instance.idis populated for aResourcecreated with"go.opentelemetry.io/otel/sdk/resource".Defaultwith a default value whenOTEL_GO_X_RESOURCEis set. (#5520)- Improve performance of metric instruments in
go.opentelemetry.io/otel/sdk/metricby removing unnecessary calls totime.Now. (#5545)Fixed
- Log a warning to the OpenTelemetry internal logger when a
Recordingo.opentelemetry.io/otel/sdk/logdrops an attribute due to a limit being reached. (#5376)- Identify the
Tracerreturned from the globalTracerProvideringo.opentelemetry.io/otel/globalwith its schema URL. (#5426)- Identify the
Meterreturned from the globalMeterProvideringo.opentelemetry.io/otel/globalwith its schema URL. (#5426)- Log a warning to the OpenTelemetry internal logger when a
Spaningo.opentelemetry.io/otel/sdk/tracedrops an attribute, event, or link due to a limit being reached. (#5434)- Document instrument name requirements in
go.opentelemetry.io/otel/metric. (#5435)- Prevent random number generation data-race for experimental rand exemplars in
go.opentelemetry.io/otel/sdk/metric. (#5456)- Fix counting number of dropped attributes of
Recordingo.opentelemetry.io/otel/sdk/log. (#5464)- Fix panic in baggage creation when a member contains
0x80char in key or value. (#5494)- Correct comments for the priority of the
WithEndpointandWithEndpointURLoptions and their corresponding environment variables ingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#5508)- Retry trace and span ID generation if it generated an invalid one in
go.opentelemetry.io/otel/sdk/trace. (#5514)- Fix stale timestamps reported by the last-value aggregation. (#5517)
- Indicate the
Exporteringo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttpmust be created by theNewmethod. (#5521)- Improved performance in all
{Bool,Int64,Float64,String}SliceValuefunctions ofgo.opentelemetry.io/attributesby reducing the number of allocations. (#5549)[1.27.0/0.49.0/0.3.0] 2024-05-21
Added
- Add example for
go.opentelemetry.io/otel/exporters/stdout/stdoutlog. (#5242)- Add
RecordFactoryingo.opentelemetry.io/otel/sdk/log/logtestto facilitate testing exporter and processor implementations. (#5258)- Add
RecordFactoryingo.opentelemetry.io/otel/log/logtestto facilitate testing bridge implementations. (#5263)- The count of dropped records from the
BatchProcessoringo.opentelemetry.io/otel/sdk/logis logged. (#5276)
... (truncated)
Commits
81216fbReleases v1.28.0/v0.50.0/v0.4.0 (#5569)8279a1aAdd@XSAMand@dmathieuas repository maintainers (#5558)cff1a25chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.104...0485de2Move time.Now call into exemplar reservoir to improve performance (#5545)1cefb17chore(deps): update google.golang.org/genproto/googleapis/rpc digest to f6361...874f2a2chore(deps): update google.golang.org/genproto/googleapis/api digest to f6361...b477e34sdk/log: Add filtering Processor example (#5543)d7e5001sdk/log: Fix ExampleProcessor_redact to clone the record (#5559)4987a1dSplit the span start/end benchmarks and test start with links and attributes ...82fe9aaGenerateinternal/transforminotlploggrpc(#5553)- Additional commits viewable in compare view
Updates go.opentelemetry.io/otel/metric from 1.26.0 to 1.28.0
Changelog
Sourced from go.opentelemetry.io/otel/metric's changelog.
[1.28.0/0.50.0/0.4.0] 2024-07-02
Added
- The
IsEmptymethod is added to theInstrumenttype ingo.opentelemetry.io/otel/sdk/metric. This method is used to check if anInstrumentinstance is a zero-value. (#5431)- Store and provide the emitted
context.ContextinScopeRecordsofgo.opentelemetry.io/otel/sdk/log/logtest. (#5468)- The
go.opentelemetry.io/otel/semconv/v1.26.0package. The package contains semantic conventions from thev1.26.0version of the OpenTelemetry Semantic Conventions. (#5476)- The
AssertRecordEqualmethod togo.opentelemetry.io/otel/log/logtestto allow comparison of two log records in tests. (#5499)- The
WithHeadersoption togo.opentelemetry.io/otel/exporters/zipkinto allow configuring custom http headers while exporting spans. (#5530)Changed
Tracer.Startingo.opentelemetry.io/otel/trace/noopno longer allocates a span for empty span context. (#5457)- Upgrade
go.opentelemetry.io/otel/semconv/v1.25.0togo.opentelemetry.io/otel/semconv/v1.26.0ingo.opentelemetry.io/otel/example/otel-collector. (#5490)- Upgrade
go.opentelemetry.io/otel/semconv/v1.25.0togo.opentelemetry.io/otel/semconv/v1.26.0ingo.opentelemetry.io/otel/example/zipkin. (#5490)- Upgrade
go.opentelemetry.io/otel/semconv/v1.25.0togo.opentelemetry.io/otel/semconv/v1.26.0ingo.opentelemetry.io/otel/exporters/zipkin. (#5490)
- The exporter no longer exports the deprecated "otel.library.name" or "otel.library.version" attributes.
- Upgrade
go.opentelemetry.io/otel/semconv/v1.25.0togo.opentelemetry.io/otel/semconv/v1.26.0ingo.opentelemetry.io/otel/sdk/resource. (#5490)- Upgrade
go.opentelemetry.io/otel/semconv/v1.25.0togo.opentelemetry.io/otel/semconv/v1.26.0ingo.opentelemetry.io/otel/sdk/trace. (#5490)SimpleProcessor.OnEmitingo.opentelemetry.io/otel/sdk/logno longer allocates a slice which makes it possible to have a zero-allocation log processing usingSimpleProcessor. (#5493)- Use non-generic functions in the
Startmethod of"go.opentelemetry.io/otel/sdk/trace".Traceto reduce memory allocation. (#5497)service.instance.idis populated for aResourcecreated with"go.opentelemetry.io/otel/sdk/resource".Defaultwith a default value whenOTEL_GO_X_RESOURCEis set. (#5520)- Improve performance of metric instruments in
go.opentelemetry.io/otel/sdk/metricby removing unnecessary calls totime.Now. (#5545)Fixed
- Log a warning to the OpenTelemetry internal logger when a
Recordingo.opentelemetry.io/otel/sdk/logdrops an attribute due to a limit being reached. (#5376)- Identify the
Tracerreturned from the globalTracerProvideringo.opentelemetry.io/otel/globalwith its schema URL. (#5426)- Identify the
Meterreturned from the globalMeterProvideringo.opentelemetry.io/otel/globalwith its schema URL. (#5426)- Log a warning to the OpenTelemetry internal logger when a
Spaningo.opentelemetry.io/otel/sdk/tracedrops an attribute, event, or link due to a limit being reached. (#5434)- Document instrument name requirements in
go.opentelemetry.io/otel/metric. (#5435)- Prevent random number generation data-race for experimental rand exemplars in
go.opentelemetry.io/otel/sdk/metric. (#5456)- Fix counting number of dropped attributes of
Recordingo.opentelemetry.io/otel/sdk/log. (#5464)- Fix panic in baggage creation when a member contains
0x80char in key or value. (#5494)- Correct comments for the priority of the
WithEndpointandWithEndpointURLoptions and their corresponding environment variables ingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#5508)- Retry trace and span ID generation if it generated an invalid one in
go.opentelemetry.io/otel/sdk/trace. (#5514)- Fix stale timestamps reported by the last-value aggregation. (#5517)
- Indicate the
Exporteringo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttpmust be created by theNewmethod. (#5521)- Improved performance in all
{Bool,Int64,Float64,String}SliceValuefunctions ofgo.opentelemetry.io/attributesby reducing the number of allocations. (#5549)[1.27.0/0.49.0/0.3.0] 2024-05-21
Added
- Add example for
go.opentelemetry.io/otel/exporters/stdout/stdoutlog. (#5242)- Add
RecordFactoryingo.opentelemetry.io/otel/sdk/log/logtestto facilitate testing exporter and processor implementations. (#5258)- Add
RecordFactoryingo.opentelemetry.io/otel/log/logtestto facilitate testing bridge implementations. (#5263)- The count of dropped records from the
BatchProcessoringo.opentelemetry.io/otel/sdk/logis logged. (#5276)
... (truncated)
Commits
81216fbReleases v1.28.0/v0.50.0/v0.4.0 (#5569)8279a1aAdd@XSAMand@dmathieuas repository maintainers (#5558)cff1a25chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.104...0485de2Move time.Now call into exemplar reservoir to improve performance (#5545)1cefb17chore(deps): update google.golang.org/genproto/googleapis/rpc digest to f6361...874f2a2chore(deps): update google.golang.org/genproto/googleapis/api digest to f6361...b477e34sdk/log: Add filtering Processor example (#5543)d7e5001sdk/log: Fix ExampleProcessor_redact to clone the record (#5559)4987a1dSplit the span start/end benchmarks and test start with links and attributes ...82fe9aaGenerateinternal/transforminotlploggrpc(#5553)- Additional commits viewable in compare view
Updates go.opentelemetry.io/otel/sdk from 1.26.0 to 1.28.0
Changelog
Sourced from go.opentelemetry.io/otel/sdk's changelog.
[1.28.0/0.50.0/0.4.0] 2024-07-02
Added
- The
IsEmptymethod is added to theInstrumenttype ingo.opentelemetry.io/otel/sdk/metric. This method is used to check if anInstrumentinstance is a zero-value. (#5431)- Store and provide the emitted
context.ContextinScopeRecordsofgo.opentelemetry.io/otel/sdk/log/logtest. (#5468)- The
go.opentelemetry.io/otel/semconv/v1.26.0package. The package contains semantic conventions from thev1.26.0version of the OpenTelemetry Semantic Conventions. (#5476)- The
AssertRecordEqualmethod togo.opentelemetry.io/otel/log/logtestto allow comparison of two log records in tests. (#5499)- The
WithHeadersoption togo.opentelemetry.io/otel/exporters/zipkinto allow configuring custom http headers while exporting spans. (#5530)Changed
Tracer.Startingo.opentelemetry.io/otel/trace/noopno longer allocates a span for empty span context. (#5457)- Upgrade
go.opentelemetry.io/otel/semconv/v1.25.0togo.opentelemetry.io/otel/semconv/v1.26.0ingo.opentelemetry.io/otel/example/otel-collector. (#5490)- Upgrade
go.opentelemetry.io/otel/semconv/v1.25.0togo.opentelemetry.io/otel/semconv/v1.26.0ingo.opentelemetry.io/otel/example/zipkin. (#5490)- Upgrade
go.opentelemetry.io/otel/semconv/v1.25.0togo.opentelemetry.io/otel/semconv/v1.26.0ingo.opentelemetry.io/otel/exporters/zipkin. (#5490)
- The exporter no longer exports the deprecated "otel.library.name" or "otel.library.version" attributes.
- Upgrade
go.opentelemetry.io/otel/semconv/v1.25.0togo.opentelemetry.io/otel/semconv/v1.26.0ingo.opentelemetry.io/otel/sdk/resource. (#5490)- Upgrade
go.opentelemetry.io/otel/semconv/v1.25.0togo.opentelemetry.io/otel/semconv/v1.26.0ingo.opentelemetry.io/otel/sdk/trace. (#5490)SimpleProcessor.OnEmitingo.opentelemetry.io/otel/sdk/logno longer allocates a slice which makes it possible to have a zero-allocation log processing usingSimpleProcessor. (#5493)- Use non-generic functions in the
Startmethod of"go.opentelemetry.io/otel/sdk/trace".Traceto reduce memory allocation. (#5497)service.instance.idis populated for aResourcecreated with"go.opentelemetry.io/otel/sdk/resource".Defaultwith a default value whenOTEL_GO_X_RESOURCEis set. (#5520)- Improve performance of metric instruments in
go.opentelemetry.io/otel/sdk/metricby removing unnecessary calls totime.Now. (#5545)Fixed
- Log a warning to the OpenTelemetry internal logger when a
Recordingo.opentelemetry.io/otel/sdk/logdrops an attribute due to a limit being reached. (#5376)- Identify the
Tracerreturned from the globalTracerProvideringo.opentelemetry.io/otel/globalwith its schema URL. (#5426)- Identify the
Meterreturned from the globalMeterProvideringo.opentelemetry.io/otel/globalwith its schema URL. (#5426)- Log a warning to the OpenTelemetry internal logger when a
Spaningo.opentelemetry.io/otel/sdk/tracedrops an attribute, event, or link due to a limit being reached. (#5434)- Document instrument name requirements in
go.opentelemetry.io/otel/metric. (#5435)- Prevent random number generation data-race for experimental rand exemplars in
go.opentelemetry.io/otel/sdk/metric. (#5456)- Fix counting number of dropped attributes of
Recordingo.opentelemetry.io/otel/sdk/log. (#5464)- Fix panic in baggage creation when a member contains
0x80char in key or value. (#5494)- Correct comments for the priority of the
WithEndpointandWithEndpointURLoptions and their corresponding environment variables ingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#5508)- Retry trace and span ID generation if it generated an invalid one in
go.opentelemetry.io/otel/sdk/trace. (#5514)- Fix stale timestamps reported by the last-value aggregation. (#5517)
- Indicate the
Exporteringo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttpmust be created by theNewmethod. (#5521)- Improved performance in all
{Bool,Int64,Float64,String}SliceValuefunctions ofgo.opentelemetry.io/attributesby reducing the number of allocations. (#5549)[1.27.0/0.49.0/0.3.0] 2024-05-21
Added
- Add example for
go.opentelemetry.io/otel/exporters/stdout/stdoutlog. (#5242)- Add
RecordFactoryingo.opentelemetry.io/otel/sdk/log/logtestto facilitate testing exporter and processor implementations. (#5258)- Add
RecordFactoryingo.opentelemetry.io/otel/log/logtestto facilitate testing bridge implementations. (#5263)- The count of dropped records from the
BatchProcessoringo.opentelemetry.io/otel/sdk/logis logged. (#5276)
... (truncated)
Commits
81216fbReleases v1.28.0/v0.50.0/v0.4.0 (#5569)8279a1aAdd@XSAMand@dmathieuas repository maintainers (#5558)cff1a25chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.104...0485de2Move time.Now call into exemplar reservoir to improve performance (#5545)1cefb17chore(deps): update google.golang.org/genproto/googleapis/rpc digest to f6361...874f2a2chore(deps): update google.golang.org/genproto/googleapis/api digest to f6361...b477e34sdk/log: Add filtering Processor example (#5543)d7e5001sdk/log: Fix ExampleProcessor_redact to clone the record (#5559)4987a1dSplit the span start/end benchmarks and test start with links and attributes ...82fe9aaGenerateinternal/transforminotlploggrpc(#5553)- Additional commits viewable in compare view
Updates go.opentelemetry.io/otel/trace from 1.26.0 to 1.28.0
Changelog
Sourced from go.opentelemetry.io/otel/trace's changelog.
[1.28.0/0.50.0/0.4.0] 2024-07-02
Added
- The
IsEmptymethod is added to theInstrumenttype ingo.opentelemetry.io/otel/sdk/metric. This method is used to check if anInstrumentinstance is a zero-value. (#5431)- Store and provide the emitted
context.ContextinScopeRecordsofgo.opentelemetry.io/otel/sdk/log/logtest. (#5468)- The
go.opentelemetry.io/otel/semconv/v1.26.0package. The package contains semantic conventions from thev1.26.0version of the OpenTelemetry Semantic Conventions. (#5476)- The
AssertRecordEqualmethod togo.opentelemetry.io/otel/log/logtestto allow comparison of two log records in tests. (#5499)- The
WithHeadersoption togo.opentelemetry.io/otel/exporters/zipkinto allow configuring custom http headers while exporting spans. (#5530)Changed
Tracer.Startingo.opentelemetry.io/otel/trace/noopno longer allocates a span for empty span context. (#5457)- Upgrade
go.opentelemetry.io/otel/semconv/v1.25.0togo.opentelemetry.io/otel/semconv/v1.26.0ingo.opentelemetry.io/otel/example/otel-collector. (#5490)- Upgrade
go.opentelemetry.io/otel/semconv/v1.25.0togo.opentelemetry.io/otel/semconv/v1.26.0ingo.opentelemetry.io/otel/example/zipkin. (#5490)- Upgrade
go.opentelemetry.io/otel/semconv/v1.25.0togo.opentelemetry.io/otel/semconv/v1.26.0ingo.opentelemetry.io/otel/exporters/zipkin. (#5490)
- The exporter no longer exports the deprecated "otel.library.name" or "otel.library.version" attributes.
- Upgrade
go.opentelemetry.io/otel/semconv/v1.25.0togo.opentelemetry.io/otel/semconv/v1.26.0ingo.opentelemetry.io/otel/sdk/resource. (#5490)- Upgrade
go.opentelemetry.io/otel/semconv/v1.25.0togo.opentelemetry.io/otel/semconv/v1.26.0ingo.opentelemetry.io/otel/sdk/trace. (#5490)SimpleProcessor.OnEmitingo.opentelemetry.io/otel/sdk/logno longer allocates a slice which makes it possible to have a zero-allocation log processing usingSimpleProcessor. (#5493)- Use non-generic functions in the
Startmethod of"go.opentelemetry.io/otel/sdk/trace".Traceto reduce memory allocation. (#5497)service.instance.idis populated for aResourcecreated with"go.opentelemetry.io/otel/sdk/resource".Defaultwith a default value whenOTEL_GO_X_RESOURCEis set. (#5520)- Improve performance of metric instruments in
go.opentelemetry.io/otel/sdk/metricby removing unnecessary calls totime.Now. (#5545)Fixed
- Log a warning to the OpenTelemetry internal logger when a
Recordingo.opentelemetry.io/otel/sdk/logdrops an attribute due to a limit being reached. (#5376)- Identify the
Tracerreturned from the globalTracerProvideringo.opentelemetry.io/otel/globalwith its schema URL. (#5426)- Identify the
Meterreturned from the globalMeterProvideringo.opentelemetry.io/otel/globalwith its schema URL. (#5426)- Log a warning to the OpenTelemetry internal logger when a
Spaningo.opentelemetry.io/otel/sdk/tracedrops an attribute, event, or link due to a limit being reached. (#5434)- Document instrument name requirements in
go.opentelemetry.io/otel/metric. (#5435)- Prevent random number generation data-race for experimental rand exemplars in
go.opentelemetry.io/otel/sdk/metric. (#5456)- Fix counting number of dropped attributes of
Recordingo.opentelemetry.io/otel/sdk/log. (#5464)- Fix panic in baggage creation when a member contains
0x80char in key or value. (#5494)- Correct comments for the priority of the
WithEndpointandWithEndpointURLoptions and their corresponding environment variables ingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#5508)- Retry trace and span ID generation if it generated an invalid one in
go.opentelemetry.io/otel/sdk/trace. (#5514)- Fix stale timestamps reported by the last-value aggregation. (#5517)
- Indicate the
Exporteringo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttpmust be created by theNewmethod. (#5521)- Improved performance in all
{Bool,Int64,Float64,String}SliceValuefunctions ofgo.opentelemetry.io/attributesby reducing the number of allocations. (#5549)[1.27.0/0.49.0/0.3.0] 2024-05-21
Added
- Add example for
go.opentelemetry.io/otel/exporters/stdout/stdoutlog. (#5242)- Add
RecordFactoryingo.opentelemetry.io/otel/sdk/log/logtestto facilitate testing exporter and processor implementations. (#5258)- Add
RecordFactoryingo.opentelemetry.io/otel/log/logtestto facilitate testing bridge implementations. (#5263)- The count of dropped records from the
BatchProcessoringo.opentelemetry.io/otel/sdk/logis logged. (#5276)
... (truncated)
Commits
81216fbReleases v1.28.0/v0.50.0/v0.4.0 (#5569)8279a1aAdd@XSAMand@dmathieuas repository maintainers (#5558)cff1a25chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.104...0485de2Move time.Now call into exemplar reservoir to improve performance (#5545)1cefb17chore(deps): update google.golang.org/genproto/googleapis/rpc digest to f6361...- Description%20has%20been%20truncated%0A" rel="nofollow" target="_blank" >