stabilizaiton work - projects rework for maintenanceability and ui livening
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using System.Diagnostics.Metrics;
|
||||
|
||||
namespace StellaOps.Provcache;
|
||||
|
||||
public static partial class ProvcacheTelemetry
|
||||
{
|
||||
private static readonly Histogram<double> _latencyHistogram = Meter.CreateHistogram<double>(
|
||||
LatencySecondsMetric,
|
||||
unit: "s",
|
||||
description: "Cache operation latency in seconds.");
|
||||
|
||||
private static readonly Histogram<long> _entrySizeHistogram = Meter.CreateHistogram<long>(
|
||||
EntriesSizeMetric,
|
||||
unit: "bytes",
|
||||
description: "Size of cache entries in bytes.");
|
||||
}
|
||||
Reference in New Issue
Block a user