nginx - new relic with multiple apps and multiple accounts in one server -
nginx - new relic with multiple apps and multiple accounts in one server -
i have server (nginx + php-fpm) running 3 sites each 1 must reported in separate new relic account.
i have php-fpm config , 3 server config settings /etc/nginx/conf.d
i set each nginx server config file new relic license , new relic app name takes license set in newrelic.ini.
how set don't know, per ini (server config file) or whatever new relic create reports of each site each business relationship associated with?
thanks in advance.
you can separate sites different new relic accounts 1 of 2 ways:
1) can setup virtual hosts in nginx, , add together different new relic license keys each virtual host. there illustration using apache on new relic docs site.
2) can phone call newrelic_set_appname()
via api , alter business relationship during origin of transaction.
for example: newrelic_set_appname("app name", "new relic license key");
there more info on using multiple accounts here.
nginx php-fpm newrelic
Comments
Post a Comment