Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

Commit

Permalink
Update all versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
songy23 committed Feb 20, 2019
1 parent 1d33a96 commit 7ad9926
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 23 deletions.
2 changes: 2 additions & 0 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ token](https://help.github.com/articles/creating-a-personal-access-token-for-the
examples/build.gradle
examples/pom.xml
api/src/main/java/io/opencensus/common/OpenCensusLibraryInformation.java
exporters/metrics/ocagent/src/main/java/io/opencensus/exporter/metrics/ocagent/OcAgentNodeUtils.java
exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/OcAgentNodeUtils.java
)
$ git checkout -b v$MAJOR.$MINOR.x master
Expand Down Expand Up @@ -217,6 +218,7 @@ $ README_FILES=(
contrib/spring/README.md
contrib/spring_sleuth_v1x/README.md
contrib/zpages/README.md
exporters/metrics/ocagent/README.md
exporters/stats/prometheus/README.md
exporters/stats/signalfx/README.md
exporters/stats/stackdriver/README.md
Expand Down
12 changes: 6 additions & 6 deletions exporters/metrics/ocagent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,27 @@ For Maven add to your `pom.xml`:
<dependency>
<groupId>io.opencensus</groupId>
<artifactId>opencensus-api</artifactId>
<version>0.19.0</version>
<version>0.20.0</version>
</dependency>
<dependency>
<groupId>io.opencensus</groupId>
<artifactId>opencensus-exporter-metrics-ocagent</artifactId>
<version>0.19.0</version>
<version>0.20.0</version>
</dependency>
<dependency>
<groupId>io.opencensus</groupId>
<artifactId>opencensus-impl</artifactId>
<version>0.19.0</version>
<version>0.20.0</version>
<scope>runtime</scope>
</dependency>
</dependencies>
```

For Gradle add to your dependencies:
```groovy
compile 'io.opencensus:opencensus-api:0.19.0'
compile 'io.opencensus:opencensus-exporter-metrics-ocagent:0.19.0'
runtime 'io.opencensus:opencensus-impl:0.19.0'
compile 'io.opencensus:opencensus-api:0.20.0'
compile 'io.opencensus:opencensus-exporter-metrics-ocagent:0.20.0'
runtime 'io.opencensus:opencensus-impl:0.20.0'
```

### Register the exporter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* }
* }</pre>
*
* @since 0.19
* @since 0.20
*/
@ThreadSafe
public final class OcAgentMetricsExporter {
Expand All @@ -65,7 +65,7 @@ public final class OcAgentMetricsExporter {
* to the OpenCensus library.
*
* @param configuration the {@code OcAgentMetricsExporterConfiguration}.
* @since 0.19
* @since 0.20
*/
public static void createAndRegister(OcAgentMetricsExporterConfiguration configuration) {
checkNotNull(configuration, "configuration");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/**
* Configurations for {@code OcAgentMetricsExporter}.
*
* @since 0.19
* @since 0.20
*/
@AutoValue
@Immutable
Expand All @@ -37,7 +37,7 @@ public abstract class OcAgentMetricsExporterConfiguration {
* Returns the end point of OC-Agent. The end point can be dns, ip:port, etc.
*
* @return the end point of OC-Agent.
* @since 0.19
* @since 0.20
*/
@Nullable
public abstract String getEndPoint();
Expand All @@ -46,7 +46,7 @@ public abstract class OcAgentMetricsExporterConfiguration {
* Returns whether to disable client transport security for the exporter's gRPC connection or not.
*
* @return whether to disable client transport security for the exporter's gRPC connection or not.
* @since 0.19
* @since 0.20
*/
@Nullable
public abstract Boolean getUseInsecure();
Expand All @@ -64,7 +64,7 @@ public abstract class OcAgentMetricsExporterConfiguration {
* Returns the service name to be used for the {@code OcAgentMetricsExporter}.
*
* @return the service name.
* @since 0.19
* @since 0.20
*/
@Nullable
public abstract String getServiceName();
Expand All @@ -73,7 +73,7 @@ public abstract class OcAgentMetricsExporterConfiguration {
* Returns the retry time interval when trying to connect to Agent.
*
* @return the retry time interval.
* @since 0.19
* @since 0.20
*/
@Nullable
public abstract Duration getRetryInterval();
Expand All @@ -82,7 +82,7 @@ public abstract class OcAgentMetricsExporterConfiguration {
* Returns the export interval between pushes to Agent.
*
* @return the export interval.
* @since 0.19
* @since 0.20
*/
@Nullable
public abstract Duration getExportInterval();
Expand All @@ -91,7 +91,7 @@ public abstract class OcAgentMetricsExporterConfiguration {
* Returns a new {@link Builder}.
*
* @return a {@code Builder}.
* @since 0.19
* @since 0.20
*/
public static Builder builder() {
return new AutoValue_OcAgentMetricsExporterConfiguration.Builder().setUseInsecure(true);
Expand All @@ -100,7 +100,7 @@ public static Builder builder() {
/**
* Builder for {@link OcAgentMetricsExporterConfiguration}.
*
* @since 0.19
* @since 0.20
*/
@AutoValue.Builder
public abstract static class Builder {
Expand All @@ -112,7 +112,7 @@ public abstract static class Builder {
*
* @param endPoint the end point of OC-Agent.
* @return this.
* @since 0.19
* @since 0.20
*/
public abstract Builder setEndPoint(String endPoint);

Expand All @@ -122,7 +122,7 @@ public abstract static class Builder {
* @param useInsecure whether disable client transport security for the exporter's gRPC
* connection.
* @return this.
* @since 0.19
* @since 0.20
*/
public abstract Builder setUseInsecure(Boolean useInsecure);

Expand All @@ -140,7 +140,7 @@ public abstract static class Builder {
*
* @param serviceName the service name.
* @return this.
* @since 0.19
* @since 0.20
*/
public abstract Builder setServiceName(String serviceName);

Expand All @@ -149,7 +149,7 @@ public abstract static class Builder {
*
* @param retryInterval the retry time interval.
* @return this.
* @since 0.19
* @since 0.20
*/
public abstract Builder setRetryInterval(Duration retryInterval);

Expand All @@ -158,7 +158,7 @@ public abstract static class Builder {
*
* @param exportInterval the export time interval.
* @return this.
* @since 0.19
* @since 0.20
*/
public abstract Builder setExportInterval(Duration exportInterval);

Expand All @@ -168,7 +168,7 @@ public abstract static class Builder {
* Builds a {@link OcAgentMetricsExporterConfiguration}.
*
* @return a {@code OcAgentMetricsExporterConfiguration}.
* @since 0.19
* @since 0.20
*/
public abstract OcAgentMetricsExporterConfiguration build();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ final class OcAgentNodeUtils {

// The current version of the OpenCensus OC-Agent Exporter.
@VisibleForTesting
static final String OC_AGENT_EXPORTER_VERSION = "0.18.0-SNAPSHOT"; // CURRENT_OPENCENSUS_VERSION
static final String OC_AGENT_EXPORTER_VERSION = "0.20.0-SNAPSHOT"; // CURRENT_OPENCENSUS_VERSION

@Nullable
private static final io.opencensus.resource.Resource AUTO_DETECTED_RESOURCE =
Expand Down

0 comments on commit 7ad9926

Please sign in to comment.