mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
Add prometheus metrics collectors for http handlers (#958)
* Add prometheus metrics exporter for http handlers * Use prometheus from opencensus * Add comment to unused func() param * Add package names to operation description in observ package * Sort exported/unexported functions
This commit is contained in:
committed by
Michal Pristas
parent
5eba6f2e47
commit
fb696b2d84
@@ -138,6 +138,12 @@ TraceExporter = "jaeger"
|
||||
# Env override: ATHENS_TRACE_EXPORTER_URL
|
||||
TraceExporterURL = "http://localhost:14268"
|
||||
|
||||
# Stats is not a requirement for Athens. If the value is not set,
|
||||
# Athens will keep on running and stats won't be collected.
|
||||
# Possible values are: prometheus.
|
||||
# Env overide: ATHENS_STATS_EXPORTER
|
||||
StatsExporter = "prometheus"
|
||||
|
||||
[Storage]
|
||||
# Only storage backends that are specified in Proxy.StorageType are required here
|
||||
[Storage.CDN]
|
||||
|
||||
Reference in New Issue
Block a user