| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| CreateBucketRequest req = opts.createBucketsRequest().apply(builder).build(); | ||
| GrpcCallContext merge = Utils.merge(grpcCallContext, Retrying.newCallContext()); | ||
| try (OpenTelemetryTraceUtil.Scope unused = otelSpan.makeCurrent()) { | ||
| try (OpenTelemetryTraceUtil.Scope ignored = otelSpan.makeCurrent()) { |
There was a problem hiding this comment.
renamed variables to remove warnings from intellij.
Sorry, something went wrong.
| this.openTelemetry = storageOptions.getOpenTelemetrySdk(); | ||
| this.tracer = | ||
| openTelemetry.getTracer(LIBRARY_NAME, GaxProperties.getLibraryVersion(this.getClass())); | ||
| this.tracer = openTelemetry.getTracer(LIBRARY_NAME, storageOptions.getLibraryVersion()); |
There was a problem hiding this comment.
Switch to using the logic from storageOptions rather than gax. Our version is more stable to repackaging, and is what is used for headers and such. We will want to keep them in sync.
Sorry, something went wrong.
| spanBuilder.setAllAttributes( | ||
| Attributes.builder() | ||
| .put("gcp.client.version", GaxProperties.getLibraryVersion(this.getClass())) | ||
| .put("gcp.client.version", storageOptions.getLibraryVersion()) |
There was a problem hiding this comment.
ditto
Sorry, something went wrong.
| .put("gcp.client.version", storageOptions.getLibraryVersion()) | ||
| .put("gcp.client.repo", "googleapis/java-storage") | ||
| .put("gcp.client.artifact", "com.google.cloud.google-cloud-storage") | ||
| .put("gcp.client.artifact", "com.google.cloud:google-cloud-storage") |
There was a problem hiding this comment.
use the maven package format
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM, thanks for taking care of that!
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
No description provided.