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
use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
pub struct MetricPoint {
    pub ts: DateTime<Utc>,
    pub name: String,
    pub service: String,
    pub value: f64,
    pub attrs_json: String,
}