From 34ed34e27f93e72e079bcb55d0a46d252f60805b Mon Sep 17 00:00:00 2001 From: Tom Tan Date: Thu, 8 Jun 2023 17:33:09 -0700 Subject: [PATCH 1/2] Add ctime header to metrics_exporter.cc --- exporters/ostream/src/metric_exporter.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/exporters/ostream/src/metric_exporter.cc b/exporters/ostream/src/metric_exporter.cc index 21ecd0109a..a9f5462cd1 100644 --- a/exporters/ostream/src/metric_exporter.cc +++ b/exporters/ostream/src/metric_exporter.cc @@ -3,6 +3,7 @@ #include "opentelemetry/exporters/ostream/metric_exporter.h" #include +#include #include #include #include "opentelemetry/exporters/ostream/common_utils.h" From e04008230d530cd5e7e77ab4bfb82f3e3399b5c7 Mon Sep 17 00:00:00 2001 From: Tom Tan Date: Thu, 8 Jun 2023 23:07:58 -0700 Subject: [PATCH 2/2] Fix format --- exporters/ostream/src/metric_exporter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exporters/ostream/src/metric_exporter.cc b/exporters/ostream/src/metric_exporter.cc index a9f5462cd1..d963c4f420 100644 --- a/exporters/ostream/src/metric_exporter.cc +++ b/exporters/ostream/src/metric_exporter.cc @@ -3,8 +3,8 @@ #include "opentelemetry/exporters/ostream/metric_exporter.h" #include -#include #include +#include #include #include "opentelemetry/exporters/ostream/common_utils.h" #include "opentelemetry/sdk/metrics/aggregation/default_aggregation.h"