b2evolution b2evolution

  • Sign in
  • Sign up
  • About
  • Downloads
  • Hosting
  • Docs
  • Support
  • Sign in
  • Sign up
  • Manuals Home
  • Latest Updates
 
  1. b2evolution CMS User Manual
  2. Operations Reference
  3. Performance
  4. New Relic

New Relic

NewRelic.com is an online Application Performance Monitoring APM solution.

b2evolution is instrumented to send custom metrics to New Relic when New Relic is installed.

Installation

Refer to the NewRelic.com signup procedure to learn how to install newRelic on your server and start monitoring PHP on your server.

Once this is done, you may want to log your data to a specific application within your New Relic account. To do this, we suggest we add code liek this to your _local.php file:

PHP
 
if( extension_loaded('newrelic') )
{
   newrelic_set_appname( 'b2evo' );
}

Replace 'b2evo' with the name of your app in New Relic. You can also log to multiple applications, for example: 'b2evo;server1'

What is instrumented?

In addition to the default metrics monitored by New Relic, b2evolution 5.0.7+ will make use of the following New Relic features:

Named Transactions

Rather than showing you that all calls to your site go through index.php, b2evolution will report specific transaction names of the type blogb:single which means the user was looking at a specific item in the collection with the short-name blogb.

For a deeper look, search the code for apm_name_transaction() calls.

Custom Metrics

b2evolution will report its main internal Timers to New Relic, so you can get a statical view of them rather than the samples you get in debug mode.

For a deeper look, search the code for apm_log_custom_metric() calls.

Created by fplanque • Last edit by fplanque on 2020-06-09 00:25 • •

No feedback yet

On this page

  • Installation
  • What is instrumented?
  • Named Transactions
  • Custom Metrics

Search the Manual

Content Hierarchy

  • b2evolution CMS User Manual
  • User's Guide
  • Installation / Upgrade
  • Front-office Reference
  • Back-office Reference
  • Developer Reference
  • Operations Reference
    • Security
    • Fighting Spam
    • Performance
      • Recognizing a crawler attack
      • Performance Optimization
      • Caching and Cache Levels
      • Widget Caching
      • New Relic
      • MyISAM vs InnoDB
    • Using Multiple Domains
    • Intranet setup
    • LDAP Integration
    • Troubleshooting
    • Bundled Plugins
  • Advanced Topics
  • Glossary
  • Archives
Advanced CMS

This online manual is powered by b2evolution CMS – A complete engine for your website.

About b2evolution

  • What is it?
  • Features
  • Getting Started
  • Screenshots
  • Online demo
  • Testimonials
  • Design philosophy
  • Free & open source
  • Terms of service

Downloads

  • Latest releases
  • Skins
  • Plugins
  • Language packs

About us

  • About us
  • Contact

Webhosting Guide

  • Web hosting blog
  • Best web hosting
  • Cheap web hosting
  • Green web hosting
  • Hosting with SSH
  • VPS hosting
  • Dedicated servers
  • Reseller hosting
  • Int'l: UK / France

Docs & Support

  • Online manual
  • Forums
  • Hire a pro !

Other

  • Adsense
  • Press room
  • Privacy policy

Stay in touch

  • GitHub
  • Twitter
  • Facebook
  • LinkedIn
  • News blog
  • RSS feed
  • Atom feed

Founded & Maintained by François Planque