
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
Enables LLM observability with Datadog for Langchain.rb.
Install the gem and add to the application's Gemfile by executing:
$ bundle add langchainrb_datadog
If bundler is not being used to manage dependencies, install the gem by executing:
$ gem install langchainrb_datadog
Its function is automatic: it hooks into Langchain.rb methods to capture LLM calls and report them to the Datadog LLM Observability API.
Configure with the following environment variables or Ruby methods:
DD_SITE
(optional, default: datadoghq.com
)
Langchain::Datadog.site = 'datadoghq.com'
The Datadog site to submit your LLM data.
DD_API_KEY
(required)
Langchain::Datadog.api_key = '1a2b3c4d5e6f'
Your Datadog API key.
DD_LLMOBS_ENABLED
(optional, default: 1
)
Langchain::Datadog.enabled = true
Toggle to disable submitting data to LLM Observability.
DD_LLMOBS_ML_APP
(required)
Langchain::Datadog.ml_app = 'langchainrb_datadog'
The name of your LLM application, service, or project, under which all traces and spans are grouped. This helps distinguish between different applications or experiments. See Application naming guidelines for allowed characters and other constraints.
After checking out the repo, run bin/setup
to install dependencies. Then, run rake spec
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and the created tag, and push the .gem
file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/GaggleAMP/langchainrb_datadog.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that langchainrb_datadog demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.