telegraf-cloudflare
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.
Release files for telegraf-cloudflare 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| telegraf-cloudflare-0.2.3.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| telegraf_cloudflare-0.2.3-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 11.4 kB
Release files / telegraf-cloudflare-0.2.3.tar.gz
| Download URL | telegraf-cloudflare-0.2.3.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
752a50c117a859741f559ac9304b2333e13b69fdbb9db991dcfaf35017c555e2
|
|
BLAKE2b-256 checksum How to use checksums |
3a174c793174fda7a065d7bdd41bc8a5623e8e9abaef4bd545044e8468a184f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / telegraf_cloudflare-0.2.3-py2-none-any.whl
| Download URL | telegraf_cloudflare-0.2.3-py2-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
cc3f1e2cea18319041de8da6774674c89b25bfd0f4e48b071b9d47e6f97337a2
|
|
BLAKE2b-256 checksum How to use checksums |
71010dbb084233479c0149430dcb1c528d3637b7f2927498322f1628b4d61b8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|