Skip to main content

Atom Metric Reporter

Project description

metric-reporter-python

License Docs

metric-reporter-python is SDK for Python to send reports for applications monitoring like: Datadog, Appoptics etc.

Installation

Installation using npm

$ pip install atom_metric_reporter

Usage

Create metric reporter for specific driver (datadog or appoptics)

from metric_reporter.metric_reporter import MetricReporter

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

Send report

metric_reporter.send("test_metric", <num>, {
    "test": "test"
})

Save shutdown reporter:

metric_reporter.stop()

Example

You can use our example for sending reports.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

atom_metric_reporter-1.0.3-py2-none-any.whl (11.0 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page