I'm currently integrating Pinpoint APM with an application that uses Apache Camel, and I'd like to better understand how pinpoint identifies and monitors Camel entry point.
And If we need to develop a custom Pinpoint plugin for Apache Camel, which classes or interception points would you recommend instrumenting to accurately capture transaction boundaries and trace propagation?
Here's the Sample code below.
rest("/api").post("/ESP_WCS_GNR_REQ_COMMAND")
.id("ESP_WCS_GNR_REQ_COMMAND")
.to("direct:forward-command");
from("direct:forward-command")
.routeId("req-command")
.log(LoggingLevel.INFO,"============== [REQ_COMMAND] Receiving Inbound ==============")
.log(LoggingLevel.INFO,"1. Req Body: ${body}")
.removeHeaders("CamelHttp*")
.setHeader(HTTP_CONTENT_TYPE_HEAD, constant(HTTP_CONTENT_TYPE_JSON))
.to("undertow:http://localhost:8010/command-call")
.log(LoggingLevel.INFO," Final Response Body: ${body}")
Thanks
I'm currently integrating Pinpoint APM with an application that uses Apache Camel, and I'd like to better understand how pinpoint identifies and monitors Camel entry point.
And If we need to develop a custom Pinpoint plugin for Apache Camel, which classes or interception points would you recommend instrumenting to accurately capture transaction boundaries and trace propagation?
Here's the Sample code below.
Thanks