{"id":15198725,"url":"https://github.com/nitro/nginx-nr-agent","last_synced_at":"2025-10-28T11:30:26.602Z","repository":{"id":57588359,"uuid":"90965261","full_name":"Nitro/nginx-nr-agent","owner":"Nitro","description":"12-factor, Go re-implementation of the Nginx New Relic plugin","archived":false,"fork":false,"pushed_at":"2018-09-20T13:58:56.000Z","size":627,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-01T14:13:58.725Z","etag":null,"topics":["golang","newrelic","nginx"],"latest_commit_sha":null,"homepage":"","language":"Go","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/Nitro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-11T10:03:39.000Z","updated_at":"2019-10-09T22:02:46.000Z","dependencies_parsed_at":"2022-09-15T23:50:18.649Z","dependency_job_id":null,"html_url":"https://github.com/Nitro/nginx-nr-agent","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nitro%2Fnginx-nr-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nitro%2Fnginx-nr-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nitro%2Fnginx-nr-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nitro%2Fnginx-nr-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nitro","download_url":"https://codeload.github.com/Nitro/nginx-nr-agent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238638178,"owners_count":19505555,"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":["golang","newrelic","nginx"],"created_at":"2024-09-28T01:40:27.056Z","updated_at":"2025-10-28T11:30:21.303Z","avatar_url":"https://github.com/Nitro.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Nginx New Relic Plugin\n----------------------\n\n[![](https://travis-ci.org/Nitro/nginx-nr-agent.svg?branch=master)](https://travis-ci.org/Nitro/nginx-nr-agent)\n[![](https://goreportcard.com/badge/github.com/Nitro/nginx-nr-agent)](https://goreportcard.com/report/github.com/Nitro/nginx-nr-agent)\n\nThis is a re-implementation of the official [NGiNX New Relic plugin][1] in Go so\nthat it compiles down to a static binary with no Python runtime required. It\nonly grabs the stats that are including the [http-stub-status][2] module and does\nnot add all the stats available from NGiNX Plus.\n\nAside from being just a static binary, it's also a [12-factor][3] app which is good\nfor running in containers:\n\n* All configuration is from environment variables\n* Logging is to stdout\n\nOn startup the plugin prints its configuration to the log so you can see how\nit ran.\n\nBuild\n------\n\nYou need [Golang/dep](https://github.com/golang/dep) in order to build the\nproject. Run the following commands to fetch dependencies:\n\n```\n$ go get github.com/golang/dep/cmd/dep\n$ dep ensure\n```\n\nThen build:\n\n```\n$ go build\n```\n\nExample Config\n--------------\n\n```\nAGENT_NEW_RELIC_APP_NAME=\"NGiNX Gateway Foo\" \\\nAGENT_STATS_URL=http://localhost:32768/health \\\nAGENT_NEW_RELIC_LICENSE_KEY=\"\u003cyour license key here\u003e\" \\\n./nginx-nr-agent\n```\n\nYou can also change the New Relic API URL used like this:\n\n```\nAGENT_NEW_RELIC_API_URL=\"\u003cyour url here\u003e\"\n```\n\nGenerally this is not a setting you'll need to change.\n\n[1]: https://github.com/skyzyx/nginx-nr-agent\n[2]: http://nginx.org/en/docs/http/ngx_http_stub_status_module.html\n[3]: https://www.12factor.net\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitro%2Fnginx-nr-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnitro%2Fnginx-nr-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitro%2Fnginx-nr-agent/lists"}