Documentation forAppOptics

Metrics

Once installed and enabled, the APM agents automatically start reporting key performance metrics about your application. These include response time and error rate for the service as a whole, or for a particular transaction. AppOptics also provides a set of trace-derive metrics for various types of outbound calls made by your application, such as response time for database calls that can be filtered by database host or query operation. In addition, several of the agents report language-specific runtime metrics about the execution environment of your application.

Standard Metrics

The tables below list the default set of metrics collected by the APM agent. Counts are reported every minute.

Service Metrics

Metric Description
trace.service.errors Service error count
trace.service.error_rate Service error rate (%)
trace.service.host.errors Host error count
trace.service.host.requests Host request count
trace.service.host.response_time Host response time
trace.service.hosts.count Service host count
trace.service.http_method.requests Service HTTP method count
trace.service.http_method.response_time Service response time by HTTP method
trace.service.http_status.requests Service HTTP status count
trace.service.http_status.response_time Service response time by HTTP method
trace.service.requests Service request count
trace.service.response_time Service average response time
trace.service.response_time.p50 Service response time of the top 50%
trace.service.response_time.p95 Service response time of the top 95%
trace.service.response_time.p99 Service response time of the top 99%
trace.service.response_time.p999 Service response time of the top 99.9%
trace.service.transaction.errors Transaction error count
trace.service.transaction.http_method.requests Transaction HTTP method count
trace.service.transaction.http_status.requests Transaction HTTP status count
trace.service.transaction.requests Transaction request count
trace.service.transaction.response_time Transaction average response time
trace.service.transaction.response_time.p50 Transaction response time of the top 50%
trace.service.transaction.response_time.p95 Transaction response time of the top 95%
trace.service.transaction.response_time.p99 Transaction response time of the top 99%

Service Metric Tags

Tag Name Description
hostname Name of the host. Instead of using this tag we recommend using the @host alias
method HTTP request method
service Name of the service
status HTTP status code
transaction Name of the transaction

Sampled Trace-Derived Metrics

Trace-derived metrics are pulled from the traces gathered by the APM agent. Note that under load, the agent doesn't necessarily trace 100% of requests, so unlike the standard metrics above, these are not guaranteed to reflect all the activity in your applications.

Database Metrics

Metric Description
trace.service.outbound_calls.database.query.response_time_per_trace Service database query average response time per trace
trace.service.outbound_calls.database.query.response_time Service database query average response time
trace.service.outbound_calls.database.query.count_per_trace Service database query average count per trace

Database Metric Tags

Tag Name Description
service Name of the service
database Name of the database
database_host The Database Host
query_op Query operation
query_table Database Table

Cache Metrics

Metric Description
trace.service.outbound_calls.cache.op.response_time_per_trace Service cache op average response time per trace
trace.service.outbound_calls.cache.op.response_time Service cache op query average response time
trace.service.outbound_calls.cache.op.count_per_trace Service cache op average count per trace
trace.service.outbound_calls.cache.op.hit_rate Servce cache op average hit rate

Cache Metric Tags

Tag Name Description
service Name of the service
cache Name of the cache
cache_host The Cache Host
cache_op Cache operation

Remote Service Metrics

Metric Description
trace.service.outbound_calls.remote_service.call.response_time_per_trace Service remote call average response time per trace
trace.service.outbound_calls.remote_service.call.response_time Service remote call query average response time
trace.service.outbound_calls.remote_service.call.count_per_trace Service remote call average count per trace

Remote Service Metric Tags

Tag Name Description
service Name of the service
remote_service Name of the remote service
remote_service_type Remotes service type
remote_service_op Remote service operation

Exception Metrics

Metric Description
trace.service.exceptions.count Service exceptions count

Exception Metric Tags

Tag Name Description
service Name of the service
transaction Name of the transaction
exception_class Name of the Exception Class
message_hash A hash of the message
backtrace_hash A hash of the backtrace

Other Sampled Metrics

Metric Description
trace.service.critical_path.response_time_per_trace Service critical path average response time

Other Sampled Metric Tags

Tag Name Description
service Name of the service
transaction Name of the transaction
layer_name Name of the Layer
layer_type The type of Layer

Runtime Metrics

Many of our agents also report language-specifc runtime metrics, to provide you insight and monitoring on memory, CPU and other statistics about your application's execution environment. An example is using the JMX metrics reported by the Java agent to correlate between application performance and JVM metrics such as garbage collection, heap size, and thread count.

The agents report runtime metrics out-of-the-box; on detecting these metrics, AppOptics automatically creates a preconfigured dashboard in your account to help you easily monitor key metrics right away:

JMXDashboard

These runtime metrics are also available throughout the AppOptics system for you to use in custom charts and dashboards and alerts.

See the links below on the metrics for each language runtime and agent-specific configuration:

Runtime Metric Tags

Runtime metrics, regardless of agent, will have the following tags:

Tag Name Description
hostname Name of the host
service Name of the service