pub struct IngestConfig {
pub http: HttpStack,
pub host: String,
pub public_key: String,
pub secret_key: String,
pub max_batch: usize,
pub flush_interval: Duration,
pub queue_capacity: usize,
}Expand description
Configuration for building the reporter.
Fields§
§http: HttpStackPre-built HTTP stack (shared with the LLM provider, includes timeout/retry/proxy/UA/trace).
host: StringLangfuse host, e.g. https://cloud.langfuse.com (without trailing slash).
public_key: StringPublic key.
secret_key: StringSecret key.
max_batch: usizeFlush when the batch reaches this many items.
flush_interval: DurationPeriodic flush interval.
queue_capacity: usizeCapacity of the enqueue channel (backpressure boundary; drops when full).
Auto Trait Implementations§
impl !RefUnwindSafe for IngestConfig
impl !UnwindSafe for IngestConfig
impl Freeze for IngestConfig
impl Send for IngestConfig
impl Sync for IngestConfig
impl Unpin for IngestConfig
impl UnsafeUnpin for IngestConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more