File: //usr/local/lib/python3.9/site-packages/agent360/plugins/__pycache__/redis_stat.cpython-39.pyc
a
q�dg� � @ sZ d dl Z d dlZdddddddd d
ddd
ddd�ZG dd� de j�ZedkrVe� �� dS )� NZuptimezconnected clientszused memoryzused memory peak human� maxmemoryzmaxmemory policyztotal commands processedztotal net input bytesztotal net output byteszexpired keyszevicted keysz
keyspace hitszkeyspace misseszcluster enabled)Zuptime_in_secondsZconnected_clientsZused_memoryZused_memory_peak_humanr Zmaxmemory_policyZtotal_commands_processedZtotal_net_input_bytesZtotal_net_output_bytesZexpired_keysZevicted_keysZ
keyspace_hitsZkeyspace_missesZcluster_enabledc @ s e Zd ZdZ dd� ZdS )�PluginZ
redis_statc
C s* i }d }z|� td�}W n d}Y n0 z|� td�}W n d}Y n0 z|� td�}W n d}Y n0 z|� td�}W n d}Y n0 ztj||||d �}|�� }W nH ty� } z0d
|d<