2024-04-15 13:28:35 +00:00
|
|
|
when (NimMajor, NimMinor) < (1, 4):
|
|
|
|
{.push raises: [Defect].}
|
|
|
|
else:
|
|
|
|
{.push raises: [].}
|
|
|
|
|
|
|
|
import metrics
|
|
|
|
|
|
|
|
declarePublicCounter waku_service_requests,
|
|
|
|
"number of non-relay service requests received", ["service"]
|
|
|
|
declarePublicCounter waku_service_requests_rejected,
|
|
|
|
"number of non-relay service requests received being rejected due to limit overdue",
|
|
|
|
["service"]
|
2024-05-09 18:07:49 +00:00
|
|
|
|
|
|
|
declarePublicCounter waku_service_inbound_network_bytes,
|
|
|
|
"total incoming traffic of specific waku services", labels = ["service"]
|
|
|
|
|
|
|
|
declarePublicCounter waku_service_outbound_network_bytes,
|
|
|
|
"total outgoing traffic of specific waku services", labels = ["service"]
|