Skip to content

[OCTRL-1092] Improve metrics error reporting#810

Merged
knopers8 merged 3 commits intomasterfrom
AddMetrics
Apr 24, 2026
Merged

[OCTRL-1092] Improve metrics error reporting#810
knopers8 merged 3 commits intomasterfrom
AddMetrics

Conversation

@justonedev1
Copy link
Copy Markdown
Collaborator

No description provided.

@justonedev1 justonedev1 requested a review from knopers8 as a code owner April 23, 2026 09:16
return errors.New("cannot transition in NIL environment")
}

metric := transitionMetric("startactivity", env)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Any reason not to use the same formatting as for the "official" transition names, i.e. START_ACTIVITY, GO_ERROR, etc?

Suggested change
metric := transitionMetric("startactivity", env)
metric := transitionMetric(t.baseTransition.name, env)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

changed

@justonedev1 justonedev1 requested a review from knopers8 April 24, 2026 08:48
Copy link
Copy Markdown
Collaborator

@knopers8 knopers8 left a comment

Choose a reason for hiding this comment

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

thank you!

@knopers8 knopers8 merged commit 674cce1 into master Apr 24, 2026
4 checks passed
@knopers8 knopers8 deleted the AddMetrics branch April 24, 2026 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants