@@ -35,8 +35,8 @@ TEST(SetMetricFamilyTest, CountDouble) {
3535 " measure_count_double" , " " , " units" );
3636 const std::string task = " test_task" ;
3737 const std::string view_name = " test_descriptor" ;
38- const auto tag_key_1 = opencensus::stats ::TagKey::Register (" foo" );
39- const auto tag_key_2 = opencensus::stats ::TagKey::Register (" bar" );
38+ const auto tag_key_1 = opencensus::tags ::TagKey::Register (" foo" );
39+ const auto tag_key_2 = opencensus::tags ::TagKey::Register (" bar" );
4040 const auto view_descriptor =
4141 opencensus::stats::ViewDescriptor ()
4242 .set_name (view_name)
@@ -112,8 +112,8 @@ TEST(SetMetricFamilyTest, SumDouble) {
112112 " measure_sum_double" , " " , " units" );
113113 const std::string task = " test_task" ;
114114 const std::string view_name = " test_descriptor" ;
115- const auto tag_key_1 = opencensus::stats ::TagKey::Register (" foo" );
116- const auto tag_key_2 = opencensus::stats ::TagKey::Register (" bar" );
115+ const auto tag_key_1 = opencensus::tags ::TagKey::Register (" foo" );
116+ const auto tag_key_2 = opencensus::tags ::TagKey::Register (" bar" );
117117 const auto view_descriptor =
118118 opencensus::stats::ViewDescriptor ()
119119 .set_name (view_name)
@@ -189,8 +189,8 @@ TEST(SetMetricFamilyTest, SumInt) {
189189 opencensus::stats::MeasureInt64::Register (" measure_sum_int" , " " , " units" );
190190 const std::string task = " test_task" ;
191191 const std::string view_name = " test_descriptor" ;
192- const auto tag_key_1 = opencensus::stats ::TagKey::Register (" foo" );
193- const auto tag_key_2 = opencensus::stats ::TagKey::Register (" bar" );
192+ const auto tag_key_1 = opencensus::tags ::TagKey::Register (" foo" );
193+ const auto tag_key_2 = opencensus::tags ::TagKey::Register (" bar" );
194194 const auto view_descriptor =
195195 opencensus::stats::ViewDescriptor ()
196196 .set_name (view_name)
@@ -266,8 +266,8 @@ TEST(SetMetricFamilyTest, LastValueDouble) {
266266 " measure_last_value_double" , " " , " units" );
267267 const std::string task = " test_task" ;
268268 const std::string view_name = " test_descriptor" ;
269- const auto tag_key_1 = opencensus::stats ::TagKey::Register (" foo" );
270- const auto tag_key_2 = opencensus::stats ::TagKey::Register (" bar" );
269+ const auto tag_key_1 = opencensus::tags ::TagKey::Register (" foo" );
270+ const auto tag_key_2 = opencensus::tags ::TagKey::Register (" bar" );
271271 const auto view_descriptor =
272272 opencensus::stats::ViewDescriptor ()
273273 .set_name (view_name)
@@ -342,8 +342,8 @@ TEST(SetMetricFamilyTest, LastValueInt64) {
342342 " measure_last_value_int" , " " , " units" );
343343 const std::string task = " test_task" ;
344344 const std::string view_name = " test_descriptor" ;
345- const auto tag_key_1 = opencensus::stats ::TagKey::Register (" foo" );
346- const auto tag_key_2 = opencensus::stats ::TagKey::Register (" bar" );
345+ const auto tag_key_1 = opencensus::tags ::TagKey::Register (" foo" );
346+ const auto tag_key_2 = opencensus::tags ::TagKey::Register (" bar" );
347347 const auto view_descriptor =
348348 opencensus::stats::ViewDescriptor ()
349349 .set_name (view_name)
@@ -417,8 +417,8 @@ TEST(StackdriverUtilsTest, MakeTimeSeriesDistributionDouble) {
417417 const auto measure = opencensus::stats::MeasureDouble::Register (
418418 " measure_distribution_double" , " " , " units" );
419419 const std::string view_name = " test_descriptor" ;
420- const auto tag_key_1 = opencensus::stats ::TagKey::Register (" foo" );
421- const auto tag_key_2 = opencensus::stats ::TagKey::Register (" bar" );
420+ const auto tag_key_1 = opencensus::tags ::TagKey::Register (" foo" );
421+ const auto tag_key_2 = opencensus::tags ::TagKey::Register (" bar" );
422422 const auto bucket_boundaries =
423423 opencensus::stats::BucketBoundaries::Explicit ({0 , 10 });
424424 const auto view_descriptor =
0 commit comments