Infrastructure Integration

Configuration

  1. Configure the agent by editing /etc/netsil-dd-agent/conf.d/riak.yamlin the collectors.

Example:

    init_config:

    instances:
      - url: http://127.0.0.1:8098/stats
        # Riak statistics are calculated on a per-minute sliding window
        min_collection_interval: 60
        # cacert: /path/to/ca.pem
        # disable_cert_verify: false
        # tags:
        #  - optional_tag1
        #  - optional_tag2
  1. Check and make sure that all yaml files are valid with following command:

    /etc/init.d/netsil-collectors configcheck
    
  2. Restart the Agent using the following command:

    /etc/init.d/netsil-collectors restart
    
  3. Execute the info command to verify that the integration check has passed:

    /etc/init.d/netsil-collectors info
    

The output of the command should contain a section similar to the following:

    Checks
    ======

      [...]

      riak
      ----
          - instance #0 [OK]
          - Collected 8 metrics & 0 events

Infrastructure Datasources

Datasource Available Aggregations Unit Description
riak.memory_atom avg max min sum byte Total amount of memory currently allocated for atom storage
riak.memory_atom_used avg max min sum byte Total amount of memory currently used for atom storage
riak.memory_binary avg max min sum byte Total amount of memory used for binaries
riak.memory_code avg max min sum byte Total amount of memory allocated for Erlang code
riak.memory_ets avg max min sum byte Total memory allocated for Erlang Term Storage
riak.memory_processes avg max min sum byte Total amount of memory allocated for Erlang processes
riak.memory_processes_used avg max min sum byte Total amount of memory used by Erlang processes
riak.memory_total avg max min sum byte Total allocated memory (sum of processes and system)
riak.node_get_fsm_active_60s avg max min sum Number of active GET FSMs
riak.node_get_fsm_in_rate avg max min sum Average number of GET FSMs enqueued by Sidejob
riak.node_get_fsm_out_rate avg max min sum Average number of GET FSMs dequeued by Sidejob
riak.node_get_fsm_rejected_60s avg max min sum Number of GET FSMs actively being rejected by Sidejob's overload protection
riak.node_gets avg max min sum operation Number of GETs coordinated by this node
riak.node_put_fsm_active_60s avg max min sum Number of active PUT FSMs
riak.node_put_fsm_in_rate avg max min sum Average number of PUT FSMs enqueued by Sidejob
riak.node_put_fsm_out_rate avg max min sum Average number of PUT FSMs dequeued by Sidejob
riak.node_put_fsm_rejected_60s avg max min sum Number of PUT FSMs actively being rejected by Sidejob's overload protection
riak.node_puts avg max min sum operation Number of PUTs coordinated by this node
riak.pbc_active avg max min sum connection Number of active protocol buffers connections
riak.pbc_connects avg max min sum connection Number of protocol buffers connections
riak.read_repairs avg max min sum operation Number of read repair operations this this node has coordinated in the last minute
riak.vnode_gets avg max min sum operation Number of GET operations coordinated by vnodes on this node
riak.vnode_index_deletes avg max min sum operation Number of vnode index delete operations
riak.vnode_index_reads avg max min sum read Number of vnode index read operations
riak.vnode_index_writes avg max min sum write Number of vnode index write operations
riak.vnode_puts avg max min sum operation Number of PUT operations coordinated by vnodes on this node
riak.node_get_fsm_objsize_mean avg max min sum byte Object size encountered by this node
riak.node_get_fsm_siblings_mean avg max min sum node Number of siblings encountered during all GET operations by this node
riak.node_get_fsm_time_mean avg max min sum microsecond Time between reception of client GET request and subsequent response to client
riak.node_put_fsm_time_mean avg max min sum microsecond Time between reception of client PUT request and subsequent response to client
riak.node_get_fsm_objsize_median avg max min sum byte Object size encountered by this node
riak.node_get_fsm_siblings_median avg max min sum node Number of siblings encountered during all GET operations by this node
riak.node_get_fsm_time_median avg max min sum microsecond Time between reception of client GET request and subsequent response to client
riak.node_put_fsm_time_median avg max min sum microsecond Time between reception of client PUT request and subsequent response to client
riak.node_get_fsm_objsize_95 avg max min sum byte Object size encountered by this node
riak.node_get_fsm_siblings_95 avg max min sum node Number of siblings encountered during all GET operations by this node
riak.node_get_fsm_time_95 avg max min sum microsecond Time between reception of client GET request and subsequent response to client
riak.node_put_fsm_time_95 avg max min sum microsecond Time between reception of client PUT request and subsequent response to client
riak.node_get_fsm_objsize_99 avg max min sum byte Object size encountered by this node
riak.node_get_fsm_siblings_99 avg max min sum node Number of siblings encountered during all GET operations by this node
riak.node_get_fsm_time_99 avg max min sum microsecond Time between reception of client GET request and subsequent response to client
riak.node_put_fsm_time_99 avg max min sum microsecond Time between reception of client PUT request and subsequent response to client
riak.node_get_fsm_objsize_100 avg max min sum byte Object size encountered by this node
riak.node_get_fsm_siblings_100 avg max min sum node Number of siblings encountered during all GET operations by this node
riak.node_get_fsm_time_100 avg max min sum microsecond Time between reception of client GET request and subsequent response to client
riak.node_put_fsm_time_100 avg max min sum microsecond Time between reception of client PUT request and subsequent response to client
riak.search_index_fail_count avg max min sum object Total number of documents that have failed to index
riak.search_index_fail_one avg max min sum object Number of documents that have failed to index in the past one minute
riak.search_query_fail_count avg max min sum event Total number of queries that have failed
riak.search_query_fail_one avg max min sum event Number of queries that have failed in the last one minute
riak.search_index_throughput_count avg max min sum operation Total number of documents that have been indexed
riak.search_index_throughput_one avg max min sum operation Number of documents that have been indexed in the last one minute
riak.search_query_throughput_count avg max min sum operation Total number of queries that have been performed
riak.search_query_throughput_one avg max min sum operation Number of searches that have been performed in the last one minute
riak.search_query_latency_95 avg max min sum microsecond Time between reception of query and response: 95th percentile
riak.search_query_latency_99 avg max min sum microsecond Time between reception of query and response: 99th percentile
riak.search_query_latency_999 avg max min sum microsecond Time between reception of query and response: 99.9th percentile
riak.search_query_latency_max avg max min sum microsecond Time between reception of query and response: max
riak.search_query_latency_min avg max min sum microsecond Time between reception of query and response: min
riak.search_query_latency_mean avg max min sum microsecond Time between reception of query and response: mean
riak.search_query_latency_median avg max min sum microsecond Time between reception of query and response: median
riak.search_index_latency_95 avg max min sum microsecond Time between insertion of document and it being indexed: 95th percentile
riak.search_index_latency_99 avg max min sum microsecond Time between insertion of document and it being indexed: 99th percentile
riak.search_index_latency_999 avg max min sum microsecond Time between insertion of document and it being indexed: 99.9th percentile
riak.search_index_latency_max avg max min sum microsecond Time between insertion of document and it being indexed: max
riak.search_index_latency_min avg max min sum microsecond Time between insertion of document and it being indexed: min
riak.search_index_latency_mean avg max min sum microsecond Time between insertion of document and it being indexed: mean
riak.search_index_latency_median avg max min sum microsecond Time between insertion of document and it being indexed: median