Support » Plugin: WordPress Sentry » Performance monitoring

  • Resolved morvy

    (@morvy)


    Hi Alex,

    I’ve been using the plugin for a while now but I can’t figure out how to enable the performance monitoring with this plugin. In Sentry docs, it only says to add ‘traces_sample_rate’ with a value between 0 – 1. I believe there will be a hook in the plugin for this purpose, but it’s just too advanced..

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Alex

    (@stayallive)

    Hi morvy,

    Unfortunately the WordPress plugin is not yet taking advantage of the PHP SDK 3.0 so performance monitoring is not yet available.

    You can follow the progress here: https://github.com/stayallive/wp-sentry/issues/68.

    Do keep in mind that if the PHP SDK 3.0 is available performance monitoring will likely require some extra work to get going and will not capture very much data by default and will take significant effort to get usable data out for WordPress.

    Thread Starter morvy

    (@morvy)

    @stayallive Thanks for the v.4 update !

    I just updated to the latest version, added WP_SENTRY_BROWSER_TRACES_SAMPLE_RATE constant in wp-config and it just works! Of course there is not everything (like time consuming db queries or superslow php functions), but I can see the waiting time, resources loaded and time each call took. This is pretty amazing for doing “no extra work” on my side!

    Plugin Author Alex

    (@stayallive)

    Hi @morvy,

    Yeah no problem, do keep in mind that this is performance tracing in the browser of the visitors of your site. This is already super interesting information but that is why it doesn’t include DB queries and that kind of information because that is server side.

    Once server side performance tracing is added this will give some more info about that the server is doing and what database queries are executed but for now just client side browser performance tracing 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Performance monitoring’ is closed to new replies.