Feature #18675
closedAdd telemetry to Foreman core
Description
Rails provides many instrumentation points which can be very easily hooked and exported to statsd and then to graph solutions or monitoring. Protocol statsd is very simple, UDP based and provides decent integration options. This change will be unintrusive, telemetry will be opt-in and it will be always disabled for test environment. It will also work without any external service sending the telemetry data into Rails logger if needed.
This initial implementation provides Rails controller processing times for individual controllers and actions (view, db, total times in ms). In addition, it provides number of success/failed login attempts, ActiveRecord instantianed classes, Foreman templates rendering time and ActionMailer sent mail counts.
The only dependency introduced is pure-Ruby library "statsd-instrument" that provides client library for statsd daemon. The idea is to run this daemon on localhost aggregating the data and/or sending to RRD or other monitoring solutions.
Updated by The Foreman Bot almost 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to Lukas Zapletal
- Pull request https://github.com/theforeman/foreman/pull/4336 added
Updated by The Foreman Bot about 7 years ago
- Pull request https://github.com/theforeman/foreman/pull/5096 added
Updated by Lukas Zapletal almost 7 years ago
- Pull request deleted (
https://github.com/theforeman/foreman/pull/4336)
Updated by Lukas Zapletal almost 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset f020721dd1f1b7e3601a89ea5d2e0e9c0f4cea68.
Updated by Daniel Lobato Garcia almost 7 years ago
- Translation missing: en.field_release set to 330
Updated by The Foreman Bot almost 7 years ago
- Pull request https://github.com/theforeman/foreman/pull/5275 added
Updated by The Foreman Bot almost 7 years ago
- Pull request https://github.com/theforeman/foreman-packaging/pull/2233 added
Updated by The Foreman Bot almost 7 years ago
- Pull request https://github.com/theforeman/foreman-packaging/pull/2230 added
Updated by Lukas Zapletal almost 7 years ago
- Related to Feature #23101: Expose telemetry parameters in settings.yaml added
Updated by Lukas Zapletal almost 7 years ago
- Related to Feature #22472: Add telemetry to discovery plugin added
Updated by Lukas Zapletal almost 7 years ago
- Related to Bug #22764: Telemetry errors out with undefined method `[]' for nil:NilClass on Rails code reload added
Updated by Lukas Zapletal almost 7 years ago
- Related to Feature #22796: Add fact importing telemetry added