Servicegraph is being replaced by Kiali as the default visualization integration.
Servicegraph is a small app that generates and visualizes graph representations of your Istio service mesh. Servicegraph is dependent on the Prometheus addon and the standard metrics configuration. The documentation for deploying and using Servicegraph is here.
-
/force/forcegraph.html
is an interactive D3.js visualization. -
/dotviz
is a static Graphviz visualization.
-
/dotgraph
provides a DOT serialization. -
/d3graph
provides a JSON serialization for D3 visualization. -
/graph
provides a JSON serialization.
All endpoints take these query parameters:
-
time_horizon
controls the timespan to consider for graph generation. Format is a number plus a time unit. Example15s
or1m
. Default is5m
. -
filter_empty=true
will restrict the nodes and edges shown to only those that reflect non-zero traffic levels during the specifiedtime_horizon
. Default isfalse
. -
destination_namespace
will filter the nodes and edges show to only those where the destination workload is in the given namespace. -
destination_workload
will filter the nodes and edges show to only those where the destination workload is with the given name. -
source_namespace
will filter the nodes and edges show to only those where the source workload is in the given namespace. -
source_workload
will filter the nodes and edges show to only those where the source workload is with the given name.
Defined in servicegraph/cmd/demosvc
, this provides a simple HTTP
endpoint that generates Prometheus metrics. This can be used to test
the servicegraph service.