semvec/pypi-packages huggingface dataset:
atom-metric-reporter 1.0.3
Atom Metric Reporter

# 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