Remove yarn's install-state (#20639)
This commit is contained in:
parent
d0f3fb6fff
commit
61602db7a4
3 changed files with 12 additions and 1 deletions
10
.gitignore
vendored
10
.gitignore
vendored
|
|
@ -50,6 +50,16 @@ yarn-debug.log*
|
|||
app/javascript/storybook-static/
|
||||
yarn-error.log
|
||||
|
||||
# Ignore yarn related files
|
||||
.pnp.*
|
||||
.yarn/*
|
||||
!.yarn/patches
|
||||
!.yarn/plugins
|
||||
!.yarn/releases
|
||||
!.yarn/sdks
|
||||
!.yarn/versions
|
||||
.yarn/install-state.gz
|
||||
|
||||
# Ignore package-lock.json because we use yarn
|
||||
package-lock.json
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -2,6 +2,7 @@ Datadog.configure do |c|
|
|||
c.env = Rails.env
|
||||
c.tracing.enabled = ENV["DD_API_KEY"].present?
|
||||
c.tracing.partial_flush.enabled = true
|
||||
c.diagnostics.startup_logs.enabled = Rails.env.production?
|
||||
c.tracing.log_injection = Rails.env.production?
|
||||
service_name = ENV.fetch("DD_SERVICE") { "rails-#{Rails.env}" }
|
||||
|
||||
|
|
@ -26,7 +27,7 @@ Datadog.configure do |c|
|
|||
# enable it only when needed.
|
||||
if ENV["DD_ENABLE_REDIS_SIDEKIQ"] == "true"
|
||||
c.tracing.instrument :redis, service_name: "#{service_name}-redis-sidekiq",
|
||||
describes: { url: ENV.fetch("REDIS_SIDEKIQ_URL", nil) }
|
||||
describes: { url: ENV.fetch("REDIS_SIDEKIQ_URL", nil) }
|
||||
end
|
||||
# Generic REDIS_URL comes last, allowing it to overwrite any of the
|
||||
# above when multiple Redis use cases are backed by the same Redis URL.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue