Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/greenboxal/nr-iris
- Owner: greenboxal
- License: apache-2.0
- Created: 2017-07-22T23:13:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-24T02:41:14.000Z (over 7 years ago)
- Last Synced: 2024-06-20T03:48:27.522Z (6 months ago)
- Language: Go
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).