obfuscurity / descartes

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

How are the parameters '_ts' and '_salt' being used ? #129

Closed abhinav-sbu closed 11 years ago

abhinav-sbu commented 11 years ago

Hi,

I was looking at the Descartes code, I couldn't figure out how the parameter '_ts' is being used in case of auto-refresh. I can see that we are passing the current timestamp using this while querying Graphite. But in the Graphite code, I couldn't find this parameter being parsed and used anyway.

Same with '_salt', Graphite uses this for current timestamp but in Descartes, I couldn't find it being used.

Can you please help me understand, how exactly these parameters are being used ?

obfuscurity commented 11 years ago

The _ts param is a throwaway used by Descartes to bypass browser caching. The _salt param is a native Graphite param. I believe it serves a similar purpose.