NewRelicを使ってWordPressを監視

Standard


rpm -Uvh http://yum.newrelic.com/pub/newrelic/el5/x86_64/newrelic-repo-5-3.noarch.rpm
yum install newrelic-php5
newrelic-install install
cat /etc/php.d/newrelic.ini 
cat /etc/nginx/vhosts/yemaosheng.conf
...
location ~ [^/]\.php(/|$) {
  fastcgi_param PHP_VALUE "newrelic.appname=YeMaosheng";
  ...
}    
...
systemctl restart php-fpm
systemctl restart nginx

SELECT FUNCTION(attribute) [AS 'label'][, ...] 
  FROM DATA TYPE
  [WHERE attribute [comparison] [AND|OR ...]][AS 'label'][, ...]
  [FACET attribute | FUNCTION(attribute)]
  [LIMIT NUMBER]
  [SINCE TIME]
  [UNTIL TIME]
  [WITH TIMEZONE timezone]
  [COMPARE WITH TIME]
  [TIMESERIES TIME]

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.