Skip to content

Commit

Permalink
Merge pull request #2526 from newrelic/prerelease_updates_9.8.0-pre
Browse files Browse the repository at this point in the history
Prerelease 9.8.0-pre
  • Loading branch information
hannahramadan authored Mar 22, 2024
2 parents c9caa82 + 92c7921 commit baeba47
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# New Relic Ruby Agent Release Notes

## dev
## v9.8.0

Version <dev> introduces instrumentation for ruby-openai, adds the option to store tracer state on the thread-level, hardens the browser agent insertion logic to better proactively anticipate errors, and prevents excpetions from being raised in the Active Support Broadcast logger instrumentation.
Version 9.8.0 introduces instrumentation for ruby-openai, adds the option to store tracer state on the thread-level, hardens the browser agent insertion logic to better proactively anticipate errors, and prevents excpetions from being raised in the Active Support Broadcast logger instrumentation.

- **Feature: Add instrumentation for ruby-openai**

Expand Down
4 changes: 2 additions & 2 deletions lib/new_relic/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
module NewRelic
module VERSION # :nodoc:
MAJOR = 9
MINOR = 7
TINY = 1
MINOR = 8
TINY = 0

STRING = "#{MAJOR}.#{MINOR}.#{TINY}"
end
Expand Down
19 changes: 18 additions & 1 deletion newrelic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@ common: &default_settings
# - a.third.event
# active_support_custom_events_names: []

# If false, all LLM instrumentation (OpenAI only for now) will be disabled and no
# metrics, events, or spans will be sent. AI Monitoring is automatically disabled
# if high_security mode is enabled.
# ai_monitoring.enabled: false

# If false, LLM instrumentation (OpenAI only for now) will not capture input and
# output content on specific LLM events.
# The excluded attributes include:
# * content from LlmChatCompletionMessage events
# * input from LlmEmbedding events
# ai_monitoring.record_content.enabled: true

# If true, enables capture of all HTTP request headers for all destinations.
# allow_all_headers: false

Expand Down Expand Up @@ -324,7 +336,8 @@ common: &default_settings
# error_collector.ignore_status_codes: ""

# Defines the maximum number of frames in an error backtrace. Backtraces over this
# amount are truncated at the beginning and end.
# amount are truncated in the middle, preserving the beginning and the end of the
# stack trace.
# error_collector.max_backtrace_frames: 50

# Defines the maximum number of TransactionError events reported per harvest
Expand Down Expand Up @@ -509,6 +522,10 @@ common: &default_settings
# chain, disabled.
# instrumentation.roda: auto

# Controls auto-instrumentation of the ruby-openai gem at start-up. May be one of:
# auto, prepend, chain, disabled.
# instrumentation.ruby_openai: auto

# Controls auto-instrumentation of Sinatra at start-up. May be one of: auto,
# prepend, chain, disabled.
# instrumentation.sinatra: auto
Expand Down

0 comments on commit baeba47

Please sign in to comment.