Collect metrics from your app on development environment.
Check & execute run.sh
It is responsible for:
- starting required docker containers (using docker compose)
- creating InfluxDB database (if not exists)
Prepare your Rails app:
- Install RPM gem
- Add monkeypatch so non-ssl collector is allowed (check
rails-config/
) - Adjust configuration (
newrelic.yml
) so it points to the local collector
Prepare Grafana:
- Visit grafana (http://localhost:3001) (default user/password: admin)
- Import
grafana-rails-performance-dashboard.json