You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is kind of noop as underlying ObserveWithExemplar and AddWithExemplar has already such characteristics. Let's remove unnecessary middle functions.
The text was updated successfully, but these errors were encountered:
bwplotka
changed the title
Remove unnecessary check if label is nil in exemp
Remove unnecessary check if label is nil in observeWithExemplar instrumentation
Mar 17, 2023
Tiny task to do: I noticed that
client_golang/prometheus/promhttp/instrument_server.go
Line 33 in 3d2cf0b
ObserveWithExemplar
andAddWithExemplar
has already such characteristics. Let's remove unnecessary middle functions.The text was updated successfully, but these errors were encountered: