zabgrab.model.series¶
Fetched data.
- zabgrab.model.series.FORMAT_VERSION¶
The version of the layout of
.h5and.matfiles (and of the metadata in every format). Increase it whenever the layout changes in a way that older versions of zabgrab, orzabgrab_load.m, would misread.- Type:
Classes
|
Everything a fetch produced. |
|
The data fetched for one item, as named columns of equal length. |
|
An item that wasn't fetched, and why. |
- class zabgrab.model.series.Series(server, item, resolution, columns, requests=())[source]¶
Bases:
objectThe data fetched for one item, as named columns of equal length.
- Parameters:
- resolution¶
Raw history or hourly trends.
- Type:
- columns¶
The data. The first column is always
time(POSIX seconds). Raw data then hasvalue(pluslog_time,source,severityandevent_idfor log items); hourly trends have the selected statistics (min,avg,max,count).- Type:
dict of str to list
- requests¶
Labels of the requests (the template, or
__customfor items given on the command line) that matched the item.
- class zabgrab.model.series.Skipped(server, item, reason)[source]¶
Bases:
objectAn item that wasn’t fetched, and why.