You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Automatically set the user-agent string on each request. #191
The client should set the user agent prefix in each request. Call the SetUserAgentPrefix() member function in the grpc::ChannelArguments before creating any channels in bigtable::DataClient or bigtable::AdminClient. The prefix should include the library version, e.g.,
auto prefix = absl::StrCat("cbt-cpp/", bigtable::major_version(), ".", bigtable::minor_version(), "-dev");
The "-dev" suffix should be (manually) removed when we create real release candidates. We should consider appending the output of
$ git rev-parse --short HEAD
to the user agent in dev versions. The output from git rev-parse that can be captured by cmake into
a generated .cc file.
Activity
Add a user-agent prefix by default.
Add a user-agent prefix by default. (#198)