Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

EE] Add metrics for primary index on flash #27

Merged
merged 1 commit into from
Mar 13, 2019

Conversation

Xaelias
Copy link
Contributor

@Xaelias Xaelias commented Mar 13, 2019

Admin> show statistics like index-type
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~test Namespace Statistics (2019-03-13 19:26:18 UTC)~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NODE                            :   astest01ea1:3000           astest02ea1:3000           astest03ea1:3000        
index-type                      :   flash                      flash                      flash
index-type.mount[0]             :   /test_primary_index        /test_primary_index        /test_primary_index
index-type.mount[0].age         :   0                          0                          0
index-type.mounts-high-water-pct:   80                         80                         80
index-type.mounts-size-limit    :   1099511627776              1099511627776              1099511627776

Admin> show statistics like flash
~~~~~~~~~~~~~~~~~~~~~~~~~~test Namespace Statistics (2019-03-13 19:26:25 UTC)~~~~~~~~~~~~~~~~~~~~~~~~~~~
NODE                  :   astest01ea1:3000           astest02ea1:3000           astest03ea1:3000        
index_flash_used_bytes:   0                          0                          0
index_flash_used_pct  :   0                          0                          0
curl -s localhost:10000/metrics | grep 'index_type\|index_flash'
# HELP aerospike_ns_index_flash_used_bytes index flash used bytes
# TYPE aerospike_ns_index_flash_used_bytes gauge
aerospike_ns_index_flash_used_bytes{namespace="test"} 0
# HELP aerospike_ns_index_flash_used_pct index flash used pct
# TYPE aerospike_ns_index_flash_used_pct gauge
aerospike_ns_index_flash_used_pct{namespace="test"} 0
# HELP aerospike_ns_index_type_mounts_high_water_pct index type mounts high water pct
# TYPE aerospike_ns_index_type_mounts_high_water_pct gauge
aerospike_ns_index_type_mounts_high_water_pct{namespace="test"} 80
# HELP aerospike_ns_index_type_mounts_size_limit index type mounts size limit
# TYPE aerospike_ns_index_type_mounts_size_limit gauge
aerospike_ns_index_type_mounts_size_limit{namespace="test"} 1.099511627776e+12

@alicebob alicebob merged commit 5a403ab into alicebob:master Mar 13, 2019
@alicebob
Copy link
Owner

Thanks!

@alicebob
Copy link
Owner

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants