1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
use serde::{Deserialize, Serialize}; /// Information passed to DataDog #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] pub struct DataDogLog { /// The message pub message: String, /// Message tags pub ddtags: Option<String>, /// Message source pub ddsource: String, /// Host that sent the message pub host: String, /// Service that sent the message pub service: String, /// Datadog understandable string indicating level pub level: String, }