Extend the platform,
empower your team.
Collect notification history and various metrics from your Cloudflare accounts.
ExtensionCloudflare is a platform that is built to improve the security, performance, and reliability of systems connected to the Internet. It primarily does this by serving as a reverse proxy for your web traffic. Your traffic flows through Cloudflare where rules and optimizations are applied to meet its goals.
Cloudflare is in a position where it has great visibility into your traffic and web performance. Dynatrace can collect this information and make it available in Dynatrace for use monitoring and analytics purposes in context with the rest of your Dynatrace information. The extension queries various APIs to collect metrics as well as notification history for ingestion into Dynatrace.
Review the list of feature sets to see which metrics are collected depending on the enabled feature sets.
If enabled, a log event will be ingested for each notification event that shows up within your notification history.
Metrics and events are pulled from the Cloudflare API and so access to this API alongside a token with proper permissions is required.
To access 1-minute granularity data for HTTP-traffic a paid Cloudflare account is required as this information is not available over API for 'free' accounts.
Find 'Cloudflare' in the in-product Extensions or Hub page and activate (if offline you can download the extension from this Hub page in the 'Release notes' section and install as you would a custom extension).
Once activated in your environment you can create monitoring configurations. Each monitoring configuration can have one or more Cloudflare accounts
First select the desired ActiveGate group that will run the monitoring configuration.
API Token
Accounts
Notification retrieval frequency
Review the available feature sets to determine which you want to enable and collect. The enabled feature sets will effect which APIs are called.
There is no charge for obtaining the extension, only for the data (metrics & events) that the extension ingests. The details of license consumption will depend on which licensing model you are using. This will either be Dynatrace classic licensing or the Dynatrace Platform Subscription (DPS) model.
License consumption is based on the number of metric data points ingested. The following formula will provide approximate annual data points ingested by feature set. Note that many of these depend on the nature of the traffic being recieved by Cloudflare and so may change significanly over time.
Feature sets:
DNS Analytics
((1 * <dnsQueryLocation> * <dnsQueryResponseCode>)) * 525.6
HTTP Traffic
(6 + (1 * <sslProtocolVersion>) + (1 * <edgeResponseContentType) + (4 * <clientCountryName>) + (1 * <edgeResponseStatus>) + (1 * <threatPathingName)) * 525.6
Workers
((15 * <scriptName> * <status> * <usageModel> * <environmentName>) * 525.6
Log records will be ingested for notifications in the notification history of monitored Cloudflare accounts.
License consumption is based on the size (in bytes) of data ingested & processed, retained, and queried so there is not a single formula to estimate the total consumption from this extension. Consult the log management and analytics documentation for details on the other dimensions that will effect license consumption.
In the classic licensing model, log record ingestion will consume Davis Data Units (DDUs) at the rate of 100 DDUs per Gigabyte of log records ingested.
In log monitoring classic, license consumption is based on the number of ingested log records.
In the classic licensing model, log record ingestion will consume Davis Data Units (DDUs) at the rate of .0005 DDUs per ingested log record.
Multiply estimated ingested log records by .0005 to estimate DDU usage from log records.
Below is a complete list of the feature sets provided in this version. To ensure a good fit for your needs, individual feature sets can be activated and deactivated by your administrator during configuration.
Metric name | Metric key | Description | Unit |
---|---|---|---|
Total requests | cloudflare.http.total_requests | Total requests in this zone | Count |
Cached requests | cloudflare.http.cached_requests | Requests satisfied by the cache | Count |
Bytes | cloudflare.http.bytes | Total bytes returned to the client | Byte |
Cached bytes | cloudflare.http.cached_bytes | Bytes returned to client from cache | Byte |
Encrypted bytes | cloudflare.http.encrypted_bytes | Bytes returned to client using SSL/TLS protocol | Byte |
Threats | cloudflare.http.threats | Requests classified as threats | Count |
Requests by SSL protocol | cloudflare.http.requests_by_ssl_protocol | Requests broken down by SSL protocol version | Count |
Requests by content type | cloudflare.http.requests_by_content_type | Requests broken down by retuend content type | Count |
Bytes by country | cloudflare.http.bytes_by_country | Bytes returned to client broken down by country | Byte |
Requests by country | cloudflare.http.requests_by_country | Requests broken down by country | Count |
Threats by country | cloudflare.http.threats_by_country | Requests classified as threats broken down by country | Count |
Threats by pathing name | cloudflare.http.threats_by_pathing_name | Requests classified as requests broken down by threat type | Count |
Metric name | Metric key | Description | Unit |
---|---|---|---|
Worker requests | cloudflare.workers.requests | Total worker requests | Count |
Worker subrequests | cloudflare.workers.subrequests | Total worker subrequests | Count |
Worker errors | cloudflare.workers.errors | Total worker errors | Count |
Worker duration | cloudflare.workers.duration | Worker duration | KiloBytePerSecond |
Worker duration 50th percentile | cloudflare.workers.duration_p50 | Worker duration 50th percentile | KiloBytePerSecond |
Worker duration 99th percentile | cloudflare.workers.duration_p99 | Worker duration 99th percentile | KiloBytePerSecond |
Worker wall time | cloudflare.workers.wall_time | Worker wall time | MicroSecond |
Worker wall time 50th percentile | cloudflare.workers.wall_time_p50 | Worker wall time 50th percentile | MicroSecond |
Worker wall time 99th percentile | cloudflare.workers.wall_time_p99 | Worker wall time 99th percentile | MicroSecond |
Worker CPU time 50th percentile | cloudflare.workers.cpu_time_p50 | Worker CPU time 50th percentile | MicroSecond |
Worker CPU time 99th percentile | cloudflare.workers.cpu_time_p99 | Worker CPU time 99th percentile | MicroSecond |
Metric name | Metric key | Description | Unit |
---|---|---|---|
DNS query count | cloudflare.dns.queries | Total DNS queries | Count |
Metric name | Metric key | Description | Unit |
---|---|---|---|
Number of Cloudflare notifications | cloudflare.notifications | The number of notifications that have been pulled from Cloudflare | Count |
No release notes