PHPackages                             bigcommerce/grphp-statsd - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. bigcommerce/grphp-statsd

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

bigcommerce/grphp-statsd
========================

grphp statsd interceptor

v0.2.3(3y ago)189.9k↓28.4%2MITPHPPHP ^8.0CI failing

Since Jul 21Pushed 1y ago53 watchersCompare

[ Source](https://github.com/bigcommerce/grphp-statsd)[ Packagist](https://packagist.org/packages/bigcommerce/grphp-statsd)[ RSS](/packages/bigcommerce-grphp-statsd/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (5)Versions (13)Used By (0)

grphp-statsd - StatsD interceptor for grphp
===========================================

[](#grphp-statsd---statsd-interceptor-for-grphp)

StatsD interceptor for measuring [grphp](https://github.com/bigcommerce/grphp) client requests.

Installation
------------

[](#installation)

```
composer require bigcommerce/grphp-statsd
```

Configuration
-------------

[](#configuration)

```
$config = [
    'host' => 'my.statsd.service',
    'port' => 8125,

    // optional config options
    'namespace' => 'myapp',
    'sample_rate' => 1.0, // 0->1.0 scale. 1.0 is all requests.
    'mtu' => 1500, // MTU rate
    'persistent' => false, // keep connection persistent
    'timeout' => 600, // in seconds
    'tcp' => false, // true uses TCP instead of UDP
];
$client->addInterceptor(new \Grphp\StatsD\Interceptor($config));
```

License
-------

[](#license)

Copyright (c) 2017-present, BigCommerce Pty. Ltd. All rights reserved

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~235 days

Recently: every ~435 days

Total

10

Last Release

1152d ago

PHP version history (2 changes)v0.2.0PHP ^7.0 || ^8.0

v0.2.2PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/da7f64306e4b36d82d5e81b519828b19f6d55861138349f51fa86b6d8239f773?d=identicon)[bigcommerce](/maintainers/bigcommerce)

---

Top Contributors

[![repzy](https://avatars.githubusercontent.com/u/8057340?v=4)](https://github.com/repzy "repzy (11 commits)")[![TomA-R](https://avatars.githubusercontent.com/u/1606901?v=4)](https://github.com/TomA-R "TomA-R (9 commits)")[![kubawerlos](https://avatars.githubusercontent.com/u/9282069?v=4)](https://github.com/kubawerlos "kubawerlos (9 commits)")[![splittingred](https://avatars.githubusercontent.com/u/233334?v=4)](https://github.com/splittingred "splittingred (9 commits)")[![aleachjr](https://avatars.githubusercontent.com/u/3844269?v=4)](https://github.com/aleachjr "aleachjr (4 commits)")[![funivan](https://avatars.githubusercontent.com/u/425208?v=4)](https://github.com/funivan "funivan (2 commits)")[![zvuki](https://avatars.githubusercontent.com/u/381924?v=4)](https://github.com/zvuki "zvuki (1 commits)")[![software-artificer](https://avatars.githubusercontent.com/u/5741553?v=4)](https://github.com/software-artificer "software-artificer (1 commits)")

---

Tags

grpcgrphpphpstatsd

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/bigcommerce-grphp-statsd/health.svg)

```
[![Health](https://phpackages.com/badges/bigcommerce-grphp-statsd/health.svg)](https://phpackages.com/packages/bigcommerce-grphp-statsd)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B11.5k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1941.5M276](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2328.5M343](/packages/open-telemetry-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
