newrelic-go-agent icon indicating copy to clipboard operation
newrelic-go-agent copied to clipboard

Installation Instructions?

Open Fyb3roptik opened this issue 10 years ago • 3 comments

I am new to Golang and New Relic, but want to use this! I am familiar with setting it up for PHP, but I am using docker to install my api. How would I get this installed?

Thanks!

Fyb3roptik avatar Jul 16 '15 14:07 Fyb3roptik

+1

harshadptl avatar Sep 28 '15 11:09 harshadptl

+1

txbm avatar Mar 10 '16 07:03 txbm

@Fyb3roptik I believe this is how you inject your license key:

if err := newrelic.Init("your license", "name", "language", "language version"); err != nil {
    //blabla didn't work
}

You should as well be able to use wrapper from other git repo: https://github.com/remind101/newrelic/

ianomad avatar Jun 21 '16 21:06 ianomad