'How to set Prometheus metrics to work on online environment
I'm using this nuget package: Prometheus.Client.Owin
, and I can see the metrics in my local machine, however when pushed to online environment, I was getting an Access Denied error (System.Diagnostics.ProcessManager.OpenProcess), so I've read that I needed update the Application Pool to use LocalSystem, and set the Managed Pipeline Mode to Classic.
That error is now gone, but now I get this:
Collector with name 'GCCollectionCountCollector' is already registered
Can someone please help?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|