Skip to content

Store trace time to TracedEvent#622

Merged
fonsp merged 4 commits intorelease-5from
trace-timings-and-ID
Mar 26, 2026
Merged

Store trace time to TracedEvent#622
fonsp merged 4 commits intorelease-5from
trace-timings-and-ID

Conversation

@fonsp
Copy link
Copy Markdown
Contributor

@fonsp fonsp commented Mar 24, 2026

This PR stores the time of a TraceEvent, which is useful for observability. ✨

@github-actions
Copy link
Copy Markdown
Contributor

🤖 Code Formatting

Your PR still has some code formatting issues. I've updated PR #623 with the necessary formatting changes.

You can merge that PR into this branch to fix the code style check.

Alternatively, you can run make format locally and push the changes yourself.

Copy link
Copy Markdown
Member

@bvdmitri bvdmitri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm ok to merge, but suggested to update the docstring

Co-authored-by: Bagaev Dmitry <bvdmitri@gmail.com>
@fonsp fonsp merged commit 7367dce into release-5 Mar 26, 2026
1 of 5 checks passed
@fonsp fonsp deleted the trace-timings-and-ID branch March 26, 2026 11:58
bvdmitri added a commit that referenced this pull request Apr 7, 2026
…632)

* Integrate ReactiveMP event handler and enhance documentation (#615)

* initial integration of ReactiveMP event handler

* implement a more complex test

* rename event handler to callbacks to be more aligned with ReactiveMP

* update references to the callbacks in the documentation

* use ReactiveMP.invoke_callback

* fix the on_marginal_update callback invokation

* rename benchmark callbacks file

* restore the removed benchmark file lol

* make format

* checkpoint

* adapt to changes in ReactiveMP

* merge stricter formatting options

* sync with ReactiveMP

* latest changes in ReactiveMP

* allow callbacks be any structure as in ReactiveMP

* add Callbacks manual and update the related documentation

* update docs

* introduce StopIteration struct, make the callbacks use that instead of
true/false

* support benchmark = true keyword argument

* fix broken tests

* make format

* update benchmarks

* add simple tracer

* 2prev

* refactor to use ReactiveMP.Event structure

* improve the documentation

* update to latest changes in ReactiveMP

* update the debugging section

* update benchmark

* improve printing a bit

* comment-out-trace-show

* TraceEvent: turn commented Base.show into Base.summary

* Fix test to match changed TestEvent summary show method

* Store trace time to TracedEvent (#622)

* Store trace time to TracedEvent

* Update trace_tests.jl

* Apply suggestion from @bvdmitri

Co-authored-by: Bagaev Dmitry <bvdmitri@gmail.com>

---------

Co-authored-by: Bagaev Dmitry <bvdmitri@gmail.com>

* Trace ID for Events (#626)

* sprint for summary test

* partial refactor, update postprocessing and inference.jl

* update remaining files and the documentation

* fix several bugs by hand

* update the documentation build

* update docs, add migration guide, update CHANGELOG

* remove the plan

---------

Co-authored-by: Raphael-Tresor <40422324+Raphael-Tresor@users.noreply.github.com>
Co-authored-by: Fons van der Plas <fonsvdplas@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants