cloudflare-prometheus-exporter-0.3.9
توضیحات
Prometheus exporter powered by Cloudflare GraphQL API.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cloudflare-prometheus-exporter-0.3.9 |
| نام | cloudflare-prometheus-exporter |
| نسخه کتابخانه | 0.3.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Wise::Observability |
| ایمیل نویسنده | observability@transferwise.com |
| آدرس صفحه اصلی | https://github.com/transferwise/cloudflare-exporter |
| آدرس اینترنتی | https://pypi.org/project/cloudflare-prometheus-exporter/ |
| مجوز | Apache Software License 2.0 |
# 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.
نیازمندی
| مقدار | نام |
|---|---|
| - | click |
| - | requests |
| - | pyyaml |
| - | prometheus-client |
| - | python-json-logger |
| - | schedule |
نحوه نصب
نصب پکیج whl cloudflare-prometheus-exporter-0.3.9:
pip install cloudflare-prometheus-exporter-0.3.9.whl
نصب پکیج tar.gz cloudflare-prometheus-exporter-0.3.9:
pip install cloudflare-prometheus-exporter-0.3.9.tar.gz