-
Notifications
You must be signed in to change notification settings - Fork 475
Improve Ruby SDK setup and update docs #9197
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
Conversation
|
| require 'highlight' | ||
|
|
||
| Highlight::H.new('1jdkoe52', environment: 'dev', otlp_endpoint: 'http://localhost:4318') do |c| | ||
| Highlight.init('1jdkoe52', environment: 'dev', otlp_endpoint: 'http://localhost:4318') do |c| |
Check notice
Code scanning / devskim
Accessing localhost could indicate debug code, or could hinder scaling.
Summary
Updates the Ruby SDK and docs.
around_actionto instrument requests by adding aRailtieand setting up thearound_actionas part of the initialization logic.initalias so you can callHighlight.initrather thanHighlight::H.new.ActiveSupport::LoggerSilence./forpage for Rails./forpages.Closes HIG-4900
How did you test this change?
Click tested locally in the E2E app + a local instance of the docs site.
Are there any deployment considerations?
New SDK version going out. Will see if I can get recent articles published about the Ruby SDK updated.
Does this work require review from our design team?
N/A