From c9d2bb6e5aa91f080b587de31c5cb2c6b18e9b0f Mon Sep 17 00:00:00 2001 From: Tobias Bachert <git@b-privat.de> Date: Sun, 10 Dec 2023 12:12:07 +0100 Subject: [PATCH] Add note that passing callback instead of advisory is deprecated --- src/API/Metrics/MeterInterface.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/API/Metrics/MeterInterface.php b/src/API/Metrics/MeterInterface.php index 312b90141..d7b0c9001 100644 --- a/src/API/Metrics/MeterInterface.php +++ b/src/API/Metrics/MeterInterface.php @@ -32,7 +32,7 @@ public function createCounter( * @param string|null $unit unit of measure * @param string|null $description description of the instrument * @param array|callable $advisory an optional set of recommendations, or - * the first callback to report measurements + * deprecated: the first callback to report measurements * @param callable ...$callbacks responsible for reporting measurements * @return ObservableCounterInterface created instrument * @@ -72,7 +72,7 @@ public function createHistogram( * @param string|null $unit unit of measure * @param string|null $description description of the instrument * @param array|callable $advisory an optional set of recommendations, or - * the first callback to report measurements + * deprecated: the first callback to report measurements * @param callable ...$callbacks responsible for reporting measurements * @return ObservableGaugeInterface created instrument * @@ -111,7 +111,7 @@ public function createUpDownCounter( * @param string|null $unit unit of measure * @param string|null $description description of the instrument * @param array|callable $advisory an optional set of recommendations, or - * the first callback to report measurements + * deprecated: the first callback to report measurements * @param callable ...$callbacks responsible for reporting measurements * @return ObservableUpDownCounterInterface created instrument *