Prometheus client queries training/hyperopt/GPU/K8s metrics, gRPC service exposes unary + server-streaming RPCs, 4 unit tests, zero clippy warnings. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
11 lines
291 B
Rust
11 lines
291 B
Rust
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
tonic_prost_build::configure()
|
|
.build_server(true)
|
|
.build_client(false)
|
|
.compile_protos(&["proto/monitoring.proto"], &["proto"])?;
|
|
|
|
println!("cargo:rerun-if-changed=proto/monitoring.proto");
|
|
|
|
Ok(())
|
|
}
|