caas-team / sparrow

A monitoring tool to gather infrastructure network information
Apache License 2.0
7 stars 4 forks source link

feat: instrument traceroute check #186

Closed lvlcn-t closed 1 month ago

lvlcn-t commented 2 months ago

Motivation

Partly addresses #111 but could also be extended to the other checks and parts of the sparrow to provide technical information about the sparrow.

Changes

I've instrumented the traceroute check to provide more information about how the traceroute performed. The traceroute check now starts a span for each target to trace the route to. In this span each hop then starts a new span to provide information about the hop. The spans are then sent to the configured telemetry backend.

For additional information look at the commits.

Tests done

Manual e2e tests

Here is how the traces will then look like in Jaeger:

image

And this is how a trace then looks like:

image

TODO