{"id":15464978,"url":"https://github.com/blocknotes/rspec-instrumentation","last_synced_at":"2025-04-05T04:25:16.851Z","repository":{"id":62559609,"uuid":"493986456","full_name":"blocknotes/rspec-instrumentation","owner":"blocknotes","description":"A RSpec instrumentation component","archived":false,"fork":false,"pushed_at":"2022-05-19T08:37:00.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-14T13:15:54.081Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blocknotes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-19T08:32:42.000Z","updated_at":"2022-05-19T08:33:03.000Z","dependencies_parsed_at":"2022-11-03T12:15:22.249Z","dependency_job_id":null,"html_url":"https://github.com/blocknotes/rspec-instrumentation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blocknotes%2Frspec-instrumentation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blocknotes%2Frspec-instrumentation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blocknotes%2Frspec-instrumentation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blocknotes%2Frspec-instrumentation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blocknotes","download_url":"https://codeload.github.com/blocknotes/rspec-instrumentation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247288550,"owners_count":20914393,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T00:44:09.675Z","updated_at":"2025-04-05T04:25:16.828Z","avatar_url":"https://github.com/blocknotes.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RSpec instrumentation\n\nRSpec instrumentation component to measure performances, profile and monitor the test suite using an external service.\n\n\u003e DISCLAIMER: this is an initial version, major changes will probably happens in the first releases\n\nSupport for:\n- New Relic\n- Sentry APM (partial for now)\n\nSetup the gem, execute the test suite, check the results in the service interface.\n\n## Install\n\n- Add to the Gemfile (in the test group): `gem 'rspec-instrumentation'`\n- Follow the specific instructions below per service\n\n### New Relic\n\n- Configure New Relic on your application (also adding the gem 'newrelic_rpm' to the Gemfile)\n- Add an initializer in your app (_config/initializers/new_relic.rb_) with:\n\n```rb\nRSpecInstrumentation::NewRelic.setup if Rails.env.test?\n```\n\n- Add to your _rails_helper.rb_ (or _spec_helper.rb_):\n\n```rb\n# It's better to put in at the end, after the other configuration options\nRSpec.configure do |config|\n  RSpecInstrumentation::RSpec.setup(config, service: :new_relic)\nend\n```\n\n- If you are using VCR, depending on your configuration you could need also to permit external requests to the New Relic service, example:\n\n```rb\nVCR.configure do |config|\n  config.ignore_hosts 'collector-001.eu01.nr-data.net' # the host could be different for your account\nend\n```\n\n## Do you like it? Star it!\n\nIf you use this component just star it. A developer is more motivated to improve a project when there is some interest.\n\nOr consider offering me a coffee, it's a small thing but it is greatly appreciated: [about me](https://www.blocknot.es/about-me).\n\n## Contributors\n\n- [Mattia Roccoberton](https://www.blocknot.es): author\n\n## License\n\nThe gem is available as open-source under the terms of the [MIT](LICENSE.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblocknotes%2Frspec-instrumentation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblocknotes%2Frspec-instrumentation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblocknotes%2Frspec-instrumentation/lists"}