Skip to main content

Pika collector

Pika is a persistent huge storage service, compatible with the vast majority of redis interfaces (details), including string, hash, list, zset, set and management interfaces.

This module monitors one or more Pika instances, depending on your configuration.

It collects information and statistics about the server executing the following commands:


All metrics have "pika." prefix.

commands_callsglobala dimension per commandcalls/s
database_strings_keysglobala dimension per databasekeys
database_strings_expires_keysglobala dimension per databasekeys
database_strings_invalid_keysglobala dimension per databasekeys
database_hashes_keysglobala dimension per databasekeys
database_hashes_expires_keysglobala dimension per databasekeys
database_hashes_invalid_keysglobala dimension per databasekeys
database_lists_keysglobala dimension per databasekeys
database_lists_expires_keysglobala dimension per databasekeys
database_lists_invalid_keysglobala dimension per databasekeys
database_zsets_keysglobala dimension per databasekeys
database_zsets_expires_keysglobala dimension per databasekeys
database_zsets_invalid_keysglobala dimension per databasekeys
database_sets_keysglobala dimension per databasekeys
database_sets_expires_keysglobala dimension per databasekeys
database_sets_invalid_keysglobala dimension per databasekeys


Edit the go.d/pika.conf configuration file using edit-config from the Netdata config directory, which is typically at /etc/netdata.

cd /etc/netdata # Replace this path with your Netdata config directory
sudo ./edit-config go.d/pika.conf

There are two connection types: by tcp socket and by unix socket.

# by tcp socket

# by unix socket

Needs only address, here is an example with two jobs:

- name: local
address: 'redis://@'

- name: remote
address: 'redis://user:[email protected]:6379'

For all available options, see the pika collector's configuration file.


To troubleshoot issues with the pika collector, run the go.d.plugin with the debug option enabled. The output should give you clues as to why the collector isn't working. ' First, navigate to your plugins' directory, usually at /usr/libexec/netdata/plugins.d/. If that's not the case on your system, open netdata.conf and look for the setting plugins directory. Once you're in the plugin's directory, switch to the netdata user.

cd /usr/libexec/netdata/plugins.d/
sudo -u netdata -s

You can now run the go.d.plugin to debug the collector:

./go.d.plugin -d -m pika

Do you have any feedback for this page? If so, you can open a new issue on our netdata/learn repository.