Skip to content
Commit 0ec8385b authored by Jukka Rissanen's avatar Jukka Rissanen Committed by Anas Nashif
Browse files

net: prometheus: counter: Add function to set the counter value



This is similar function as add, but will add the difference of
previous value and the new one. This can be used if we want to
periodically update the value with a new one but don't want to
keep track of the old one.

Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@nordicsemi.no>
parent 840a88a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment