Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logs in context feature #53

Closed
1 task done
Tracked by #63
shane-taos opened this issue Oct 11, 2022 · 1 comment
Closed
1 task done
Tracked by #63

Logs in context feature #53

shane-taos opened this issue Oct 11, 2022 · 1 comment
Labels
type:question Further information is requested.

Comments

@shane-taos
Copy link

Describe your question

Does this plugin support the relatively new logs in context feature? A fellow team member installed the plugin, and we're able to view metrics exported from Wordpress in the New Relic UI. However, we don't see any log messages when navigating to APM > Logs.

Before debugging, I'd like to ask for verification that this feature is supported. If it's not currently supported, are there plans to add this feature in the future?

Code of Conduct

  • I agree to follow this project's Code of Conduct
@shane-taos shane-taos added the type:question Further information is requested. label Oct 11, 2022
@jeffpaul jeffpaul added this to the Future Release milestone Feb 12, 2024
@oscarssanchezz
Copy link
Contributor

Hi @shane-taos ,

We do not have plans to add support for this feature. The reason is as per NR docs the supported library for PHP is Monolog: https://docs.newrelic.com/docs/logs/logs-context/configure-logs-context-php/, which does not come by default with WordPress.

That said, you could probably achieve this by adding the library via a custom plugin, then it is probably a matter of logging whatever you want to log (for example, WP Errors, which should be forwarded to New Relic if you have it configured correctly).

@jeffpaul jeffpaul removed this from the Future Release milestone Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:question Further information is requested.
Projects
None yet
Development

No branches or pull requests

3 participants