This CSM example builds on the Hello World Example and changes the gRPC client and server to test CSM observability.
The client takes the following command-line arguments -
The server takes the following command-line arguments -
From the gRPC workspace folder:
Client:
docker build -f examples/cpp/csm/observability/Dockerfile.client
Server:
docker build -f examples/cpp/csm/observability/Dockerfile.server
To push to a registry, add a tag to the image either by adding a -t
flag to docker build
command above or run:
docker image tag ${sha from build command above} ${tag}
And then push the tagged image using docker push