@@ -464,19 +464,19 @@ func newConnectorImp(defaultNullValue *string, histogramConfig func() HistogramC
464
464
ResourceMetricsKeyAttributes : resourceMetricsKeyAttributes ,
465
465
Dimensions : []Dimension {
466
466
// Set nil defaults to force a lookup for the attribute in the span.
467
- {stringAttrName , nil },
468
- {intAttrName , nil },
469
- {doubleAttrName , nil },
470
- {boolAttrName , nil },
471
- {mapAttrName , nil },
472
- {arrayAttrName , nil },
473
- {nullAttrName , defaultNullValue },
467
+ {Name : stringAttrName , Default : nil },
468
+ {Name : intAttrName , Default : nil },
469
+ {Name : doubleAttrName , Default : nil },
470
+ {Name : boolAttrName , Default : nil },
471
+ {Name : mapAttrName , Default : nil },
472
+ {Name : arrayAttrName , Default : nil },
473
+ {Name : nullAttrName , Default : defaultNullValue },
474
474
// Add a default value for an attribute that doesn't exist in a span
475
- {notInSpanAttrName0 , stringp ("defaultNotInSpanAttrVal" )},
475
+ {Name : notInSpanAttrName0 , Default : stringp ("defaultNotInSpanAttrVal" )},
476
476
// Leave the default value unset to test that this dimension should not be added to the metric.
477
- {notInSpanAttrName1 , nil },
477
+ {Name : notInSpanAttrName1 , Default : nil },
478
478
// Add a resource attribute to test "process" attributes like IP, host, region, cluster, etc.
479
- {regionResourceAttrName , nil },
479
+ {Name : regionResourceAttrName , Default : nil },
480
480
},
481
481
Events : eventsConfig (),
482
482
MetricsExpiration : expiration ,
0 commit comments