Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support decoding timeseries Thresholds from YAML #180

Open
K-Phoen opened this issue Jun 6, 2022 · 2 comments
Open

Support decoding timeseries Thresholds from YAML #180

K-Phoen opened this issue Jun 6, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@K-Phoen
Copy link
Owner

K-Phoen commented Jun 6, 2022

// Thresholds configures the thresholds for this time series.
func Thresholds(options ...threshold.Option) Option {
return func(timeseries *TimeSeries) error {
threshold.New(&timeseries.Builder.TimeseriesPanel.FieldConfig, options...)
return nil
}
}

@K-Phoen K-Phoen added the enhancement New feature or request label Jun 6, 2022
@rjnetskope
Copy link

@K-Phoen Need this feature

@K-Phoen
Copy link
Owner Author

K-Phoen commented Aug 30, 2022

Feel free to contribute :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants