Skip to content

Commit 3777d9b

Browse files
author
Jenkins
committed
refactor: move proto files to crates/llmtrace-proto
1 parent f21ebc6 commit 3777d9b

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

config.example.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ cost_caps:
251251
grpc:
252252
# Enable the gRPC ingestion endpoint. When enabled, the proxy starts a
253253
# tonic gRPC server on a separate listen address that accepts traces in
254-
# the LLMTrace-native protobuf format (see proto/llmtrace.proto).
254+
# the LLMTrace-native protobuf format (see crates/llmtrace-proto/llmtrace.proto).
255255
# Supports both unary batch and client-side streaming RPCs.
256256
enabled: false
257257
# Address and port to bind the gRPC server to.

crates/llmtrace-proxy/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
fn main() -> Result<(), Box<dyn std::error::Error>> {
2-
tonic_prost_build::compile_protos("../../proto/llmtrace.proto")?;
2+
tonic_prost_build::compile_protos("../llmtrace-proto/llmtrace.proto")?;
33
Ok(())
44
}

crates/llmtrace-proxy/src/grpc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! gRPC ingestion gateway for high-throughput trace ingestion.
22
//!
3-
//! Implements the `TraceIngestionService` defined in `proto/llmtrace.proto`
3+
//! Implements the `TraceIngestionService` defined in `crates/llmtrace-proto/llmtrace.proto`
44
//! using `tonic`. Supports both unary batch ingestion and client-side
55
//! streaming for efficient bulk uploads.
66
//!
@@ -29,7 +29,7 @@ use crate::proxy::AppState;
2929
// Generated protobuf types
3030
// ---------------------------------------------------------------------------
3131

32-
/// Generated protobuf module from `proto/llmtrace.proto`.
32+
/// Generated protobuf module from `crates/llmtrace-proto/llmtrace.proto`.
3333
pub mod pb {
3434
include!(concat!(env!("OUT_DIR"), "/llmtrace.ingest.v1.rs"));
3535
}

0 commit comments

Comments
 (0)