Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 28 additions & 1 deletion google/cloud/storage/doc/storage-grpc.dox
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ differently from the REST-based implementation.
[`RestEndpointOption`](@ref google::cloud::storage::RestEndpointOption).
1. The cloud path endpoint (`storage.googleapis.com`) works from any hosting
environment (on-prem, GKE, GCE, other cloud providers, etc.). For best
performance on GCE or GKE consider we default to the direct connectivity endpoint
performance on GCE or GKE we default to the direct connectivity endpoint
`google-c2p:///storage.googleapis.com`.
1. The [`Fields`](@ref google::cloud::storage::Fields) request parameter is
passed verbatim to the backend. Some fields have different names in gRPC, and
Expand Down Expand Up @@ -90,4 +90,31 @@ cc_binary(
)
```

## gRPC+OpenTelemetry

The gRPC client will default to enabling OpenTelemetry metrics. This means that
the library must be built with support for OpenTelemetry and support for the gRPC
OpenTelemetry plugin. Please note metrics require using a version of gRPC > 1.64.

If you are using CMake to compile your application:

1. Build and install OpenTelemetry with the following options:
```{.bash}
-DWITH_ABSEIL=ON
```

1. Build and install gRPC with the OpenTelemetry plugin enabled:

Build and and install gRPC with the following option:
```{.bash}
-DgRPC_BUILD_GRPCPP_OTEL_PLUGIN=ON
```

If you are using Bazel and wish to disable gRPC metrics please
build with the following option:

```{.bash}
--//google/cloud/storage:enable_grpc_metrics=false
```

*/
Loading