{"id":16431992,"url":"https://github.com/davidcelis/new_relic-discourse","last_synced_at":"2025-06-14T13:38:41.269Z","repository":{"id":14961857,"uuid":"17686669","full_name":"davidcelis/new_relic-discourse","owner":"davidcelis","description":"A New Relic plugin for Discourse forums.","archived":false,"fork":false,"pushed_at":"2019-04-03T21:24:23.000Z","size":28,"stargazers_count":17,"open_issues_count":0,"forks_count":18,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-04T14:01:43.706Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.newrelic.com/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"gadventures/django-fsm-admin","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidcelis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-12T22:40:16.000Z","updated_at":"2021-04-10T02:13:56.000Z","dependencies_parsed_at":"2022-08-30T07:51:12.312Z","dependency_job_id":null,"html_url":"https://github.com/davidcelis/new_relic-discourse","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/davidcelis/new_relic-discourse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidcelis%2Fnew_relic-discourse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidcelis%2Fnew_relic-discourse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidcelis%2Fnew_relic-discourse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidcelis%2Fnew_relic-discourse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidcelis","download_url":"https://codeload.github.com/davidcelis/new_relic-discourse/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidcelis%2Fnew_relic-discourse/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259824770,"owners_count":22917340,"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-11T08:35:21.235Z","updated_at":"2025-06-14T13:38:41.250Z","avatar_url":"https://github.com/davidcelis.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# New Relic for Discourse\n\nThis is a Discourse plugin to get your forums reporting performance data to [New Relic][new-relic]. It is meant to be used with the [Discourse Docker Image][discourse-docker], so installation instructions will follow that route. It was originally written by [Sam Saffron][original], but I've updated the version of the New Relic RPM gem and supplied a newrelic.yml file that will be parsed by ERB.\n\n## Installation\n\nAssuming you've followed the above instructions for the Discourse Docker image:\n\n 1. SSH into your forum server as the user running docker (probably root)\n 2. `cd /var/discourse`\n 3. Open up `containers/app.yml`\n 4. In the `env:` section, add `NEW_RELIC_LICENSE_KEY: \u003cyour_license_key\u003e`\n 5. In the `env:` section, add `NEW_RELIC_APP_NAME: \u003cname_of_your_forums\u003e`\n 6. (optional) In the `env` sesion, add `NEW_RELIC_AGENT_VERSION: \u003cversion_of_new_relic_agent\u003e`\n 7. In the `hooks` section at the bottom, add the following to `cmd:`\n\n```yaml\n- git clone https://github.com/davidcelis/new_relic-discourse.git\n```\n 7. (optional) In the `run` section at the bottom, add the following to get notified about new 'deployments':\n\n```yaml\n- exec: curl -H \"x-api-key:\u003cyour_api_key_not_license\u003e\" -d \"deployment[app_name]=\u003cname_of_your_forums\u003e\" -d \"deployment[description]=This is an app id deployment\" https://api.newrelic.com/deployments.xml\n```\n\nThe next time you bootstrap and start a new container for your forums, it'll start reporting into New Relic! Yay! To restart Discourse so that it picks up the new plugin, just SSH into your server and do the following:\n\n```sh\n$ cd /var/discourse\n$ ./launcher rebuild app\n$ ./launcher start app\n```\n\nOr, you can visit the `/admin/upgrade` URL on your Discourse installation's frontend and upgrade as you would normally.\n\n[new-relic]: http://www.newrelic.com/\n[discourse-docker]: https://github.com/discourse/discourse/blob/master/docs/INSTALL-digital-ocean.md\n[original]: https://meta.discourse.org/t/newrelic-plugin/12986\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidcelis%2Fnew_relic-discourse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidcelis%2Fnew_relic-discourse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidcelis%2Fnew_relic-discourse/lists"}