You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
internal sealed class DisabledSentryMetricEmitter : SentryMetricEmitter
{
internal static DisabledSentryMetricEmitter Instance { get; } = new DisabledSentryMetricEmitter();
internal DisabledSentryMetricEmitter()
{
}
/// <inheritdoc />
private protected override void CaptureMetric<T>(SentryMetricType type, string name, T value, string? unit, IEnumerable<KeyValuePair<string, object>>? attributes, Scope? scope) where T : struct
{
// disabled
}
/// <inheritdoc />
private protected override void CaptureMetric<T>(SentryMetricType type, string name, T value, string? unit, ReadOnlySpan<KeyValuePair<string, object>> attributes, Scope? scope) where T : struct
{
// disabled
}
#if NET6_0_OR_GREATER
/// <inheritdoc />
private protected override void CaptureMetric<T>(SentryMetricType type, string name, T value, string? unit, in TagList attributes, Scope? scope) where T : struct
{
// disabled
}
#endif
/// <inheritdoc />
private protected override void CaptureMetric<T>(SentryMetric<T> metric) where T : struct