Skip to main content

telegraf-cloudflare

Build Status PyPI version License

Plugin for Telegraf for gathering statistics from Cloudflare

This script is in beta version, use with caution

Installation

$ pip install telegraf-cloudflare

Usage

$ telegraf-cloudflare --zone-id ZONE_ID --email you@example.com --api-key SECRET

Optional parameters

  • --interval (int)

    • Last 60 minutes (value from 59 to 1): 1 minute resolution
    • Last 7 hours (value from 419 to 60): 15 minutes resolution
    • Last 15 hours (value from 899 to 420): 30 minutes resolution
    • Last 72 hours (value from 4320 to 900): 1 hour resolution
    • Older than 3 days (value 525600 to 4320): 1 day resolution

    Not all intervals are available in all plans, more information is available here

Example telegraf configuration

[[inputs.exec]]
  interval = 6h
  commands = ["telegraf-cloudflare telegraf-cloudflare --zone-id ZONE_ID --email you@example.com --api-key SECRET"]
  data_format = "influx"

License

See LICENSE file.

Download files

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

Source Distribution

telegraf-cloudflare-0.2.3.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

telegraf_cloudflare-0.2.3-py2-none-any.whl (6.5 kB view details)

Uploaded Python 2

File details

Details for the file telegraf-cloudflare-0.2.3.tar.gz.

File metadata

  • Download URL: telegraf-cloudflare-0.2.3.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.0 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.10

File hashes

Hashes for telegraf-cloudflare-0.2.3.tar.gz
Algorithm Hash digest
SHA256 752a50c117a859741f559ac9304b2333e13b69fdbb9db991dcfaf35017c555e2
MD5 f05884428a50e6b9fbd873ca0626bae2
BLAKE2b-256 3a174c793174fda7a065d7bdd41bc8a5623e8e9abaef4bd545044e8468a184f2

See more details on using hashes here.

File details

Details for the file telegraf_cloudflare-0.2.3-py2-none-any.whl.

File metadata

  • Download URL: telegraf_cloudflare-0.2.3-py2-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.0 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.10

File hashes

Hashes for telegraf_cloudflare-0.2.3-py2-none-any.whl
Algorithm Hash digest
SHA256 cc3f1e2cea18319041de8da6774674c89b25bfd0f4e48b071b9d47e6f97337a2
MD5 d536fc7d24973ba0bfa4fe99be2e718d
BLAKE2b-256 71010dbb084233479c0149430dcb1c528d3637b7f2927498322f1628b4d61b8b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.3

2 files

0.1.2

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page