Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Timezone in prometheus dashboard #3

Open
ravi-kp opened this issue Dec 20, 2021 · 0 comments
Open

Timezone in prometheus dashboard #3

ravi-kp opened this issue Dec 20, 2021 · 0 comments

Comments

@ravi-kp
Copy link

ravi-kp commented Dec 20, 2021

Is it possible to get local time support instead of UTC in the Prometheus dashboard?

Let's I want to make data available at the metric endpoint along with its timestamp(the time at which we got this data). But the system time is in PDT and I also want the Prometheus dashboard x-axis with this PDT time, not in(UTC or equivalent local time).

In go there is an API NewMetricWithTimestamp(time, metric)
but here time is in UTC so I need to convert my PDT time to UTC and then this API returns the data value with the timestamp in milliseconds. So on the Prometheus dashboard, we are able to see the equivalent UTC time.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant