Skip to content

Commit

Permalink
rename for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
cijothomas committed Nov 6, 2024
1 parent 7899bb9 commit c4ef0e8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions opentelemetry-sdk/src/metrics/periodic_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ where
};

otel_debug!(
name: "PeriodicReaderBuilt",
name: "PeriodicReader.BuildCompleted",
message = "Periodic reader built.",
interval_in_secs = self.interval.as_secs(),

Check warning on line 137 in opentelemetry-sdk/src/metrics/periodic_reader.rs

View check run for this annotation

Codecov / codecov/patch

opentelemetry-sdk/src/metrics/periodic_reader.rs#L137

Added line #L137 was not covered by tests
);
Expand Down Expand Up @@ -258,7 +258,7 @@ impl<RT: Runtime> PeriodicReaderWorker<RT> {
match message {
Message::Export => {
otel_debug!(
name: "PeriodicReader.ExportMessageReceived",
name: "PeriodicReader.ExportTriggered",
message = "Export message received.",
);
if let Err(err) = self.collect_and_export().await {
Expand All @@ -270,7 +270,7 @@ impl<RT: Runtime> PeriodicReaderWorker<RT> {
}
Message::Flush(ch) => {
otel_debug!(
name: "PeriodicReader.FlushMessageReceived",
name: "PeriodicReader.ForceFlushCalled",
message = "Flush message received.",
);
let res = self.collect_and_export().await;
Expand All @@ -284,7 +284,7 @@ impl<RT: Runtime> PeriodicReaderWorker<RT> {
}
Message::Shutdown(ch) => {
otel_debug!(
name: "PeriodicReader.ShutdownMessageReceived",
name: "PeriodicReader.ShutdownCalled",
message = "Shutdown message received",
);
let res = self.collect_and_export().await;
Expand Down

0 comments on commit c4ef0e8

Please sign in to comment.