【问题标题】:Sentry.io Performance Monitoring doesn't work | RubySentry.io 性能监控不起作用 |红宝石
【发布时间】:2021-05-31 18:46:09
【问题描述】:

我正在使用 sentry.io 性能监控功能,但它不起作用。 我已成功发送错误日志,它出现在问题中,但没有出现在性能功能中

issues

performances

哨兵配置:

Sentry.init do |config|
  config.dsn = <my dsn>
  config.environment = "development"


  config.traces_sampler = lambda do |context|
    true
  end

  config.backtrace_cleanup_callback = lambda do |backtrace|
    nil
  end

end

请帮忙

【问题讨论】:

    标签: ruby sentry


    【解决方案1】:

    您可以通过设置traces_sample_rate = 1.0 进行验证,并暂时删除config.traces_sampler 设置。

    Set Up Performance

    通过将 traces_sample_rate 设置为 1.0 来验证性能监控是否正常工作,因为这样可以确保每个事务都将发送到 Sentry。

    【讨论】:

      猜你喜欢
      • 2010-09-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-09-02
      • 1970-01-01
      • 2021-06-22
      • 2014-01-05
      • 1970-01-01
      相关资源
      最近更新 更多