Skip to content

Commit

Permalink
Enable opentelemetry in updater_script_vnext (#1254)
Browse files Browse the repository at this point in the history
This is the first step towards adding telemetry to the updater. Useful in debugging of issues and general analytics. It follows what the GitHub hosted version has.
  • Loading branch information
mburumaxwell authored Jul 29, 2024
1 parent c993723 commit 0bfee34
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions updater/lib/tinglesoftware/dependabot/setup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
require "dependabot/logger"
require "dependabot/logger/formats"
require "dependabot/simple_instrumentor"
require "dependabot/opentelemetry"
require "dependabot/environment"

ENV["DEPENDABOT_JOB_ID"] = Time.now.to_i.to_s unless ENV["DEPENDABOT_JOB_ID"]
Expand All @@ -28,6 +29,8 @@
end
end

Dependabot::OpenTelemetry.configure

# Ecosystems
require "dependabot/python"
require "dependabot/terraform"
Expand Down

0 comments on commit 0bfee34

Please sign in to comment.