18F/identity-idp

View on GitHub
config/newrelic.yml

Summary

Maintainability
Test Coverage
common: &default_settings
  code_level_metrics:
    enabled: false
  application_logging:
    forwarding:
      enabled: false
development:
  <<: *default_settings
  monitor_mode: false
production:
  <<: *default_settings
  agent_enabled: true
  app_name: <%= Identity::Hostdata.env %>.<%= Identity::Hostdata.domain %>
  host: 'gov-collector.newrelic.com'
  audit_log:
    enabled: false
  browser_monitoring:
    auto_instrument: false
  capture_params:
  developer_mode:
  error_collector:
    enabled: true
    capture_source: true
    ignore_classes: "<%= %w[
      ActionController::BadRequest
      ActionController::ParameterMissing
      ActionController::RoutingError
      ActionController::UnknownHttpMethod
      ActionDispatch::Http::MimeNegotiation::InvalidType
      ActionDispatch::Http::Parameters::ParseError
      GoodJob::ActiveJobExtensions::Concurrency::ConcurrencyExceededError
    ].join(',') %>"
  license_key: <%= IdentityConfig.store.newrelic_license_key %>
  log_level: info
  monitor_mode: true
  transaction_tracer:
    enabled: true
    record_sql: obfuscated
    stack_trace_threshold: 0.500
    transaction_threshold: apdex_f
  proxy_host:
  proxy_port:
test:
  <<: *default_settings
  monitor_mode: false