All Projects → mesosphere → etcd-top

mesosphere / etcd-top

Licence: other
etcd realtime workload analyzer

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to etcd-top

letsencrypt-dcos
Let's Encrypt DC/OS!
Stars: ✭ 39 (+14.71%)
Mutual labels:  dcos, dcos-networking-guild
dcos-net
A networking layer of DC/OS
Stars: ✭ 44 (+29.41%)
Mutual labels:  dcos, dcos-networking-guild
dcos-oauth
DC/OS OAuth Service (only used up to DC/OS version 1.12)
Stars: ✭ 22 (-35.29%)
Mutual labels:  dcos, dcos-networking-guild
dcos-openvpn
No description or website provided.
Stars: ✭ 14 (-58.82%)
Mutual labels:  dcos, dcos-networking-guild
drax
DC/OS Resilience Automated Xenodiagnosis tool
Stars: ✭ 42 (+23.53%)
Mutual labels:  dcos, dcos-networking-guild
star
Test program for network policies.
Stars: ✭ 19 (-44.12%)
Mutual labels:  dcos, dcos-networking-guild
net-modules
Apache Mesos modules for network isolation.
Stars: ✭ 56 (+64.71%)
Mutual labels:  dcos, dcos-networking-guild
dklb
Expose Kubernetes services and ingresses through EdgeLB.
Stars: ✭ 13 (-61.76%)
Mutual labels:  dcos, dcos-networking-guild
Dcos Cli
The command line for DC/OS.
Stars: ✭ 225 (+561.76%)
Mutual labels:  dcos
dcos-mesos-modules
Mesos Modules used in DC/OS
Stars: ✭ 16 (-52.94%)
Mutual labels:  dcos
Lashup
A distributed CRDT store with multicast and failure detector capabilities
Stars: ✭ 211 (+520.59%)
Mutual labels:  dcos
Rendler
A rendering web crawler for Apache Mesos.
Stars: ✭ 245 (+620.59%)
Mutual labels:  dcos
docker-mesos-marathon-screencast
The scripts used in the Docker Clustering on Mesos with Marathon screencast.
Stars: ✭ 51 (+50%)
Mutual labels:  dcos
Marathon Ui
The web-ui for Marathon (https://github.com/mesosphere/marathon)
Stars: ✭ 222 (+552.94%)
Mutual labels:  dcos
Mesos Docker
Project has been superseded by native docker support in Mesos
Stars: ✭ 176 (+417.65%)
Mutual labels:  dcos
Dcos
DC/OS - The Datacenter Operating System
Stars: ✭ 2,316 (+6711.76%)
Mutual labels:  dcos
microservices-demo.github.io
The Microservices Demo website.
Stars: ✭ 65 (+91.18%)
Mutual labels:  dcos
marathon-slack
Integration for Marathon's Event Bus with Slack
Stars: ✭ 42 (+23.53%)
Mutual labels:  dcos
scala-sbt-mesos-framework.g8
No description or website provided.
Stars: ✭ 23 (-32.35%)
Mutual labels:  dcos
kubernetes-security-benchmark
A simple way to evaluate the security of your Kubernetes deployment against sets of best practices defined by various community sources
Stars: ✭ 27 (-20.59%)
Mutual labels:  dcos

etcd-top

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

The way it determines request sizes and latency is SUPER naive, and this does not make any accuracy guarantees, but it can get you out of an outage by showing you what your cluster is doing.

Latency measurements are heavily colored by skew in the collection system itself, and they are likely to be pretty off.

Request counts are fairly accurate, but still slightly lossy.

Optionally, you can export HTTP latency metrics using prometheus by passing in -prometheus-port=<port>. This is not for long-term metric collection, and will die due to a memory leaks eventually.

usage:

  -iface="eth0": interface for sniffing traffic on
  -period=60: seconds between submissions
  -ports="4001,2379": etcd listening ports
  -prometheus-port=0: port for prometheus exporter to listen on
  -promiscuous=false: 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 -prometheus-port=9092
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

Top 3 slowest individual http requests:
     Time Request
112.672956ms GET /v2/keys/k
106.111394ms PUT /v2/keys/q
87.749786ms GET /v2/keys/d

Top 3 total time spent in requests:
     Time Request
164.135442ms GET /v2/keys/d
113.830209ms GET /v2/keys/k
106.485819ms PUT /v2/keys/q

Top 3 heaviest http requests:
Content-Length Request
     506 PUT /v2/keys/p
     506 PUT /v2/keys/s
     506 PUT /v2/keys/b

Content Length and latency (microseconds) per HTTP verb
       Type     all_sz    all_lat     GET_sz    GET_lat     PUT_sz    PUT_lat  DELETE_sz DELETE_lat    POST_sz   POST_lat
      Count       1074       1023        663        663        187        187        120        120         53         53
       50th        594        111        594        101       1175        110        670        105        107        117
       75th        594        156        594        138       1175        154        670        142        108        187
       90th       1175        465        594        348       1175       1143        670        235        113        337
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].