Skip to content

geekq/kurs-SRE-example-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shop Metrics

shop-metrics is a simple Go application to demonstrate how to expose Prometheus metrics. It allows you to adjust a global speed variable via /faster and /slower endpoints.

Endpoints

  • / - Welcome message
  • /faster - Increases the speed
  • /slower - Decreases the speed
  • /metrics - Exposes Prometheus metrics

Running the Application

go run main.go

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages