Skip to content

Update Grafana Link to use Accurate Start/End Times based on Run Duration #4390

@aaronbuchwald

Description

@aaronbuchwald

The current notify grafana link is triggered at the start of the job and uses a hardcoded time of now and one hour into the future as a guess of what range to show.

This works for 90% of cases, but long running re-execution jobs can take nearly a full 24hrs. Additionally, these jobs sometimes take hours to copy in the initial state and block data before they start executing and emitting metrics. This results in very long running jobs showing no data at all on the range in the Grafana link that gets originally posted.

This ticket is to improve the start/end times to handle the remaining 10% of the time.

One potential solution is to move posting the Grafana link to a post-action step, so that it's possible to know the actual start and end times of the job.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ciThis focuses on changes to the CI process

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions