Server Fault Asked by Aditya Patawari on February 19, 2021
I am doing a http query on my graphite server:
curl 'http://example.com/render?from=06:04_20140430&until=06:08_20140430&target=servers.server1.memory.MemFree&rawData=true'
servers.hub-eu.memory.MemFree,1398859500,1398859740,60|1854017536.0,1851564032.0,1843437568.0,1868869632.0
The output should start from 06:04 but timestamp 1398859500 corresponds to 12:05. Why would that happen?
Additional info: the graphite server’s timezone is EDT. Timezone for server1 is GMT.
What timezone is set in local-settings.py? The default is America/Chicago, which is UTC−06:00.
You can specify a time zone to convert all times into for a request by setting tz. E.G.
curl 'http://example.com/render?from=06:04_20140430&until=06:08_20140430&target=servers.server1.memory.MemFree&rawData=true&tz=UTC'
Answered by sciurus on February 19, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP