fix: correct help text for prometheus metrics (#2453)
This commit is contained in:
@@ -39,8 +39,6 @@ async function getPrometheusResponse() {
|
|||||||
const id = `interface="${wgInterface.name}"`;
|
const id = `interface="${wgInterface.name}"`;
|
||||||
|
|
||||||
const returnText = [
|
const returnText = [
|
||||||
'# HELP wg-easy and wireguard metrics',
|
|
||||||
'',
|
|
||||||
'# HELP wireguard_configured_peers',
|
'# HELP wireguard_configured_peers',
|
||||||
'# TYPE wireguard_configured_peers gauge',
|
'# TYPE wireguard_configured_peers gauge',
|
||||||
`wireguard_configured_peers{${id}} ${wireguardPeerCount}`,
|
`wireguard_configured_peers{${id}} ${wireguardPeerCount}`,
|
||||||
|
|||||||
Reference in New Issue
Block a user