Releases: grafana/grafana-opentelemetry-dotnet
1.0.1
This is the first GA release of this distribution.
BREAKING CHANGES
- Removes AWS and Azure resource detectors.
(#114) - Drops supports for .NET 7. EOL was May 24 2024
(#116) - Separates resource detectors and instrumentations. Removes resource detector
names fromGrafana.OpenTelemetry.Instrumentationenumeration. Adds new
Grafana.OpenTelemetry.ResourceDetectorsenumeration.
(#111)
(#119)
Bug Fixes
- Remove workaround for stable
service.instance.idacross signals
(#108) - Use 0.1.0-beta.3 of OpenTelemetry.Resources.Host
- Fix the bug where macOS was detected as Linux
(#1985)
- Fix the bug where macOS was detected as Linux
New features
- Adds Operating System resource detector.
(#113)
(#121) - Add new environment variable
GRAFANA_DOTNET_DISABLE_RESOURCE_DETECTORS.
Setting this will cause the provided resource detectors to be disabled.
(#111)
(#118)
(#119) - Add new environment variable
GRAFANA_DOTNET_RESOURCE_DETECTORS. Setting this
will cause only the provided resource detectors to be enabled.
(#111)
(#118)
(#119)
0.9.0-beta.1
BREAKING CHANGES
- Use 0.5.0-beta.6 of OpenTelemetry.Instrumentation.Process
- Use 1.5.0-beta.1 of OpenTelemetry.Resources.AWS
- Breaking Change: Renamed package from
OpenTelemetry.ResourceDetectors.AWS
toOpenTelemetry.Resources.AWS.
(#1839) - Breaking Change:
AWSEBSResourceDetector,AWSEC2ResourceDetector,
AWSECSResourceDetectorandAWSEKSResourceDetectortypes are now internal,
useResourceBuilderextension methodsAddAWSEBSDetector,
AddAWSEC2Detector,AddAWSECSDetector
andAddAWSEKSDetectorrespectively to enable the detectors.
(#1839) - Breaking Change: Renamed EventSource
fromOpenTelemetry-ResourceDetectors-AWS
toOpenTelemetry-Resources-AWS.
(#1839)
- Breaking Change: Renamed package from
- Use 1.0.0-beta.8 of OpenTelemetry.Resources.Azure
- Breaking Change: Renamed method from
AddAppServiceDetector
toAddAzureAppServiceDetector.
(#1883) - Updated OpenTelemetry core component version(s) to
1.9.0.
(#1888) - Breaking Change: Renamed package from
OpenTelemetry.ResourceDetectors.Azure
toOpenTelemetry.Resources.Azure.
(#1840) - Breaking Change:
AppServiceResourceDetectortype is now internal, useResourceBuilder
extension methodAddAppServiceDetectorto enable the detector.
(#1840) - Breaking Change:
AzureVMResourceDetectortype is now internal, useResourceBuilder
extension methodAddAzureVMResourceDetectorto enable the detector.
(#1840) - Breaking Change:
AzureContainerAppsResourceDetectortype is now
internal, useResourceBuilderextension methodAddAzureContainerAppsResourceDetector
to enable the detector.
(#1840)
- Breaking Change: Renamed method from
- Use 1.0.0-beta.9 of OpenTelemetry.Resources.Container
- Updated OpenTelemetry core component version(s) to
1.9.0.
(#1888) - Breaking Change: Renamed package from
OpenTelemetry.ResourceDetectors.Container
toOpenTelemetry.Resources.Container.
(#1849) - Breaking Change:
ContainerResourceDetectortype is now internal,
useResourceBuilderextension methodAddContainerDetector
to enable the detector.
(#1849) - Breaking Change: Renamed EventSource
fromOpenTelemetry-ResourceDetectors-Container
toOpenTelemetry-Resources-Container.
(#1849)
- Updated OpenTelemetry core component version(s) to
- Use 0.1.0-beta.2 of OpenTelemetry.Resources.Host
(#1888) - Use 0.1.0-beta.2 of OpenTelemetry.Resources.Process
- Updated OpenTelemetry core component version(s) to
1.9.0.
(#1888) - Breaking Change: Renamed package from
OpenTelemetry.ResourceDetectors.Process
toOpenTelemetry.Resources.Process.
(#1717) - Breaking Change:
ProcessDetectortype is now internal, useResourceBuilder
extension methodAddProcessDetectorto enable the detector.
(#1717)
- Updated OpenTelemetry core component version(s) to
- Use 0.1.0-beta.2 of OpenTelemetry.Resources.ProcessRuntime
Bug Fixes
- Use 1.9.0 of OpenTelemetry
- Fixed a race condition for the experimental MetricPoint reclaim scenario
(enabled viaOTEL_DOTNET_EXPERIMENTAL_METRICS_RECLAIM_UNUSED_METRIC_POINTS)
which could have led to a measurement being dropped.
(#5546) - Fixed the nullable annotations for the
SamplingResultconstructors
to allownullbeing supplied asattributesortraceStateString
which has always been supported.
(#5614)
- Fixed a race condition for the experimental MetricPoint reclaim scenario
- Use 1.0.0-rc.6 of OpenTelemetry.Instrumentation.Owin
- Massive memory leak in OwinInstrumentationMetrics addressed.
Made both Meter and Histogram singletons.
(#1655)
- Massive memory leak in OwinInstrumentationMetrics addressed.
- Use 1.9.0-beta.1 of OpenTelemetry.Instrumentation.StackExchangeRedis
- Update
StackExchange.Redisversion to2.6.122, resolving warnings about
CVE-2021-24112.
(#1961)
- Update
New features
- Use 1.9.0 of OpenTelemetry.Exporter.OpenTelemetryProtocol
User-Agentheader format changed from
OTel-OTLP-Exporter-Dotnet/{NuGet Package Version}+{Commit Hash}
toOTel-OTLP-Exporter-Dotnet/{NuGet Package Version}.
(#5528)- Implementation of OTLP
specification
for propagatingSpanandSpanLinkflags containing W3C trace flags and
parent_is_remoteinformation.
(#5563)
- Use 1.9.0 of OpenTelemetry.Extensions.Hosting
- Use 1.9.0-beta.1 of OpenTelemetry.Instrumentation.AspNet
- Updated OpenTelemetry core component version(s) to
1.9.0.
(#1888)
- Updated OpenTelemetry core component version(s) to
- Use 1.9.0 of OpenTelemetry.Instrumentation.AspNetCore
- Updated OpenTelemetry core component version(s) to
1.9.0.
(#1888)
- Updated OpenTelemetry core component version(s) to
- Use 1.1.0-beta.4 of OpenTelemetry.Instrumentation.AWS
- Use 1.3.0-beta.1 of OpenTelemetry.Instrumentation.AWSLambda
- Use 1.0.0-beta.12 of OpenTelemetry.Instrumentation.EntityFrameworkCore
- Updated OpenTelemetry core component version(s) to
1.9.0.
(#1888)
- Updated OpenTelemetry core component version(s) to
- Use 1.9.0-beta.1 of OpenTelemetry.Instrumentation.GrpcNetClient
- Updated OpenTelemetry core component version(s) to
1.9.0.
(#1888)
- Updated OpenTelemetry core component version(s) to
- Use 1.6.0-beta.1 of OpenTelemetry.Instrumentation.Hangfire
- Use 1.9.0 of OpenTelemetry.Instrumentation.Http
- Updated OpenTelemetry core component version(s) to
1.9.0.
(#1888)
- Updated OpenTelemetry core component version(s) to
- Use 0.5.0-beta.6 of OpenTelemetry.Instrumentation.Process
- Updated OpenTelemetry core component version(s) to
1.9.0.
(#1888)
- Updated OpenTelemetry core component version(s) to
- Use 1.0.0-beta.3 of OpenTelemetry.Instrumentation.Quartz
- Use 1.9.0 of OpenTelemetry.Instrumentation.Runtime
- Updated OpenTelemetry core component version(s) to
1.9.0.
(#1888)
- Updated OpenTelemetry core component version(s) to
- Use 1.9.0-beta.1 of OpenTelemetry.Instrumentation.StackExchangeRedis
- Use 1.9.0-beta.1 of OpenTelemetry.Instrumentation.SqlClient
- Updated OpenTelemetry core component version(s) to
1.9.0.
(#1888)
- Updated OpenTelemetry core component version(s) to
- Use 1.0.0-rc.17 of OpenTelemetry.Instrumentation.Wcf
- Updat...
0.8.2-beta.1
Bug Fixes
- Use 8.0.4 of System.Text.Json to remediate CVE-2024-30105
(#102)
0.8.1-beta
BREAKING CHANGES
-
Use 1.8.1 of OpenTelemetry.Instrumentation.Http
- Breaking Change: Fixed tracing instrumentation so that by default any
values detected in the query string component of requests are replaced with
the textRedactedwhen building theurl.fulltag. For example,
?key1=value1&key2=value2becomes?key1=Redacted&key2=Redacted. You can
disable this redaction by setting the environment variable
OTEL_DOTNET_EXPERIMENTAL_HTTPCLIENT_DISABLE_URL_QUERY_REDACTIONtotrue.
(#5532)
- Breaking Change: Fixed tracing instrumentation so that by default any
-
Use 1.8.1 of OpenTelemetry.Instrumentation.AspNetCore
- Breaking Change: Fixed tracing instrumentation so that by default any
values detected in the query string component of requests are replaced with
the textRedactedwhen building theurl.fulltag. For example,
?key1=value1&key2=value2becomes?key1=Redacted&key2=Redacted. You can
disable this redaction by setting the environment variable
OTEL_DOTNET_EXPERIMENTAL_HTTPCLIENT_DISABLE_URL_QUERY_REDACTIONtotrue.
(#5532)
- Breaking Change: Fixed tracing instrumentation so that by default any
Bug Fixes
-
Use 1.8.1 of OpenTelemetry
-
Use 1.8.1 of OpenTelemetry.Exporter.OpenTelemetryProtocol
- Fix native AoT warnings in
OpenTelemetry.Exporter.OpenTelemetryProtocol.
(#5520)
- Fix native AoT warnings in
-
Use 1.8.1 of OpenTelemetry.Instrumentation.AspNetCore
- Includes fixes from 1.8.0
-
Use 1.8.1 of OpenTelemetry.Instrumentation.Http
- Includes fixes from 1.8.0
New features
-
Use 1.8.0 of OpenTelemetry.Exporter.Console
- Added support for
ActivitySource.Versionproperty. (#5472)
- Added support for
-
Use 1.8.0-beta.1 of OpenTelemetry.Instrumentation.GrpcNetClient
-
Use 1.8.0 of OpenTelemetry.Instrumentation.Runtime
-
Use 1.8.0-beta.1 of OpenTelemetry.Instrumentation.SqlClient
-
Use 0.5.0-beta.5 of OpenTelemetry.Instrumentation.Process
-
Use 1.0.0-beta.6 of OpenTelemetry.ResourceDetectors.Azure
- Update
OpenTelemetry.Apito1.8.0. (#1635)
- Update
-
Use 0.1.0-alpha.3 of OpenTelemetry.ResourceDetectors.Host
- Update
OpenTelemetry.Apito1.8.0. (#1635)
- Update
-
Use 0.1.0-alpha.3 of OpenTelemetry.ResourceDetectors.ProcessRuntime
- Update
OpenTelemetry.Apito1.8.0. (#1635)
- Update
0.7.0-beta.4
Bug fixes
-
Use 1.7.1 of ASP.NET Core instrumentation.
-
Fixed issue
#4466
where the activity instance returned byActivity.Currentwas different than
instance obtained fromIHttpActivityFeature.Activity.
(#5136) -
Fixed an issue where the
http.routeattribute was not set on either the
Activityorhttp.server.request.durationmetric generated from a
request when an exception handling middleware is invoked. One caveat is that
this fix does not address the problem for thehttp.server.request.duration
metric when running ASP.NET Core 8. ASP.NET Core 8 contains an equivalent fix
which should ship in version 8.0.2
(see: dotnet/aspnetcore#52652).
(#5135) -
Fixes scenario when the
net6.0target of this library is loaded into a
.NET 7+ process and the instrumentation does not behave as expected. This
is an unusual scenario that does not affect users consuming this package
normally. This fix is primarily to support the
opentelemetry-dotnet-instrumentation
project.
(#5252)
-
-
Use 1.7.1 of HTTP instrumentation.
- .NET Framework - fix description for
http.client.request.durationmetric.
(#5234)
- .NET Framework - fix description for
New features
- #81
Adds a .NET 8 test project and integrates it into the OATS test matrix. - #85
Adds resource detectors for Azure, host, process, process runtime, and
container resource attributes. - #87
Add a newOtlpExporterclass supporting specifying OTLP protocol, endpoint,
and header - Use 1.7.1 of Runtime instrumentation.
- Update
OpenTelemetry.Apito1.7.0.
(#1486)
- Update
Deprecation
-
#87
Deprecate use ofGRAFANA_CLOUD_*environment variables in code and documentationThe use of
CloudOtlpExporterandGRAFANA_CLOUD_*environment variables is
deprecated. Instead useOtlpExporterfor code-level configuration, and
OTEL_EXPORTER_OTLP_PROTOCOL,OTEL_EXPORTER_OTLP_ENDPOINT, and
OTEL_EXPORTER_OTLP_HEADERSfor configuration via environment variables.
0.7.0-beta.3
Bug fixes
- Sets
OTEL_DOTNET_EXPERIMENTAL_ASPNETCORE_ENABLE_GRPC_INSTRUMENTATION
totruewhen enabling tracing. gRPC instrumentation is experimental,
while HTTP is stable.
0.7.0-beta.2
Bug fixes
- #71:
Lazy-loading of ASP.NET Core instrumentation was broken. This was fixed by
updateing changed class names of ASP.NET Core instrumentation library
extension classes.
0.7.0-beta.1
BREAKING CHANGES
- Use 1.7.0 of ASP.NET Core instrumentation.
- Removes support for
OTEL_SEMCONV_STABILITY_OPT_IN.
Instrumentation will only emit stable conventions. - Defaults
OTEL_DOTNET_EXPERIMENTAL_ASPNETCORE_ENABLE_GRPC_INSTRUMENTATION
totrue. gRPC instrumentation is experimental,
while HTTP is stable.
- Removes support for
- Use 1.7.0 of HTTP instrumentation.
http.user_agentActivity tag removed from HTTP instrumentation.- Removes support for
OTEL_SEMCONV_STABILITY_OPT_IN.
Instrumentation will only emit stable conventions.
New features
0.6.0-beta.3
Bug fixes
0.6.0-beta.2
New features
- Use 1.6.0-beta.3 of upstream instrumentation libraries.
- Allow specifying custom resource attributes via
GrafanaOpenTelemetrySettings. - Run unit tests on .NET 8.
- Use libraries released with .NET 8.
- Improve accuracy of resource attributes
telemetry.distro.nameandtelemetry.distro.version.
Bug fixes
- Make unit tests runnable for non-net462 targets.