Interface for handlers of the monitoring records.
Handlers are responsible for delivering monitoring records to their final
destination, for example log file or time-series database.
None lsst.dax.apdb.monitor.MonHandler.handle |
( |
| self, |
|
|
str | name, |
|
|
float | timestamp, |
|
|
_TagsType | tags, |
|
|
Mapping[str, Any] | values, |
|
|
str
| agent_name ) |
Handle one monitoring record.
Parameters
----------
name : `str`
Record name, arbitrary string.
timestamp : `str`
Time in seconds since UNIX epoch when record originated.
tags : `~collections.abc.Mapping` [`str`, `str` or `int`]
Tags associated with the record, may be empty.
values : `~collections.abc.Mapping` [`str`, `Any`]
Values associated with the record, usually never empty.
agent_name `str`
Name of a client agent that produced this record.
Reimplemented in lsst.dax.apdb.monitor.LoggingMonHandler.