问题
I store points in InfluxDB using UTC but when querying from the command line,
influx -precision rfc3339
I want to display them in the local timezone, for all queries. How can I do that?
To display the time in a specific timezone, I can add (for example) tz('America/Chicago')
to the end of each query, but this is annoying. Is there a way to configure Influx to show the time in a specific timezone for all queries? The CLI documentation doesn't list and argument or command to do that.
回答1:
Apparently this is not possible, but you can +1 the feature request.
来源:https://stackoverflow.com/questions/52232861/display-time-in-local-timezone-when-querying-influxdb-from-the-cli