Join Slack
Powered by
Is there a way to find the Most frequently used me...
# ask-ai
r
rapid-sundown-31376
09/12/2025, 3:59 PM
Is there a way to find the Most frequently used metrics across all experiments?
@brash-pillow-71627
b
brash-pillow-71627
09/12/2025, 4:04 PM
A message from
kapa.ai
brash-pillow-71627
09/12/2025, 4:04 PM
Short answer: not directly in the app today. - There isn’t a built-in “most used metrics” report in GrowthBook right now. [[Managing metrics](
https://linen.growthbook.io/t/16353754/hi-growthbook-team-i-have-a-question-regarding-managing-expe
)]. - You can approximate it via the REST API by listing metrics and inspecting where they’re used; this was suggested as a manual workaround. [[Managing metrics](
https://linen.growthbook.io/t/16353754/hi-growthbook-team-i-have-a-question-regarding-managing-expe
)]. - GrowthBook did add “experiment usage and date last used” to the metric listing page, which can help you gauge usage frequency in the UI, though it’s not an aggregated “top metrics” ranking. [[Added usage](
https://github.com/growthbook/growthbook/pull/1593
)]. - There’s also an open request to expose experiment usage via API (e.g., a /metrics/:id/usage endpoint), but it’s not confirmed available yet. [[API feature request](
https://github.com/growthbook/growthbook/issues/1196
)]. If you’d like, I can outline a quick API workflow to pull metrics and count their experiment usage as a ranked list.
r
rapid-sundown-31376
09/12/2025, 4:06 PM
How do I set the GB_API_URL and GB_APP_ORIGIN for Growthbook's MCP if I self-host
@brash-pillow-71627
b
brash-pillow-71627
09/12/2025, 4:06 PM
A message from
kapa.ai
brash-pillow-71627
09/12/2025, 4:07 PM
If you self-host, set GB_API_URL and GB_APP_ORIGIN to the public URLs of your self-hosted API and app, matching how you configured APP_ORIGIN and API_HOST in your GrowthBook deployment. - GB_API_URL = your API base URL (the same value you use for API_HOST) - GB_APP_ORIGIN = your app URL (the same value you use for APP_ORIGIN) Examples: - If you expose via ports on a host: GB_APP_ORIGIN=
http://your-host:3000
GB_API_URL=
http://your-host:3100
[[Self-host env vars](
https://docs.growthbook.io/self-host/env
); [Forum example](
https://linen.growthbook.io/t/539667/conversation
)]. - If you front with HTTPS and a reverse proxy/domains: GB_APP_ORIGIN=
https://growthbook.example.com
GB_API_URL=
https://growthbook-api.example.com
[[Prod setup thread](
https://linen.growthbook.io/t/10375254/hi-i-m-trying-to-get-production-setup-working-for-self-hoste
); [Self-host env vars](
https://docs.growthbook.io/self-host/env
)]. Notes: - Include the scheme (http/https); avoid 0.0.0.0, use a real host/domain. [[Wrong URL fix](
https://linen.growthbook.io/t/34157/hi-team-i-m-trying-to-setup-growthbook-on-my-server-i-change
)]. - App and API must be same-site (same root domain) but on different subdomains or ports. [[Self-host env vars](
https://docs.growthbook.io/self-host/env
)]. - Cloud users can omit these; self-hosted should set both. [[MCP install](
https://docs.growthbook.io/integrations/mcp
); [Claude/Cursor examples](
https://docs.growthbook.io/integrations/mcp#claude-desktop;
https://docs.growthbook.io/integrations/mcp#vs-code
)].
Open in Slack
Previous