LogBrew.StackExchangeRedis
0.1.0
dotnet add package LogBrew.StackExchangeRedis --version 0.1.0
NuGet\Install-Package LogBrew.StackExchangeRedis -Version 0.1.0
<PackageReference Include="LogBrew.StackExchangeRedis" Version="0.1.0" />
<PackageVersion Include="LogBrew.StackExchangeRedis" Version="0.1.0" />
<PackageReference Include="LogBrew.StackExchangeRedis" />
paket add LogBrew.StackExchangeRedis --version 0.1.0
#r "nuget: LogBrew.StackExchangeRedis, 0.1.0"
#:package LogBrew.StackExchangeRedis@0.1.0
#addin nuget:?package=LogBrew.StackExchangeRedis&version=0.1.0
#tool nuget:?package=LogBrew.StackExchangeRedis&version=0.1.0
LogBrew StackExchange.Redis
Opt-in StackExchange.Redis command tracing for LogBrew .NET apps.
dotnet add package LogBrew.StackExchangeRedis
using LogBrew;
using LogBrew.StackExchangeRedis;
using StackExchange.Redis;
var client = LogBrewClient.Create("LOGBREW_API_KEY", "checkout-service", "1.0.0");
IDatabase redis = multiplexer.GetDatabase();
var value = redis.TraceLogBrewCommand(
client,
"GET",
db => db.StringGet("cart:123"),
LogBrewStackExchangeRedisCommandOptions.Create()
.WithCacheName("checkout-cache")
.WithMetadata(new Dictionary<string, object?> { ["routeTemplate"] = "/cart/:id" }));
TraceLogBrewCommand(...) and TraceLogBrewCommandAsync(...) capture one sanitized stackexchange_redis.command:<COMMAND> span around the app-owned Redis call. They keep the active LogBrewTrace.Current child trace available while the command runs, preserve the original result or exception, infer safe coarse result metadata for Redis values, and report SDK capture failures through optional OnError(...).
The helper records the normalized Redis command name, operation kind, optional cache name, database index when available, duration, sampled state, coarse hit/count/size metadata, and type-only failures. It does not capture Redis keys, values, command arguments, raw command text, connection strings, endpoints, server names, arbitrary headers, payloads, exception messages, stacks, baggage, tracestate, profiler sessions, or support tickets.
The package includes examples/StackExchangeRedisCommandTelemetry.cs as a copyable example that compiles from the installed NuGet package without requiring a live Redis server.
| 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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
- LogBrew (>= 0.1.3)
- StackExchange.Redis (>= 3.0.11)
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 |
|---|---|---|
| 0.1.0 | 136 | 6/30/2026 |