Open AntyaDev opened 2 months ago
reference discussion
var step1 = await Step.Run("login", context, async () => { context.Metric.Counter.Increment("success"); context.Metric.Counter.Increment("success", 10); context.Metric.Counter.Decrement("success"); return Response.Ok(); });
https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.metrics?view=net-8.0
reference discussion
https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.metrics?view=net-8.0