Closed ashu3103 closed 4 months ago
Remember the tutorial, man page and manual as well
Remember the tutorial, man page and manual as well
Yeah working on it parallely
Maybe enable metrics by default in the pgagroal_vault.conf
as well
I think that your "Future" section should be easy as well
prometheus should be initiated only when metric port is active --> Document it properly somewhere.
It is documented in the configuration files - users doesn't need to know about the internals
prometheus should be initiated only when metric port is active --> Document it properly somewhere.
It is documented in the configuration files - users doesn't need to know about the internals
Yeah, but for new developers it might be required
@jesperpedersen The suggested changes have been integrated PTAL.
I think it looks good but prometheus_common
or prometheus_base
is probably better as a name
Merged.
Thanks for your contribution !
Enable Prometheus in vault
About this commit
pgagroal-vault
at portmetrics
in configuration to track server activitiesmetrics
,hugepage
,metric_cache_max_age
andmetric_cache_max_size
in the common configurationis_prometheus_enabled
on all theprometheus
functions and code blocks which basically checks whether the metrics port is active or not.metric
port value we allocate memory toprometheus
structure andprometheus_cache
Future work
prometheus
structure formain
andvault
similar toconfiguration
for optimal memory management.prometheus
should be initiated only whenmetric
port is active --> Document it properly somewhere.@jesperpedersen @fluca1978 PTAL.