Skip to content

Conversation

@sc-crescendo
Copy link

Added function reset metric which allows resetting single metric by name

resetMetrics(): void;

/**
* Reset one naed metric
Copy link

Choose a reason for hiding this comment

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

naed seems like a typo? perhaps:

Suggested change
* Reset one naed metric
* Reset a named metric
* @param metric Metric to reset

}
}
resetMetric(name) {

Copy link

Choose a reason for hiding this comment

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

seems like a redundant space

Suggested change

@mindw
Copy link

mindw commented May 8, 2025

It seems reasonable a test for this new functionality will be requested.

Not the/a maintainer.

@jdmarshall
Copy link
Contributor

Is this doing the same thing as looking up the metric and then resetting it directly?

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.

3 participants