Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit 6d11e6b

Browse files
authored
Adjust dependencies and fix a nit. (#265)
1 parent 52a0a4b commit 6d11e6b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

opencensus/exporters/stats/stackdriver/BUILD

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ cc_library(
3131
"//opencensus/common/internal/grpc:with_user_agent",
3232
"//opencensus/stats",
3333
"@com_github_grpc_grpc//:grpc++",
34-
"@com_google_absl//absl/base",
34+
"@com_google_absl//absl/base:core_headers",
35+
"@com_google_absl//absl/memory",
3536
"@com_google_absl//absl/strings",
3637
"@com_google_absl//absl/synchronization",
3738
"@com_google_absl//absl/time",
@@ -89,8 +90,8 @@ cc_test(
8990
"//google/api:distribution",
9091
"//google/api:label",
9192
"//google/api:metric",
93+
"//google/api:monitored_resource",
9294
"//google/monitoring/v3:common",
93-
"//google/monitoring/v3:metric",
9495
"//opencensus/stats",
9596
"//opencensus/stats:test_utils",
9697
"@com_google_absl//absl/strings",

opencensus/exporters/stats/stackdriver/internal/stackdriver_exporter.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ void Handler::ExportViewData(
111111
(rpc_index + 1) * kTimeSeriesBatchSize);
112112
for (int i = rpc_index * kTimeSeriesBatchSize; i < batch_end; ++i) {
113113
*request.add_time_series() = time_series[i];
114-
};
114+
}
115115
ctx[rpc_index].set_deadline(
116116
absl::ToChronoTime(absl::Now() + opts_.rpc_deadline));
117117
auto rpc(stub_->AsyncCreateTimeSeries(&ctx[rpc_index], request, &cq));

0 commit comments

Comments
 (0)