-
Notifications
You must be signed in to change notification settings - Fork 136
deps: update all tracing and telemetry dependencies #4230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -19,6 +19,7 @@ | |||||
| <maven.compiler.target>1.8</maven.compiler.target> | ||||||
| <maven.compiler.source>1.8</maven.compiler.source> | ||||||
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||||||
| <google.cloud.opentelemetry.version>0.36.0</google.cloud.opentelemetry.version> | ||||||
| </properties> | ||||||
|
|
||||||
| <dependencies> | ||||||
|
|
@@ -41,11 +42,16 @@ | |||||
| <dependency> | ||||||
| <groupId>io.opentelemetry</groupId> | ||||||
| <artifactId>opentelemetry-sdk-trace</artifactId> | ||||||
| </dependency> | ||||||
| </dependency> | ||||||
| <dependency> | ||||||
| <groupId>com.google.cloud.opentelemetry</groupId> | ||||||
| <artifactId>shared-resourcemapping</artifactId> | ||||||
| <version>${google.cloud.opentelemetry.version}</version> | ||||||
| </dependency> | ||||||
| <dependency> | ||||||
| <groupId>com.google.cloud.opentelemetry</groupId> | ||||||
| <artifactId>exporter-trace</artifactId> | ||||||
| <version>0.33.0</version> | ||||||
| <version>${google.cloud.opentelemetry.version}</version> | ||||||
| <exclusions> | ||||||
| <exclusion> | ||||||
| <groupId>io.opentelemetry.semconv</groupId> | ||||||
|
|
@@ -64,7 +70,7 @@ | |||||
| <dependency> | ||||||
| <groupId>com.google.cloud</groupId> | ||||||
| <artifactId>google-cloud-trace</artifactId> | ||||||
| <version>2.76.0</version> | ||||||
| <version>2.79.0</version> | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This version is hardcoded. The
Suggested change
|
||||||
| <!-- Version will be managed by guava --> | ||||||
| <exclusions> | ||||||
| <exclusion> | ||||||
|
|
@@ -290,7 +296,7 @@ | |||||
| <groupId>org.apache.maven.plugins</groupId> | ||||||
| <artifactId>maven-dependency-plugin</artifactId> | ||||||
| <configuration> | ||||||
| <ignoredDependencies> com.google.api:gax,org.apache.maven.surefire:surefire-junit4,io.opentelemetry.semconv:opentelemetry-semconv </ignoredDependencies> | ||||||
| <ignoredDependencies> com.google.api:gax,org.apache.maven.surefire:surefire-junit4,io.opentelemetry.semconv:opentelemetry-semconv,com.google.cloud.opentelemetry:shared-resourcemapping </ignoredDependencies> | ||||||
| </configuration> | ||||||
| </plugin> | ||||||
| </plugins> | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -16,6 +16,7 @@ | |||||
| <properties> | ||||||
| <site.installationModule>google-cloud-spanner</site.installationModule> | ||||||
| <opencensus.version>0.31.1</opencensus.version> | ||||||
| <google.cloud.monitoring.version>3.81.0</google.cloud.monitoring.version> | ||||||
| <spanner.testenv.config.class>com.google.cloud.spanner.GceTestEnvConfig</spanner.testenv.config.class> | ||||||
| <spanner.testenv.instance>projects/gcloud-devel/instances/spanner-testing-east1</spanner.testenv.instance> | ||||||
| <spanner.gce.config.project_id>gcloud-devel</spanner.gce.config.project_id> | ||||||
|
|
@@ -272,7 +273,7 @@ | |||||
| <dependency> | ||||||
| <groupId>com.google.cloud</groupId> | ||||||
| <artifactId>google-cloud-monitoring</artifactId> | ||||||
| <version>3.77.0</version> | ||||||
| <version>${google.cloud.monitoring.version}</version> | ||||||
| <!-- Version will be managed by guava --> | ||||||
| <exclusions> | ||||||
| <exclusion> | ||||||
|
|
@@ -284,7 +285,7 @@ | |||||
| <dependency> | ||||||
| <groupId>com.google.api.grpc</groupId> | ||||||
| <artifactId>proto-google-cloud-monitoring-v3</artifactId> | ||||||
| <version>3.77.0</version> | ||||||
| <version>${google.cloud.monitoring.version}</version> | ||||||
| <!-- Version will be managed by guava --> | ||||||
| <exclusions> | ||||||
| <exclusion> | ||||||
|
|
@@ -296,7 +297,7 @@ | |||||
| <dependency> | ||||||
| <groupId>com.google.api.grpc</groupId> | ||||||
| <artifactId>grpc-google-cloud-monitoring-v3</artifactId> | ||||||
| <version>3.77.0</version> | ||||||
| <version>${google.cloud.monitoring.version}</version> | ||||||
| <scope>test</scope> | ||||||
| <!-- Version will be managed by guava --> | ||||||
| <exclusions> | ||||||
|
|
@@ -499,13 +500,13 @@ | |||||
| <dependency> | ||||||
| <groupId>com.google.cloud.opentelemetry</groupId> | ||||||
| <artifactId>exporter-trace</artifactId> | ||||||
| <version>0.33.0</version> | ||||||
| <version>0.36.0</version> | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The version for
Suggested change
|
||||||
| <scope>test</scope> | ||||||
| </dependency> | ||||||
| <dependency> | ||||||
| <groupId>com.google.cloud</groupId> | ||||||
| <artifactId>google-cloud-trace</artifactId> | ||||||
| <version>2.76.0</version> | ||||||
| <version>2.79.0</version> | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The version for
Suggested change
|
||||||
| <scope>test</scope> | ||||||
| </dependency> | ||||||
| <dependency> | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To improve maintainability and consistency with the goal of this PR, consider defining a property for the
google.cloud.opentelemetrydependencies as well. The dependenciesexporter-trace(line 53) andexporter-metrics(line 58) use a hardcoded version0.36.0. You can define the property here and then use it for those dependencies.