metronbenchmark

command
v74.0.2+incompatible Latest Latest
Warning

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

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

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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