I’m currently working on a Payment Provider connector and I’d like to add observability and monitoring to it.
My goal is to configure OpenTelemetry (or another observability library) so that I can collect metrics, traces, and logs from the Payment Provider and send them to an external service like Datadog (or similar).
I’ve already searched the VTEX documentation, but I couldn’t find any references or examples about how to implement observability in a Payment Provider connector
Has anyone here already implemented this type of integration in a VTEX Payment Provider?
-
Which approach or library worked best for you?
-
Any examples, references, or best practices you could share?
Any suggestions or experiences would be greatly appreciated!