mirror of
https://github.com/gluster/glusterd2.git
synced 2026-02-05 12:45:38 +01:00
Implement glustercli command to get the current tracing status on the cluster. The tracing info is read from the store and presented to the user in table format with info like Status, Jaeger Endpoints, Sampler type and sample fraction. For e.g., +------------------------+----------------------------+ | TRACE OPTION | VALUE | +------------------------+----------------------------+ | Status | enabled | | Jaeger Endpoint | http://192.168.122.1:14268 | | Jaeger Agent Endpoint | http://192.168.122.1:6831 | | Jaeger Sampler | 2 (Probabilistic) | | Jaeger Sample Fraction | 0.99 | +------------------------+----------------------------+ Add "trace enable" e2e test cases. The tests also exercise the "trace status" request. closes #1368 Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>