Skip to content

Commit 52a337c

Browse files
jukkarnashif
authored andcommitted
doc: migration-guide-4.1: net: Add Prometheus information
Prometheus macros have changed in order to lower memory consumption. Signed-off-by: Jukka Rissanen <[email protected]>
1 parent d3efcbd commit 52a337c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/releases/migration-guide-4.1.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,13 @@ Bluetooth Crypto
158158
Networking
159159
**********
160160

161+
* The Prometheus metric creation has changed as user does not need to have a separate
162+
struct :c:struct:`prometheus_metric` any more. This means that the Prometheus macros
163+
:c:macro:`PROMETHEUS_COUNTER_DEFINE`, :c:macro:`PROMETHEUS_GAUGE_DEFINE`,
164+
:c:macro:`PROMETHEUS_HISTOGRAM_DEFINE` and :c:macro:`PROMETHEUS_SUMMARY_DEFINE`
165+
prototypes have changed. (:github:`81712`)
166+
167+
161168
Other Subsystems
162169
****************
163170

0 commit comments

Comments
 (0)