|
4 | 4 |
|
5 | 5 | ### BREAKING CHANGES |
6 | 6 |
|
7 | | -* Use 1.12.0-beta.2 of OpenTelemetry.Instrumentation.AspNet ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 7 | +* Use 1.13.0-beta.2 of OpenTelemetry.Instrumentation.AspNet ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
8 | 8 | * Renamed `MeterProviderBuilderExtensions` and |
9 | 9 | `TracerProviderBuilderExtensions` to |
10 | 10 | `AspNetInstrumentationMeterProviderBuilderExtensions` |
|
24 | 24 | All usages of `HttpRequest`, `HttpResponse` and `HttpContext` replaced by |
25 | 25 | `HttpRequestBase`, `HttpResponseBase` and `HttpContextBase` respectively. |
26 | 26 | ([#3110](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3110)) |
27 | | -* Use 1.12.0-beta.3 of OpenTelemetry.Instrumentation.SqlClient ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 27 | +* Use 1.13.0-beta.1 of OpenTelemetry.Instrumentation.EntityFrameworkCore ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 28 | + * The `SetDbStatementForStoredProcedure` and |
| 29 | + `SetDbStatementForText` properties have been removed. Behaviors related to this |
| 30 | + option are now always enabled. |
| 31 | + ([#3072](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3072)) |
| 32 | + * `db.system.name` now only sets names that are explicitly |
| 33 | + defined in the Semantic Conventions for databases. |
| 34 | + ([#3075](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3075)) |
| 35 | +* Use 1.13.0-beta.1 of OpenTelemetry.Instrumentation.SqlClient ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
28 | 36 | * The `SetDbStatementForText` property has been removed. |
29 | 37 | Behaviors related to this option are now always enabled. |
30 | 38 | ([#3072](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3072)) |
|
34 | 42 | * The `Enrich` property has been renamed to |
35 | 43 | `EnrichWithSqlCommand` and no longer passes an event name to the delegate. |
36 | 44 | ([#3080](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3080)) |
| 45 | +* Use 1.13.0-beta.1 of OpenTelemetry.Instrumentation.StackExchangeRedis ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 46 | + * Introduce `RedisInstrumentationContext` and use it as context for `Filter` |
| 47 | + ([#2977](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/2977)) |
| 48 | +* Use 1.13.0-beta.1 of OpenTelemetry.Instrumentation.Wcf ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 49 | + * Adjust to breaking changes from `OpenTelemetry.Instrumentation.AspNet` version |
| 50 | + `1.13.0-beta.1`. Fixing span hierarchy when hosted in ASP.NET. |
| 51 | + ([#3151](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3151)) |
37 | 52 |
|
38 | 53 | ### New features |
39 | 54 |
|
40 | | -* Use 1.13.0 of OpenTelemetry ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 55 | +* Use 1.13.1 of OpenTelemetry ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
41 | 56 | * Added a verification to ensure that a `MetricReader` can only be registered |
42 | 57 | to a single `MeterProvider`, as required by the OpenTelemetry specification. |
43 | 58 | ([#6458](https://github.com/open-telemetry/opentelemetry-dotnet/pull/6458)) |
44 | 59 | * Added `FormatMessage` configuration option to self-diagnostics feature. When |
45 | 60 | set to `true` (default is false), log messages will be formatted by replacing |
46 | 61 | placeholders with actual parameter values for improved readability. |
47 | | -* Use 1.13.0 of OpenTelemetry.Exporter.OpenTelemetryProtocol ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 62 | +* Use 1.13.1 of OpenTelemetry.Exporter.OpenTelemetryProtocol ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
48 | 63 | * If `EventName` is specified either through `ILogger` or the experimental |
49 | 64 | log bridge API, it is exported as `EventName` by default instead of |
50 | 65 | `logrecord.event.name` which was previously behind the |
51 | 66 | `OTEL_DOTNET_EXPERIMENTAL_OTLP_EMIT_EVENT_LOG_ATTRIBUTES` feature flag. |
52 | 67 | Note that exporting `logrecord.event.id` is still behind that same feature |
53 | 68 | flag. ([#6306](https://github.com/open-telemetry/opentelemetry-dotnet/pull/6306)) |
54 | | -* Use 1.12.1 of OpenTelemetry.Instrumentation.AWS ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
55 | | -* Use 1.12.1 of OpenTelemetry.Instrumentation.AWSLambda ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
56 | | - * Add `faas.instance` and `faas.max_memory` resource/span attributes. |
57 | | - ([#2928](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/2928)) |
58 | | -* Use 1.13.0 of OpenTelemetry.Extensions.Hosting ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
59 | | -* Use 1.12.0-beta.3 of OpenTelemetry.Instrumentation.SqlClient ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 69 | +* Use 1.13.0-beta.2 of OpenTelemetry.Instrumentation.AspNet ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 70 | + * Following attributes are available while sampling: |
| 71 | + * `http.request.method`, |
| 72 | + * `server.address`, |
| 73 | + * `server.port`, |
| 74 | + * `url.path`, |
| 75 | + * `url.query`, |
| 76 | + * `url.scheme`, |
| 77 | + * `user_agent.original`. |
| 78 | + ([#3151](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3151)) |
| 79 | + * Replace static routing tokens with actual values in the route template. |
| 80 | + ([#3160](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3160)) |
| 81 | +* Use 1.13.0 of OpenTelemetry.Instrumentation.AspNetCore ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 82 | + * Added support for listening to ASP.NET Core Blazor activities. |
| 83 | + Configurable with the |
| 84 | + `AspNetCoreTraceInstrumentationOptions.EnableRazorComponentsSupport` |
| 85 | + option which defaults to `true`. Only applies to .NET 10.0 or greater. |
| 86 | + ([#3012](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3012)) |
| 87 | + * Following metrics will now be enabled by default when targeting `.NET10.0` or |
| 88 | + newer framework: |
| 89 | + * **Meter** : `Microsoft.AspNetCore.MemoryPool` |
| 90 | + * `aspnetcore.memory_pool.pooled` |
| 91 | + * `aspnetcore.memory_pool.evicted` |
| 92 | + * `aspnetcore.memory_pool.allocated` |
| 93 | + * `aspnetcore.memory_pool.rented` |
| 94 | + * **Meter** : `Microsoft.AspNetCore.Authentication` |
| 95 | + * `aspnetcore.authentication.authenticate.duration` |
| 96 | + * `aspnetcore.authentication.challenges` |
| 97 | + * `aspnetcore.authentication.forbids` |
| 98 | + * `aspnetcore.authentication.sign_ins` |
| 99 | + * `aspnetcore.authentication.sign_outs` |
| 100 | + * **Meter** : `Microsoft.AspNetCore.Authorization` |
| 101 | + * `aspnetcore.authorization.attempts` |
| 102 | + * **Meter** : `Microsoft.AspNetCore.Identity` |
| 103 | + * `aspnetcore.identity.user.create.duration` |
| 104 | + * `aspnetcore.identity.user.update.duration` |
| 105 | + * `aspnetcore.identity.user.delete.duration` |
| 106 | + * `aspnetcore.identity.user.check_password_attempts` |
| 107 | + * `aspnetcore.identity.user.generated_tokens` |
| 108 | + * `aspnetcore.identity.user.verify_token_attempts` |
| 109 | + * `aspnetcore.identity.sign_in.authenticate.duration` |
| 110 | + * `aspnetcore.identity.sign_in.check_password_attempts` |
| 111 | + * `aspnetcore.identity.sign_in.sign_ins` |
| 112 | + * `aspnetcore.identity.sign_in.sign_outs` |
| 113 | + * `aspnetcore.identity.sign_in.two_factor_clients_remembered` |
| 114 | + * `aspnetcore.identity.sign_in.two_factor_clients_forgotten` |
| 115 | + * **Meter** : `Microsoft.AspNetCore.Components` |
| 116 | + * `aspnetcore.components.navigate` |
| 117 | + * `aspnetcore.components.handle_event.duration` |
| 118 | + * **Meter** : `Microsoft.AspNetCore.Components.Lifecycle` |
| 119 | + * `aspnetcore.components.update_parameters.duration` |
| 120 | + * `aspnetcore.components.render_diff.duration` |
| 121 | + * `aspnetcore.components.render_diff.size` |
| 122 | + * **Meter** : `Microsoft.AspNetCore.Components.Server.Circuits` |
| 123 | + * `aspnetcore.components.circuit.active` |
| 124 | + * `aspnetcore.components.circuit.connected` |
| 125 | + * `aspnetcore.components.circuit.duration` |
| 126 | + ([#3012](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3012)) |
| 127 | +* Use 1.13.0-beta.1 of OpenTelemetry.Instrumentation.EntityFrameworkCore ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 128 | + * Added support for detecting Snowflake for the `db.system`/`db.system.name` attributes |
| 129 | + when using `EFCore.Snowflake`. |
| 130 | + ([#2980](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/2980)) |
| 131 | + * Add the `server.port` resource attribute when following the new database semantic |
| 132 | + conventions when opted into using the `OTEL_SEMCONV_STABILITY_OPT_IN` environment |
| 133 | + variable. |
| 134 | + ([#3011](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3011)) |
| 135 | + * Extend `db.system.name` values to identity additional providers related to Couchbase, |
| 136 | + DB2, MongoDB, MySQL, Oracle, PostgreSQL and SQLite. |
| 137 | + ([#3025](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3025)) |
| 138 | + * Add `db.query.parameter.<key>` attribute(s) to query spans if opted into using |
| 139 | + the `OTEL_DOTNET_EXPERIMENTAL_EFCORE_ENABLE_TRACE_DB_QUERY_PARAMETERS` |
| 140 | + environment variable. |
| 141 | + ([#3015](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3015), |
| 142 | + [#3081](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3081)) |
| 143 | + * Add the `db.query.summary` attribute and use it for the trace span name when |
| 144 | + opted into using the `OTEL_SEMCONV_STABILITY_OPT_IN` environment variable. |
| 145 | + ([#3022](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3022)) |
| 146 | + * The `db.statement` and `db.query.text` attributes are now sanitized when using |
| 147 | + specific SQL-like EFCore providers. |
| 148 | + ([#3022](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3022)) |
| 149 | +* Use 1.13.0-beta.1 of OpenTelemetry.Instrumentation.SqlClient ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
60 | 150 | * Add `db.query.parameter.<key>` attribute(s) to query spans if opted into using |
61 | 151 | the `OTEL_DOTNET_EXPERIMENTAL_SQLCLIENT_ENABLE_TRACE_DB_QUERY_PARAMETERS` |
62 | 152 | environment variable. Not supported on .NET Framework. |
63 | 153 | ([#3015](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3015), |
64 | 154 | [#3081](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3081)) |
| 155 | +* Use 1.13.0-beta.1 of OpenTelemetry.Instrumentation.StackExchangeRedis ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 156 | + * Removed the `db.redis.flags` attribute from the implementation |
| 157 | + as it is not part of the Semantic Conventions for Database Client Calls. |
| 158 | + ([#2982](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/2982)) |
| 159 | + * The new database semantic conventions can be opted in to by setting |
| 160 | + the `OTEL_SEMCONV_STABILITY_OPT_IN` environment variable. This allows for a |
| 161 | + transition period for users to experiment with the new semantic conventions |
| 162 | + and adapt as necessary. The environment variable supports the following |
| 163 | + values: |
| 164 | + * `database` - emit the new, frozen (proposed for stable) database |
| 165 | + attributes, and stop emitting the old experimental database |
| 166 | + attributes that the instrumentation emitted previously. |
| 167 | + * `database/dup` - emit both the old and the frozen (proposed for stable) database |
| 168 | + attributes, allowing for a more seamless transition. |
| 169 | + * The default behavior (in the absence of one of these values) is to continue |
| 170 | + emitting the same database semantic conventions that were emitted in |
| 171 | + the previous version. |
| 172 | + * Note: this option will be be removed after the new database |
| 173 | + semantic conventions are marked stable. At which time this |
| 174 | + instrumentation can receive a stable release, and the old database |
| 175 | + semantic conventions will no longer be supported. Refer to the |
| 176 | + specification for more information regarding the new database |
| 177 | + semantic conventions for |
| 178 | + [spans](https://github.com/open-telemetry/semantic-conventions/blob/v1.28.0/docs/database/database-spans.md). |
| 179 | + ([#3084](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3084)) |
| 180 | +* Use 1.13.0-beta.1 of OpenTelemetry.Resources.Host ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 181 | + * Added support for the `host.arch` resource attribute in HostDetector for .NET |
| 182 | + only. |
| 183 | + ([#3147](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3147)) |
| 184 | +* Use 1.13.0-beta.1 of OpenTelemetry.Instrumentation.Wcf ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 185 | + * Added server instrumentation support for `RecordException` option. |
| 186 | + ([#2880](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/2880)) |
65 | 187 |
|
66 | 188 | ### Bug Fixes |
67 | 189 |
|
68 | | -* Use 1.13.0 of OpenTelemetry ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 190 | +* Use 1.13.1 of OpenTelemetry ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
69 | 191 | * Fixed parsing of `OTEL_TRACES_SAMPLER_ARG` decimal values to always use `.` |
70 | 192 | as the delimiter when using the `traceidratio` sampler, preventing |
71 | 193 | locale-specific parsing issues. |
72 | 194 | ([#6444](https://github.com/open-telemetry/opentelemetry-dotnet/pull/6444)) |
73 | | -* Use 1.13.0 of OpenTelemetry.Exporter.OpenTelemetryProtocol ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 195 | + * Fixed an issue where the Base2 Exponential Bucket Histogram did not reset its |
| 196 | + scale to 20 after each collection cycle when using delta aggregation temporality. |
| 197 | + ([#6557](https://github.com/open-telemetry/opentelemetry-dotnet/pull/6557)) |
| 198 | +* Use 1.13.1 of OpenTelemetry.Exporter.OpenTelemetryProtocol ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
74 | 199 | * Fixed an issue in .NET Framework where OTLP export of traces, logs, and |
75 | 200 | metrics using `OtlpExportProtocol.Grpc` did not correctly set the initial |
76 | 201 | write position, resulting in gRPC protocol errors. |
|
81 | 206 | * Improved performance exporting `byte[]` attributes as native binary format |
82 | 207 | instead of arrays. |
83 | 208 | ([#6534](https://github.com/open-telemetry/opentelemetry-dotnet/pull/6534)) |
84 | | -* Use 1.12.0-beta.3 of OpenTelemetry.Instrumentation.SqlClient ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 209 | +* Use 1.0.0-beta.3 of OpenTelemetry.Instrumentation.Cassandra ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 210 | + * Updated `CassandraCSharpDriver` to `3.17.0`. |
| 211 | + ([#2836](https://github.com/open-telemetry/opentelemetry-dotnet/pull/2836)) |
| 212 | +* Use 1.13.0-beta.1 of OpenTelemetry.Instrumentation.EntityFrameworkCore ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 213 | + * Fix `db.system.name` values to follow new database semantic conventions when |
| 214 | + opted into using the `OTEL_SEMCONV_STABILITY_OPT_IN` environment variable. |
| 215 | + ([#3004](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3004)) |
| 216 | +* Use 1.13.0-beta.1 of OpenTelemetry.Instrumentation.Hangfire ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 217 | + * Fix `FailedToInjectActivityContext` when no `ActivityContext` exists. |
| 218 | + ([#2990](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/2990)) |
| 219 | +* Use 1.13.0 of OpenTelemetry.Instrumentation.Http ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 220 | + * Do not change activity status set by EnrichWithHttpWebResponse on .NET Framework. |
| 221 | + ([#2988](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/2988)) |
| 222 | +* Use 1.13.0-beta.1 of OpenTelemetry.Instrumentation.SqlClient ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
85 | 223 | * Fix activities not being stopped on .NET Framework when using a global activity |
86 | 224 | listener. |
87 | 225 | ([#3041](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3041)) |
| 226 | +* Use 1.13.0-beta.1 of OpenTelemetry.Instrumentation.Wcf ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 227 | + * Fix possible infinite recursion when WCF is hosted in ASP.NET. |
| 228 | + ([#3248](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3248)) |
| 229 | + |
| 230 | +### Maintenance |
| 231 | + |
| 232 | +* Use 1.13.1 of OpenTelemetry.Extensions.Hosting ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 233 | +* Use 1.13.0-beta.1 of OpenTelemetry.Instrumentation.ElasticsearchClient ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 234 | +* Use 1.13.0-beta.1 of OpenTelemetry.Instrumentation.GrpcNetClient ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 235 | +* Use 1.13.0-beta.1 of OpenTelemetry.Instrumentation.Owin ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 236 | +* Use 1.13.0-beta.1 of OpenTelemetry.Instrumentation.Process ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 237 | +* Use 1.13.0-beta.1 of OpenTelemetry.Instrumentation.Quartz ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 238 | +* Use 1.13.0 of OpenTelemetry.Instrumentation.Runtime ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 239 | +* Use 1.13.0-beta.1 of OpenTelemetry.Resources.Container ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 240 | +* Use 1.13.0-beta.1 of OpenTelemetry.Resources.OperatingSystem ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 241 | +* Use 1.13.0-beta.1 of OpenTelemetry.Resources.Process ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 242 | +* Use 1.13.0-beta.1 of OpenTelemetry.Resources.ProcessRuntime ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
88 | 243 |
|
89 | 244 | ## 1.3.0 |
90 | 245 |
|
|
0 commit comments