Add root subject cc for NATS

This commit is contained in:
2025-12-23 09:20:12 +01:00
parent 4594c99395
commit 277bfa6c79

View File

@@ -31,16 +31,16 @@ There are four line-protocol message flavors:
- **Metric**: The `field` key is `value`, the `measurement` is the metric name - **Metric**: The `field` key is `value`, the `measurement` is the metric name
- **Event**: The `field` key is `event`. Events are actionable informations. The - **Event**: The `field` key is `event`. Events are actionable informations. The
`measurement` is set to an event class (job, slurm, status, phases, ?? ). Additional tag `measurement` is set to an event class (job, slurm, status, phases, ?? ).
`function` to indicate the purpose, similar to a REST endpoint (for the job Additional tag `function` to indicate the purpose, similar to a REST endpoint
class this can be start_job and stop_job). (for the job class this can be start_job and stop_job).
- **Log**: The `field` key is `log`. Log messages are purely informational. - **Log**: The `field` key is `log`. Log messages are purely informational.
The `measurement` is set to the component identifier [ccb, ccms, ccmc, ccem, The `measurement` is set to the component identifier [ccb, ccms, ccmc, ccem,
ccnc]. Additional tag `loglevel` to set the log level (debug, info, warn, ccnc]. Additional tag `loglevel` to set the log level (debug, info, warn,
error). error).
- **Control**: The `field` key is `control`, the `measurement` is set to a - **Control**: The `field` key is `control`, the `measurement` is set to a
control class (rapl, freq, prefetcher, topology, config). Additional tag control class (rapl, freq, prefetcher, topology, config). Additional tag
`method` with on of [GET,PUT]. `method` with on of [GET,PUT].
## Messaging subjects ## Messaging subjects
@@ -50,14 +50,14 @@ types and easily filter the types an application is interested in the following
subject hierarchy tree is used: subject hierarchy tree is used:
```txt ```txt
<cluster name>. | cc.<cluster name>. |
--- metrics --- metrics
| |
--- events.[job, slurm] --- events.[job, slurm]
| |
--- log.[ccb, ccms, ccmc, ccem, ccnc] --- log.[ccb, ccms, ccmc, ccem, ccnc]
| |
--- control.[get, put] --- control.[get, put]
``` ```
## Rules valid for all message categories ## Rules valid for all message categories