-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds documentation on local tracking
A WIP but I wanted to make it first-class.
- Loading branch information
1 parent
d721985
commit f830c05
Showing
6 changed files
with
58 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
.. _tracking: | ||
|
||
============= | ||
Tracking Burr | ||
============= | ||
|
||
Burr comes with a telemetry system that allows tracking a variety of information for debugging, | ||
both in development and production. Note this is a WIP. | ||
|
||
--------------- | ||
Tracking Client | ||
--------------- | ||
|
||
When you use :py:meth:`burr.core.application.ApplicationBuilder.with_tracker`, you add a tracker to Burr. | ||
This is a lifecycle hook that does the following: | ||
|
||
#. Logs the static representation of the state machine | ||
#. Logs any information before/after step execution, including | ||
- The step name | ||
- The step input | ||
- The state at time of execution | ||
- The timestamps | ||
|
||
This currently defaults to (and only supports) the :py:class:`burr.tracking.LocalTrackingClient` class, which | ||
writes to a local file system, althoguh we will be making it pluggable in the future. | ||
|
||
This will be used with the UI, which can serve out of the specified directory. More coming soon! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
======== | ||
Tracking | ||
======== | ||
|
||
Reference on the Tracking API. This is purely for information -- you should not use this directly. | ||
Rather, you should use this through :py:meth:`burr.core.application.ApplicationBuilder.with_tracker` | ||
|
||
|
||
.. autoclass:: burr.tracking.LocalTrackingClient | ||
:members: | ||
|
||
.. automethod:: __init__ |