Introduction

Telemetry in Tyk Cloud enables distributed tracing of your APIs, allowing you to track and analyze how requests flow through your system. This trace data helps you understand request paths, identify bottlenecks, and troubleshoot issues by providing detailed insights into each request’s journey through your API infrastructure. We support distributed tracing for Cloud Data Plane deployments. You can enable it while creating or updating after setting up telemetry. Since this functionality is powered by Tyk Gateway’s OpenTelemetry integration, we recommend reviewing our comprehensive OpenTelemetry documentation to understand the underlying architecture, best practices for implementation, and how to maximize the value of distributed tracing in your API infrastructure. The documentation provides detailed insights into configuration options, sampling strategies.

Available Telemetry Providers

Tyk Cloud integrates with these monitoring platforms:
  • Datadog
  • Dynatrace
  • New Relic
  • Elastic
  • Custom
    Before diving into the configuration details, please note that Telemetry is an add-on feature in Tyk Cloud. To enable this capability for your account, please contact our support team. Our team will help you activate this feature and ensure you have access to all the Telemetry options.

Enabling Telemetry in Tyk Cloud

Configuring telemetry in Tyk cloud is a two step process.
  1. Configure a provider/backend at organization level.
  2. Enable/Disable telemetry option while creating/updating a Cloud Data Plane.
    Before diving into the configuration details, please note that Telemetry is an add-on feature in Tyk Cloud. To enable this capability for your account, please contact our support team. Our team will help you activate this feature and ensure you have access to all the Telemetry options.

Steps for Configuring Telemetry Provider in Tyk Cloud

  1. Choosing Your Provider In the Tyk Cloud Console, select Telemetry option. You’ll see a grid displaying all supported backends/providers. Click on your preferred backend/provider to begin the configuration process.
    Only a single provider/backend can be configured at any given time.
    Tyk Cloud Telemetry providers
  2. Configuring Basic Elements Every telemetry backend shares these fundamental settings:
    1. Connection Toggle: This switch activates or deactivates your telemetry export. When enabled, Tyk will start sending monitoring data to your chosen platform.
    2. Sampling Rate: This setting determines what percentage of your API traffic data gets sent to your monitoring platform. The default is 10%, which means Tyk will send data for one out of every ten API calls.
  3. Configuring Optional Settings Beyond the basic settings, you can customize your telemetry with two optional features:
    1. Tags to Add to the Traces : Add custom labels to your telemetry data to make it easier to analyze. For example:
      environment:production
      region:europe
      team:api-gateway
      
    2. Fields to Filter : Specify which data fields should be excluded from your telemetry. This is useful for ensuring sensitive information doesn’t get sent to your monitoring platform.
  4. Configuring Provider-Specific Configuration Each monitoring platform has its own requirements for connection. Let’s explore what you’ll need for each:
    • Provider Site: Enter your Datadog URL (like us5.datadoghq.com). To obtain your URL, refer to the following docs.
    • API Key: Enter your Datadog API key. To obtain your API Key, refer to the following docs. Example: A Datadog setup might look like:
      Provider Site: us5.datadoghq.com
      API Key: your-datadog-api-key
      
      Tyk Cloud Telemetry Datadog

Configure Telemetry Export in Cloud Data Plane Deployments

When creating a new Cloud Data Plane deployment or editing an existing one, you can configure telemetry export settings. These settings are specific to Cloud Data Plane deployments only and allow you to monitor API performance through your chosen telemetry provider. When you modify any general telemetry settings in Tyk Cloud, these changes don’t take immediate effect. Your Cloud Data Planes need to be redeployed to activate the new telemetry configuration.

Configuration Options

Tyk Cloud Telemetry Enable
  1. Enable Datadog Connection
    • Toggle switch to enable/disable Datadog monitoring for this specific Cloud Data Plane deployment
  2. Sampling Rate Override
    • Choose what percentage of API traffic to monitor (default: 10%)
    The sampling level can be configured at both the organization level (while setting up the provider) and the Cloud Data Plane. The configuration at the Cloud Data Plane will override the organization-level settings.
  3. Verifying Cloud Data Plane Configuration As shown in the below image, you should observe Telemetry Export to be enabled: Tyk Cloud Data Plane Telemetry Enabled