cf-admin-ui-nozzle

command module
v0.0.0-...-d80f289 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: Apache-2.0, Apache-2.0 Imports: 14 Imported by: 0

README

Important Notice

This public repository is read-only and no longer maintained.

Admin-ui-nozzle

This repo contains a Cloud Foundry application with a Firehose Nozzle implementation that forwards data to any Firehose client (forwarding their own authentication) and filters the date received from Firehose before sending it back to the client.

The nozzle will forward only ContainerMetric and ValueMetric (ValueMetric if not 'latency' or 'route_lookup_time'). The filters has been tailored to reduce load on the admin-ui application.

The project is to fill the need of filtering the useless data coming from Firehose that hits the admin-ui performance. When Firehose will support fine filtering options this application will not be necessary anymore.

NOTE:

The ValueMetric default filtering logic has changed from blacklist to whitelist to reduce even more the load reaching the admin-ui. This will also prevent newly introduced metrics to flood the application. The downside of this setup is that the admin-ui Components tab will not show data anymore. You can still keep the old filtering method by setting

VALUEMETRIC_FILTER: "blacklist"

in the manifest file.

Getting started

Prerequisites

You need the admin-ui deployed and running. It does not matter if the admin-ui is deployed on Cloud Foundry or not, as long as there is network connectivity between the admin-ui and other Cloud Foundry applications.

No other SAP software is required to run this application.

Deployment
  • create an application manifest manifest.yml file starting from the example using the configuration parameters as described in the following session
  • push the application on Cloud Foundry
  • you can now use the nozzle url instead of the default doppler endpoint in the admin-ui by setting the property doppler_logging_endpoint_override in the admin-ui configuration. More info at the admin-ui project page

Configuration

DOPPLER_ENDPOINT: wss://doppler.cf.bosh-lite.com:443 Doppler endpoint of your CF deployment.

DEBUG: true print logs every 30s some statistics on the filtered messages.

SKIP_SSL_VALIDATION: true skip ssl validation on the CF doppler endpoint.

How to get support - how to contribute

Please open an issue or a pull request

License

The project is released with the Apache2.0 license

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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