From c5e88210711f3de9f0782673fe445f1e4711b704 Mon Sep 17 00:00:00 2001 From: Tim Quinn Date: Mon, 8 Jul 2024 13:26:48 -0500 Subject: [PATCH] Fix typo in example code Signed-off-by: Tim Quinn --- docs/se/metrics/micrometer.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/se/metrics/micrometer.adoc b/docs/se/metrics/micrometer.adoc index cfa01dcec6b..9e76ea5b445 100644 --- a/docs/se/metrics/micrometer.adoc +++ b/docs/se/metrics/micrometer.adoc @@ -1,6 +1,6 @@ /////////////////////////////////////////////////////////////////////////////// - Copyright (c) 2021, 2023 Oracle and/or its affiliates. + Copyright (c) 2021, 2024 Oracle and/or its affiliates. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -107,7 +107,7 @@ public class MyService implements Service { private final Counter requestCounter; - public MyService(MicrometerMeterRegistry registry) { + public MyService(MeterRegistry registry) { requestCounter = registry.counter("allRequests"); // <1> }