:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fn main() -> Result<(), Box<dyn std::error::Error>> {
let proto_root = std::env::var("PROTO_ROOT").unwrap_or_else(|_| "../../proto".to_string());
// Messages only — no gRPC service in this proto, so skip server/client codegen.
tonic_build::configure()
.build_server(false)
.build_client(false)
.compile_protos(
&[format!("{proto_root}/prometheus/v1/remote_write.proto")],
&[proto_root],
)?;
Ok(())
}