From 8a4bcb7f70090cf8439ad204d366389b88593350 Mon Sep 17 00:00:00 2001 From: Noemi Lapresta Date: Mon, 13 Jul 2026 15:37:00 +0200 Subject: [PATCH] Add Ruby instrumentation config options Add the config options the Ruby gem now reports to the diagnose config lists. These are the per-integration instrument options for Sidekiq, Shoryuken, Que, Resque, Delayed Job, Active Job, Excon and MongoDB, and the enable_job_enqueue_instrumentation option. --- spec/diagnose_spec.rb | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/spec/diagnose_spec.rb b/spec/diagnose_spec.rb index b5bb939..ee19626 100644 --- a/spec/diagnose_spec.rb +++ b/spec/diagnose_spec.rb @@ -385,6 +385,7 @@ / enable_gvl_global_timer: true/, / enable_gvl_waiting_threads: true/, / enable_host_metrics: true/, + / enable_job_enqueue_instrumentation: true/, / enable_minutely_probes: false/, / Sources:/, / default: true/, @@ -406,13 +407,21 @@ / ignore_errors: \[\]/, / ignore_logs: \[\]/, / ignore_namespaces: \[\]/, + / instrument_active_job: true/, / instrument_code_ownership: true/, + / instrument_delayed_job: true/, + / instrument_excon: true/, / instrument_faraday: true/, / instrument_http_rb: true/, + / instrument_mongo: true/, / instrument_net_http: true/, / instrument_ownership: true/, + / instrument_que: true/, / instrument_redis: true/, + / instrument_resque: true/, / instrument_sequel: true/, + / instrument_shoryuken: true/, + / instrument_sidekiq: true/, / log: #{quoted("file")}/, / logging_endpoint: #{quoted("https://appsignal-endpoint.net")}/, / name: #{quoted "DiagnoseTests"} \(Loaded from: file\)/, @@ -567,6 +576,7 @@ "enable_gvl_global_timer" => true, "enable_gvl_waiting_threads" => true, "enable_host_metrics" => true, + "enable_job_enqueue_instrumentation" => true, "enable_minutely_probes" => false, "enable_nginx_metrics" => false, "enable_rails_error_reporter" => true, @@ -582,13 +592,21 @@ "ignore_errors" => [], "ignore_logs" => [], "ignore_namespaces" => [], + "instrument_active_job" => true, "instrument_code_ownership" => true, + "instrument_delayed_job" => true, + "instrument_excon" => true, "instrument_faraday" => true, "instrument_http_rb" => true, + "instrument_mongo" => true, "instrument_net_http" => true, "instrument_ownership" => true, + "instrument_que" => true, "instrument_redis" => true, + "instrument_resque" => true, "instrument_sequel" => true, + "instrument_shoryuken" => true, + "instrument_sidekiq" => true, "log" => "file", "logging_endpoint" => "https://appsignal-endpoint.net", "name" => "DiagnoseTests", @@ -760,6 +778,7 @@ "enable_gvl_global_timer" => true, "enable_gvl_waiting_threads" => true, "enable_host_metrics" => true, + "enable_job_enqueue_instrumentation" => true, "enable_minutely_probes" => true, "enable_nginx_metrics" => false, "enable_rails_error_reporter" => true, @@ -774,13 +793,21 @@ "ignore_errors" => [], "ignore_logs" => [], "ignore_namespaces" => [], + "instrument_active_job" => true, "instrument_code_ownership" => true, + "instrument_delayed_job" => true, + "instrument_excon" => true, "instrument_faraday" => true, "instrument_http_rb" => true, + "instrument_mongo" => true, "instrument_net_http" => true, "instrument_ownership" => true, + "instrument_que" => true, "instrument_redis" => true, + "instrument_resque" => true, "instrument_sequel" => true, + "instrument_shoryuken" => true, + "instrument_sidekiq" => true, "log" => "file", "logging_endpoint" => "https://appsignal-endpoint.net", "ownership_set_namespace" => false,