Skip to content

Commit

Permalink
move region tag
Browse files Browse the repository at this point in the history
  • Loading branch information
sydney-munro committed Jan 9, 2025
1 parent a3416dd commit 300ff72
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

package com.example.storage;

// [START storage_enable_otel_tracing]


import com.google.cloud.opentelemetry.propagators.XCloudTraceContextPropagator;
import com.google.cloud.opentelemetry.trace.TraceExporter;
Expand All @@ -31,6 +31,7 @@
import io.opentelemetry.sdk.trace.export.SpanExporter;
import io.opentelemetry.sdk.trace.samplers.Sampler;

// [START storage_enable_otel_tracing]
public class QuickstartOpenTelemetrySample {
public static void main(String... args) throws Exception {
SpanExporter exporter = TraceExporter.createWithDefaultConfiguration();
Expand Down

0 comments on commit 300ff72

Please sign in to comment.