< Summary

Information
Class: OpenAiIntegration.Telemetry
Assembly: OpenAiIntegration
File(s): /home/runner/work/KicktippAi/KicktippAi/src/OpenAiIntegration/Telemetry.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 13
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.cctor()100%11100%

File(s)

/home/runner/work/KicktippAi/KicktippAi/src/OpenAiIntegration/Telemetry.cs

#LineLine coverage
 1using System.Diagnostics;
 2
 3namespace OpenAiIntegration;
 4
 5/// <summary>
 6/// Shared telemetry infrastructure for OpenTelemetry instrumentation.
 7/// When no OTel listener is registered, <see cref="Source"/>.<see cref="ActivitySource.StartActivity(string)"/>
 8/// returns <c>null</c> and all instrumentation becomes a no-op.
 9/// </summary>
 10public static class Telemetry
 11{
 112    public static readonly ActivitySource Source = new("KicktippAi");
 13}

Methods/Properties

.cctor()