Report RNode events to InfluxDB table "events"

Description

The events table needs to contains columns:

  • title: It should contain the event name, e.g. block-added

  • description: Additional event data. In case of block-added event for instance, it make sense to store the block-hash here. The description column shouldn't contain all the field present on the /ws/events WebSockets stream as there's too many of them pack into InfluxDB and Grafana. A better way is to store a unique event identifier and look that identifier up in logs for additional details of an event.

  • tags: Should also contain the event name to ease filtering and querying InfluxDB. So one of the tags should be e.g. event=block-added, host=node0.

Status

Assignee

Sebastian Bach

Reporter

Adam Szkoda

Components

None

Story Points

None

Epic Link

None

Labels

None

Priority

Medium
Configure