mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-10 04:27:25 +01:00
Update configuration.md
Add an additional receiver to have better alignment of components
This commit is contained in:
parent
1961edc659
commit
8c668fcc6f
@ -37,11 +37,12 @@ flowchart LR
|
|||||||
subgraph Receivers ["Receivers"]
|
subgraph Receivers ["Receivers"]
|
||||||
direction TB
|
direction TB
|
||||||
nats["NATS"]
|
nats["NATS"]
|
||||||
|
httprecv["HTTP"]
|
||||||
miscrecv[...]
|
miscrecv[...]
|
||||||
end
|
end
|
||||||
|
|
||||||
subgraph calc["Aggregator"]
|
subgraph calc["Aggregator"]
|
||||||
direction TB
|
direction LR
|
||||||
cache["Cache"]
|
cache["Cache"]
|
||||||
agg["Calculator"]
|
agg["Calculator"]
|
||||||
end
|
end
|
||||||
@ -60,6 +61,7 @@ flowchart LR
|
|||||||
misc --> CollectorManager
|
misc --> CollectorManager
|
||||||
|
|
||||||
nats --> ReceiverManager["ReceiverManager"]
|
nats --> ReceiverManager["ReceiverManager"]
|
||||||
|
httprecv --> ReceiverManager
|
||||||
miscrecv --> ReceiverManager
|
miscrecv --> ReceiverManager
|
||||||
|
|
||||||
CollectorManager --> newrouter["Router"]
|
CollectorManager --> newrouter["Router"]
|
||||||
@ -184,4 +186,4 @@ The receivers are a special feature of the CC Metric Collector to enable simpler
|
|||||||
|
|
||||||
This example configuration creates two receivers with the names `nats_rack0` and `nats_rack1`. While one subscribes to metrics published with the `rack0` subject, the other one subscribes to the `rack0` subject. The NATS server is the same as it manages all subjects in a subnet. (As example, the router could add tags `rack=0` and `rack=1` respectively to the received metrics.)
|
This example configuration creates two receivers with the names `nats_rack0` and `nats_rack1`. While one subscribes to metrics published with the `rack0` subject, the other one subscribes to the `rack0` subject. The NATS server is the same as it manages all subjects in a subnet. (As example, the router could add tags `rack=0` and `rack=1` respectively to the received metrics.)
|
||||||
|
|
||||||
All types and possible receiver-specific configuration options can be found [here](../receivers/README.md).
|
All types and possible receiver-specific configuration options can be found [here](../receivers/README.md).
|
||||||
|
Loading…
Reference in New Issue
Block a user