Skip to content
This repository has been archived by the owner on Jan 29, 2022. It is now read-only.

Commit

Permalink
Update the README to be more accurate
Browse files Browse the repository at this point in the history
  • Loading branch information
jwatson committed Jan 7, 2020
1 parent 3d51732 commit 4fb5381
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# New Relic OpenTelemetry Span Exporter
An [OpenTelemetry](https://github.com/open-telemetry/opentelemetry-java) reporter for sending spans to New Relic using the New Relic Java Telemetry SDK.
For the juicy details on how OpenTelemetry spans are mapped to New Relic spans...[coming soon - the exporter specs documentation repo!]()
An [OpenTelemetry](https://github.com/open-telemetry/opentelemetry-java) reporter for sending spans to New Relic using the
New Relic Java Telemetry SDK.
For the juicy details on how OpenTelemetry spans are mapped to New Relic spans, see documentation in
[Our Exporter Specifications Documentation](https://github.com/newrelic/newrelic-exporter-specs)

### How To Use

In order to send spans to New Relic, you will need an Insights Insert API Key. Please see [New Relic Api Keys](https://docs.newrelic.com/docs/insights/insights-data-sources/custom-data/introduction-event-api#) for more information.
In order to send spans to New Relic, you will need an Insights Insert API Key.
Please see [New Relic Api Keys](https://docs.newrelic.com/docs/insights/insights-data-sources/custom-data/introduction-event-api#)
for more information.

1. Create a `NewRelicSpanExporter`
```
Expand All @@ -25,7 +29,7 @@ TracerSdk tracerSdk = new TracerSdk();
```

### Gradle
`build.gradle:`
`build.gradle`:

```
repositories {
Expand All @@ -37,7 +41,7 @@ repositories {

```
implementation("com.newrelic.telemetry:opentelemetry-exporters-newrelic:0.2.0-SNAPSHOT")
implementation("io.opentelemetry:opentelemetry-sdk:0.2.0-SNAPSHOT")
implementation("io.opentelemetry:opentelemetry-sdk:0.2.0")
implementation("com.newrelic.telemetry:telemetry-core:0.3.2")
implementation("com.newrelic.telemetry:telemetry-http-okhttp:0.3.2")
```
Expand Down

0 comments on commit 4fb5381

Please sign in to comment.