Skip to content

Commit

Permalink
fix(observability): Fix a few more usages of internal_log_rate_secs (#…
Browse files Browse the repository at this point in the history
…15041)

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
  • Loading branch information
jszwedko committed Nov 1, 2022
1 parent dcc86f3 commit 7a8a270
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/vector-common/src/internal_event/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl<E: std::fmt::Debug> InternalEvent for CallError<E> {
request_id = self.request_id,
error_type = error_type::REQUEST_FAILED,
stage = error_stage::SENDING,
internal_log_rate_secs = true,
internal_log_rate_limit = true,
);
counter!(
"component_errors_total", 1,
Expand Down
2 changes: 1 addition & 1 deletion src/sources/amqp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ async fn run_amqp_source(
)
.await
.map_err(|error| {
error!(message = "Failed to consume.", error = ?error, internal_log_rate_secs = true);
error!(message = "Failed to consume.", error = ?error, internal_log_rate_limit = true);
})?
.fuse();
let mut shutdown = shutdown.fuse();
Expand Down

0 comments on commit 7a8a270

Please sign in to comment.