lsst.dax.apdb g5ea96fc03c+33ab2bc355
Loading...
Searching...
No Matches
Public Member Functions | List of all members
lsst.dax.apdb.monitor.MonHandler Class Reference
Inheritance diagram for lsst.dax.apdb.monitor.MonHandler:
lsst.dax.apdb.monitor.LoggingMonHandler

Public Member Functions

None handle (self, str name, float timestamp, _TagsType tags, Mapping[str, Any] values, str agent_name)
 

Detailed Description

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.

Member Function Documentation

◆ handle()

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.


The documentation for this class was generated from the following file: