This repository was archived by the owner on Jul 31, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 17 files changed +29
-31
lines changed
Expand file tree Collapse file tree 17 files changed +29
-31
lines changed Original file line number Diff line number Diff line change 1- # OpenCensus C++ Plugin library.
2- #
31# Copyright 2018, OpenCensus Authors
42#
53# Licensed under the Apache License, Version 2.0 (the "License");
@@ -69,7 +67,7 @@ cc_test(
6967 tags = ["noci" ], # TODO: determine why this times out on Travis and reenable.
7068 deps = [
7169 ":grpc_plugin" ,
72- "//opencensus/plugins/internal/testing:echo_proto" ,
70+ "//opencensus/plugins/grpc/ internal/testing:echo_proto" ,
7371 "//opencensus/stats" ,
7472 "@com_github_grpc_grpc//:grpc++" ,
7573 "@com_google_absl//absl/strings" ,
Original file line number Diff line number Diff line change 1212// See the License for the specific language governing permissions and
1313// limitations under the License.
1414
15- #ifndef OPENCENSUS_PLUGINS_GRPC_PLUGIN_H_
16- #define OPENCENSUS_PLUGINS_GRPC_PLUGIN_H_
15+ #ifndef OPENCENSUS_PLUGINS_GRPC_GRPC_PLUGIN_H_
16+ #define OPENCENSUS_PLUGINS_GRPC_GRPC_PLUGIN_H_
1717
1818#include " absl/strings/string_view.h"
1919
2020namespace opencensus {
2121
22- // Registers the opencensus plugin with gRPC, so that it will be used for future
22+ // Registers the OpenCensus plugin with gRPC, so that it will be used for future
2323// RPCs. This must be called before any views are created on the measures
2424// defined below.
2525void RegisterGrpcPlugin ();
@@ -52,4 +52,4 @@ extern const absl::string_view kRpcServerResponseCountMeasureName;
5252
5353} // namespace opencensus
5454
55- #endif // OPENCENSUS_PLUGINS_GRPC_PLUGIN_H_
55+ #endif // OPENCENSUS_PLUGINS_GRPC_GRPC_PLUGIN_H_
Original file line number Diff line number Diff line change 1212// See the License for the specific language governing permissions and
1313// limitations under the License.
1414
15- #include " opencensus/plugins/internal/channel_filter.h"
15+ #include " opencensus/plugins/grpc/ internal/channel_filter.h"
1616
1717namespace opencensus {
1818
Original file line number Diff line number Diff line change 1515#ifndef OPENCENSUS_PLUGINS_INTERNAL_CHANNEL_FILTER_H_
1616#define OPENCENSUS_PLUGINS_INTERNAL_CHANNEL_FILTER_H_
1717
18- #include " opencensus/plugins/internal/filter.h"
18+ #include " opencensus/plugins/grpc/ internal/filter.h"
1919
2020namespace opencensus {
2121
Original file line number Diff line number Diff line change 1212// See the License for the specific language governing permissions and
1313// limitations under the License.
1414
15- #include " opencensus/plugins/internal/client_filter.h"
15+ #include " opencensus/plugins/grpc/ internal/client_filter.h"
1616
1717#include " absl/strings/str_cat.h"
1818#include " absl/strings/string_view.h"
19- #include " opencensus/plugins/grpc_plugin.h"
20- #include " opencensus/plugins/internal/measures.h"
19+ #include " opencensus/plugins/grpc/ grpc_plugin.h"
20+ #include " opencensus/plugins/grpc/ internal/measures.h"
2121#include " opencensus/stats/stats.h"
2222#include " src/core/lib/surface/call.h"
2323
Original file line number Diff line number Diff line change 1717
1818#include " absl/strings/string_view.h"
1919#include " absl/time/time.h"
20- #include " opencensus/plugins/internal/channel_filter.h"
21- #include " opencensus/plugins/internal/filter.h"
20+ #include " opencensus/plugins/grpc/ internal/channel_filter.h"
21+ #include " opencensus/plugins/grpc/ internal/filter.h"
2222
2323namespace opencensus {
2424
Original file line number Diff line number Diff line change 1212// See the License for the specific language governing permissions and
1313// limitations under the License.
1414
15- #include " opencensus/plugins/internal/filter.h"
15+ #include " opencensus/plugins/grpc/ internal/filter.h"
1616#include " include/grpc/impl/codegen/status.h"
1717
1818namespace opencensus {
Original file line number Diff line number Diff line change 1717
1818#include " absl/strings/string_view.h"
1919#include " include/grpc/impl/codegen/status.h"
20- #include " opencensus/plugins/internal/rpc_encoding.h"
20+ #include " opencensus/plugins/grpc/ internal/rpc_encoding.h"
2121#include " opencensus/trace/span.h"
2222#include " opencensus/trace/span_context.h"
2323#include " opencensus/trace/trace_params.h"
Original file line number Diff line number Diff line change 1212// See the License for the specific language governing permissions and
1313// limitations under the License.
1414
15- #include " opencensus/plugins/grpc_plugin.h"
16- #include " opencensus/plugins/internal/channel_filter.h"
17- #include " opencensus/plugins/internal/client_filter.h"
18- #include " opencensus/plugins/internal/measures.h"
19- #include " opencensus/plugins/internal/server_filter.h"
15+ #include " opencensus/plugins/grpc/ grpc_plugin.h"
16+ #include " opencensus/plugins/grpc/ internal/channel_filter.h"
17+ #include " opencensus/plugins/grpc/ internal/client_filter.h"
18+ #include " opencensus/plugins/grpc/ internal/measures.h"
19+ #include " opencensus/plugins/grpc/ internal/server_filter.h"
2020#include " src/core/lib/surface/channel_init.h"
2121
2222namespace opencensus {
Original file line number Diff line number Diff line change 1212// See the License for the specific language governing permissions and
1313// limitations under the License.
1414
15- #include " opencensus/plugins/internal/measures.h"
15+ #include " opencensus/plugins/grpc/ internal/measures.h"
1616
17- #include " opencensus/plugins/grpc_plugin.h"
17+ #include " opencensus/plugins/grpc/ grpc_plugin.h"
1818#include " opencensus/stats/stats.h"
1919
2020namespace opencensus {
You can’t perform that action at this time.
0 commit comments