Skip to content

VitreousCachingTelemetry class

Namespace: Vitreous.Caching
Assembly: Vitreous.Caching.dll

The name of the Meter that the caching behaviors record on. It is separate from MeterName so caching metrics can be enabled on their own:

builder.Services.AddOpenTelemetry()
    .WithMetrics(m => m.AddMeter(VitreousTelemetry.MeterName, VitreousCachingTelemetry.MeterName));
public static class VitreousCachingTelemetry

object ← VitreousCachingTelemetry

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

The name of the Meter that cache requests and invalidations are counted on: “Vitreous.Caching”.

public const string MeterName = "Vitreous.Caching"

string