Skip to content

kcboyle/componentMetrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ComponentMetrics

To run this app, please have Cloud Foundry installed.

ComponentMetrics need to have access to your doppler websocket (wss://) endpoint and your cf oauth token ($(cf oauth-token | grep bearer)). These need to be exported in variables named DOPPLER_ADDR and CF_ACCESS_TOKEN. Also export the PORT variable to any open port of your choosing.

To run the application, simply run go run main.go inside the repository. Then navigate to localhost:(PORT)/messages to see the graph.

To deploy to Cloud Foundry, simply change the DOPPLER_ADDR inside of the setupEnv.sh script, and execute deploy.sh. This will deploy componentMetrics to Cloud Foundry and setup the environment variables the app needs to run. Then you can navigate to the address reserved for your app (the /messages endpoint) and view the metrics there.

About

Project to track the metrics coming through the firehose. Displays gathered metrics in a graph (V1)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published