Skip to content

weltling/cloud-hypervisor-otel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

OpenTelemetry Infrastructure for Cloud Hypervisor.

Synopsis

This repo carries an example observability infrastructure implementation for Cloud Hypervisor. The data is dispatched to the collector service.

OpenTelemetry

The OpenTelemetry stack in this implementation include

  • Collector service
  • Jaeger
  • Prometheus

All the components are pulled in each in a docker container.

Quick Start

Preparing host

Ubuntu

$ sudo apt install docker.io

Setup user group

The user has to be added to the docker group. Alternatively, docker operations can be run as root, which is not recommended.

Bring up the OpenTelemetry stack

In a console, run

$ docker compose up

To restart the containers, the command below can be used

$ docker rm -f -v $(docker ps -a -q)

whereby running containers and their properties can be listed using

$ docker ps -a

Once the docker containers are running, the UI instances are available

Tool Address
Prometheus http://<IP Address>:9090/
Jaeger http://<IP Address>:16686/

Invoke Cloud Hypervisor

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.

About

OpenTelemetry Infrastructure for Cloud Hypervisor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published