Metadata-Version: 2.1
Name: atom-metric-reporter
Version: 1.0.2
Summary: Atom Metric Reporter
Home-page: https://github.com/infrasrc/atom-metric-reporter-python
Author: g8y3e
Author-email: valentine.pavchuk@ironsrc.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2.7
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

# metric-reporter-python   

[![License][license-image]][license-url]
[![Docs][docs-image]][docs-url]

metric-reporter-python is SDK for Python to send reports for applications monitoring like: [Datadog](https://www.datadoghq.com/), 
[Appoptics](https://www.appoptics.com) etc.

- [Documentation][docs-url]
- [Installation](#installation)
- [Usage](#usage)
- [Change Log](#change-log)
- [Example](#example)

## Installation
### Installation using npm
```sh
$ pip install atom_metric_reporter
```

## Usage
Create metric reporter for specific driver (datadog or appoptics)
```python
from metric_reporter.metric_reporter import MetricReporter

metric_reporter = MetricReporter("appoptics", {
        "token": "<token>"
    }, 1, 10, "g8y3e")
```

Send report
```python
metric_reporter.send("test_metric", <num>, {
    "test": "test"
})
```

Save shutdown reporter:
```python
metric_reporter.stop()
```

## Example
You can use our [example][example-url] for sending reports.

## License
[MIT](LICENSE)

[example-url]: example/example.py

[license-image]: https://img.shields.io/badge/license-MIT-blue.svg?style=square
[license-url]: LICENSE

[docs-url]: https://ironsource.github.io/metric-reporter-python/
[docs-image]: https://img.shields.io/badge/docs-latest-blue.svg


