feat: add actual metrics using prometheus-net
This commit is contained in:
parent
4a6b5f3b85
commit
54ec469cd9
9 changed files with 134 additions and 56 deletions
|
|
@ -20,7 +20,11 @@ SentryTracing = true
|
|||
SentryTracesSampleRate = 1.0
|
||||
; Whether to log SQL queries. Note that this is very verbose. Defaults to false.
|
||||
LogQueries = false
|
||||
; The port the /metrics endpoint will listen on. If not set, metrics will be disabled.
|
||||
; Whether metrics are enabled. If this is set to true, Foxnouns.NET will rely on Prometheus scraping metrics to update stats.
|
||||
; If set to false, a background service will be used instead. Does not actually disable the /metrics endpoint.
|
||||
; Defaults to false.
|
||||
EnableMetrics = true
|
||||
; The port the /metrics endpoint will listen on. Defaults to 5001.
|
||||
MetricsPort = 5001
|
||||
|
||||
[Database]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue