Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasjurasek committed Jun 12, 2024
1 parent 7cf38b8 commit 9909652
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _posts/2024-06-08-metrics-open-telemetry-net.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public static class ApplicationMetrics
{
private static readonly Meter meter = new Meter("applicationName", "1.0.0");
private static readonly Counter<int> applicationCounter = meter.CreateCounter<int>("applicationCounter");

public static void IncreaceCounter() => applicationCounter.Add(1);
}
```
Expand Down

0 comments on commit 9909652

Please sign in to comment.