obfuscurity / descartes

Introspective dashboard for Graphite
MIT License
502 stars 65 forks source link

New options for loading Metrics list #121

Closed obfuscurity closed 11 years ago

obfuscurity commented 11 years ago

Add a couple env vars to help with large metrics lists (/metrics/index.json) which can cause timeouts.

damm commented 11 years ago

How large does /metrics/index.json have to be to fall into this problem? or is that a known?

obfuscurity commented 11 years ago

@damm RestClient was hitting a 1m timeout. There were other issues in our architecture/transit that led me to introduce the other features too.

gorsuch commented 11 years ago

This all looks solid to me. :+1:

obfuscurity commented 11 years ago

Oh, and I just hit another timeout courtesy Heroku's 60s R10 Boot timeout. Already putting METRICS_UPDATE_ON_BOOT to good use. :-/

damm commented 11 years ago

@obfuscurity wicked, our metrics/index.json is up to 20megs and haven't had an issue so I was curious.

obfuscurity commented 11 years ago

I forget, but I want to say it's over 60MB. I'll check when I get home later.

Jason Dixon Sent from my iPhone

On Jun 5, 2013, at 5:36 PM, "Scott M. Likens" notifications@github.com wrote:

@obfuscurity wicked, our metrics/index.json is up to 20megs and haven't had an issue so I was curious.

— Reply to this email directly or view it on GitHub.

obfuscurity commented 11 years ago

Ha, I was only off by 100%. Our latest index.json is 34MB.