Skip to main content

proxy_cmd

Function proxy_cmd 

Source
pub(crate) async fn proxy_cmd(m: &ArgMatches) -> Result<(), Box<dyn Error>>
Expand description

mira proxy: the HTTP surface of proxy and nothing else.

No data directory, no flusher, no gRPC listener. gRPC is left off rather than proxied because splitting an export by entity means decoding it, and a tonic service that decodes in order to re-encode to three HTTP clients is a second transport to keep in step for a hop that is inside one deployment. Point collectors at 4318; see docs/architecture/replicas.md section 12.