Skip to main content
Cline Enterprise includes two complementary monitoring capabilities: built-in opt-in telemetry for anonymous usage tracking, and OpenTelemetry (OTLP) export for organizations that need to integrate with their own observability infrastructure.

Monitoring options

Built-in telemetry

Anonymous usage tracking built into Cline. Captures feature usage, task completion rates, and error occurrences. No additional infrastructure required.

OpenTelemetry export

Export metrics and logs to your own observability platforms via OTLP. Integrates with Datadog, Grafana, New Relic, Splunk, and any OTLP-compatible backend.

Built-in telemetry

Cline includes opt-in telemetry to help understand usage patterns. All data is anonymous.

What is collected

  • Tools executed (for example, read_file, execute_command)
  • Slash commands used
  • Workflows triggered
  • Settings changed
  • Task started and completed events
  • Mode switches (Plan / Act)
  • Checkpoint usage
  • Task duration
  • API failures
  • Tool execution errors
  • System errors and frequencies

What is never collected

Cline telemetry never includes:
  • Code or file contents
  • File paths or names
  • Command arguments or parameters
  • Conversation content
  • API keys or credentials
  • Personal information

User controls

Individual users enable or disable telemetry in Cline Settings → Cline Telemetry. Changes take effect immediately.

Enterprise default configuration

Administrators can set the default telemetry state via remote configuration:
{
  "telemetryEnabled": true
}
Even when the enterprise default is enabled, individual users can disable Cline telemetry in their local settings.

OpenTelemetry export

For organizations with existing observability infrastructure, Cline supports OpenTelemetry Protocol (OTLP) export of metrics and logs.
OpenTelemetry integration is optional. It requires additional configuration and is intended for organizations with existing observability tooling. Most users do not need this feature.

What is exported

Data typeExamples
MetricsFeature usage counts, task execution metrics, error rates, performance measurements
LogsSystem events, error logs with context, operational information
Exported data is already anonymous and does not include code content, file paths, or sensitive information. However, you are responsible for securing the data once it reaches your systems.

Export protocols

Cline supports three OTLP export protocols:
ProtocolNotes
gRPCDefault. Recommended for most deployments.
HTTP/protobufUse when gRPC is blocked by a proxy or firewall.
HTTP/JSONUse for maximum compatibility.

What is not yet supported

  • Distributed tracing
  • Custom instrumentation API
  • Sampling configuration (defaults are used)

Configuring OpenTelemetry

OpenTelemetry is configured from the Cline dashboard at app.cline.bot under Organization Settings.
1

Enable OpenTelemetry

In the Organization Settings page, find the OpenTelemetry section and toggle it on.
2

Configure the OTLP endpoint and protocol

Enter your OTLP collector endpoint URL and select a protocol (gRPC, HTTP/protobuf, or HTTP/JSON).If you are using gRPC, you can opt out of TLS for internal collector endpoints.
3

Enable metrics and/or logs

Toggle on at least one of Metrics or Logs. Both can be enabled simultaneously.
4

Configure advanced options (optional)

Advanced settings allow you to:
  • Set separate endpoints for metrics and logs
  • Adjust the metrics export interval
  • Configure log batch size, batch timeout, and maximum queue size
5

Add authentication headers (if required)

If your OTLP collector requires authentication, add key-value pairs in the Headers section. This is how you pass API keys or bearer tokens to platforms like Datadog or New Relic.

Integration examples

Datadog accepts OTLP data through its agent or through the Datadog OTLP ingestion endpoint.Endpoint: https://otlp.datadoghq.com:4317 (gRPC) or https://otlp.datadoghq.com:443/api/v1/otlp (HTTP)Required header:
DD-API-KEY: <your-datadog-api-key>
Set the protocol to gRPC and add the DD-API-KEY header in the Headers section of the Cline OpenTelemetry settings.

Testing your configuration

After saving the configuration:
  1. Sign in to Cline and perform a few actions in a task.
  2. Wait for the configured export interval (default: 60 seconds for metrics).
  3. Verify that data has arrived in your collector or observability platform.
If no data arrives: Enable debug logging by launching VS Code from the terminal with:
TEL_DEBUG_DIAGNOSTICS=true code .
This outputs detailed information about configuration, exporter initialization, connection attempts, and export results. Alternatively, open the VS Code webview developer tools to see OTLP export errors in the console.

Troubleshooting

  1. Verify the endpoint is reachable:
curl -v https://your-otlp-endpoint:4317
  1. If the endpoint does not use TLS, opt out of TLS in the gRPC settings.
  2. Verify that authentication headers (API keys, bearer tokens) are correct.
  • Confirm at least one of Metrics or Logs is enabled.
  • Check that the export interval has elapsed before expecting data.
  • Enable debug mode (TEL_DEBUG_DIAGNOSTICS=true) and look for export errors.
  • Verify your collector or platform is accepting data from the Cline client IP.
  • Double-check that the header key name matches exactly what your platform expects (for example, DD-API-KEY vs api-key).
  • Verify the API key or token has not expired.
  • Confirm the key has write/ingest permissions in your observability platform.

Best practices

  1. Start with metrics only. Add logs once you have confirmed metrics are flowing correctly.
  2. Test before production. Verify data reaches your collector before enabling for your full team.
  3. Monitor ingestion costs. Be aware of data ingestion pricing in your observability platform, especially when enabling detailed log export.
  4. Secure your headers. API keys in the Headers section are stored in your organization’s remote configuration. Rotate them according to your key management policies.

Build docs developers (and LLMs) love