Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/greenboxal/nr-iris

NewRelic instrumentation helpers for iris
https://github.com/greenboxal/nr-iris

Last synced: about 1 month ago
JSON representation

NewRelic instrumentation helpers for iris

Awesome Lists containing this project

README

        

# nr-iris

NewRelic instrumentation helpers for iris

## Usage

### Instrumenting web transactions

```go
app.HandleFunc("POST", "/orders", nriris.WrapHandler("/orders", createOrder))
```

### Getting newrelic.Transaction:
```go
func handler (ctx *iris.Context) {
txn := nriris.GetTransaction(ctx)
}
```

For complete documentation, check [here](https://godoc.org/github.com/greenboxal/nr-iris).

## License

See [here](LICENSE).