OpenTelemetry Infrastructure for Cloud Hypervisor.
This repo carries an example observability infrastructure implementation for Cloud Hypervisor. The data is dispatched to the collector service.
The OpenTelemetry stack in this implementation include
- Collector service
- Jaeger
- Prometheus
All the components are pulled in each in a docker container.
$ sudo apt install docker.io
The user has to be added to the docker
group. Alternatively, docker operations can be run as root, which is not recommended.
In a console, run
$ docker compose up
$ docker rm -f -v $(docker ps -a -q)
whereby running containers and their properties can be listed using
$ docker ps -a
Tool | Address |
---|---|
Prometheus | http://<IP Address>:9090/ |
Jaeger | http://<IP Address>:16686/ |
Obtain Cloud Hypervisor branch
$ git checkout https://github.com/weltling/cloud-hypervisor
$ git checkout otel
$ cargo build --features=otel
The resulting cloud-hypervisor
binary can be invoked to send the telemetry to the collector service.