1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// This file is @generated by prost-build.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Update {
    /// A list of log events that happened since the last update.
    #[prost(message, repeated, tag = "1")]
    pub log_events: ::prost::alloc::vec::Vec<LogEvent>,
    /// A count of how many log events were dropped because
    /// the event buffer was at capacity.
    ///
    /// If everything is working correctly, this should be 0. If this
    /// number is greater than zero this indicates the event buffers capacity
    /// should be increased or the publish interval decreased.
    #[prost(uint64, tag = "2")]
    pub dropped_events: u64,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LogEvent {
    /// The main message body of the log.
    #[prost(string, tag = "1")]
    pub message: ::prost::alloc::string::String,
    /// Log events can happen inside of spans and if they do, this field will indicate which span it was.
    #[prost(uint64, optional, tag = "2")]
    pub parent: ::core::option::Option<u64>,
    /// Identifier for metadata describing static characteristics of all spans originating
    /// from that call site, such as its name, source code location, verbosity level, and
    /// the names of its fields.
    #[prost(uint64, tag = "3")]
    pub metadata_id: u64,
    /// User-defined key-value pairs of arbitrary data associated with the event.
    #[prost(message, repeated, tag = "4")]
    pub fields: ::prost::alloc::vec::Vec<super::common::Field>,
    /// Timestamp for the log event.
    #[prost(message, optional, tag = "5")]
    pub at: ::core::option::Option<::prost_types::Timestamp>,
}