pub struct Labels {
pub pipeline: Arc<str>,
pub row: Arc<str>,
pub run_id: Arc<str>,
}Expand description
Common labels carried by every span and metric.
pipeline and row are Prometheus labels (bounded cardinality). run_id
is a span attribute only — never a metric label — used for trace
correlation. connector is captured per-decorator at construction time,
not stored here.
Fields§
§pipeline: Arc<str>§row: Arc<str>§run_id: Arc<str>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Labels
impl RefUnwindSafe for Labels
impl Send for Labels
impl Sync for Labels
impl Unpin for Labels
impl UnsafeUnpin for Labels
impl UnwindSafe for Labels
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more