Skip to content

Conversation

@saviogl
Copy link

@saviogl saviogl commented Sep 25, 2025

Add messaging.sidekiq.latency and messaging.sidekiq.retry.count attributes to opentelemetry-instrumentation-sidekiq. These attributes provide meaningful information which one can build monitoring and alerting from.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Sep 25, 2025

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: saviogl / name: Sávio Lucena (825cd2a)

SemanticConventions::Trace::MESSAGING_OPERATION => 'process'
}
attributes[SemanticConventions::Trace::PEER_SERVICE] = instrumentation_config[:peer_service] if instrumentation_config[:peer_service]
attributes['messaging.sidekiq.latency'] = queue_latency(enqueued_at) if enqueued_at
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We intentionally avoid adding metric values to span attributes.

Is this something that you can derive in the collector or your own implementation of an exporter?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the rationale for that? Favouring the usage of the Metrics API? Though I'd understand the motivation given the tri modal definition for Open Telemetry (Trace, Metrics & Logs) this stipulation might be too restrictive considering the shift happening in the industry where companies like Honeycomb are normalizing cost efficient storage and rich retrieval of high cardinality/dimensionality span data. Recently I came across Sentry's decision of not rolling a Metrics product 1 year in the making in favor of Span Metrics

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think @arielvalentin ?

@github-actions
Copy link
Contributor

👋 This pull request has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the keep label to hold stale off permanently, or do nothing. If you do nothing this pull request will be closed eventually by the stale bot

@github-actions github-actions bot added the stale Marks an issue/PR stale label Oct 30, 2025
@saviogl saviogl requested a review from arielvalentin October 30, 2025 03:04
@github-actions github-actions bot removed the stale Marks an issue/PR stale label Oct 31, 2025
@kaylareopelle
Copy link
Contributor

Hi @saviogl, could you sign the CLA? #1693 (comment)

@saviogl
Copy link
Author

saviogl commented Nov 1, 2025

@kaylareopelle done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants