Releases: grafana/grafana-opentelemetry-dotnet
1.1.0
Bug Fixes
- Upgrade reference to System.Text.Json to version 8.0.5, resolving CVE-2024-43485
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.Instrumentation
enumeration. Adds new
Grafana.OpenTelemetry.ResourceDetectors
enumeration.
(#111)
(#119)
Bug Fixes
- Remove workaround for stable
service.instance.id
across 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
,
AWSECSResourceDetector
andAWSEKSResourceDetector
types are now internal,
useResourceBuilder
extension methodsAddAWSEBSDetector
,
AddAWSEC2Detector
,AddAWSECSDetector
andAddAWSEKSDetector
respectively 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:
AppServiceResourceDetector
type is now internal, useResourceBuilder
extension methodAddAppServiceDetector
to enable the detector.
(#1840) - Breaking Change:
AzureVMResourceDetector
type is now internal, useResourceBuilder
extension methodAddAzureVMResourceDetector
to enable the detector.
(#1840) - Breaking Change:
AzureContainerAppsResourceDetector
type is now
internal, useResourceBuilder
extension 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:
ContainerResourceDetector
type is now internal,
useResourceBuilder
extension 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:
ProcessDetector
type is now internal, useResourceBuilder
extension methodAddProcessDetector
to 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
SamplingResult
constructors
to allownull
being supplied asattributes
ortraceStateString
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.Redis
version to2.6.122
, resolving warnings about
CVE-2021-24112.
(#1961)
- Update
New features
- Use 1.9.0 of OpenTelemetry.Exporter.OpenTelemetryProtocol
User-Agent
header 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 propagatingSpan
andSpanLink
flags containing W3C trace flags and
parent_is_remote
information.
(#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 textRedacted
when building theurl.full
tag. For example,
?key1=value1&key2=value2
becomes?key1=Redacted&key2=Redacted
. You can
disable this redaction by setting the environment variable
OTEL_DOTNET_EXPERIMENTAL_HTTPCLIENT_DISABLE_URL_QUERY_REDACTION
totrue
.
(#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 textRedacted
when building theurl.full
tag. For example,
?key1=value1&key2=value2
becomes?key1=Redacted&key2=Redacted
. You can
disable this redaction by setting the environment variable
OTEL_DOTNET_EXPERIMENTAL_HTTPCLIENT_DISABLE_URL_QUERY_REDACTION
totrue
.
(#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.Version
property. (#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.Api
to1.8.0
. (#1635)
- Update
-
Use 0.1.0-alpha.3 of OpenTelemetry.ResourceDetectors.Host
- Update
OpenTelemetry.Api
to1.8.0
. (#1635)
- Update
-
Use 0.1.0-alpha.3 of OpenTelemetry.ResourceDetectors.ProcessRuntime
- Update
OpenTelemetry.Api
to1.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.Current
was different than
instance obtained fromIHttpActivityFeature.Activity
.
(#5136) -
Fixed an issue where the
http.route
attribute was not set on either the
Activity
orhttp.server.request.duration
metric 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.0
target 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.duration
metric.
(#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 newOtlpExporter
class supporting specifying OTLP protocol, endpoint,
and header - Use 1.7.1 of Runtime instrumentation.
- Update
OpenTelemetry.Api
to1.7.0
.
(#1486)
- Update
Deprecation
-
#87
Deprecate use ofGRAFANA_CLOUD_*
environment variables in code and documentationThe use of
CloudOtlpExporter
andGRAFANA_CLOUD_*
environment variables is
deprecated. Instead useOtlpExporter
for code-level configuration, and
OTEL_EXPORTER_OTLP_PROTOCOL
,OTEL_EXPORTER_OTLP_ENDPOINT
, and
OTEL_EXPORTER_OTLP_HEADERS
for configuration via environment variables.
0.7.0-beta.3
Bug fixes
- Sets
OTEL_DOTNET_EXPERIMENTAL_ASPNETCORE_ENABLE_GRPC_INSTRUMENTATION
totrue
when 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_agent
Activity tag removed from HTTP instrumentation.- Removes support for
OTEL_SEMCONV_STABILITY_OPT_IN
.
Instrumentation will only emit stable conventions.