File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
doc-snippets/api/src/main/java/otel Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ public static void asyncCounterUsage(Meter meter) {
2525 .setUnit ("{widget}" )
2626 // optionally change the type to double
2727 // .ofDoubles()
28- // the callback is invoked a MetricReader reads metrics
2928 .buildWithCallback (
29+ // the callback is invoked a MetricReader reads metrics
3030 observableMeasurement -> {
3131 long currentWidgetCount = widgetCount .get ();
3232
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ public static void asyncGaugeUsage(Meter meter) {
2424 .setUnit ("K" )
2525 // optionally change the type to long
2626 // .ofLongs()
27- // the callback is invoked a MetricReader reads metrics
2827 .buildWithCallback (
28+ // the callback is invoked a MetricReader reads metrics
2929 observableMeasurement -> {
3030 double currentWidgetCount = processingLineTemp .get ();
3131
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ public static void asyncUpDownCounterUsage(Meter meter) {
2424 .setUnit ("{widget}" )
2525 // optionally change the type to double
2626 // .ofDoubles()
27- // the callback is invoked a MetricReader reads metrics
2827 .buildWithCallback (
28+ // the callback is invoked a MetricReader reads metrics
2929 observableMeasurement -> {
3030 long currentWidgetCount = queueLength .get ();
3131
You can’t perform that action at this time.
0 commit comments