Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7801,6 +7801,7 @@ public void testOpenTelemetryTracingDatasets() {
BigQueryOptions.newBuilder()
.setEnableOpenTelemetryTracing(true)
.setOpenTelemetryTracer(tracer)
.setLocation("US")
.build();
BigQuery bigquery = otelOptions.getService();

Expand All @@ -7818,6 +7819,7 @@ public void testOpenTelemetryTracingDatasets() {
.setDescription(DESCRIPTION)
.setMaxTimeTravelHours(72L)
.setLabels(LABELS)
.setLocation("US")
.build();

Dataset dataset = bigquery.create(info);
Expand All @@ -7839,7 +7841,7 @@ public void testOpenTelemetryTracingDatasets() {
parentSpan.end();
Map<AttributeKey<?>, Object> createMap =
OTEL_ATTRIBUTES.get("com.google.cloud.bigquery.BigQuery.createDataset");
assertEquals("null", createMap.get(AttributeKey.stringKey("bq.dataset.location")));
assertEquals("US", createMap.get(AttributeKey.stringKey("bq.dataset.location")));
assertEquals(
"DatasetService",
OTEL_ATTRIBUTES
Expand Down
Loading