Skip to technology filters Skip to main content
Dynatrace Hub

Extend the platform,
empower your team.

Popular searches:
Home hero bg
Cloudflare (extension)Cloudflare (extension)
Cloudflare (extension)

Cloudflare (extension)

Collect notification history and various metrics from your Cloudflare accounts.

Extension
Free trial
Overview dashboardAccount screenExample monitoring configurationWorker screenZone screen
  • Product information
  • Release notes

Overview

Cloudflare 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.

Use cases

  • Ingest metrics for use in context with Dynatrace information:
    • HTTP traffic
    • DNS analytics
    • Worker activity and performance
  • View notification history within Dynatrace for events detected in Cloudflare such as DDoS attacks

Details

Metrics

Review the list of feature sets to see which metrics are collected depending on the enabled feature sets.

Log events

Notification history

If enabled, a log event will be ingested for each notification event that shows up within your notification history.

Compatibility information

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.

Installation

Requirements

  • Minimum Dynatrace environment and ActiveGate version 1.269
  • A paid Cloudflare account
  • Access to Cloudflare API and a token with required permissions

Dynatrace configuration

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).

Monitoring configurations

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

    • Note: the API token must have been issued from a member with at least the "Minimal Account Access" and "Analytics" account scoped roles (Under Account > Members > Account Scoped Roles)
    • Requires the 'Read' permission on 'Account.Account Settings', 'Account.Account Analytics', and 'Zone.Analytics' permissions for desired account(s)
  • Accounts

    • Note: Multiple accounts can be monitored in one monitoring configuration, but they must share an API token for access
    • Account ID
    • Zone filters
      • Provide zones you would like to collect data for either by name or tag/ID. If no zones are provided all will attempt to be collected.
  • Notification retrieval frequency

    • Frequency that notifications will be retrieved from Cloudflare and reported. Set to 0 to disable. Applies to all configured accounts.

Feature sets

Review the available feature sets to determine which you want to enable and collect. The enabled feature sets will effect which APIs are called.

Licensing

Licensing

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.

Metrics

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

Log records will be ingested for notifications in the notification history of monitored Cloudflare accounts.

Log management and analytics (powered by Grail)

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.

Classic licensing

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.

Log monitoring classic

In log monitoring classic, license consumption is based on the number of ingested log records.

Classic licensing

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.

Frequently Asked Questions

  • Why do some of the metrics appear delayed?
    • Testing has shown that some APIs have the minute-level data show up reliably only after several minutes. To avoid missing or partial data being reported we query these types of metrics with a 5 minute delay.
Dynatrace
By Dynatrace
Dynatrace support center
Subscribe to new releases
Copy to clipboard

Extension content

Content typeNumber of items included
screen logs cards
1
metric metadata
25
screen layout
3
list screen layout
3
screen metric tables
6
generic relationship
2
dashboards
1
screen entities lists
5
screen properties
3
generic type
3
screen chart groups
7

Feature sets

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.

Feature setsNumber of metrics included
Metric nameMetric keyDescriptionUnit
DNS query countcloudflare.dns.queriesTotal DNS queriesCount
Metric nameMetric keyDescriptionUnit
Worker requestscloudflare.workers.requestsTotal worker requestsCount
Worker subrequestscloudflare.workers.subrequestsTotal worker subrequestsCount
Worker errorscloudflare.workers.errorsTotal worker errorsCount
Worker durationcloudflare.workers.durationWorker durationKiloBytePerSecond
Worker duration 50th percentilecloudflare.workers.duration_p50Worker duration 50th percentileKiloBytePerSecond
Worker duration 99th percentilecloudflare.workers.duration_p99Worker duration 99th percentileKiloBytePerSecond
Worker wall timecloudflare.workers.wall_timeWorker wall timeMicroSecond
Worker wall time 50th percentilecloudflare.workers.wall_time_p50Worker wall time 50th percentileMicroSecond
Worker wall time 99th percentilecloudflare.workers.wall_time_p99Worker wall time 99th percentileMicroSecond
Worker CPU time 50th percentilecloudflare.workers.cpu_time_p50Worker CPU time 50th percentileMicroSecond
Worker CPU time 99th percentilecloudflare.workers.cpu_time_p99Worker CPU time 99th percentileMicroSecond
Metric nameMetric keyDescriptionUnit
Total requestscloudflare.http.total_requestsTotal requests in this zoneCount
Cached requestscloudflare.http.cached_requestsRequests satisfied by the cacheCount
Bytescloudflare.http.bytesTotal bytes returned to the clientByte
Cached bytescloudflare.http.cached_bytesBytes returned to client from cacheByte
Encrypted bytescloudflare.http.encrypted_bytesBytes returned to client using SSL/TLS protocolByte
Threatscloudflare.http.threatsRequests classified as threatsCount
Requests by SSL protocolcloudflare.http.requests_by_ssl_protocolRequests broken down by SSL protocol versionCount
Requests by content typecloudflare.http.requests_by_content_typeRequests broken down by retuend content typeCount
Bytes by countrycloudflare.http.bytes_by_countryBytes returned to client broken down by countryByte
Requests by countrycloudflare.http.requests_by_countryRequests broken down by countryCount
Threats by countrycloudflare.http.threats_by_countryRequests classified as threats broken down by countryCount
Threats by pathing namecloudflare.http.threats_by_pathing_nameRequests classified as requests broken down by threat typeCount
Metric nameMetric keyDescriptionUnit
Number of Cloudflare notificationscloudflare.notificationsThe number of notifications that have been pulled from CloudflareCount

Full version history

To have more information on how to install the downloaded package, please follow the instructions on this page.
ReleaseDate

Full version history

  • Fixes rare issue where in some environments the proxy configuration was ignored

Full version history

  • Configurable query delay
    • In large environments it was possible for some periods to not have all data available even with the built in delay of 5 minutes. This version has a configurable delay you can increase if you have large environments and notice frequent unexpected dips in data that is not seen in the Cloudflare UI.
    • Additionally, this version forces the query window to be the top of the minute for easier comparisons to Cloudflare exported data

Full version history

  • Corrects bug with pagination that could result in some zones collecting duplicate data if a large number of zones are present

Full version history

  • Improved method of determining timeframe to query
    • Prevents backwards drift that could cause delayed data or missing data in some situations
  • Cleaner error handling of no data in an interval for http-traffic

Full version history

  • Correct fastcheck reporting in case of failures
  • Avoid loop if no zones accessible in account
  • Logging improvements
  • Enforce minimum of 1 account configured in configuration UI

Full version history

  • batch requests for traffic data requests to reduce total number of API calls and decrease duration
  • improved error handling
  • respect pagination on the 'list zones' for scenarios where more than 50 zones are in an account
  • detect when a filtered zone configured is not found and do a direct lookup for this zone to cover scenarios where in some scenarios all zones are not actually included in the 'list zones' API call
    • Zones must be filtered by ID (not name) for this to work

Full version history

  • Fixes bug that would cause the query time frame to drift resulting in empty data

Full version history

No release notes

Dynatrace Hub
Get data into DynatraceBuild your own app
All (771)Log Management and AnalyticsKubernetesAI and LLM ObservabilityInfrastructure ObservabilitySoftware DeliveryApplication ObservabilityApplication SecurityDigital ExperienceBusiness Analytics
Filter
Type
Built and maintained by
Deployment model
SaaS
  • SaaS
  • Managed
Partner FinderBecome a partnerDynatrace Developer

Discover recent additions to Dynatrace

Problems logo

Problems

Analyze abnormal system behavior and performance problems detected by Davis AI.

Logs logo

Logs

Explore all your logs without writing a single query.

Security Investigator logo

Security Investigator

Fast and precise forensics for security and logs on Grail data with DQL queries.

Business Flow logo

Business Flow

Track, analyze, and optimize your critical business processes.

Cost & Carbon Optimization logo

Cost & Carbon Optimization

Track, analyze, and optimize your IT carbon footprint and public cloud costs.

Davis Anomaly Detection logo

Davis Anomaly Detection

Detect anomalies in timeseries using the Davis AI

Analyze your data

Understand your data better with deep insights and clear visualizations.

Notebooks logo

Notebooks

Create powerful, data-driven documents for custom analytics and collaboration.

Dashboards logo

Dashboards

Transform complex data into clear visualizations with custom dashboards.

Automate your processes

Turn data and answers into actions, securely, and at scale.

Workflows logo

Workflows

Automate tasks in your IT landscape, remediate problems, and visualize processes

Jira logo

Jira

Create, query, comment, transition, and resolve Jira tickets within workflows.

Slack logo

Slack

Automate Slack messaging for security incidents, attacks, remediation, and more.

Secure your cloud application

See vulnerabilities and attacks in your environment.

Security Overview logo

Security Overview

Get a comprehensive overview of the security of your applications.

Code-Level Vulnerabilities logo

Code-Level Vulnerabilities

Detect vulnerabilities in your code in real time.

Threats & Exploits logo

Threats & Exploits

Understand, triage, and investigate application security findings and alerts.

Are you looking for something different?

We have hundreds of apps, extensions, and other technologies to customize your environment

Leverage our newest innovations of Dynatrace Saas

Kick-start your app creation

Kick-start your app creation

Whether you’re a beginner or a pro, Dynatrace Developer has the tools and support you need to create incredible apps with minimal effort.
Go to Dynatrace Developer
Upgrading from Dynatrace Managed to SaaS

Upgrading from Dynatrace Managed to SaaS

Drive innovation, speed, and agility in your organization by seamlessly and securely upgrading.
Learn More
Log Management and Analytics

Log Management and Analytics

Innovate faster and more efficiently with unified log management and log analytics for actionable insights and automation.
Learn more