Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Histogram ¶
type Histogram struct { Key string `json:"key"` Values []HistogramValue `json:"values"` }
type HistogramValue ¶
type Metric ¶
type Metric struct { Id uuid.UUID `json:"id"` StartedAt time.Time `json:"started_at"` FinishedAt time.Time `json:"finished_at"` Latency time.Duration `json:"latency"` Watcher Watcher `json:"watcher"` Routine Routine `json:"routine"` Metadata map[string]any `json:"metadata"` Indicators []Indicator `json:"indicators"` Histograms []Histogram `json:"histograms"` Logs []Log `json:"logs"` }
type Routine ¶
type Routine struct { Id uuid.UUID `json:"routine_id"` WatcherID uuid.UUID `json:"-"` Name string `json:"name"` Desc string `json:"desc"` Path string `json:"path"` RunAt time.Time `json:"run_at"` Interval time.Duration `json:"interval"` LoadInterval time.Duration `json:"load_interval"` Start int64 `json:"start"` End int64 `json:"end"` }
Click to show internal directories.
Click to hide internal directories.