Sidecar
The sidecar component is meant to be deployed locally alongside Prometheus and connect to it via its remote-read API. Prometheus' remote-read API allows integration with other systems so that they can access samples as if they were locally available for them to query. This obviously introduces the network in the query path, which might cause bandwidth related issues. The sidecar takes advantage of this to make data available in Prometheus to other Thanos components. It exposes the store API as a gRPC endpoint (bound to port 10901 by default), which will then be used by the Thanos query component, effectively turning the sidecar into a datastore from the querier's point of view. Sidecar also exposes an HTTP endpoint on port 10902
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access