Commit 0d341e77 authored by Dmytro Zaporozhets's avatar Dmytro Zaporozhets

Merge branch 'sh-fix-sidekiq-exporter-log-format' into 'master'

Make Sidekiq exporter logs conform to Sidekiq logs

Closes #215381

See merge request gitlab-org/gitlab!30268
parents 0418c47c 97473df0
......@@ -32,7 +32,7 @@ module Gitlab
Sidekiq.logger.error(
class: self.class.to_s,
message: 'Cannot start sidekiq_exporter',
exception: e.message
'exception.message' => e.message
)
false
......
......@@ -53,7 +53,7 @@ describe Gitlab::Metrics::Exporter::SidekiqExporter do
.with(
class: described_class.to_s,
message: 'Cannot start sidekiq_exporter',
exception: anything)
'exception.message' => anything)
exporter.start
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment