Skip to main content
Version: 47.0.0

Graphite Metrics

This document lists and describes the Graphite metrics available in the a9s Framework.

Graphite Metrics are one of the most common metrics formats in application monitoring. The metrics are sent in the following simple format: metric_path + value + timestamp.

a9s Metric specification

The metric specification shows how the metric_path is built in the anynines context.

my-pgtest.org.space.bb7b60fb-8ebe-441f-9aa4-664162947b16.postgres.d655fe7-pg-0.node.dc1.consul.database.postgres.table.3456.pg_catalog.pg_collation.idx_tup_fetch 0 1532428430
|-------| |-| |---| |----------------------------------| |------| |--------------------------| |----------------------------------------------------------------| | |--------|
(1) (2) (3) (4) (5) (6) (7) (8) (9)
IndexNameUseConfiguration
1metrics prefixUser defined metric prefix; often used for API keysmetrics_prefix (optional)
2metrics prefix level 2User defined metric prefix (often used for CF orgs)metrics_prefix_level_2 (optional)
3metrics prefix level 3User defined metric prefix (often used for CF spaces)metrics_prefix_level_3 (optional)
4guidAn identifier for the system generating the logsAutomatic
5service nameIdentifies the data serviceAutomatic
6hostname/deployment nameConsul hostname of the node or if backup monit plugin, deployment nameAutomatic
7metric idDescribes the metric (service specific)Automatic
8metric valueValue of the metricN/A
9timestampTime when the log message was createdN/A

System Metrics

These are the all metrics provided by all a9s Unix-based component.

Metric IdTypeDescription
mem_freeInteger (kB)Unused memory (MemFree and SwapFree in /proc/meminfo)
mem_buffersInteger (kB)Memory used by kernel buffers (Buffers in /proc/meminfo)
mem_sharedInteger (kB)Memory used (mostly) by tmpfs (Shmem in /proc/meminfo)
mem_totalInteger (kB)Total installed memory (MemTotal and SwapTotal in /proc/meminfo)
mem_buffersInteger (kB)Memory used by kernel buffers (Buffers in /proc/meminfo)
mem_cachedInteger (kB)Memory used by the page cache and slabs (Cached and SReclaimable in /proc/meminfo)
mem_usedInteger (kB)Used memory (calculated as MemTotal - MemFree - Buffers - Cached - SReclaimable)
swap_totalInteger (kB)Swap Memory total (Swap_total in /proc/meminfo)
swap_usedInteger (kB)Swap Memory total - Swap Memory free (Swap_total and Swap_free in /proc/meminfo)
cpu<*>.userIntegerNormal processes executing in user mode (First column at the CPU* line at /proc/stat)
cpu<*>.priorityIntegerNiced processes(niceness) executing in user mode (Second column at the CPU* line at /proc/stat)
cpu<*>.systemIntegerProcesses executing in kernel mode (Third column at the CPU* line at /proc/stat)
cpu<*>.idleIntegerIdle processes (Fourth column at the CPU* line at /proc/stat)
load_fifteen_minFloatAmount of CPU and IO utilization of the last 15 minutes (Third column at /proc/loadavg)
load_five_minFloatAmount of CPU and IO utilization of the last 5 minutes (First column at /proc/loadavg)
load_one_minFloatAmount of CPU and IO utilization of the last 1 minute (Second column at /proc/loadavg)
*.system.*.*.*.*.mem_free
*.system.*.*.*.*.cpu0.priority
*.system.*.*.*.*.cpu0.system
*.system.*.*.*.*.disk_size
*.system.*.*.*.*.disk_used
*.system.*.*.*.*.swap_free
*.system.*.*.*.*.cpu0.user
*.system.*.*.*.*.cpu0.idle
*.system.*.*.*.*.load_fifteen_min
*.system.*.*.*.*.load_one_min
*.system.*.*.*.*.mem_buffers
*.system.*.*.*.*.mem_cached
*.system.*.*.*.*.load_five_min
*.system.*.*.*.*.swap_used
*.system.*.*.*.*.mem_total
*.system.*.*.*.*.mem_shared
*.system.*.*.*.*.mem_used
*.system.*.*.*.*.swap_total

Other Metrics