Log message #4122899

# At Username Text
# Mar 7th 2018, 23:29 neothermic eh, IMO, don't set background job to true on shells, but consider running them under a different app name
# Mar 7th 2018, 23:28 neothermic as for the shells, we just name each in the shell in question
# Mar 7th 2018, 23:28 davinci File uploaded https://cakesf.slack.com/files/U3J95PPD5/F9M7EVANA/-.txt / https://slack-files.com/T053DPNCM-F9M7EVANA-4edeb7f52c - This is in my bin/cake.php file
# Mar 7th 2018, 23:28 neothermic (obviously you'll need to adjust that slightly for cake3)
# Mar 7th 2018, 23:26 neothermic sure, it's dirty editing core, but it works :P
# Mar 7th 2018, 23:25 neothermic to the invokeAction command :P
# Mar 7th 2018, 23:25 neothermic ``` $controller = $this->name . 'Controller'; $action = $request->params['action']; newrelic_name_transaction($controller.'/'.$action); ```
# Mar 7th 2018, 23:25 neothermic ```
# Mar 7th 2018, 23:25 neothermic see, I just added uh..
# Mar 7th 2018, 23:23 davinci So something's wrong. And their answer of "oh well, we don't support it" isn't right
# Mar 7th 2018, 23:23 davinci that's what I would have thought.
# Mar 7th 2018, 23:22 davinci per instruction from this plugin: https://github.com/jippi/cakephp-newrelic
# Mar 7th 2018, 23:22 dereuromark davinci: exactly, any php code just works with the right lines of code added
# Mar 7th 2018, 23:22 neothermic also remember that NR data is ~3 mins delayed :slightly_smiling_face:
# Mar 7th 2018, 23:22 davinci right - all added
# Mar 7th 2018, 23:20 neothermic If it's anything like cake2, you'll need to consider adding a few lines into core to really get it to log properly
# Mar 7th 2018, 23:20 davinci Ive installed one, and followed the instructions. I'm getting some data, as if it kind of works, but it's very consistent and doesn't spike in any way even when I run a load test on the server
# Mar 7th 2018, 23:19 davinci The response I got from their support team is "We don't support CakePHP 3", yet there are cakephp3+newrelic plugins
# Mar 7th 2018, 23:18 davinci has anyone had success with CakePHP 3 and NewRelic?
# Mar 7th 2018, 18:42 lorenzo cool!
# Mar 7th 2018, 18:42 rafael.junqueira.sant thank you, @lorenzo, that led me to the solution.
# Mar 7th 2018, 18:41 savant I might spend some time looking at the error pages in cake to implement the above stuff :slightly_smiling_face:
# Mar 7th 2018, 18:40 rafael.junqueira.sant there is this small "toggle arguments" anchor
# Mar 7th 2018, 18:40 savant i just pm’d you a link to it
# Mar 7th 2018, 18:40 savant and I get log breadcrumbs too on the sentry page - that would be a nice touch for errors…
# Mar 7th 2018, 18:39 savant this works really nicely for seamstress
# Mar 7th 2018, 18:39 savant @lorenzo I think some integrations at $WORK aren’t setup right
# Mar 7th 2018, 18:39 rafael.junqueira.sant it actually shows, found it
# Mar 7th 2018, 18:39 lorenzo somehow what they show was not clear at all to me :)
# Mar 7th 2018, 18:39 rafael.junqueira.sant ohhh
# Mar 7th 2018, 18:39 lorenzo funny that you show me that it does savant, I’ve been complaining about the lack of those in sentry
# Mar 7th 2018, 18:39 savant bbl
# Mar 7th 2018, 18:39 savant plus it shows the code by default
# Mar 7th 2018, 18:39 rafael.junqueira.sant @lorenzo unfortunately, when I click the frames they only show code, not the arguments passed
# Mar 7th 2018, 18:38 savant and the `+` marks make it easy to note that the section is expandable
# Mar 7th 2018, 18:38 savant if you click “show more”: https://cl.ly/1W0L1I0W032C
# Mar 7th 2018, 18:38 savant https://cl.ly/1j332R472642
# Mar 7th 2018, 18:37 savant it shows data actually
# Mar 7th 2018, 18:37 lorenzo :)
# Mar 7th 2018, 18:37 lorenzo the ui form sentry does not show arguments
# Mar 7th 2018, 18:37 savant maybe the ui from sentry?