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"] 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"]