Skip to content

cloudfoundry/loggregator-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loggregator Tools

Sends big logs. Allows user to pass in size, frequency, and receiver port as arguments.

The CF LogMon performs a blacbox test for measuring message reliability when running the command cf logs. This is accomplished by writing groups of logs, measuring the time it took to produce the logs, and then counting the logs received in the log stream. This is one way to measure message reliability of the Loggregator system. The results of this test are displayed in a simple UI and available via JSON and the Firehose.

Web-based counter API used by the Smoke Tests.

The Datadog Accumulator scrapes Gauge values for a given source-id and send the results to Datadog.

The Doppler Client will connect to the V2 egress API of the Doppler and read all the logs/metrics from that single Doppler.

The Doppler Client application must be configured with DATADOG_API_KEY and DOPPLER_ADDR, SHARD_ID, CA_PATH, CERT_PATH, KEY_PATH environment variables.

A NOOP metron (loggregator agent).

Contains an HTTP and TCP echo server. Both of which will simply print whatever they receive.

Emits a V2 Counter Envelope to the Loggregator Agent at a one second interval.

Emits a V2 Gauge Envelope to the Loggregator Agent at a one second interval.

The HTTPS Drain is an example HTTPS server that accepts syslog messages (RFC-5424). This is a useful tool for debugging and monitoring cf-syslog-drain-release. The HTTPS drain can be configured to POST a counter.

JSON Spinner is a sample CF application that is written in go. It is compatible with the go-buildpack. It is used by the cf-syslog-drain black box tests.

Measures the latency from when an application running on CF emits a log to the time that log is egressed via the V1 app stream.

Log Spinner is a sample CF application that is written in go. It is compatible with the go-buildpack.

The post printer is a CF application that prints every request to stderr.

Reliability is a tool for measuring the Loggregator Firehose. It consists of two parts, a server and a worker. You should deploy the same number of workers as you have Traffic Controllers. The server will communicate with the workers via WebSockets.

The RLP Reader connects to and reads from the Loggregator Reverse Log Proxy. It can be ran with a delay, counter name filter, gauge name filter, preferredTags, deterministicName and/or shardID.

The RLP Reader connects to and reads from the Loggregator Reverse Log Proxy. It can be ran with to only receive one or more different types of Envelopes.

The Slow Consumer is a firehose nozzle that will induce the TrafficController to cut off the nozzle.

Smoke Tests for CF Syslog Drain release which measures reliability at different rates.

The Syslog Drain is an example TCP server that accepts syslog messages (RFC-5424) via TCP. This is a useful tool for debugging and monitoring cf-syslog-drain-release. The Syslog drain can be configured to POST a counter.

Reads logs from the Loggregator V2 API via the RLP (Reverse Log Proxy) Gateway and writes logs for a configured source ID to a syslog endpoint. The syslog drains can be configured to use TCP, TCP w/ TLS or HTTPS.

The Syslog to Datadog is an example HTTPS server that accepts syslog messages (RFC-5424) with metrics in the structured data. The metrics will be sent to datadog.

The Syslog to Datadog application can be configured with DATADOG_API_KEY and PORT environment variables.

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages