Add event timestamp to deployments webhooks

Release notes

Visualizations of deployment webhook data now have an event transition timestamp event to anchor chronologically.

Problem to solve

Some webhooks (jobs and deployments for example) from gitlab.com webhooks do not contain timestamp information in their json payload. This is usually found in object_attributes -> created_at in other webhooks.

Timestamps are helpful to retain real-time data stream of events for downstream actions. Part of these actions may want to understand when the event actually occurred and the best guess is when the webhook was received. This creates data integrity challenges and doesn't allow the downstream systems to draw visualizations based on actual event times.

Intended users

User experience goal

webhooks received from gitlab.com (or onprepm gitlab) show a timestamp when the event occured.

Proposal

Add a timestamp or event_timestamp to each webhook payload which represents when the event occured.

Edited by Orit Golowinski