package
74.0.2+incompatible
Repository: https://github.com/cloudfoundry/loggregator-release.git
Documentation: pkg.go.dev

# 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

FlagDefaultDescription
-interval1sInterval for reported results
-writeRate15000Number of writes per second to send to metron
-stopAfter5mHow long to run the experiment for
-eventTypeValueMetricThe event type to use for the experiment
-concurrentWriters1The number of writers to run concurrently
-protocoludpThe output protocol to benchmark
-serverCert../../integration_tests/fixtures/server.crtThe certificate to serve TLS connections to metron with
-serverKey../../integration_tests/fixtures/server.keyThe key to serve TLS connections to metron with
-caCert../../integration_tests/fixtures/loggregator-ca.crtThe CA cert to serve TLS connections to metron with

# Packages

No description provided by the author

# Functions

No description provided by the author