etcd-top

command
Version: v3.0.10+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2016 License: Apache-2.0 Imports: 14 Imported by: 0

README

etcd-top

etcd realtime workload analyzer. Useful for rapid diagnosis of production usage issues and analysis of production request distributions.

usage:

  -iface="eth0": interface for sniffing traffic on
  -period=1: seconds between submissions
  -ports="2379": etcd listening ports
  -promiscuous=true: whether to perform promiscuous sniffing or not.
  -topk=10: submit stats for the top <K> sniffed paths

result:

go run etcd-top.go --period=1 -topk=3
1440035702 sniffed 1074 requests over last 1 seconds

Top 3 most popular http requests:
     Sum     Rate Verb Path
    1305       22 GET /v2/keys/c
    1302        8 GET /v2/keys/S
    1297       10 GET /v2/keys/h

Documentation

Overview

etcd-top is a utility for analyzing etcd v2 API workload traffic.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL