Monitor Raijin

Raijin provides a metrics endpoint that returns data compatible with Prometheus.

curl -sS raijin.example.com:2500/metrics

Server statistics

Statistic Description

raijin_time_since_start_seconds

Elapsed time since Raijin started in seconds.

raijin_active_connections_count

Number of active connections to Raijin

raijin_connections_total

Number of connections since Raijin started.

raijin_connection_errors_total

Number of connection errors since Raijin started.

raijin_request_count_total

Number of HTTP requests received since Raijin started.

raijin_ingested_count_total

Number of records ingested since Raijin started.

raijin_ingested_per_second_rate

Average records ingested per second.

raijin_query_count_total

Number of queries processed since Raijin started.

raijin_query_per_second_rate

Average queries processed per second.

raijin_query_duration_milliseconds_count

Query processing time in milliseconds.

Memory

Statistic Description

raijin_memory_total_bytes

Total physical server memory in bytes.

raijin_resident_set_size_bytes

Total physical memory in use by Raijin.

raijin_virtual_memory_size_bytes

Total virtual memory in use by Raijin.

Disk

Statistic Description

raijin_disk_free_size_bytes

Available disk space in bytes on the disk hosting the Raijin data directory.

raijin_disk_total_size_bytes

Disk size in bytes of the disk hosting the Raijin data directory.

raijin_database_size_bytes

Size of each database in bytes.

raijin_database_wal_size_bytes

Write-Ahead Log (WAL) size of each database in bytes.

raijin_table_size_bytes

Size of each table in bytes.

raijin_table_wal_size_bytes

Write-Ahead Log (WAL) size of each table in bytes.

raijin_partition_size_bytes

Size of each table partition in bytes.

raijin_partition_wal_size

Write-Ahead Log (WAL) size of each table partition in bytes.

Files

Statistic Description

raijin_open_file_count

Number of files currently open by Raijin.

raijin_open_file_limit

Maximum number of files Raijin is allowed to open.

Databases

Statistic Description

raijin_database_count

Number of existing databases.

raijin_table_count

Number of tables in each database.

raijin_partition_count

Number of partitions in each table.