Metrics API abstractions for Node.js