i have the custom metrics implemented (so i can see them show up when i have my server running):
However, even with looking with the answer provided to nizarayari, i dont see how to apply the .Inc() method to the custom metric.
I have tried as well looking at the other example, however the prometheus.Register(numErrors) example never ends up showing up in the gin metrics list (as the test ones outlined above are).
i figured it out.. the prometheus.Register call was working fine (with a call to func IncrementMe - not shown) - i was just not spinning the counter to see it at start :(
ok.. so im a bit stumped here.
i have the custom metrics implemented (so i can see them show up when i have my server running):
However, even with looking with the answer provided to nizarayari, i dont see how to apply the .Inc() method to the custom metric.
I have tried as well looking at the other example, however the prometheus.Register(numErrors) example never ends up showing up in the gin metrics list (as the test ones outlined above are).
any pointers would be wonderful! D