How to enable access logs(NCSA) and latency for netty-http component ?
Issue
- We have deployed a number of applications on Fuse. These applications are exposed on a given
tcpport usingnettylisteners, and they serve real time requests for our customers.A given application, listens on two differentTCPports below.
http://0.0.0.0:PORT1/context1
https://0.0.0.0:PORT2/contex2
- We are interested to closely monitor each and every interaction request/response that our application serves in production. For each request, we are ultimately interested to log the information below:
- http return code
- result of the invocation (success/failure/error/timeout)
- end to end response time. This includes total latency that end user experiences while waiting for a reply from our systems. Our systems may have to route the given request to third party remote systems before returning a result to the calling client.
- We are rolling out an new use case where we're integrating with a
Googlesystem. One of the requirements that we must comply with is that end to end latency must remain below certain thresholds. We're interested to monitor in real time the latencies, return codes, and failure rates. - Can you please help me to understand how can we log http return code, as well as end to end latency for the given application running on fuse?
- We're interested to also catch and monitor failures that are occur early in the interaction before our application starts processing. For example, in some cases the calling client uses
httpsto consumeAPIs, and the interaction may fail prematurely when there are some issues with SSL. We would like to detect these cases as well.
Environment
- Red Hat JBoss Fuse
- 6.1.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
