Skip to content

Manually test OpenMetrics scrappers like Prometheus, DataDog, Metricbeat, etc.

License

Notifications You must be signed in to change notification settings

onelapahead/openmetrics-mocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openmetrics-mocker

Simple go server that serves a textfile from disk for its metrics endpoint. Allows for manual testing of OpenMetrics scrapers and visualizers.

Development and Testing

Run locally:

go run cmd/server.go

Build locally:

docker build -t openmetrics-mocker -f build/Dockerfile .

Deploy to Kubernetes:

# NOTE: modify the configmap to update the metrics whenever you need.
#       you may also want to modify the image if testing your own
#       version of the image.
kubectl apply -f deployments/deploy.yaml

About

Manually test OpenMetrics scrappers like Prometheus, DataDog, Metricbeat, etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published