Skip to content

Commit 49d389b

Browse files
committed
few more
1 parent 02dee0f commit 49d389b

File tree

1 file changed

+6
-6
lines changed
  • opentelemetry-sdk/src/metrics/data

1 file changed

+6
-6
lines changed

opentelemetry-sdk/src/metrics/data/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,9 @@ pub struct Gauge<T> {
197197
/// Represents individual aggregated measurements with unique attributes.
198198
pub(crate) data_points: Vec<GaugeDataPoint<T>>,
199199
/// The time when the time series was started.
200-
pub start_time: Option<SystemTime>,
200+
pub(crate) start_time: Option<SystemTime>,
201201
/// The time when the time series was recorded.
202-
pub time: SystemTime,
202+
pub(crate) time: SystemTime,
203203
}
204204

205205
impl<T> Gauge<T> {
@@ -567,17 +567,17 @@ pub struct Exemplar<T> {
567567
/// time series' aggregated data.
568568
pub(crate) filtered_attributes: Vec<KeyValue>,
569569
/// The time when the measurement was recorded.
570-
pub time: SystemTime,
570+
pub(crate) time: SystemTime,
571571
/// The measured value.
572-
pub value: T,
572+
pub(crate) value: T,
573573
/// The ID of the span that was active during the measurement.
574574
///
575575
/// If no span was active or the span was not sampled this will be empty.
576-
pub span_id: [u8; 8],
576+
pub(crate) span_id: [u8; 8],
577577
/// The ID of the trace the active span belonged to during the measurement.
578578
///
579579
/// If no span was active or the span was not sampled this will be empty.
580-
pub trace_id: [u8; 16],
580+
pub(crate) trace_id: [u8; 16],
581581
}
582582

583583
impl<T> Exemplar<T> {

0 commit comments

Comments
 (0)