skydive-project / skydive

An open source real-time network topology and protocols analyzer
https://skydive.network
Apache License 2.0
2.67k stars 402 forks source link

analyzer hierarchy support #2341

Open hunchback opened 3 years ago

hunchback commented 3 years ago

as illustrated in https://github.com/skydive-project/skydive/pull/2336 I wanted to construct a hierarchy of analyzers:

but, alas this option is not supported and as a result:

image

the desired change is for a subordinated analyzer to be able to stop accepting updated from the top-level analyzer - so for example if east is configure currently:

analyzers: 
- broker:30082

etcd:
  embedded: false
  servers:
  - http://broker:30079

the change would require to add:

analyzer:
    # mode: in our case relevant for broker
    # mode: readwrite
    mode: read

agent:
    # mode: in our case relevant for east and west
    # mode: readwrite
    mode: write

which would bring the result that:

lebauce commented 3 years ago

@hunchback Addressed by https://github.com/skydive-project/skydive/pull/2369