Configuration
ClusterCockpit Metric Store Configuration Option References
Categories:
Configuration options are located in a JSON file. Default path is config.json
in current working directory. Alternative paths to the configuration file can be
specified using the command line switch -config <filename>.
All durations are specified as string that will be parsed like
this (Allowed suffixes: s, m, h,
…).
Recognized attributes:
- metrics: Map of metric-name to objects with the following properties (required)- frequency: Timestep/Interval/Resolution of this metric (required)
- aggregation: Can be- "sum",- "avg"or- null(required)- nullmeans aggregation across nodes is forbidden for this metric
- "sum"means that values from the child levels are summed up for the parent level
- "avg"means that values from the child levels are averaged for the parent level
 
 
- nats: (optional)- address: Url of NATS.io server, example: “nats://localhost:4222”
- creds-file-path: Path to a NATS credentials file
- subscriptions(array of objects):- subscribe-to: Where to expect the measurements to be published
- cluster-tag: Default value for the cluster tag
 
 
- http-api: (required)- address: Address to bind to, for example- 0.0.0.0:8080(required)
- https-cert-fileand- https-key-file: if provided enable HTTPS using those files as certificate/key (optional)
 
- jwt-public-key: Base64 encoded string, use this to verify requests to the HTTP API (required)
- retention-on-memory: Keep all values in memory for at least that amount of time (required)
- checkpoints: (required)- interval: Do checkpoints every X seconds/minutes/hours (required)
- directory: Path to a directory (required)
- restore: After a restart, load the last X seconds/minutes/hours of data back into memory (required)
 
- archive: (required)- interval: Move and compress all checkpoints not needed anymore every X seconds/minutes/hours (required)
- directory: Path to a directory (required)
 
Feedback
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.