The service graph enable some features to simplify operators daily tasks, here is a quick guide on how to use those fetaures.
The Service Graph will render by default only the Services
, but you can augment the available information by pressing:
Shift + f
toggle fullscreen modeShift + s
to add ServiceInstances
to the graphXOS define a model called ServiceGraphConstraint
, that let you enforce constraints on the nodes position.
Here is a basic of how it works:
["a", "b", "c"]
will position the nodes as:
a -> b -> c
["a", ["b", "c"]]
will position the nodes as:
b / a \ c
[[null, "a"], ["b", "c"]]
will position the nodes as:
b | a -> c
Note that all the notes not defined in the ServiceGraphConstraint
model will float around
xos.sg.update
will render the graph again