{"id":19312098,"url":"https://github.com/bigcommerce/grphp-statsd","last_synced_at":"2025-04-22T15:31:49.392Z","repository":{"id":41874361,"uuid":"97899417","full_name":"bigcommerce/grphp-statsd","owner":"bigcommerce","description":"StatsD interceptor for measuring grphp client requests.","archived":false,"fork":false,"pushed_at":"2023-05-08T01:18:55.000Z","size":49,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":61,"default_branch":"master","last_synced_at":"2024-09-18T08:51:50.127Z","etag":null,"topics":["grpc","grphp","php","statsd"],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/bigcommerce.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-21T02:53:49.000Z","updated_at":"2023-10-06T10:19:27.000Z","dependencies_parsed_at":"2022-07-28T22:39:09.404Z","dependency_job_id":null,"html_url":"https://github.com/bigcommerce/grphp-statsd","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcommerce%2Fgrphp-statsd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcommerce%2Fgrphp-statsd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcommerce%2Fgrphp-statsd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcommerce%2Fgrphp-statsd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bigcommerce","download_url":"https://codeload.github.com/bigcommerce/grphp-statsd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223817729,"owners_count":17207938,"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":["grpc","grphp","php","statsd"],"created_at":"2024-11-10T00:32:45.731Z","updated_at":"2024-11-10T00:32:45.863Z","avatar_url":"https://github.com/bigcommerce.png","language":"PHP","readme":"# grphp-statsd - StatsD interceptor for grphp\n\nStatsD interceptor for measuring [grphp](https://github.com/bigcommerce/grphp) client requests.\n\n## Installation\n\n```bash\ncomposer require bigcommerce/grphp-statsd\n```\n\n## Configuration\n\n```php\n$config = [\n    'host' =\u003e 'my.statsd.service',\n    'port' =\u003e 8125,\n    \n    // optional config options\n    'namespace' =\u003e 'myapp',\n    'sample_rate' =\u003e 1.0, // 0-\u003e1.0 scale. 1.0 is all requests.\n    'mtu' =\u003e 1500, // MTU rate\n    'persistent' =\u003e false, // keep connection persistent\n    'timeout' =\u003e 600, // in seconds\n    'tcp' =\u003e false, // true uses TCP instead of UDP\n];\n$client-\u003eaddInterceptor(new \\Grphp\\StatsD\\Interceptor($config));\n```\n\n## License\n\nCopyright (c) 2017-present, BigCommerce Pty. Ltd. All rights reserved \n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated \ndocumentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the \nrights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit \npersons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the \nSoftware.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE \nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR \nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR \nOTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigcommerce%2Fgrphp-statsd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigcommerce%2Fgrphp-statsd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigcommerce%2Fgrphp-statsd/lists"}