Enum MetricsMode
Used control how or whether a NeonService publishes Prometheus metrics.
Namespace: Neon.Service
Assembly: Neon.Service.dll
Syntax
public enum MetricsMode
Fields
Name | Description |
---|---|
Disabled | Metrics publishing is disabled. |
Push | Metrics will be pushed to a Prometheus Pushgateway. |
Scrape | Metrics will be scraped by Prometheus. |
ScrapeIgnoreErrors | Metrics will scraped by Prometheus but any port conflicts or any endpoint registration errors thrown by HttpListener on Windows will be ignored. noteThis mode is really intended for test environments where these errors aren't relavent. We don't recommend this for production deployments. |