This commit is contained in:
@@ -30,12 +30,12 @@ func (a *App) handleMetrics(w http.ResponseWriter, r *http.Request) {
|
||||
w.Header().Set("Content-Type", "text/plain; version=0.0.4")
|
||||
w.WriteHeader(http.StatusOK)
|
||||
_, _ = w.Write([]byte(
|
||||
`# HELP pluto_build_info Build info
|
||||
# TYPE pluto_build_info gauge
|
||||
pluto_build_info{version="v0.1.0-dev"} 1
|
||||
# HELP pluto_up Whether the pluto-api process is up
|
||||
# TYPE pluto_up gauge
|
||||
pluto_up 1
|
||||
`# HELP atlas_build_info Build info
|
||||
# TYPE atlas_build_info gauge
|
||||
atlas_build_info{version="v0.1.0-dev"} 1
|
||||
# HELP atlas_up Whether the atlas-api process is up
|
||||
# TYPE atlas_up gauge
|
||||
atlas_up 1
|
||||
`,
|
||||
))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user