cc-event-store's REST API
Documentation of cc-event-store’s REST API
A simple short-term store for job and system events as well as logs in the ClusterCockpit ecosystem. Event and Logs were introduced
as an extension to the previous CCMetric
messages, numeric data from the compute nodes known as metrics (see lineprotocol
specifcation at cc-specification). Events and Logs are strings and in contrast to the periodic sending of metric from the cc-metric-collector
, events and logs can happen at any time. All storage backends have a configuration option for the retention time for which events should be kept. Logs are never deleted.
{
"receiver" : "/path/to/receiver/config/file",
"storage" : "/path/to/storage/config/file",
"api" : "/path/to/api/config/file"
}
For the format of each file, see here:
The cc-event-store
has 4 components that are coupled together in the binary.
cc-metric-collector
. There they are used to receive metrics from remote targets but are flexible enough to receive events and logs as well. See cc-metric-collector
’s receivers.This also explains why cc-event-store
uses multiple configuration files, all coupled by a central configuration file. Each component has its own configuration file which makes it possible to reuse the receivers from cc-metric-collector
without any changes, it just requires its configuration file.
Documentation of cc-event-store’s REST API
Documentation of cc-event-store’s storage backends
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.