-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose stats' relevant threshold expression symbols publicly
This commit makes some minor modifications to the `stats` package API. Namely, it makes `stats.ThresholdExpression` and `stats.token*` symbols public. It also makes `stats.Threshold.parsed` public. These changes are made in order to facilitate validation of thresholds from outside the `stats` package. Having access to both the parsed Threshold, and the aggregation methods symbols will allow comparing them and asserting their meaningfulness in a context where we have typed metrics available. ref #2330
- Loading branch information
Showing
4 changed files
with
141 additions
and
85 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
Oops, something went wrong.