We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3175c8 commit af3ab6fCopy full SHA for af3ab6f
src/sentry/remote_subscriptions/consumers/queue_consumer.py
@@ -167,9 +167,17 @@ def run(self) -> None:
167
break
168
169
try:
170
- with sentry_sdk.start_transaction(
171
- op="queue_worker.process",
172
- name=f"monitors.{self.identifier}.worker_{self.worker_id}",
+ with (
+ sentry_sdk.start_transaction(
+ op="queue_worker.process",
173
+ name=f"monitors.{self.identifier}.worker_{self.worker_id}",
174
+ ),
175
+ metrics.timer(
176
+ "remote_subscriptions.queue_worker.processing_time",
177
+ tags={
178
+ "identifier": self.identifier,
179
+ },
180
181
):
182
self.result_processor(self.identifier, work_item.result)
183
except Exception:
0 commit comments