Skip to content

Commit 5926d85

Browse files
Remove MySql.Data.OpenTelemetry
Remove the `MySql.Data.OpenTelemetry` package.
1 parent 085fa86 commit 5926d85

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@
66

77
* Remove reference on System.Text.Json for `net8.0` target framework
88
([#136](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/136))
9-
* Replace dependency on `OpenTelemetry.Instrumentation.MySqlData`
10-
with `MySql.Data.OpenTelemetry`
9+
* Remove dependency on `OpenTelemetry.Instrumentation.MySqlData`.
10+
Add the [MySql.Data.OpenTelemetry](https://www.nuget.org/packages/MySql.Data.OpenTelemetry)
11+
package to your project if you require MySQL instrumentation. **NOTE**: This
12+
NuGet package is licensed under the GPL license which may not be suitable for
13+
all projects.
1114
([#146](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/146))
1215
* Use 1.0.0-rc.18 of OpenTelemetry.Instrumentation.Wcf
1316
([#146](https://github.com/grafana/grafana-opentelemetry-dotnet/pull/146))

docs/supported-instrumentations.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ and [minimal](./installation.md#install-the-base-package) dependencies:
2020
| `Hangfire` | :heavy_check_mark: | | [OpenTelemetry.Instrumentation.Hangfire](https://www.nuget.org/packages/OpenTelemetry.Instrumentation.Hangfire) |
2121
| `HttpClient` | :heavy_check_mark: | :heavy_check_mark: | [OpenTelemetry.Instrumentation.Http](https://www.nuget.org/packages/OpenTelemetry.Instrumentation.Http) |
2222
| `HostResource` | :heavy_check_mark: | :heavy_check_mark: | [OpenTelemetry.Resources.Host](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/tree/main/src/OpenTelemetry.Resources.Host) |
23-
| `MySqlData` | :heavy_check_mark: | :heavy_check_mark: | [OpenTelemetry.Instrumentation.MySqlData](https://www.nuget.org/packages/OpenTelemetry.Instrumentation.MySqlData) |
24-
| | | | [MySql.Data.OpenTelemetry](https://www.nuget.org/packages/MySql.Data.OpenTelemetry) |
2523
| `NetRuntime` | :heavy_check_mark: | :heavy_check_mark: | [OpenTelemetry.Instrumentation.Runtime](https://www.nuget.org/packages/OpenTelemetry.Instrumentation.Runtime) |
2624
| `Owin` | :heavy_check_mark: | | [OpenTelemetry.Instrumentation.Owin](https://www.nuget.org/packages/OpenTelemetry.Instrumentation.Owin) |
2725
| `Process` | :heavy_check_mark: | :heavy_check_mark: | [OpenTelemetry.Instrumentation.Process](https://www.nuget.org/packages/OpenTelemetry.Instrumentation.Process) |
@@ -37,5 +35,3 @@ and [minimal](./installation.md#install-the-base-package) dependencies:
3735
* The `ContainerResource` instrumentation is included but needs to be explicitly
3836
activated, as it currently adds container resource attributes for processes
3937
running not in containers.
40-
* The `MySqlData` instrumentation does not include the MySql.Data.OpenTelemetry
41-
package. Install separately if needed.

src/Grafana.OpenTelemetry/Grafana.OpenTelemetry.csproj

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@
2929
<PackageReference Include="CassandraCSharpDriver" Version="[3.17.0,)" />
3030
</ItemGroup>
3131

32-
<!-- OpenTelemetry.Instrumentation.MySqlData is deprecated -->
33-
<ItemGroup>
34-
<PackageReference Include="MySql.Data.OpenTelemetry" Version="9.3.0" />
35-
</ItemGroup>
36-
3732
<!-- Stable instrumentation packages with dependencies, only .NET -->
3833
<ItemGroup Condition=" '$(TargetFramework)' != 'net462' ">
3934
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.9.0" /> <!-- needed for AspNetCore -->

0 commit comments

Comments
 (0)