Expose matrix-ops-bot /metrics endpoint
This commit is contained in:
parent
145a3e70c3
commit
2fde5ffc87
2 changed files with 2 additions and 0 deletions
|
|
@ -47,5 +47,6 @@ self: {
|
|||
machine.succeed("test -f /run/credentials/matrix-ops-bot.service/bot.env")
|
||||
|
||||
machine.succeed("curl -sf http://127.0.0.1:1111/ | grep -F '\"message\":\"Hello World\"'")
|
||||
machine.succeed("curl -sf http://127.0.0.1:1111/metrics | grep -F '# HELP'")
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue