Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

486 B
Raw Blame
use router_env::{counter_metric, global_meter, histogram_metric_f64};

global_meter!(GLOBAL_METER, "ROUTER_API");

counter_metric!(REQUEST_BUILD_FAILURE, GLOBAL_METER);

histogram_metric_f64!(EXTERNAL_REQUEST_TIME, GLOBAL_METER);

counter_metric!(AUTO_RETRY_CONNECTION_CLOSED, GLOBAL_METER);

// HTTP Client creation metrics
counter_metric!(HTTP_CLIENT_CREATED, GLOBAL_METER);
counter_metric!(HTTP_CLIENT_CACHE_HIT, GLOBAL_METER);
counter_metric!(HTTP_CLIENT_CACHE_MISS, GLOBAL_METER);