Npgsql.OpenTelemetry
7.0.9
Prefix Reserved
See the version list below for details.
dotnet add package Npgsql.OpenTelemetry --version 7.0.9
NuGet\Install-Package Npgsql.OpenTelemetry -Version 7.0.9
<PackageReference Include="Npgsql.OpenTelemetry" Version="7.0.9" />
paket add Npgsql.OpenTelemetry --version 7.0.9
#r "nuget: Npgsql.OpenTelemetry, 7.0.9"
// Install Npgsql.OpenTelemetry as a Cake Addin #addin nuget:?package=Npgsql.OpenTelemetry&version=7.0.9 // Install Npgsql.OpenTelemetry as a Cake Tool #tool nuget:?package=Npgsql.OpenTelemetry&version=7.0.9
Npgsql is the open source .NET data provider for PostgreSQL. It allows you to connect and interact with PostgreSQL server using .NET.
This package helps set up Npgsql's support for OpenTelemetry tracing, which allows you to observe database commands as they are being executed.
You can drop the following code snippet in your application's startup, and you should start seeing tracing information on the console:
using var tracerProvider = Sdk.CreateTracerProviderBuilder()
.SetResourceBuilder(ResourceBuilder.CreateDefault().AddService("npgsql-tester"))
.SetSampler(new AlwaysOnSampler())
// This optional activates tracing for your application, if you trace your own activities:
.AddSource("MyApp")
// This activates up Npgsql's tracing:
.AddNpgsql()
// This prints tracing data to the console:
.AddConsoleExporter()
.Build();
Once this is done, you should start seeing Npgsql trace data appearing in your application's console. At this point, you can look into exporting your trace data to a more useful destination: systems such as Zipkin or Jaeger can efficiently collect and store your data, and provide user interfaces for querying and exploring it.
For more information, visit the diagnostics documentation page.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Npgsql (>= 7.0.9)
- OpenTelemetry.API (>= 1.3.1)
NuGet packages (31)
Showing the top 5 NuGet packages that depend on Npgsql.OpenTelemetry:
Package | Downloads |
---|---|
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL
A PostgreSQL® provider for Entity Framework Core that integrates with Aspire, including connection pooling, health checks, logging, and telemetry. |
|
Honeycomb.OpenTelemetry.CommonInstrumentations
Honeycomb's OpenTelemetry common instrumentations package. Adds support for many common instrumentation libraries for you. |
|
Aspire.Npgsql
A PostgreSQL® client that integrates with Aspire, including health checks, metrics, logging, and telemetry. |
|
ShtrihM.Wattle3.OpenTelemetry
Framework for creating high-performance servers with domain object models. |
|
Packs.Template.BaseApi
Basis for any Packs API |
GitHub repositories (8)
Showing the top 5 popular GitHub repositories that depend on Npgsql.OpenTelemetry:
Repository | Stars |
---|---|
dotnet/aspire
Tools, templates, and packages to accelerate building observable, production-ready apps
|
|
oskardudycz/EventSourcing.NetCore
Examples and Tutorials of Event Sourcing in .NET
|
|
dotnetcore/AgileConfig
基于.NET Core开发的轻量级分布式配置中心 / .NET Core lightweight configuration server
|
|
GZTimeWalker/GZCTF
The GZ::CTF project, an open source CTF platform.
|
|
dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK from source
|
Version | Downloads | Last updated |
---|---|---|
9.0.1 | 5,215 | 11/19/2024 |
9.0.0 | 1,572 | 11/18/2024 |
8.0.6 | 16,900 | 11/18/2024 |
8.0.5 | 280,404 | 10/13/2024 |
8.0.4 | 354,949 | 9/10/2024 |
8.0.3 | 1,786,728 | 5/9/2024 |
8.0.2 | 858,840 | 2/10/2024 |
8.0.1 | 303,802 | 12/4/2023 |
8.0.0 | 98,048 | 11/21/2023 |
8.0.0-rtm | 143 | 11/20/2023 |
8.0.0-rc.2 | 22,009 | 10/11/2023 |
8.0.0-preview.4 | 30,627 | 5/17/2023 |
8.0.0-preview.3 | 3,322 | 4/24/2023 |
8.0.0-preview.2 | 10,367 | 3/20/2023 |
8.0.0-preview.1 | 3,507 | 3/3/2023 |
7.0.9 | 244 | 11/18/2024 |
7.0.8 | 12,486 | 9/10/2024 |
7.0.7 | 64,085 | 5/9/2024 |
7.0.6 | 685,680 | 9/14/2023 |
7.0.4 | 839,272 | 4/24/2023 |
7.0.2 | 1,209,057 | 2/15/2023 |
7.0.1 | 258,672 | 12/17/2022 |
7.0.0 | 187,461 | 11/9/2022 |
7.0.0-rc.2 | 13,446 | 10/11/2022 |
7.0.0-rc.1 | 5,125 | 9/16/2022 |
7.0.0-preview.7 | 1,657 | 8/9/2022 |
7.0.0-preview.6 | 11,569 | 7/13/2022 |
7.0.0-preview.5 | 2,564 | 6/19/2022 |
7.0.0-preview.4 | 7,999 | 5/11/2022 |
7.0.0-preview.3 | 20,160 | 4/19/2022 |
7.0.0-preview.2 | 4,206 | 3/16/2022 |
7.0.0-preview.1 | 758 | 2/17/2022 |
6.0.13 | 156 | 11/18/2024 |
6.0.12 | 3,520 | 9/10/2024 |
6.0.11 | 62,173 | 5/9/2024 |
6.0.10 | 122,600 | 9/14/2023 |
6.0.9 | 754,730 | 2/15/2023 |
6.0.8 | 166,150 | 12/17/2022 |
6.0.7 | 957,132 | 9/16/2022 |
6.0.6 | 222,401 | 8/4/2022 |
6.0.5 | 365,171 | 6/19/2022 |
6.0.4 | 342,469 | 4/19/2022 |
6.0.3 | 469,849 | 1/27/2022 |
6.0.2 | 24,100 | 12/20/2021 |
6.0.1 | 10,860 | 12/3/2021 |
6.0.0 | 194,059 | 11/9/2021 |
6.0.0-rc.2 | 1,646 | 10/14/2021 |