Skip to main content
Version: v1.7.x

Apollo Configuration Center

Monitoring of general metrics for the Apollo Configuration Center service is performed by calling the Prometheus interface of the Apollo Configuration Center.

Prerequisites

  1. Set up the Apollo configuration center according to the deployment documentation.
  2. Visit http://${someIp:somePort}/prometheus to verify if you can access the metrics data. For more details, please refer to: Apollo Monitoring Documentation
  3. Note⚠️: Starting from version 1.5.0, the Apollo server supports exposing Prometheus-formatted metrics via /prometheus.

Configuration parameters

Parameter NameParameter Help Description
Target HostThe monitored peer's IPv4, IPv6, or domain name. Note⚠️: Do not include protocol headers (e.g., https://, http://).
PortPulsar's webServicePort value, defaulting to 8080.
Task NameThe name identifying this monitoring task. The name must be unique.
Query TimeoutSet the connection timeout in milliseconds (ms). Default is 3000 ms.
Monitoring CycleThe interval time for periodic data collection, measured in seconds. The minimum configurable interval is 30 seconds.
Binding TagsUsed for classifying and managing monitored resources
Description NotesAdditional identifiers and descriptive notes for this monitoring task. Users can add notes here.

Collection Metrics

Metric Set: Basic Information Metrics

Metric NameUnitMetric Help Description
application_ready_time_secondsSecondsTime taken for the application to transition from startup to ready state
process_uptime_secondssecondsTotal time the process has been running
process_cpu_usage%Current process CPU usage

Metric Set: : JVM

Metric NameUnitMetric Help Description
system_cpu_usage%System CPU Usage
system_load_average_1mNoneSystem load average over the past minute
jvm_memory_committed_bytesMBSize of memory requested by the JVM from the operating system
jvm_memory_used_bytesMBJVM's current actual memory usage
jvm_memory_max_bytesMBMaximum memory limit available to the JVM
jvm_gc_pause_seconds_countNoneTotal number of JVM GC pause events
jvm_gc_pause_seconds_sumNoneTotal time spent in JVM GC pauses
jvm_memory_usage_after_gc_percentNoneJVM memory usage after garbage collection

Metric Set: System Resources

Metric NameUnitMetric Help Description
process_files_max_filesNoneLimit on the maximum number of file descriptors a process may open
process_files_open_filesNoneNumber of file descriptors currently opened by the process