Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
Google Cloud Run for serverless backend search
This document walks you through setting up a Google Cloud Run for serverless backend search. For more guidance on configuration options for full backend search check here.
Build the docker image:
cd ./cmd/tempo-serverless && make build-docker-gcr
This will create the Docker container image to be deployed to Google Cloud Run. The docker image will be named:
tempo-serverless:latest
andtempo-serverless:<branch>-<commit hash>
. Here is an example of that name:$ docker images | grep tempo-serverless tempo-serverless cloud-run-3be4efa 146c9d9fa63c 58 seconds ago 47.9MB tempo-serverless latest 146c9d9fa63c 58 seconds ago 47.9MB
Push the image to a Google Container Registry repo.
Provision the Google Cloud Run service. This example uses Terraform. Configuration values should be adjusted to meet the needs of your installation.
Add the newly-created cloud run service as external endpoints in your querier configuration. The endpoint can be retrieved from the “details” tab in Google Cloud Run:
querier: search: external_endpoints: - <trigger url from console>