2017 © Pedro Peláez
 

library cloudwatch-agent-client

image

wdalmut/cloudwatch-agent-client

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

PHP CloudWatch Agent Client

Send data collected into a PHP application to the running agent, (*1)

Install

Use composer, (*2)

{
    "require": {
        "corley/cloudwatch-agent-client": "*"
    }
}

How to use

The API is very simple, just a simple call, (*3)

Corley\CloudWatch\Agent::point($namespace, $metric, $value);

You can also send the unit and the operation, (*4)

Agent::point($namespace, $metric, $value, ["unit" => Agent::UNIT_MILLISECONDS]);
Agent::point($namespace, $metric, 1, ["op" => Agent::OP_SUM]);

Valid units are:, (*5)

  • "Seconds",
  • "Microseconds",
  • "Milliseconds",
  • "Bytes",
  • "Kilobytes",
  • "Megabytes",
  • "Gigabytes",
  • "Terabytes",
  • "Bits",
  • "Kilobits",
  • "Megabits",
  • "Gigabits",
  • "Terabits",
  • "Percent",
  • "Count",
  • "Bytes/Second",
  • "Kilobytes/Second",
  • "Megabytes/Second",
  • "Gigabytes/Second",
  • "Terabytes/Second",
  • "Bits/Second",
  • "Kilobits/Second",
  • "Megabits/Second",
  • "Gigabits/Second",
  • "Terabits/Second",
  • "Count/Second",

The Versions

20/06 2014

dev-master

9999999-dev

  Sources   Download

MIT

20/06 2014

0.0.5

0.0.5.0

  Sources   Download

MIT

20/06 2014

dev-develop

dev-develop

  Sources   Download

MIT

20/06 2014

0.0.4

0.0.4.0

  Sources   Download

MIT

18/06 2014

0.0.3

0.0.3.0

  Sources   Download

MIT

17/06 2014

0.0.2

0.0.2.0

  Sources   Download

MIT

17/06 2014

0.0.1

0.0.1.0

  Sources   Download