GithubHelp home page GithubHelp logo

isabella232 / newrelic-opencensus-exporter-go Goto Github PK

View Code? Open in Web Editor NEW

This project forked from newrelic/newrelic-opencensus-exporter-go

0.0 0.0 0.0 58 KB

New Relic OpenCensus Exporter

License: Apache License 2.0

Go 100.00%

newrelic-opencensus-exporter-go's Introduction

New Relic Go OpenCensus exporter GoDoc

The nrcensus package provides an exporter for sending OpenCensus stats and traces to New Relic.

Requirements

Install

To install, just go get this package with

$ go get -u github.com/newrelic/newrelic-opencensus-exporter-go

Using the exporter

To use the exporter, create a new Exporter and register it with OpenCensus.

package main

import (
    "github.com/newrelic/newrelic-opencensus-exporter-go/nrcensus"
    "go.opencensus.io/stats/view"
    "go.opencensus.io/trace"
)

func main() {
    exporter, err := nrcensus.NewExporter("My-OpenCensus-App", "__YOUR_NEW_RELIC_INSIGHTS_API_KEY__")
    if err != nil {
        panic(err)
    }
    view.RegisterExporter(exporter)
    trace.RegisterExporter(exporter)

    // create stats, traces, etc
}

Find and use your data

Tips on how to find and query your data:

For general querying information, see:

Find and use your data

Tips on how to find and query your data:

For general querying information, see:

Licensing

The New Relic Go OpenCensus exporter is licensed under the Apache 2.0 License. The New Relic Go OpenCensus exporter also uses source code from third party libraries. Full details on which libraries are used and the terms under which they are licensed can be found in the third party notices document.

Contributing

Full details are available in our CONTRIBUTING.md file. We'd love to get your contributions to improve the Go OpenCensus exporter! Keep in mind when you submit your pull request, you'll need to sign the CLA via the click-through using CLA-Assistant. You only have to sign the CLA one time per project. To execute our corporate CLA, which is required if your contribution is on behalf of a company, or if you have any questions, please drop us an email at [email protected].

Limitations

The New Relic Telemetry APIs are rate limited. Please reference the documentation for New Relic Metrics API and New Relic Trace API Requirements and Limits on the specifics of the rate limits.

newrelic-opencensus-exporter-go's People

Contributors

mralias avatar newrelic-eheinlein avatar purple4reina avatar zuluecho9 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.