This repository was archived by the owner on Mar 23, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
google-cloud-bigquery/src
main/java/com/google/cloud/bigquery
test/java/com/google/cloud/bigquery/it Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -567,7 +567,7 @@ && getOptions().getOpenTelemetryTracer() != null) {
567567 getOptions ()
568568 .getOpenTelemetryTracer ()
569569 .spanBuilder ("JAVA_BQ_SDK_datasetGet" )
570- .setAllAttributes (datasetId .getOtelAttributes ())
570+ .setAllAttributes (completeDatasetId .getOtelAttributes ())
571571 .setAllAttributes (otelAttributesFromOptions (options ))
572572 .startSpan ();
573573 }
Original file line number Diff line number Diff line change @@ -7592,14 +7592,14 @@ public void testOpenTelemetryTracingDatasets() {
75927592 assertEquals (createMap .get (AttributeKey .stringKey ("defaultCollation" )), "null" );
75937593
75947594 Map <AttributeKey <?>, Object > getMap = OTEL_ATTRIBUTES .get ("JAVA_BQ_SDK_datasetGet" );
7595- assertEquals (getMap .get (AttributeKey .stringKey ("datasetId " )), billingModelDataset );
7595+ assertEquals (getMap .get (AttributeKey .stringKey ("dataset " )), billingModelDataset );
75967596
75977597 Map <AttributeKey <?>, Object > updateMap = OTEL_ATTRIBUTES .get ("JAVA_BQ_SDK_datasetUpdate" );
75987598 assertEquals (updateMap .get (AttributeKey .stringKey ("description" )), "Updated Description" );
75997599 assertEquals (updateMap .get (AttributeKey .stringKey ("ACCESS_POLICY_VERSION" )), "2" );
76007600
76017601 Map <AttributeKey <?>, Object > deleteMap = OTEL_ATTRIBUTES .get ("JAVA_BQ_SDK_datasetDelete" );
7602- assertEquals (deleteMap .get (AttributeKey .stringKey ("datasetId " )), billingModelDataset );
7602+ assertEquals (deleteMap .get (AttributeKey .stringKey ("dataset " )), billingModelDataset );
76037603
76047604 // All should be children spans of parentSpan
76057605 assertEquals (
You can’t perform that action at this time.
0 commit comments