Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement custom Metrics API #732

Open
AntyaDev opened this issue Sep 9, 2024 · 0 comments
Open

Implement custom Metrics API #732

AntyaDev opened this issue Sep 9, 2024 · 0 comments
Labels
5.10 new feature New feature or request

Comments

@AntyaDev
Copy link
Contributor

AntyaDev commented Sep 9, 2024

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

@AntyaDev AntyaDev added new feature New feature or request 5.9 labels Sep 9, 2024
@AntyaDev AntyaDev added 5.10 and removed 5.9 labels Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5.10 new feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant