observability

o11y, monitoring, logging, tracing, alerting and higher level discussions
James Carr 2021-06-09T20:24:13.004800Z

Speaking of that, curious about how people add tracing to pedestal's middleware

James Carr 2021-06-09T20:25:27.005800Z

right now, exceptions caught in pedestal don't get displayed for us in APM. I suspect it is because we need the equivalent of

try {
    runSomething();
} catch (Exception e) {
    Otel.captureException(e);
}

James Carr 2021-06-09T20:25:57.006200Z

wherever pedestal catches exceptions.

emccue 2021-06-09T22:10:49.006600Z

@james.r.carr you want to add an interceptor to your interceptor chain

1
emccue 2021-06-09T22:10:56.006900Z

that does nothing on enter

emccue 2021-06-09T22:11:01.007100Z

but on exit looks for an :error

emccue 2021-06-09T22:11:26.007600Z

thrown exceptions aren't propagated directly to other interceptors , so that is your way to do