#[allow(missing_docs)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProtoIndexLog {
#[prost(message, optional, tag = "1")]
pub key: ::core::option::Option<ProtoLogVariant>,
#[prost(message, optional, tag = "2")]
pub value: ::core::option::Option<::mz_repr::global_id::ProtoGlobalId>,
}
#[allow(missing_docs)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProtoTimelyLog {
#[prost(
oneof = "proto_timely_log::Kind",
tags = "1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11"
)]
pub kind: ::core::option::Option<proto_timely_log::Kind>,
}
pub mod proto_timely_log {
#[allow(missing_docs)]
#[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
pub enum Kind {
#[prost(message, tag = "1")]
Operates(()),
#[prost(message, tag = "2")]
Channels(()),
#[prost(message, tag = "3")]
Elapsed(()),
#[prost(message, tag = "4")]
Histogram(()),
#[prost(message, tag = "5")]
Addresses(()),
#[prost(message, tag = "6")]
Parks(()),
#[prost(message, tag = "7")]
MessagesSent(()),
#[prost(message, tag = "8")]
MessagesReceived(()),
#[prost(message, tag = "9")]
Reachability(()),
#[prost(message, tag = "10")]
BatchesSent(()),
#[prost(message, tag = "11")]
BatchesReceived(()),
}
}
#[allow(missing_docs)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProtoDifferentialLog {
#[prost(oneof = "proto_differential_log::Kind", tags = "1, 2, 3, 4, 5, 6, 7")]
pub kind: ::core::option::Option<proto_differential_log::Kind>,
}
pub mod proto_differential_log {
#[allow(missing_docs)]
#[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
pub enum Kind {
#[prost(message, tag = "1")]
ArrangementBatches(()),
#[prost(message, tag = "2")]
ArrangementRecords(()),
#[prost(message, tag = "3")]
Sharing(()),
#[prost(message, tag = "4")]
BatcherRecords(()),
#[prost(message, tag = "5")]
BatcherSize(()),
#[prost(message, tag = "6")]
BatcherCapacity(()),
#[prost(message, tag = "7")]
BatcherAllocations(()),
}
}
#[allow(missing_docs)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProtoComputeLog {
#[prost(
oneof = "proto_compute_log::Kind",
tags = "1, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15"
)]
pub kind: ::core::option::Option<proto_compute_log::Kind>,
}
pub mod proto_compute_log {
#[allow(missing_docs)]
#[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
pub enum Kind {
#[prost(message, tag = "1")]
DataflowCurrent(()),
#[prost(message, tag = "3")]
FrontierCurrent(()),
#[prost(message, tag = "4")]
PeekCurrent(()),
#[prost(message, tag = "5")]
PeekDuration(()),
#[prost(message, tag = "7")]
ImportFrontierCurrent(()),
#[prost(message, tag = "8")]
ArrangementHeapSize(()),
#[prost(message, tag = "9")]
ArrangementHeapCapacity(()),
#[prost(message, tag = "10")]
ArrangementHeapAllocations(()),
#[prost(message, tag = "11")]
ShutdownDuration(()),
#[prost(message, tag = "12")]
ErrorCount(()),
#[prost(message, tag = "13")]
HydrationTime(()),
#[prost(message, tag = "14")]
LirMapping(()),
#[prost(message, tag = "15")]
DataflowGlobal(()),
}
}
#[allow(missing_docs)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProtoLogVariant {
#[prost(oneof = "proto_log_variant::Kind", tags = "1, 2, 3")]
pub kind: ::core::option::Option<proto_log_variant::Kind>,
}
pub mod proto_log_variant {
#[allow(missing_docs)]
#[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
pub enum Kind {
#[prost(message, tag = "1")]
Timely(super::ProtoTimelyLog),
#[prost(message, tag = "2")]
Differential(super::ProtoDifferentialLog),
#[prost(message, tag = "3")]
Compute(super::ProtoComputeLog),
}
}
#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoLoggingConfig {
#[prost(message, optional, tag = "1")]
pub interval: ::core::option::Option<::mz_proto::ProtoDuration>,
#[prost(bool, tag = "2")]
pub enable_logging: bool,
#[prost(bool, tag = "3")]
pub log_logging: bool,
#[prost(message, repeated, tag = "4")]
pub index_logs: ::prost::alloc::vec::Vec<ProtoIndexLog>,
}