Skip to content

Transaction Monitoring

Track transactions, response times, errors, and throughput across services.

3 min read Updated SS

HEAL's Transaction Monitoring provides near-real-time tracking and analysis, subject to collection, export, and indexing latency, of transactions across services and components. It captures eligible HTTP requests, database operations, and inter-service calls according to the installed instrumentation, exclusions, and sampling configuration.


What Transaction Monitoring Provides#

Capability Description
Real-time tracking Monitors captured transactions as they flow through instrumented application paths
Response time analysis Measures end-to-end response time for captured transactions
Error rate tracking Tracks transaction success and failure rates
Throughput measurement Monitors transactions per second (TPS) across services
End-to-end tracing Shows the full request path across all services with span-level timing
Bottleneck identification Highlights slow services and components in the transaction path

How It Works#

HEAL uses two levels of transaction monitoring:

Standard Monitoring (Component Agent)#

The Component Agent collects aggregate transaction metrics:

  • Total request count and requests per second
  • Average response time
  • Error count and error rate
  • Active sessions
  • HTTP status code distribution

Intrusive Monitoring (JIM Agent)#

The Java Instrumentation and Monitoring (JIM) provides deep insights into application performance by monitoring and tracing code execution at the JVM level.

JIM uses bytecode instrumentation to:

  • Track Java applications running on JVMs
  • Capture detailed telemetry data on transactions and methods
  • Identify critical code segments that are highly resource-intensive
  • Track exceptions, errors, and execution slowdowns
  • Record the complete call tree for each transaction

Low Overhead

The JIM agent instruments application bytecode at the JVM level, so no code changes are required and overhead depends on instrumentation scope, sampling, workload, and environment. Measure CPU, memory, latency, and telemetry volume under representative load before production rollout.


Viewing Transactions in HEAL UI#

Transaction metrics appear in the Workload tab of each service instance in the HEAL UI, and full distributed traces open in the integrated Jaeger UI, where you can search by service, operation, duration, or error status. For step-by-step navigation instructions and guidance on reading traces, see User Guide — Transaction Monitoring.


Transaction Metrics Collected#

Aggregate Metrics (Component Agent)#

Metric Description Collection Interval
Request Count Total number of requests Configured aggregate collection interval
Response Time Average response time per request Configured aggregate collection interval
Error Count Number of failed requests Configured aggregate collection interval
Active Sessions Current active user sessions Configured aggregate collection interval
TPS Transactions per second Configured aggregate collection interval

Trace-Level Data (JIM Agent)#

Data Description
Request URL / operation The endpoint or method being called
HTTP method GET, POST, PUT, DELETE, etc.
Response status HTTP status code (200, 500, etc.)
Call tree Complete method call hierarchy within the JVM
Database queries SQL statements executed during the transaction
External calls Calls to other services with timing
Exceptions Stack traces for any exceptions thrown

Auto-Instrumented Frameworks#

JIM can auto-instrument supported frameworks when the required agent and approved instrumentation, exclusion, sampling, and export configuration are enabled:

Framework What Gets Traced
Spring / Spring Boot Controller methods, REST endpoints, service layer
JAX-RS / JAX-WS REST and SOAP web service calls
JDBC Database queries and connection management
HTTP clients Outgoing HTTP calls (HttpURLConnection, Apache HttpClient, OkHttp)
JMS Message queue send/receive operations
Servlet All incoming HTTP requests

Correlating Transactions with Other Data#

Transaction data can be correlated with:

Data Source Correlation
ConfigWatch Did a config change cause the performance degradation?
Early Warning Did threshold breaches coincide with slow transactions?
Log Monitoring What errors appeared in logs during the slow transaction?
Automated Forensics Thread dumps and heap snapshots captured during the incident

Trace and audit data. Capture only approved fields. Exclude or mask credentials, tokens, authorization headers, cookies, payment data, personal identifiers, and request or response bodies unless governance requirements are met. Restrict HEAL, Jaeger, and Grafana access and apply approved retention.