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 |
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] |
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]
Related Posts