# Custom timeline events

**URL:** <https://forum.buildkite.community/t/custom-timeline-events/1237>\
**Category:** Features Requests\
**Created:** [September 9, 2020, 9:26pm UTC](https://forum.buildkite.community/t/custom-timeline-events/1237 "2020-09-09T21:26:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![angusscown](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/angusscown/32/866_2.png) [@angusscown](https://forum.buildkite.community/u/angusscown)\
**Post date:** [September 9, 2020, 9:26pm UTC](https://forum.buildkite.community/t/custom-timeline-events/1237/1 "2020-09-09T21:26:40Z")

</div>

Looking at the new timeline view made me consider how we could instrument our slower build steps. It would be great to provide an api where we would send events from within the build steps.

In our case that is ansible but I think if you provided a way to send a GET request with the build slug it would help expose custom start/stop events.

---

<div class="post-metadata">

**Author:** ![sj26](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/sj26/32/17_2.png) [@sj26](https://forum.buildkite.community/u/sj26)\
**Post date:** [September 9, 2020, 11:44pm UTC](https://forum.buildkite.community/t/custom-timeline-events/1237/2 "2020-09-09T23:44:04Z")

</div>

Hi @angusscown!

Good eye, we’ve been having similar thoughts. We’re very keen to start exploring observability throughout builds. 🙂

There’s some pretty exciting work to add tracing to the Buildkite Agent over here:

> <https://github.com/buildkite/agent/pull/1273>

and experiments with tools like Jaegar, too:

> **[buildkite/build-trace](https://github.com/buildkite/build-trace)**
>
> Generate trace data for a build in Jaeger. Contribute to buildkite/build-trace development by creating an account on GitHub.

We’d love to hear about what you’d like to see in this timeline, and how you think it would help. 🙇‍♂️

Cheers,  
Sam

---

<div class="post-metadata">

**Author:** ![simonbyrne](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/simonbyrne/32/847_2.png) [@simonbyrne](https://forum.buildkite.community/u/simonbyrne)\
**Post date:** [November 17, 2023, 6:45pm UTC](https://forum.buildkite.community/t/custom-timeline-events/1237/3 "2023-11-17T18:45:57Z")

</div>

I too would like to be able to add additional custom items to a timeline.

---

<div class="post-metadata">

**Author:** ![stephanie.atte](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/stephanie.atte/32/1357_2.png) [@stephanie.atte](https://forum.buildkite.community/u/stephanie.atte)\
**Post date:** [November 17, 2023, 7:35pm UTC](https://forum.buildkite.community/t/custom-timeline-events/1237/4 "2023-11-17T19:35:47Z")

</div>

Hey @simonbyrne

Thanks for the message.

Just to clarify you are talking about the timeline tab in the UI?

Could you please specify what custom items you are looking to add, and how they would be beneficial to your use case?

Cheers!

---

<div class="post-metadata">

**Author:** ![simonbyrne](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/simonbyrne/32/847_2.png) [@simonbyrne](https://forum.buildkite.community/u/simonbyrne)\
**Post date:** [November 17, 2023, 7:47pm UTC](https://forum.buildkite.community/t/custom-timeline-events/1237/5 "2023-11-17T19:47:08Z")

</div>

In our particular case, we run our buildkite jobs inside a separate job scheduler (Slurm). For debugging purposes, it would be useful to be able to attach various metadata to a job (such as the Slurm job id) _before_ the agent for the job has actually started.

---

<div class="post-metadata">

**Author:** ![stephanie.atte](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/stephanie.atte/32/1357_2.png) [@stephanie.atte](https://forum.buildkite.community/u/stephanie.atte)\
**Post date:** [November 17, 2023, 9:11pm UTC](https://forum.buildkite.community/t/custom-timeline-events/1237/6 "2023-11-17T21:11:16Z")

</div>

Hey @simonbyrne

The purpose of the timeline tab is to provide live updates on agent and dispatcher events as well as information of the job running on the agent.

The agent and the job will need to be started to add a meta-data. Currently we do not support customizing this feature

Cheers!
