We’ve been using prometheus for a while on our endpoints (to let the infra scrape some basic stats) and now I’m trying to add NServiceBus specific metrics.
I’m looking at https://docs.particular.net/samples/logging/prometheus-grafana/ and we do get metrics, but we’re missing two:
We do however have
nservicebus_criticaltime_seconds_sum nservicebus_criticaltime_seconds_count nservicebus_processingtime_seconds_sum nservicebus_processingtime_seconds_count
but not the ones without the suffix.
If I run the sample Metrics 3 I do however get all the counters. I’ve found out that the difference from our services are that we’re using a newer version of prometheus-net (as we’re running on .net core).
If I update the prometheus-net in the sample from 1.3.5 to 3.1.4 (latest atm) that sample also misses the two metrics I mentioned.