dd-trace-dotnet icon indicating copy to clipboard operation
dd-trace-dotnet copied to clipboard

[BUG]: Npgsql 10.x not instrumented - version range and method signature mismatch

Open Mandrakia opened this issue 2 weeks ago • 1 comments

Tracer Version(s)

3.32.0

Operating system and platform

Linx-x64

Instrumentation Mode

Automatic

TFM

net10

Bug Report

Description

Npgsql 10.0.0 is not being instrumented. Tracer logs show:

  • Target version range is 4.0.0.0 - 9.65535.65535.0 (Npgsql 10 not covered)
  • Method signatures changed in Npgsql 10

Tracer logs

  • Skipping Npgsql.NpgsqlCommand.ExecuteNonQuery: the methoddef doesn't have the right number of arguments (2 arguments).
  • Skipping Npgsql.NpgsqlCommand.ExecuteScalar: the methoddef doesn't have the right number of arguments (2 arguments).

Environment

  • dd-trace-dotnet: 3.32.0
  • Npgsql: 10.0.0
  • EF Core: 10.0.0
  • .NET: 10.0

Reproduction Code

No response

Mandrakia avatar Dec 09 '25 09:12 Mandrakia

Support for npgsql 10 was added in #7855, so it will be included in the next release 🙂

andrewlock avatar Dec 09 '25 09:12 andrewlock