ci: Setup otel tracing for windows integration tests
Related to:

- https://github.com/moby/moby/pull/45652

**- What I did**

* Set up Jaeger before running integration tests on Windows builds
* Download traces and put them in build artifacts

Note that for both Linux and Windows builds, the trace file can't be fully imported in Jaeger due to its size. In addition, big trace files also tend to create many many DOM nodes, leading to unresponsive browser tab. One have to tweak the CI config on a given PR to limit how much integration tests are run to get a usable trace file.

**- A picture of a cute animal (not mandatory but encouraged)**

![](https://www.thesprucepets.com/thmb/bKgaPD0oT0AjK6-QdbbxpnX-3xM=/1280x0/filters:no_upscale():strip_icc()/step_6-clownfish-596f711ac4124400102014c2.jpg)
.github/actions/setup-tracing/action.yml
name: 'Setup Tracing'
description: 'Composite action to set up the tracing for test jobs'

runs:
  using: composite
  steps:
    - run: |
        set -e
        docker run -d --net=host --name jaeger -e COLLECTOR_OTLP_ENABLED=true jaegertracing/all-in-one:1.46
        docker0_ip="$(ip -f inet addr show docker0 | grep -Po 'inet \K[\d.]+')"
        echo "OTEL_EXPORTER_OTLP_ENDPOINT=http://${docker0_ip}:4318" >> "${GITHUB_ENV}"
      shell: bash

name: 'Setup Tracing'
description: 'Composite action to set up the tracing for test jobs'

runs:
  using: composite
  steps:
    - run: |
        set -e
        # Jaeger is set up on Windows through an inline run step. If you update Jaeger here, don't forget to update
        # the version set in .github/workflows/.windows.yml.
        docker run -d --net=host --name jaeger -e COLLECTOR_OTLP_ENABLED=true jaegertracing/all-in-one:1.46
        docker0_ip="$(ip -f inet addr show docker0 | grep -Po 'inet \K[\d.]+')"
        echo "OTEL_EXPORTER_OTLP_ENDPOINT=http://${docker0_ip}:4318" >> "${GITHUB_ENV}"
      shell: bash

```suggestion
      if: runner.os == 'Linux'
```