Update configuration.md

Add an additional receiver to have better alignment of components
This commit is contained in:
Thomas Gruber 2022-03-04 18:33:57 +01:00 committed by GitHub
parent 1961edc659
commit 8c668fcc6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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).