We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This was added in #35cb18c0 but the code was refactored in #e848e327. I'm guessing that the correct usage should now be:
subscriber = SemanticLogger::Metric::NewRelic.new
instead of:
subscriber = SemanticLogger::Metrics::NewRelic.new
This also means that https://logger.rocketjob.io/metrics.html is incorrect.
on_worker_boot do ActiveRecord::Base.establish_connection SemanticLogger.reopen SemanticLogger.on_log(SemanticLogger::Metrics::NewRelic.new) end
[51] WARNING hook before_worker_boot failed with exception (NameError) uninitialized constant SemanticLogger::Metrics
#284
The text was updated successfully, but these errors were encountered:
Fix incorrect metrics usage in documentation
d524f91
Replace `SemanticLogger::Metrics` with `SemanticLogger::Metric` Fixes issue reidmorrison#283
f766724
Thank you for the pull request to fix the documentation.
Sorry, something went wrong.
No branches or pull requests
This was added in #35cb18c0 but the code was refactored in #e848e327. I'm guessing that the correct usage should now be:
instead of:
This also means that https://logger.rocketjob.io/metrics.html is incorrect.
Environment
Rails Configuration
Full Stack Trace
Expected Behavior
Actual Behavior
Pull Request
#284
The text was updated successfully, but these errors were encountered: