JMX Monitoring

The Resolution Service exposes key runtime metrics via Spring Boot Actuator endpoints using Micrometer Gauges. These metrics reflect internal counters such as redelivered, failed, and successfully resolved messages.

Accessing Metrics

All metrics are available at:

Replace <host> and <port> with the actual service URL.The port configured via management.server.port in application.properties(default is configured as port 8081).

Available Metrics

1. Resolver Messages Received

To view how many messages were received:

Example curl command:

curl --location 'http://localhost:8081/resolution-service/metrics/resolver.messages.received'

2. Resolver Messages Succeeded

To view how many messages were successfully processed:

Example curl command:

curl --location 'http://localhost:8081/resolution-service/metrics/resolver.messages.succeeded'

3. Resolver Messages Failed (Permanent)

To view how many messages failed permanently:

Example curl command:

curl --location 'http://localhost:8081/resolution-service/metrics/resolver.messages.failedFinal'

4. Resolution Messages Redelivered

To view how many messages were redelivered:

Example curl command:

curl --location 'http://localhost:8081/resolution-service/metrics/resolution.messages.redelivered'

5. Resolution Messages Failed (Temporary)

To view how many messages temporarily failed:

Example curl command:

curl --location 'http://localhost:8081/resolution-service/metrics/resolution.messages.failedTemporary'

6. Resolution Messages Ignored

To view how many messages were ignored/skipped:

Example curl command:

curl --location 'http://localhost:8081/resolution-service/metrics/resolution.messages.ignored'