#Monitor external service errors/success rate

2 messages · Page 1 of 1 (latest)

uneven hedge
#

Hello.
I want to be able to detect how many success/errors i'm getting while communicating over HTTP with an external service (REST API). Is the best way to do this using tracing?
My initial goal is to:
Have some sort of score, success responses increment this score, while errors decrement them.

agile tree
#

yeah you can use tracing for this. Here are the product docs for this.

You can count how many spans with op=http.client (outgoing requests) have an error or are successful