opentelemetry_proto/proto/tonic/
opentelemetry.proto.resource.v1.rs1#[cfg_attr(feature = "with-schemars", derive(schemars::JsonSchema))]
4#[cfg_attr(feature = "with-serde", derive(serde::Serialize, serde::Deserialize))]
5#[cfg_attr(feature = "with-serde", serde(rename_all = "camelCase"))]
6#[cfg_attr(feature = "with-serde", serde(default))]
7#[derive(Clone, PartialEq, ::prost::Message)]
8pub struct Resource {
9 #[prost(message, repeated, tag = "1")]
13 pub attributes: ::prost::alloc::vec::Vec<super::super::common::v1::KeyValue>,
14 #[prost(uint32, tag = "2")]
17 pub dropped_attributes_count: u32,
18}