Elyspio.OpenTelemetry.Redis
2.0.2
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Elyspio.OpenTelemetry.Redis --version 2.0.2
NuGet\Install-Package Elyspio.OpenTelemetry.Redis -Version 2.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Elyspio.OpenTelemetry.Redis" Version="2.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Elyspio.OpenTelemetry.Redis --version 2.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Elyspio.OpenTelemetry.Redis, 2.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Elyspio.OpenTelemetry.Redis as a Cake Addin #addin nuget:?package=Elyspio.OpenTelemetry.Redis&version=2.0.2 // Install Elyspio.OpenTelemetry.Redis as a Cake Tool #tool nuget:?package=Elyspio.OpenTelemetry.Redis&version=2.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Elyspio.Telemetry
This package allows adding telemetry information to a .NET 7+ application.
dotnet add package Elyspio.Telemetry
Usage
Activation in the application
In the Startup.cs
file or its equivalent in .NET 6++:
var telemetryBuilder = new AppOpenTelemetryBuilder<Program>(new AppOpenTelemetryBuilderOptions("elyspio-telemetry-tests-webapi"))
{
OtCollectorUri = new Uri("http://localhost:4317"),
Tracing = tracing => tracing
.AddAppMongoInstrumentation() // Elyspio.Telemetry.MongoDB
.AddAppSqlClientInstrumentation() // Elyspio.Telemetry.Sql
.AddAppRedisInstrumentation() // Elyspio.Telemetry.Redis
};
telemetryBuilder.Build(builder.Services);
MongoDB Trace Management
To access queries executed in MongoDB, add this code during client creation:
var mongoUrl = new MongoUrl(connectionString);
var clientSettings = MongoClientSettings.FromUrl(mongoUrl);
clientSettings.ClusterConfigurator = cb =>
{
cb.Subscribe(new MongoDbActivityEventSubscriber());
}
var client = new MongoClient(clientSettings);
Example
In the Examples directory, you can find a WebApi project using this package.
Publish package
In the Packages directory, you can find a script to publish the package to NuGet.
Usage : ./publish.sh -pat <PAT>
or ./publish.sh --version 2.0.0 --pat <PAT>
to specify a version.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- OpenTelemetry.Api (>= 1.6.0)
- OpenTelemetry.Instrumentation.StackExchangeRedis (>= 1.0.0-rc9.10)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|