Skip to content
This repository has been archived by the owner before Nov 9, 2022. It is now read-only.

vmware-archive/opentsdb-firehose-nozzle

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 64 commits ahead, 70 commits behind cloudfoundry-attic:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Summary

The opentsdb-firehose-nozzle is a CF component which forwards metrics from the Loggregator Firehose to an [Opentsdb] deployment

Configure CloudFoundry UAA for Firehose Nozzle

The opentsdb firehose nozzle requires a UAA user who is authorized to access the loggregator firehose. You can add a user by editing your CloudFoundry manifest to include the details about this user under the properties.uaa.clients section. For example to add a user opentsdb-firehose-nozzle:

properties:
  uaa:
    clients:
      opentsdb-firehose-nozzle:
        access-token-validity: 1209600
        authorized-grant-types: client_credentials,refresh_token
        override: true
        secret: <password>
        scope: openid,oauth.approvals,doppler.firehose
        authorities: oauth.login,doppler.firehose

Running

The opentsdb nozzle uses a configuration file to obtain the firehose URL, and other configuration parameters. The firehose and the opentsdb servers both require authentication -- the firehose requires a valid username/password and opentsdb requires a valid API key.

You can start the firehose nozzle by executing:

go run main.go -config config/opentsdb-firehose-nozzle.json

Batching

The configuration file specifies the interval at which the nozzle will flush metrics to opentsdb. By default this is set to 15 seconds.

Tests

You need ginkgo and go 1.5+ to run the tests. The tests can be executed by:

go build
ginkgo -r

About

CF component to forward metrics from the Loggregator Firehose to DataDog

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.0%
  • Shell 1.0%