EasyCaching icon indicating copy to clipboard operation
EasyCaching copied to clipboard

Use easycaching with elastic apm agent dotnet

Open billhong-just opened this issue 1 year ago • 4 comments

Description

Hi, I want to use elastic/apm-agent-dotnet to trace the commands sent to Redis.
Here is a sample code from elastic official document:

// using Elastic.Apm.StackExchange.Redis;

var connection = await ConnectionMultiplexer.ConnectAsync("<redis connection>");
connection.UseElasticApm();

Do I have any chance to get the connection from easycaching or provide a delegate to easycaching?

References

  • https://www.elastic.co/guide/en/apm/agent/dotnet/1.x/setup-stackexchange-redis.html

billhong-just avatar Feb 24 '23 08:02 billhong-just