mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 12:44:10 -06:00
style(alerting): add note about making timeseries model safer
This commit is contained in:
parent
22d8723c1d
commit
5f2447976c
@ -16,6 +16,8 @@ type TimeSeries struct {
|
||||
type TimeSeriesSlice []*TimeSeries
|
||||
|
||||
func NewTimeSeries(name string, points [][2]float64) *TimeSeries {
|
||||
//Todo: This should be made safer :)
|
||||
|
||||
ts := &TimeSeries{
|
||||
Name: name,
|
||||
Points: points,
|
||||
|
Loading…
Reference in New Issue
Block a user