|
2 | 2 |
|
3 | 3 | ## Unreleased version
|
4 | 4 |
|
| 5 | +### BREAKING CHANGES |
| 6 | + |
| 7 | +* Use 1.12.0-beta.2 of OpenTelemetry.Instrumentation.AspNet ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 8 | + * Renamed `MeterProviderBuilderExtensions` and |
| 9 | + `TracerProviderBuilderExtensions` to |
| 10 | + `AspNetInstrumentationMeterProviderBuilderExtensions` |
| 11 | + and `AspNetInstrumentationTracerProviderBuilderExtensions` respectively. |
| 12 | + ([#2910](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/2910)) |
| 13 | + * Made metrics generation independent from traces. |
| 14 | + Tracing must no longer be enabled to calculate metrics. A compatible version |
| 15 | + of `OpenTelemetry.Instrumentation.AspNet.TelemetryHttpModule` is required. |
| 16 | + ([#2970](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/2970)) |
| 17 | + * Metrics related option renamed: |
| 18 | + * delegate `AspNetMetricsInstrumentationOptions.EnrichFunc` to |
| 19 | + `AspNetMetricsInstrumentationOptions.EnrichWithHttpContextAction`, |
| 20 | + * property `AspNetMetricsInstrumentationOptions.Enrich` to |
| 21 | + `AspNetMetricsInstrumentationOptions.EnrichWithHttpContext`. |
| 22 | + ([#3070](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3070)) |
| 23 | + * Change in public API contract. |
| 24 | + All usages of `HttpRequest`, `HttpResponse` and `HttpContext` replaced by |
| 25 | + `HttpRequestBase`, `HttpResponseBase` and `HttpContextBase` respectively. |
| 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)) |
| 28 | + * The `SetDbStatementForText` property has been removed. |
| 29 | + Behaviors related to this option are now always enabled. |
| 30 | + ([#3072](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3072)) |
| 31 | + * The `Enrich`, `Filter` and `RecordException` properties |
| 32 | + have been removed for .NET Framework where they were non-functional. |
| 33 | + ([#3079](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3079)) |
| 34 | + * The `Enrich` property has been renamed to |
| 35 | + `EnrichWithSqlCommand` and no longer passes an event name to the delegate. |
| 36 | + ([#3080](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3080)) |
| 37 | + |
| 38 | +### New features |
| 39 | + |
| 40 | +* Use 1.13.0 of OpenTelemetry ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 41 | + * Added a verification to ensure that a `MetricReader` can only be registered |
| 42 | + to a single `MeterProvider`, as required by the OpenTelemetry specification. |
| 43 | + ([#6458](https://github.com/open-telemetry/opentelemetry-dotnet/pull/6458)) |
| 44 | + * Added `FormatMessage` configuration option to self-diagnostics feature. When |
| 45 | + set to `true` (default is false), log messages will be formatted by replacing |
| 46 | + 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)) |
| 48 | + * If `EventName` is specified either through `ILogger` or the experimental |
| 49 | + log bridge API, it is exported as `EventName` by default instead of |
| 50 | + `logrecord.event.name` which was previously behind the |
| 51 | + `OTEL_DOTNET_EXPERIMENTAL_OTLP_EMIT_EVENT_LOG_ATTRIBUTES` feature flag. |
| 52 | + Note that exporting `logrecord.event.id` is still behind that same feature |
| 53 | + 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)) |
| 60 | + * Add `db.query.parameter.<key>` attribute(s) to query spans if opted into using |
| 61 | + the `OTEL_DOTNET_EXPERIMENTAL_SQLCLIENT_ENABLE_TRACE_DB_QUERY_PARAMETERS` |
| 62 | + environment variable. Not supported on .NET Framework. |
| 63 | + ([#3015](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3015), |
| 64 | + [#3081](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3081)) |
| 65 | + |
| 66 | +### Bug Fixes |
| 67 | + |
| 68 | +* Use 1.13.0 of OpenTelemetry ([#273](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/273)) |
| 69 | + * Fixed parsing of `OTEL_TRACES_SAMPLER_ARG` decimal values to always use `.` |
| 70 | + as the delimiter when using the `traceidratio` sampler, preventing |
| 71 | + locale-specific parsing issues. |
| 72 | + ([#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)) |
| 74 | + * Fixed an issue in .NET Framework where OTLP export of traces, logs, and |
| 75 | + metrics using `OtlpExportProtocol.Grpc` did not correctly set the initial |
| 76 | + write position, resulting in gRPC protocol errors. |
| 77 | + ([#6280](https://github.com/open-telemetry/opentelemetry-dotnet/pull/6280)) |
| 78 | + * gRPC calls to export traces, logs, and metrics using `OtlpExportProtocol.Grpc` |
| 79 | + now set the `TE=trailers` HTTP request header to improve interoperability. |
| 80 | + ([#6449](https://github.com/open-telemetry/opentelemetry-dotnet/pull/6449)) |
| 81 | + * Improved performance exporting `byte[]` attributes as native binary format |
| 82 | + instead of arrays. |
| 83 | + ([#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)) |
| 85 | + * Fix activities not being stopped on .NET Framework when using a global activity |
| 86 | + listener. |
| 87 | + ([#3041](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3041)) |
| 88 | + |
5 | 89 | ## 1.3.0
|
6 | 90 |
|
7 | 91 | ### BREAKING CHANGES
|
|
0 commit comments