metronbenchmark

command
v74.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2017 License: Apache-2.0, BSD-3-Clause, MIT Imports: 19 Imported by: 0

README

Metron Benchmarking

Measure the performance of Metron

Will measure messages per second, per minute, and per hour.

Note there is a script loss_report.sh which does the following housekeeping for you

How it Works

This is a command line tool that will emit X amount of messages over Y units of time.

  • run etcd etcd (assuming it is installed)
  • run metron bin/metron -config=src/tools/metronbenchmark (from loggregator root, make sure it's the latest binary')
  • run metronbenchmark go run main.go in loggregator/src/tools/metronbenchmark

If you get in a bad state you might need to delete the doppler keys from etcd:

curl -X DELETE http://localhost:4001/v2/keys/doppler?recursive=true

Command line options

Flag Default Description
-interval 1s Interval for reported results
-writeRate 15000 Number of writes per second to send to metron
-stopAfter 5m How long to run the experiment for
-eventType ValueMetric The event type to use for the experiment
-concurrentWriters 1 The number of writers to run concurrently
-protocol udp The output protocol to benchmark
-serverCert ../../integration_tests/fixtures/server.crt The certificate to serve TLS connections to metron with
-serverKey ../../integration_tests/fixtures/server.key The key to serve TLS connections to metron with
-caCert ../../integration_tests/fixtures/loggregator-ca.crt The CA cert to serve TLS connections to metron with

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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