Skip to content

Conversation

@justonedev1
Copy link
Collaborator

@justonedev1 justonedev1 commented Sep 2, 2025

This PR adds run type and env id to all of the metrics calls (hooks, callables, plugins) through context or other means.

@justonedev1 justonedev1 changed the title [WIP] OCTRL 1042 OCTRL 1042: Add run type to metrics calls Sep 2, 2025
return runType
}

func NewContext(envId string, varStack map[string]string, timeout time.Duration) (context.Context, context.CancelFunc) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

since envId is typically present in varStack, one could consider extracting it from varStack to have one less argument.

@justonedev1 justonedev1 merged commit 6db969a into master Sep 3, 2025
4 checks passed
@justonedev1 justonedev1 deleted the OCTRL-1042 branch September 3, 2025 14:00
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.

3 participants