Prometheus exporter powered by Cloudflare GraphQL API.
Project description
# Prometheus Cloudflare Exporter
Prometheus exporter powered by Cloudflare GraphQL API.
<p align=”left”> <a href=”https://github.com/transferwise/cloudflare-exporter/actions”><img alt=”Actions Status” src=”https://github.com/transferwise/cloudflare-exporter/workflows/Build & Test/badge.svg”></a> </p>
## Quickstart
Examples:
$ export CLOUDFLARE_TOKEN=’Bearer fbfa1860-410f-45d5-a9d6-c9af96cbd7d2’ $ mkdir playground $ cp example.config.yaml playground/ # fill in the zones info in playground/example.config.yaml $ cfexpose export playground/example.config.yaml
## Example Dashboards  
# Configuration options
Required environment variables: * CLOUDFLARE_TOKEN * CLOUDFLARE_ACCOUNT_TAG
Optional environment variables: * EXPORTER_PORT
Required permissions for the token:

# Limits
For up-to-date information, please refer Cloudflare [documentation](https://developers.cloudflare.com/analytics/graphql-api/limits) on APL limits.
GraphQL API access restrictions by license:
- free:
- zones:
browserPerf1mGroups firewallEventsAdaptive firewallEventsAdaptiveByTimeGroups
- accounts/zones:
httpRequests1hGroups httpRequests1dGroups
- pro:
firewallEventsAdaptiveGroups healthCheckEvents healthCheckEventsGroups httpRequests1mGroups loadBalancingRequests loadBalancingRequestsGroups
- business:
- enterprise:
firewallRulePreviewGroups httpRequests1mByColoGroups httpRequests1dByColoGroups synAvgPps1mGroups
# History
0.1.0 (2020-02-19)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cloudflare-prometheus-exporter-0.3.10.tar.gz.
File metadata
- Download URL: cloudflare-prometheus-exporter-0.3.10.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.10.1 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bef634e7621e2006c0ba495ddef58335278ef72cfe4c5ba7300c646a5a0f5bc
|
|
| MD5 |
2de311f563ceb854af194a6648026168
|
|
| BLAKE2b-256 |
2803da686ad2afedc3f5ecdc8d90f474cfab0d36f5e802babae1e2019ed1e86a
|
File details
Details for the file cloudflare_prometheus_exporter-0.3.10-py2.py3-none-any.whl.
File metadata
- Download URL: cloudflare_prometheus_exporter-0.3.10-py2.py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.10.1 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f09314173e8218ad35298eef6f7d3eaad93ab25b4e0e197be55226015598768f
|
|
| MD5 |
f0d548c23a9297a83dd488d0a0cd7766
|
|
| BLAKE2b-256 |
ee8efc2cfa28af611bbe38cf8f2d4903a5079db6928823041148011159a821bc
|