https://github.com/teamcodestream/go-clm-demo
https://github.com/teamcodestream/go-clm-demo
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/teamcodestream/go-clm-demo
- Owner: TeamCodeStream
- Archived: true
- Created: 2022-07-30T19:46:57.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-25T17:48:55.000Z (over 1 year ago)
- Last Synced: 2025-04-11T18:11:45.731Z (2 months ago)
- Language: Go
- Size: 22.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go CLM Demo
This demo app demonstrates several methods that generate code level
metrics which can be viewed in the [CodeStream Plugin](https://www.codestream.com/)## Running
To run the app, simply set the environment variables for your
ingest key and run the docker-compose command.```shell
export NEW_RELIC_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.```shell
export NEW_RELIC_LICENSE_KEY= && export NEW_RELIC_HOST=staging-collector.newrelic.com
go get github.com/newrelic/go-agent/v3/newrelic@develop
go run server/*
```