otell-core 0.3.0

Core shared models and query schemas for otell
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
pub struct LogRecord {
    pub ts: DateTime<Utc>,
    pub service: String,
    pub severity: i32,
    pub trace_id: Option<String>,
    pub span_id: Option<String>,
    pub body: String,
    pub attrs_json: String,
    pub attrs_text: String,
}