---
description: Monitor ePrescribing module performance with Prometheus metrics for messages and operations.
---

# List of Metrics

Module collects some useful metrics in Prometheus format

<table><thead><tr><th width="319.375">Metric name</th><th width="100.15234375">Type</th><th width="166.03125">Description</th><th>Labels</th></tr></thead><tbody><tr><td><strong>HTTP</strong></td><td></td><td></td><td></td></tr><tr><td>http_request_latency_seconds</td><td>histogram</td><td>The response latency for HTTP requests.</td><td>method<br>status<br>statusClass<br>path</td></tr><tr><td>http_requests_total</td><td>counter</td><td>The total number of HTTP requests processed.</td><td>method<br>status<br>statusClass<br>path</td></tr><tr><td>http_exceptions_total</td><td>counter</td><td>The total number of exceptions encountered during HTTP processing.</td><td>method<br>path<br>exceptionClass</td></tr><tr><td><strong>Adapters</strong></td><td></td><td></td><td></td></tr><tr><td>adapters_request_latency_seconds</td><td>histogram</td><td>The response latency for adapters requests.</td><td>adapter<br>action<br>status<br>statusClass</td></tr><tr><td>adapters_requests_total</td><td>counter</td><td>The total number of adapters requests processed.</td><td>adapter<br>action<br>status<br>statusClass</td></tr><tr><td>adapters_surescripts_responses_total</td><td>counter</td><td>The total number of Surescripts responses processed.</td><td>messageType<br>responseType<br>acknowledgement</td></tr><tr><td><strong>Services</strong></td><td></td><td></td><td></td></tr><tr><td>services_scheduler_processing_latency_seconds</td><td>histogram</td><td>Scheduler tasks processing latency.</td><td>taskName<br>status</td></tr><tr><td>services_scheduler_tasks_total</td><td>counter</td><td>The total number of scheduler tasks processed.</td><td>taskName<br>status</td></tr><tr><td>services_scheduler_active_tasks</td><td>gauge</td><td>Active scheduler tasks.</td><td>taskName</td></tr><tr><td>services_scheduler_exceptions_total</td><td>counter</td><td>The total number of exceptions encountered during scheduler processing.</td><td>taskName<br>exceptionClass</td></tr><tr><td>services_queue_processing_latency_seconds</td><td>histogram</td><td>Queue tasks processing latency.</td><td>taskName<br>status</td></tr><tr><td>services_queue_tasks_total</td><td>counter</td><td>The total number of queue tasks processed.</td><td>taskName<br>status</td></tr><tr><td>services_queue_active_tasks</td><td>gauge</td><td>Active queue tasks.</td><td>taskName</td></tr><tr><td>services_queue_queued_tasks</td><td>gauge</td><td>How many tasks in queue.</td><td>taskName</td></tr><tr><td>services_queue_exceptions_total</td><td>counter</td><td>The total number of exceptions encountered during queue processing.</td><td>taskName<br>exceptionClass</td></tr><tr><td><strong>System</strong></td><td></td><td></td><td></td></tr><tr><td>process_cpu_seconds_total</td><td>counter</td><td>Total user and system CPU time spent in seconds.</td><td></td></tr><tr><td>process_start_time_seconds</td><td>gauge</td><td>Start time of the process since unix epoch in seconds.</td><td></td></tr><tr><td>process_open_fds</td><td>gauge</td><td>Number of open file descriptors.</td><td></td></tr><tr><td>process_max_fds</td><td>gauge</td><td>Maximum number of open file descriptors.</td><td></td></tr><tr><td>process_resident_memory_bytes</td><td>gauge</td><td>Resident memory size in bytes.</td><td></td></tr><tr><td>process_virtual_memory_bytes</td><td>gauge</td><td>Virtual memory size in bytes.</td><td></td></tr><tr><td><strong>JVM</strong></td><td></td><td></td><td></td></tr><tr><td>jvm_threads_current</td><td>gauge</td><td>Current thread count of a JVM.</td><td></td></tr><tr><td>jvm_threads_daemon</td><td>gauge</td><td>Daemon thread count of a JVM.</td><td></td></tr><tr><td>jvm_threads_peak</td><td>gauge</td><td>Peak thread count of a JVM.</td><td></td></tr><tr><td>jvm_threads_started_total</td><td>counter</td><td>Started thread count of a JVM.</td><td></td></tr><tr><td>jvm_threads_deadlocked</td><td>gauge</td><td>Cycles of JVM-threads that are in deadlock waiting to acquire object monitors or ownable synchronizers.</td><td></td></tr><tr><td>jvm_threads_deadlocked_monitor</td><td>gauge</td><td>Cycles of JVM-threads that are in deadlock waiting to acquire object monitors.</td><td></td></tr><tr><td>jvm_threads_state</td><td>gauge</td><td>Current count of threads by state.</td><td>state</td></tr><tr><td>jvm_memory_objects_pending_finalization</td><td>gauge</td><td>The number of objects waiting in the finalizer queue.</td><td></td></tr><tr><td>jvm_memory_bytes_used</td><td>gauge</td><td>Used bytes of a given JVM memory area.</td><td>area</td></tr><tr><td>jvm_memory_bytes_committed</td><td>gauge</td><td>Committed (bytes) of a given JVM memory area.</td><td>area</td></tr><tr><td>jvm_memory_bytes_max</td><td>gauge</td><td>Max (bytes) of a given JVM memory area.</td><td>area</td></tr><tr><td>jvm_memory_bytes_init</td><td>gauge</td><td>Initial bytes of a given JVM memory area.</td><td>area</td></tr><tr><td>jvm_memory_pool_bytes_used</td><td>gauge</td><td>Used bytes of a given JVM memory pool.</td><td>pool</td></tr><tr><td>jvm_memory_pool_bytes_committed</td><td>gauge</td><td>Committed bytes of a given JVM memory pool.</td><td>pool</td></tr><tr><td>jvm_memory_pool_bytes_max</td><td>gauge</td><td>Max bytes of a given JVM memory pool.</td><td>pool</td></tr><tr><td>jvm_memory_pool_bytes_init</td><td>gauge</td><td>Initial bytes of a given JVM memory pool.</td><td>pool</td></tr><tr><td>jvm_memory_pool_collection_used_bytes</td><td>gauge</td><td>Used bytes after last collection of a given JVM memory pool.</td><td>pool</td></tr><tr><td>jvm_memory_pool_collection_committed_bytes</td><td>gauge</td><td>Committed after last collection bytes of a given JVM memory pool.</td><td>pool</td></tr><tr><td>jvm_memory_pool_collection_max_bytes</td><td>gauge</td><td>Max bytes after last collection of a given JVM memory pool.</td><td>pool</td></tr><tr><td>jvm_memory_pool_collection_init_bytes</td><td>gauge</td><td>Initial after last collection bytes of a given JVM memory pool.</td><td>pool</td></tr><tr><td>jvm_gc_collection_seconds</td><td>summary</td><td>Time spent in a given JVM garbage collector in seconds.</td><td>gc</td></tr></tbody></table>
