Incident

This page documents an earlier firmware release. Read this page for the latest release

An incident of the device, on a swarm leader of the swarm, from its start to its end.

An incident is a module which fails (or has a warning) not because another module does, see Health.incidents. It is kept once its module was a cause for 5 s, so a module which is one only for a moment, as its own cause is not reported yet or recovered first, is no incident. It ends as soon as its module is no cause any more, one which is a cause again within a minute after that continues. It is kept with the error flags of the modules, not with their reasons.

Table 1. Available fields in blickfeld.diagnostics.data.Incident
Field Type Default Unit

id

uint64

-

-

Identifier of the incident, unique on the device

device

string

-

-

Serial number of the device of the cause, empty if the device has no serial number of its own

module

string

-

-

Module which causes the incident, as named in Health.Module, device or the software module serving several modules, see Health.Incident.module

state

base.data.Health.State

-

-

Worst state of the module during the incident

start

google.protobuf.Timestamp

-

-

Start of the incident

end

google.protobuf.Timestamp

-

-

End of the incident, the time its module stopped causing it. Not set while it is ongoing.

affected_modules

repeated Affected

-

-

Modules which were not OK because of it, with the worst state they were in

recurrences

uint32

-

-

Number of times its module was a cause again within a minute after the incident ended

acknowledgement

Acknowledgement

-

-

Set once a user acknowledged the incident

error_flags

ErrorFlags

-

-

Error flags of the cause which were set during the incident

Affected

A module which was not OK because of the cause of the incident

Table 2. Available fields in blickfeld.diagnostics.data.Incident.Affected
Field Type Default Unit

device

string

-

-

Serial number of the device of the module

module

string

-

-

Module, as named in Health.Module

state

base.data.Health.State

-

-

Worst state of the module during the incident

distance

uint32

-

-

Number of dependencies between the cause and this module

error_flags

ErrorFlags

-

-

Error flags of the module which were set during the incident

Acknowledgement

Acknowledgement of the incident by a user

Table 3. Available fields in blickfeld.diagnostics.data.Incident.Acknowledgement
Field Type Default Unit

time

google.protobuf.Timestamp

-

-

Time of the acknowledgement

comment

string

-

-

Comment of the user