Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Paginated metrics #160

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

bitprophet
Copy link
Contributor

Implements #73.

Dug into this to start addressing my problems w/ metric loads in my prod environment, which has something like 800k distinct metric paths and growing.

Right now, with the "load all metrics on start" behavior, I suck down 80MB of metric path data, which kinda sucks when talking to a non-local-to-workstation server:

With pagination enabled & the app set to default to 1 page at a time, it's a much more reasonable 4KB:

This implementation doesn't appear to affect search results (and no attempt was made to paginate them from the backend, as they're typically much smaller, & I will have another PR soon for making the search itself faster anyways.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant