graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #02042
[Question #186036]: Prevent graphite from changing the resolution of the data pulled via the API
New question #186036 on Graphite:
https://answers.launchpad.net/graphite/+question/186036
Hello,
Here is the problem:
When Iam trying to pull the data from graphite via the api, graphite automatically changes the resolution of the data , i.e. from 60 seconds to 900 seconds.
When I am requesting the data for the last 30 days:
https://graphite.hz.net/render?from=-30days&until=now&width=400&height=250&target=box007010158.*.*&uniq=0.5566281429491937&rawData=true
it returns
box007010158.Cpu.ContextSwitches,1325098260,1327690260,60|None,None,None,None,1652252848.0,None,None,None,None,1654361836.0,None,None,None,None,1656283748.0,None,None,None,None,1658195654.0,None,None,None,None,1660111629.0,None,None,None,None,1662061799.0,None,None,None,None,1664063616.0,None,None,None,None,1666075550.0,None,None,None,None,1668046743.0,None ....
If you notice, only each fifth sample contains useful information.
However, once I decide to increase to pull more data, let's say for the last 4 months:
https://graphite.hz.net/render?from=-4months&until=now&width=400&height=250&target=box007010158.*.*&uniq=0.5566281429491937&rawData=true
graphite automatically scales down the resolution to 900 seconds, and as a result the data it returns becomes unusable, as it contains only 'Nones'.
box007010158.Cpu.ContextSwitches,1317322800,1327690800,900|
None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None
So the question is whether it is possible somehow to disable this feature ?
Any feedback would be greatly appreciated.
Cheers, D
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.