Skip to content

Commit

Permalink
Omit ibm
Browse files Browse the repository at this point in the history
  • Loading branch information
mrblonde91 committed Jan 25, 2023
1 parent b34b37e commit 9bd909e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

* Added support to `EnrichWithIDbCommand`
[#868](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/868)

* Map missing dbs to system.db:
`OpenTelemetry.Instrumentation.EntityFrameworkCore`
[#898](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/898)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public override void OnCustom(string name, Activity activity, object payload)
activity.AddTag(AttributeDbSystem, "oracle");
break;
case "Microsoft.EntityFrameworkCore.InMemory":
activity.AddTag(AttributeDbSystem, "efcore_in_memory");
activity.AddTag(AttributeDbSystem, "efcoreinmemory");
break;
case "FirebirdSql.EntityFrameworkCore.Firebird":
activity.AddTag(AttributeDbSystem, "firebird");
Expand All @@ -145,11 +145,6 @@ public override void OnCustom(string name, Activity activity, object payload)
case "Teradata.EntityFrameworkCore":
activity.AddTag(AttributeDbSystem, "teradata");
break;
case "IBM.EntityFrameworkCore":
case "IBM.EntityFrameworkCore-lnx":
case "IBM.EntityFrameworkCore-osx":
activity.AddTag(AttributeDbSystem, "ibm");
break;
default:
activity.AddTag(AttributeDbSystem, "other_sql");
activity.AddTag("ef.provider", providerName);
Expand Down

0 comments on commit 9bd909e

Please sign in to comment.