Skip to content

TeamCodeStream/go-clm-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go CLM Demo

This demo app demonstrates several methods that generate code level metrics which can be viewed in the CodeStream Plugin

Running

To run the app, simply set the environment variables for your ingest key and run the docker-compose command.

export NEW_RELIC_LICENSE_KEY=<your license key> && export NEW_RELIC_HOST=staging-collector.newrelic.com
docker-compose up --build -d

This will build and run the go demo app and it will also send traffic to the app using the tester.sh script which runs simple curl commands.

Logs will be available in the logs subdirectory.

running locally

To run outside of Docker, first grab the develop branch of the newrelic golang agent.

export NEW_RELIC_LICENSE_KEY=<your license key> && export NEW_RELIC_HOST=staging-collector.newrelic.com
go get github.com/newrelic/go-agent/v3/newrelic@develop
go run server/*

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published