This repository was archived by the owner on Jul 31, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
exporters/trace/stackdriver/internal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ namespace {
3737constexpr size_t kAttributeStringLen = 256 ;
3838constexpr size_t kAnnotationStringLen = 256 ;
3939constexpr size_t kDisplayNameStringLen = 128 ;
40- constexpr char kGoogleStackDriverTraceAddress [] = " cloudtrace.googleapis.com" ;
40+ constexpr char kGoogleStackdriverTraceAddress [] = " cloudtrace.googleapis.com" ;
4141
4242constexpr char kAgentKey [] = " g.co/agent" ;
4343constexpr char kAgentValue [] = " opencensus-cpp" ;
@@ -285,7 +285,7 @@ void Handler::Export(
285285
286286void StackdriverExporter::Register (absl::string_view project_id) {
287287 auto creds = grpc::GoogleDefaultCredentials ();
288- auto channel = ::grpc::CreateChannel (kGoogleStackDriverTraceAddress , creds);
288+ auto channel = ::grpc::CreateChannel (kGoogleStackdriverTraceAddress , creds);
289289 ::opencensus::trace::exporter::SpanExporter::RegisterHandler (
290290 absl::make_unique<Handler>(project_id, channel));
291291}
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ class TestUtils;
3434// values for one measure and set of tags). It stores both a statistical summary
3535// (mean, sum of squared deviation, and range) and a histogram recording the
3636// number of values in each bucket (as defined by a BucketBoundaries).
37- // This corresponds to a StackDriver Distribution metric
37+ // This corresponds to a Stackdriver Distribution metric
3838// (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/TypedValue#Distribution).
3939// Distribution is thread-compatible.
4040class Distribution final {
Original file line number Diff line number Diff line change @@ -19,8 +19,9 @@ if [[ ! -e tools/format.sh ]]; then
1919 exit 1
2020fi
2121set -e
22- # Correct a common miscapitalization .
22+ # Correct common miscapitalizations .
2323sed -i ' s/Open[c]ensus/OpenCensus/g' $( find * -type f)
24+ sed -i ' s/Stack[D]river/Stackdriver/g' $( find * -type f)
2425# For easier debugging: print the version because it affects the formatting.
2526CMD=clang-format
2627$CMD -version
You can’t perform that action at this time.
0 commit comments