Skip to content

This repo contains an experimental feature to support VM telemetry with file-based service discovery of Prometheus.

License

Notifications You must be signed in to change notification settings

istio-ecosystem/sd-for-vm-telemetry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Service Discovery for VM Telemetry

Overview

This repo contains an experimental feature to support VM telemetry with file-based service discovery of Prometheus. For more information, one could access the RFC here. This repo provides the code to build the binary, which is hosted on Docker hub. The container will be deployed along with Prometheus as a sidecar, which will watch for the updates to the workload entries registered with VMs, and write the endpoint IP to a config map. The config map will then be mounted by the Prometheus as file, thus the service discovery. A sample of Prometheus deployment could be found in samples/prometheus.yaml.

Usage

To build the binary, simply run:

make build

The binary will be written to out directory.

To build the docker image, simply run:

make docker

To build the docker image and push, update the DOCKER_REPO and run:

make docker.push

About

This repo contains an experimental feature to support VM telemetry with file-based service discovery of Prometheus.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published