All Projects → globocom → redis-healthy

globocom / redis-healthy

Licence: BSD-3-Clause license
It retrieves metrics, periodically, from Redis (or sentinel) and send them to Logstash

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to redis-healthy

pf-azure-sentinel
Parse pfSense/OPNSense logs using Logstash, GeoIP tag entities, add additional context to logs, then send to Azure Sentinel for analysis.
Stars: ✭ 24 (-61.29%)
Mutual labels:  logstash, monitor, sentinel
express-actuator
Express middleware with endpoints to help you monitor and manage applications
Stars: ✭ 71 (+14.52%)
Mutual labels:  monitor, health-check
docker-logstash-alpine
Alpine Linux based Logstash Docker Image
Stars: ✭ 50 (-19.35%)
Mutual labels:  logstash
node-healthchecks-api
The Node.js implementation of the Health Checks API by Hootsuite
Stars: ✭ 25 (-59.68%)
Mutual labels:  health-check
lemon
Lemon – LED Monitor – is a $79.43 opensource alternative to LaMetric that supports GitHub-, IFTTT- and Zapier-webhooks and even integrates with Pushover!
Stars: ✭ 45 (-27.42%)
Mutual labels:  monitor
JavaFamily
【Java面试+Java学习指南】 一份涵盖大部分Java程序员所需要掌握的核心知识。
Stars: ✭ 517 (+733.87%)
Mutual labels:  sentinel
logstash filter f5
A Logstash filter for F5 apd, dcc, sshd and tmm syslog.
Stars: ✭ 19 (-69.35%)
Mutual labels:  logstash
solana-nft-monitor
Monitor Solana NFT projects using Github Actions + flatgithub.com
Stars: ✭ 31 (-50%)
Mutual labels:  monitor
elastic-stack
A complete documentation on how to install Elastic Stack on Ubuntu 16.04 Server ASAP 😎
Stars: ✭ 12 (-80.65%)
Mutual labels:  logstash
theonionbox
Dashboard to monitor Tor node operations
Stars: ✭ 116 (+87.1%)
Mutual labels:  monitor
Sentinel-Dashboard-Nacos
Description Sentinel Dashboard使用NACOS作为数据源持久化规则。【仅用于教学,如用于生产,请务必做好测试!】
Stars: ✭ 87 (+40.32%)
Mutual labels:  sentinel
docktor
Health checking and security implementations for running Docker containers and images
Stars: ✭ 42 (-32.26%)
Mutual labels:  health-check
amas
Amas is recursive acronym for “Amas, monitor alert system”.
Stars: ✭ 77 (+24.19%)
Mutual labels:  monitor
elastic-data-lake
Elastic Data Lake
Stars: ✭ 14 (-77.42%)
Mutual labels:  logstash
docker elk stack
Docker images to run an ELK stack
Stars: ✭ 24 (-61.29%)
Mutual labels:  logstash
Slim-Auth
A Slim 4 Skeleton.
Stars: ✭ 22 (-64.52%)
Mutual labels:  sentinel
panorama
Lightweight system monitor for Linux
Stars: ✭ 31 (-50%)
Mutual labels:  monitor
awesome-elastic-stack
Awesome Elastic Stack
Stars: ✭ 29 (-53.23%)
Mutual labels:  logstash
ELK-Hunting
Threat Hunting with ELK Workshop (InfoSecWorld 2017)
Stars: ✭ 58 (-6.45%)
Mutual labels:  logstash
site-monitor
监控网站的可访问性的监控系统
Stars: ✭ 48 (-22.58%)
Mutual labels:  monitor

license Go Report Card Build Status

redis-healthy

It retrieves metrics periodically from Redis (or sentinel) (such as latency, connected_clients, instantaneous_ops_per_sec and others) and send them to Logstash.

Plotting the metrics with Grafana

Redis Sample Metrics

Tests

make test

Metrics

{
   client_longest_output_list: 15,
   instantaneous_input_kbps: 0,
   sync_partial_err: 0,
   latency: 361,
   connected_clients: 398,
   blocked_clients: 0,
   keyspace_hits: 201980,
   client: 'app-redis',
   instantaneous_ops_per_sec: 1092,
   instantaneous_output_kbps: 504,
   sync_full: 0,
   keyspace_misses: 1093,
   mem_fragmentation_ratio: 0,
   rejected_connections: 0,
   sync_partial_ok: 0
}

Options

Variable Mandatory Description
PROJECT Y An identifier for the metrics.
It'll be send as "client": PROJECT + "-redis"
PING_FREQUENCY Frequency in seconds that the metrics are fetched.
Default: 10
REDIS_HOST Y Redis host with port.
If you're using redis sentinel, then REDIS_HOST will host the sentinel hosts separated by commas ("host:port,host:port")
REDIS_PWD Redis password.
Default: ""
REDIS_SENTINEL Whether you're using sentinel or not.
Default: ""
REDIS_MASTER_NAME Redis sentinel master name.
Default: ""
REDIS_LATENCY_THRESHOLD Redis latency threshold in ms.
When any command take longer than the threshold, then it sends data about latency. After PING_FREQUENCY has passed, it sends 0.
Default: ""
REDIS_METRICS_TO_WATCH The fields you want to keep track from the output of the command "info".
Default: "client_longest_output_list,connected_clients,blocked_clients,rejected_connections,instantaneous_input_kbps,instantaneous_output_kbps,instantaneous_ops_per_sec,keyspace_hits,keyspace_misses,mem_fragmentation_ratio,sync_full,sync_partial_ok,sync_partial_err"
LOGSTASH_HOST Y Logstash host
LOGSTASH_PORT Y Logstash port
LOGSTASH_PROTOCOL The transport protocol used by logstash.
Default: "udp"

Usage

REDIS_LATENCY_THRESHOLD="250" REDIS_HOST="localhost:6379" LOGSTASH_HOST="logstash.mine" LOGSTASH_PORT="8515" PROJECT="myapp" go run main.go
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].