2017 © Pedro Peláez
 

library statsd-module

Statsd module for ZF2/ZF3

image

rstgroup/statsd-module

Statsd module for ZF2/ZF3

  • Thursday, December 28, 2017
  • by alabme
  • Repository
  • 6 Watchers
  • 4 Stars
  • 15,016 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 8 Versions
  • 9 % Grown

The README.md

rstgroup/statsd-module Build Status

Module is based on domnikl/statsd-php., (*1)

Installation

Using composer:, (*2)

composer require rstgroup/statsd-module

Configuration

In your Zend Framework application config add to module list, (*3)

return [
    'modules' => [
        'RstGroup\\StatsdModule',
    ],
];

also in your autoload config based on enviroment add statsd client configuration, (*4)

return [
    'statsd' => [
        'tcp' => [
            'host' => 'example_host',
            'port' => example_port,
            'timeout' => null,
            'persistent' => false,
            'mtu' => 1500,
        ],
        'udp' => [
            'host' => 'example_host',
            'port' => example_port,
            'timeout' => null,
            'persistent' => false,
            'mtu' => 1500,
        ],
        'namespace' => 'services.default',
        'connectionType' => 'RstGroup\Statsd\Connection\Blackhole',
    ],
];

Connection types:, (*5)

  • RstGroup\Statsd\Connection\Udp
  • RstGroup\Statsd\Connection\Tcp errors will not be suppressed in this mode
  • RstGroup\Statsd\Connection\Memory in this mode sending is disabled, but messages are collected
  • RstGroup\Statsd\Connection\Blackhole in this mode sending is disabled

Usage

Typical usage from ServiceManager, (*6)

$client = $serviceManager->get("RstGroup\Statsd\Client");

The Versions

28/12 2017

dev-master

9999999-dev

Statsd module for ZF2/ZF3

  Sources   Download

The Requires

 

The Development Requires

by Paweł Rajtmajer
by Adrian Ziółkowski

28/12 2017

1.3.0

1.3.0.0

Statsd module for ZF2/ZF3

  Sources   Download

The Requires

 

The Development Requires

by Paweł Rajtmajer
by Adrian Ziółkowski

28/12 2017

dev-php7.2-support

dev-php7.2-support

Statsd module for ZF2/ZF3

  Sources   Download

The Requires

 

The Development Requires

by Paweł Rajtmajer
by Adrian Ziółkowski

09/11 2016

1.2.0

1.2.0.0

Statsd module for ZF2/ZF3

  Sources   Download

The Requires

 

The Development Requires

by Paweł Rajtmajer
by Adrian Ziółkowski

01/07 2016

1.1.0

1.1.0.0

Statsd module for ZF2

  Sources   Download

The Requires

 

The Development Requires

by Paweł Rajtmajer

01/07 2016

dev-minimum-packages

dev-minimum-packages

Statsd module for ZF2

  Sources   Download

The Requires

 

The Development Requires

by Paweł Rajtmajer

23/07 2015

1.0.0

1.0.0.0

Statsd module for ZF2

  Sources   Download

The Requires

 

The Development Requires

by Paweł Rajtmajer

23/07 2015

dev-develop

dev-develop

Statsd module for ZF2

  Sources   Download

The Requires

 

The Development Requires

by Paweł Rajtmajer