Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
This gem adds allow your Rails app to report performance metrics for database queries and response times to InfluxDB.
Add this line to your application's Gemfile:
gem 'influxdb-metrics'
If you're using the 8.x line of InfluxDB, you'll need this line as well:
gem 'influxdb', '~> 0.1.9'
And then execute:
$ bundle
InfluxDB::Rails is a really great project. It allows tracking controller metrics right out of the box. It also includes exception tracking, which is really great if you don't have it setup yet. I use a different service to do exception tracking, so I just want to use InfluxDB for performance metrics.
Also, I wanted to be able to track SQL query performance. That's included.
InfluxDB::Metrics.configure do |config|
config.host = 'example.com'
# or
config.hosts = ['example1.com', 'example2.com']
# The following values are defaults:
# config.app_name = 'rails'
# config.username = 'root'
# config.password = 'root'
# config.database = 'rails'
# config.port = 8086
# You can customize which stats get recorded:
# config.events = :action_controller, :active_record
end
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that influxdb-metrics demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.