Skip to content

Commit

Permalink
Merge pull request #28 from DataDog/yann/0.3.0
Browse files Browse the repository at this point in the history
0.3.0
  • Loading branch information
yannmh committed Jul 27, 2015
2 parents 966feb9 + 1b24ec0 commit bbec5ea
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 5 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
CHANGELOG
=========

# 0.3.0 / 2015-07-27
* [BUGFIX] Fix `report_metric` bad reference to `report` method in `BatchedDatadogstatsd` class, [#27][]
* [BUGFIX] Reference private variables with `self::` instead of `static::`, [#24][] (thanks [@shadowhand][])
* [OTHER] Add a 3-clause BSD license, [#4][] [#28][]
* [OTHER] Add a Changelog [#28][]
* [OTHER] Add PHP 5.3 requirement to the composer, [#26][]
* [OTHER] Readme update to reflect last changes, [#23][] [#25][] [#26][] (thanks [@bigthyme][])

# 0.2.0 / 2015-06-01
* [FEATURE] Add a `microtiming` method to be used with PHP's standard `microtime(true)`, [#20][] (thanks [@obradovic][])

<!--- The following link definition list is generated by PimpMyChangelog --->
[#4]: https://github.com/DataDog/php-datadogstatsd/issues/4
[#20]: https://github.com/DataDog/php-datadogstatsd/issues/20
[#23]: https://github.com/DataDog/php-datadogstatsd/issues/23
[#24]: https://github.com/DataDog/php-datadogstatsd/issues/24
[#25]: https://github.com/DataDog/php-datadogstatsd/issues/25
[#26]: https://github.com/DataDog/php-datadogstatsd/issues/26
[#27]: https://github.com/DataDog/php-datadogstatsd/issues/27
[#28]: https://github.com/DataDog/php-datadogstatsd/issues/28
[@bigthyme]: https://github.com/bigthyme
[@obradovic]: https://github.com/obradovic
[@shadowhand]: https://github.com/shadowhand
24 changes: 24 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Copyright (c) 2015, Datadog <[email protected]>
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of Datadog nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@
This is an extremely simple PHP [datadogstatsd](http://www.datadoghq.com/) client.
Requires PHP >= 5.3.0.

See [CHANGELOG.md](CHANGELOG.md) for changes.

## Installation

### Composer

Add the following to your `composer.json`:

```
"datadog/php-datadogstatsd": "0.2.*"
"datadog/php-datadogstatsd": "0.3.*"
```

Note: The first version shipped in composer is 0.0.3
Expand Down Expand Up @@ -75,10 +77,6 @@ Datadogstatsd::event('Now it is fixed.', array(
));
```

This is what you'd see your Datadog event stream:

![screenshot](https://img.skitch.com/20120817-c6pi1e55rs2xjt3ktp2k1h67e7.png)

You can find your api and app keys in the [API tab](https://app.datadoghq.com/account/settings#api).

For more documentation on the optional values of events, see [http://docs.datadoghq.com/api/#events/](http://docs.datadoghq.com/api/#events/).
Expand Down

0 comments on commit bbec5ea

Please sign in to comment.