Improved metrics 06/6806/3 v0.9.4
authorJuha Hyttinen <juha.hyttinen@nokia.com>
Thu, 30 Sep 2021 19:44:47 +0000 (22:44 +0300)
committerJuha Hyttinen <juha.hyttinen@nokia.com>
Thu, 30 Sep 2021 20:13:01 +0000 (23:13 +0300)
commit7117d0d6bd49a3099d1efb36941096a502c9a4bb
tree27bab03a10e8d51234c6d6676cfba8b7c7a7ef90
parent30c8dd99d62f5e4eb0b7a4b966e790493f2e194f
Improved metrics
- Added counter and  gauge vector caching. Warn log if mismatching vector labels for same name.
- Support single counter/gauge/countervector/gaugevector manipulating

Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
Change-Id: I48277a2a11af96d5fe797d75527a9932397dd4e1
pkg/xapp/metrics.go
pkg/xapp/metrics_test.go