Repository navigation
Collecting metrics from plausible (with Prometheus) #3638
Answered
by
ruslandoga
digital88
asked this question in
Self-Hosted Support
|
Hello. Does plausible have a way to grab internal metrics with tools like Prometheus? I see some metrics generation code here https://github.com/plausible/analytics/blob/master/lib/plausible/telemetry/plausible_metrics.ex I tried to make a GET request to /metrics endpoint (usually the "default" way of getting metrics from services) but got "Service Unavailable". Is there a way to get metrics from self-hosted instance? |
Answered by
ruslandoga
Dec 15, 2023
Replies: 1 comment 5 replies
|
I think you'd need to enable PromEx by setting |
5 replies
Answer selected by
digital88
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👋 @digital88
I think you'd need to enable PromEx by setting
PROMEX_DISABLED=falsein your env vars.