Skip to content

Incident Time formating #32

@btran3093

Description

@btran3093

My incident time metric is showing was Sat, 15 Jun 17:39 UTC. I am currently in PST so local time would convert to Sat, 15 Jun 10:39 PST

I am using this timeformat option
--pagerduty.incident.timeformat="Mon, 02 Jan 15:04 PST"

but the metric is displayed after restarting the exporter as Sat, 15 Jun 17:39 PST

Time has not adjusted and only appended the new PST label.

I have also tried to use the UTC offset and same issue occurs as it appends and does not adjust the time
--pagerduty.incident.timeformat="Mon, 02 Jan 15:04 -08:00"

Metric is displayed as Sat, 15 Jun 17:39 -08:00

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions