mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-16 09:55:07 +00:00
13 lines
370 B
Nim
13 lines
370 B
Nim
|
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"]
|