Page on unresolved notification delivery, and keep individual API errors as investigation evidence. An error counter without a delivery outcome cannot tell a fintech responder whether a customer notification still needs attention.
TL;DR: To capture and resolve API errors in a Node.js notification service, connect each failed attempt to the logical notification, record a bounded failure class, and close the investigation only after checking the delivery outcome. The Go example below instruments a caller at the API boundary; it gives a Node.js service a reproducible failing request without requiring JavaScript instrumentation code. It deliberately stops short of claiming that an API acknowledgment proves delivery.
OpenTelemetry describes metrics as measurements of a service captured at runtime, with aggregation across measurements. That makes them useful for finding a pattern; the individual attempt record supplies the context needed to investigate it.…