lumbersexual 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +8 -5
- data/lib/lumbersexual/version.rb +1 -1
- data/lumbersexual.gemspec +2 -2
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YzI0YzhhZmU2NDBlZDYzMTk2Y2UyM2U2MTcwZWIxZTQzMDgwMmUwMw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MzE3Y2FjNGI3NTVlYTI1ZDBkMGIzNWIzNDNhMjI5NzE3OTNhOTUzOQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OTFhYWVkZTM5ZjZkMDEzNjMxM2M3NjYwODU5MTlkNzg2NGVhMjczY2JhYWZh
|
10
|
+
MDllYTAyMjMzZDNlNzgyYmIwNTJkM2U1YjViMzQyYzNhY2UyYjE4OWI5ODEz
|
11
|
+
YTY4OTVkMzA5OTYxN2E1OTIyMThjZDExYTM5YWQ2Mjc2ODI1ODQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OGFkOTg1YTI5NGJiZTYxNDVkM2YzMmViY2I2MWQ1M2Q4ZjNiODdlM2U1OTgz
|
14
|
+
MjAxMzY1ZjVjODFlZDg2MzI4Y2M0ZGVhOTdiZTJiNjdhZjVkMTQ2MDkzYjlh
|
15
|
+
NTQ2MjFkMjBlMWJhODgyNDE0OGE4ZWUwZjk2M2MzOGM0YjAwZmY=
|
data/README.md
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# Lumbersexual [![Build Status](https://travis-ci.org/sampointer/lumbersexual.svg?branch=master)](https://travis-ci.org/sampointer/lumbersexual) [![Gem Version](https://badge.fury.io/rb/lumbersexual.svg)](https://badge.fury.io/rb/lumbersexual)
|
2
2
|
|
3
3
|
<img align="right" width="158" height="144" src="etc/assets/lumber-156795_960_720.png" alt="Lumbersexual" />
|
4
|
-
This gem generates random-enough syslog entries for the purposes of testing syslog throughput, aggregated logging infrastructures and log index performance.
|
4
|
+
This gem generates random-enough syslog entries for the purposes of testing syslog throughput, ELK stacks, aggregated logging infrastructures and log index performance.
|
5
5
|
|
6
6
|
## Requirements
|
7
7
|
|
8
8
|
Whilst `lumbersexual` will run correctly under MRI 2.3.0 the best performance at scale can be obtained by using jruby-9.0.5.0 or later under Java 7. Furthermore throughput is greatest and most accurate with machines with 2 cores or more. By default twice as many threads as cores will be used.
|
9
9
|
|
10
|
-
A dictionary file is needed from which to generate the randomized messages. Under Debian-derived distributions `apt-get install dictionaries-common` is not a bad place to start.
|
10
|
+
A dictionary file is needed from which to generate the randomized messages. Under Debian-derived distributions `apt-get install wamerican; apt-get install dictionaries-common` is not a bad place to start.
|
11
11
|
|
12
12
|
## Usage
|
13
13
|
|
@@ -18,16 +18,19 @@ $ lumbersexual --help
|
|
18
18
|
## Telemetry
|
19
19
|
By supplying the switch `--statsdhost` with a hostname you can turn on statsd metric generation. Lumbersexual will assume it can write to a statsd-like daemon on UDP 8125 and will supply 2 types of telemetry.
|
20
20
|
|
21
|
-
* During a run each thread will increment a counter at the path
|
21
|
+
* During a run each thread will increment a counter at the path
|
22
|
+
```
|
23
|
+
lumbersexual.thread.<UUID>.<facility>.<priority>.messages_sent
|
24
|
+
```
|
25
|
+
(where UUID is a randomized string for each thread) each time a message is successfully sent. The facility and priority are reported in their numeric form to save the overhead of a lookup for each write.
|
22
26
|
* At the end of a run the following metric paths will be produced:
|
23
|
-
|
24
27
|
```
|
25
28
|
lumbersexual.run.messages_total # gauge
|
26
29
|
lumbersexual.run.elapsed # timer
|
27
30
|
lumbersexual.run.rate # gauge
|
28
31
|
```
|
29
32
|
|
30
|
-
It is up to you to use the aggregation functions of telemetry system to combine these into a form you find acceptable.
|
33
|
+
It is up to you to use the aggregation functions of your telemetry system to combine these into a form you find acceptable.
|
31
34
|
|
32
35
|
## Development
|
33
36
|
|
data/lib/lumbersexual/version.rb
CHANGED
data/lumbersexual.gemspec
CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Sam Pointer"]
|
10
10
|
spec.email = ["sam.pointer@outsidethe.net"]
|
11
11
|
|
12
|
-
spec.summary = %q{
|
13
|
-
spec.description = %q{This gem generates random-enough syslog entries for the purposes of testing syslog throughput, aggregated logging infrastructures and log index performance.}
|
12
|
+
spec.summary = %q{Benchmark syslog, fluentd and ELK stacks}
|
13
|
+
spec.description = %q{This gem generates random-enough syslog entries for the purposes of testing syslog throughput, ELK stacks, aggregated logging infrastructures and log index performance.}
|
14
14
|
spec.homepage = "https://github.com/sampointer/lumbersexual"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lumbersexual
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Pointer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -81,7 +81,8 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 1.3.0
|
83
83
|
description: This gem generates random-enough syslog entries for the purposes of testing
|
84
|
-
syslog throughput, aggregated logging infrastructures and log index
|
84
|
+
syslog throughput, ELK stacks, aggregated logging infrastructures and log index
|
85
|
+
performance.
|
85
86
|
email:
|
86
87
|
- sam.pointer@outsidethe.net
|
87
88
|
executables:
|
@@ -128,5 +129,5 @@ rubyforge_project:
|
|
128
129
|
rubygems_version: 2.4.5
|
129
130
|
signing_key:
|
130
131
|
specification_version: 4
|
131
|
-
summary:
|
132
|
+
summary: Benchmark syslog, fluentd and ELK stacks
|
132
133
|
test_files: []
|