Module: RoundhouseUi::Observability
- Defined in:
- lib/roundhouse_ui/observability.rb
Overview
Pluggable deep-links from a job to your APM/observability tool. The core never depends on Datadog (or anything) — it asks the configured adapter for a URL and renders a link only if one comes back.
RoundhouseUi.observability = RoundhouseUi::Observability::DatadogAdapter.new(service: "sidekiq")
service: is the service your Sidekiq spans carry, which is frequently not
your app name — apps commonly set c.tracing.instrument :sidekiq, service_name: "sidekiq", and dd-trace has no default of its own. Passing the app name when
your spans say something else silently matches nothing. Omit it if unsure; the
term is left out entirely when nil.
Write your own (Honeycomb, Sentry, …) by duck-typing job_url and label. error_url, icon and wordmark? are optional; queue_url is unused by the UI.
Defined Under Namespace
Classes: DatadogAdapter, NullAdapter