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 details)

Uploaded Python 2

File details

Details for the file atom_metric_reporter-1.0.3-py2-none-any.whl.

File metadata

  • Download URL: atom_metric_reporter-1.0.3-py2-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.9.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15

File hashes

Hashes for atom_metric_reporter-1.0.3-py2-none-any.whl
Algorithm Hash digest
SHA256 4f87b29252cc76e53ea15ebe3c247e39bec3f7ebf3ebffc9adfb1e765397bc0a
MD5 bba09f7fce043bc95b0c625057d34948
BLAKE2b-256 48bd3f262e4542bd507244dd030d02ca311eb322ed8c9004cf88751f8c2801d4

See more details on using hashes here.

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