@@ -7,6 +7,8 @@ for the 3 different components of a Labgrid distributed infrastructure.
77- **labgrid-coordinator **
88 An image with the Labgrid coordinator.
99 a Labgrid coordinator instance.
10+ - **labgrid-coordinator-statsd **
11+ An image with a statsd reporter for the Labgrid coordinator.
1012- **labgrid-client **
1113 An image with the Labgrid client tools and pytest integration.
1214- **labgrid-exporter **
@@ -27,7 +29,7 @@ Example showing how to build labgrid-client image:
2729 Using `BuildKit <https://docs.docker.com/develop/develop-images/build_enhancements/ >`_
2830is recommended to reduce build times.
2931
30- You can also choose to build all 3 images with the included script. The script
32+ You can also choose to build all images with the included script. The script
3133will automatically use `docker buildx
3234<https://docs.docker.com/engine/reference/commandline/buildx/> `` if available.
3335
@@ -39,7 +41,6 @@ will automatically use `docker buildx
3941 The script supports ``podman `` as well.
4042
4143.. code-block :: bash
42-
4344 $ export DOCKER=podman
4445 $ ./dockerfiles/build.sh
4546
@@ -79,6 +80,20 @@ so you can restart the service without losing state.
7980 docker.io/labgrid/coordinator
8081
8182
83+ labgrid-coordinator-statsd usage
84+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
85+
86+ The labgrid-coordinator-statsd image can be used to run a statsd reporter for the coordinator.
87+
88+ The address of the statsd server and other options can be configured using parameters as passed to the ``contrib/coordinator-statsd.py `` script.
89+ For example, to run the statsd reporter with a coordinator at 192.168.1.42:20408:
90+
91+ .. code-block :: bash
92+
93+ $ docker run -e LG_COORDINATOR=192.168.1.42:20408 docker.io/labgrid/coordinator-statsd \
94+ --statsd-server=192.168.1.50
95+
96+
8297 labgrid-client usage
8398~~~~~~~~~~~~~~~~~~~~
8499
@@ -141,7 +156,7 @@ client:
141156.. code-block :: bash
142157
143158 $ cd dockerfiles/staging
144- $ CURRENT_UID=$( id -u) :$( id -g) docker compose up -d coordinator exporter dut
159+ $ CURRENT_UID=$( id -u) :$( id -g) docker compose up -d coordinator coordinator-statsd exporter dut
145160
146161 To run the smoke test just run the client:
147162
0 commit comments