export const metrics = {
  tezos_relay_events_detected_total: 0,
  tezos_relay_confirmations_submitted_total: 0,
  tezos_relay_confirmations_failed_total: 0,
  tezos_relay_pending_requests: 0,
};
export function incrementEventsDetected() { metrics.tezos_relay_events_detected_total++; }
export function incrementConfirmationsSubmitted() { metrics.tezos_relay_confirmations_submitted_total++; }
export function incrementConfirmationsFailed() { metrics.tezos_relay_confirmations_failed_total++; }
export function setPendingRequests(n) { metrics.tezos_relay_pending_requests = n; }
export function getMetrics() { return { ...metrics }; }
