Skip to content

Commit 67c4a86

Browse files
committed
feat: add actor and kv metrics
1 parent 192c800 commit 67c4a86

File tree

59 files changed

+17420
-1125
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+17420
-1125
lines changed

Cargo.lock

Lines changed: 60 additions & 72 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 332 additions & 332 deletions
Large diffs are not rendered by default.

docs/engine/GASOLINE/GOTCHAS.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
# Gotchas
22

3-
TODO
3+
## Signal tags
4+
5+
Internally, it is more efficient to order signal tags in a manner of most unique to least unique:
6+
7+
- Given a workflow with tags:
8+
- namespace = foo
9+
- type = normal
10+
11+
The signal should be published with `namespace = foo` first, then `type = normal`

docs/engine/GASOLINE/WORKFLOW_HISTORY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ If we want this workflow to remain the same but new workflows to execute a diffe
6868
// Activity foo
6969
ctx.activity(...).await?;
7070

71-
match ctx.check_version(2).await {
71+
match ctx.check_version(2).await? {
7272
// The existing workflow will always match this path because the next event (activity bar) has version 1
7373
1 => {
7474
// Here we need to keep the workflow steps as expected by the history, run activity bar
@@ -81,7 +81,7 @@ match ctx.check_version(2).await {
8181
}
8282
}
8383

84-
ctx.sleep().await
84+
ctx.sleep().await?;
8585
```
8686

8787
Version checks are durable because if history already exists at the location they are added then they do not manipulate the database and read the version of that history event. But if the version check is at the end of the current branch of events (as in a new workflow), it will be inserted as an event itself. This means the workflow history for both workflows will look like this:

0 commit comments

Comments
 (0)