Skip to content

Timezone in prometheus dashboard #3

@ravi-kp

Description

@ravi-kp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions