Skip to content

Commit 95ad7d6

Browse files
authored
Allow custom registration of ElasticApmProfiler (#1229)
This commit makes ElasticApmProfiler public, to allow registration with other redis services that use StackExchange.Redis.
1 parent 88a8d64 commit 95ad7d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Elastic.Apm.StackExchange.Redis/ElasticApmProfiler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace Elastic.Apm.StackExchange.Redis
1818
/// <summary>
1919
/// Captures redis commands sent with StackExchange.Redis client
2020
/// </summary>
21-
internal class ElasticApmProfiler
21+
public class ElasticApmProfiler
2222
{
2323
private readonly ConcurrentDictionary<string, ProfilingSession> _executionSegmentSessions =
2424
new ConcurrentDictionary<string, ProfilingSession>();

0 commit comments

Comments
 (0)