Update readme and examples for 1.0.0 (#2949)

* update versions in the README

* update the examples for 1.0.0
This commit is contained in:
John Watson 2021-02-26 14:18:16 -08:00 committed by GitHub
parent 20f1b3dd50
commit e59d983283
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 32 additions and 22 deletions

View File

@ -63,7 +63,7 @@ dependency versions in sync.
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-bom</artifactId>
<version>0.17.0</version>
<version>1.0.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
@ -82,7 +82,7 @@ dependency versions in sync.
```groovy
dependencies {
implementation platform("io.opentelemetry:opentelemetry-bom:0.17.0")
implementation platform("io.opentelemetry:opentelemetry-bom:1.0.0")
implementation('io.opentelemetry:opentelemetry-api')
}
```
@ -107,7 +107,7 @@ We strongly recommend using our published BOM to keep all dependency versions in
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-bom</artifactId>
<version>0.18.0-SNAPSHOT</version>
<version>1.1.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>
@ -130,7 +130,7 @@ repositories {
}
dependencies {
implementation platform("io.opentelemetry:opentelemetry-bom:0.18.0-SNAPSHOT")
implementation platform("io.opentelemetry:opentelemetry-bom:1.1.0-SNAPSHOT")
implementation('io.opentelemetry:opentelemetry-api')
}
```
@ -150,19 +150,19 @@ This is a **current** feature status list:
| Component | Version |
| --------------------------- | ------- |
| Trace API | v<!--VERSION_STABLE-->0.17.0<!--/VERSION_STABLE--> |
| Trace SDK | v<!--VERSION_STABLE-->0.17.0<!--/VERSION_STABLE--> |
| Context | v<!--VERSION_STABLE-->0.17.0<!--/VERSION_STABLE--> |
| Baggage | v<!--VERSION_STABLE-->0.17.0<!--/VERSION_STABLE--> |
| Jaeger Trace Exporter | v<!--VERSION_STABLE-->0.17.0<!--/VERSION_STABLE--> |
| Zipkin Trace Exporter | v<!--VERSION_STABLE-->0.17.0<!--/VERSION_STABLE--> |
| OTLP Exporter (Spans) | v<!--VERSION_STABLE-->0.17.0<!--/VERSION_STABLE--> |
| OTLP Exporter (Metrics) | v<!--VERSION_UNSTABLE-->0.17.0-alpha<!--/VERSION_UNSTABLE--> |
| Metrics API | v<!--VERSION_UNSTABLE-->0.17.0-alpha<!--/VERSION_UNSTABLE--> |
| Metrics SDK | v<!--VERSION_UNSTABLE-->0.17.0-alpha<!--/VERSION_UNSTABLE--> |
| Prometheus Metrics Exporter | v<!--VERSION_UNSTABLE-->0.17.0-alpha<!--/VERSION_UNSTABLE--> |
| OpenTracing Bridge | v<!--VERSION_UNSTABLE-->0.17.0-alpha<!--/VERSION_UNSTABLE--> |
| OpenCensus Bridge | v<!--VERSION_UNSTABLE-->0.17.0-alpha<!--/VERSION_UNSTABLE--> |
| Trace API | v<!--VERSION_STABLE-->1.0.0<!--/VERSION_STABLE--> |
| Trace SDK | v<!--VERSION_STABLE-->1.0.0<!--/VERSION_STABLE--> |
| Context | v<!--VERSION_STABLE-->1.0.0<!--/VERSION_STABLE--> |
| Baggage | v<!--VERSION_STABLE-->1.0.0<!--/VERSION_STABLE--> |
| Jaeger Trace Exporter | v<!--VERSION_STABLE-->1.0.0<!--/VERSION_STABLE--> |
| Zipkin Trace Exporter | v<!--VERSION_STABLE-->1.0.0<!--/VERSION_STABLE--> |
| OTLP Exporter (Spans) | v<!--VERSION_STABLE-->1.0.0<!--/VERSION_STABLE--> |
| OTLP Exporter (Metrics) | v<!--VERSION_UNSTABLE-->1.0.0-alpha<!--/VERSION_UNSTABLE--> |
| Metrics API | v<!--VERSION_UNSTABLE-->1.0.0-alpha<!--/VERSION_UNSTABLE--> |
| Metrics SDK | v<!--VERSION_UNSTABLE-->1.0.0-alpha<!--/VERSION_UNSTABLE--> |
| Prometheus Metrics Exporter | v<!--VERSION_UNSTABLE-->1.0.0-alpha<!--/VERSION_UNSTABLE--> |
| OpenTracing Bridge | v<!--VERSION_UNSTABLE-->1.0.0-alpha<!--/VERSION_UNSTABLE--> |
| OpenCensus Bridge | v<!--VERSION_UNSTABLE-->1.0.0-alpha<!--/VERSION_UNSTABLE--> |
See the project [milestones](https://github.com/open-telemetry/opentelemetry-java/milestones)
for details on upcoming releases. The dates and features described in issues

View File

@ -15,8 +15,8 @@ subprojects {
version = "0.1.0-SNAPSHOT"
ext {
openTelemetryVersion = "0.17.0"
openTelemetryAlphaVersion = "0.17.0-alpha"
openTelemetryVersion = "1.0.0"
openTelemetryAlphaVersion = "1.0.0-alpha"
grpcVersion = '1.34.1'
protobufVersion = '3.11.4'
protocVersion = protobufVersion

View File

@ -9,6 +9,10 @@ dependencies {
implementation "io.opentelemetry:opentelemetry-api"
implementation "io.opentelemetry:opentelemetry-sdk"
implementation "io.opentelemetry:opentelemetry-exporter-logging"
//alpha module
implementation "io.opentelemetry:opentelemetry-semconv"
implementation "io.grpc:grpc-protobuf"
implementation "io.grpc:grpc-stub"
implementation "io.grpc:grpc-netty-shaded"

View File

@ -10,6 +10,9 @@ dependencies {
implementation("io.opentelemetry:opentelemetry-sdk")
implementation("io.opentelemetry:opentelemetry-exporter-jaeger")
//alpha module
implementation "io.opentelemetry:opentelemetry-semconv"
implementation("io.grpc:grpc-protobuf")
implementation("io.grpc:grpc-netty-shaded")
}

View File

@ -6,7 +6,10 @@ description = 'OpenTelemetry Examples for Zipkin Exporter'
ext.moduleName = "io.opentelemetry.examples.zipkin"
dependencies {
compile("io.opentelemetry:opentelemetry-api")
compile("io.opentelemetry:opentelemetry-sdk")
compile("io.opentelemetry:opentelemetry-exporter-zipkin")
implementation("io.opentelemetry:opentelemetry-api")
implementation("io.opentelemetry:opentelemetry-sdk")
implementation("io.opentelemetry:opentelemetry-exporter-zipkin")
//alpha module
implementation "io.opentelemetry:opentelemetry-semconv"
}