For AI agents: The documentation index is at https://docs.digitalocean.com/llms.txt. Markdown versions of pages use the same URL with index.html.md in place of the HTML page (for example, append index.html.md to the directory path instead of opening the HTML document).
How to View Traces
Last verified 4 Dec 2026
DigitalOcean Insights provides metrics, logs, traces, dashboards, and alerts to help you monitor, analyze, and troubleshoot supported DigitalOcean resources.
Warning
DigitalOcean Insights is not a HIPAA-eligible service and is strictly excluded from DigitalOcean’s Business Associate Agreement (BAA). Customers are contractually prohibited from transmitting, storing, or processing Protected Health Information (PHI) within Insights via logs, traces, custom metrics, or log forwarding, even if originating from resources under an active BAA. For teams covered by a BAA, Insights blocks log and trace ingestion but does not block metrics, which remain permissible only to the extent they contain zero PHI.
Platform-level operational metrics do not contain personal data. Logs and traces may contain personally identifiable information (PII), credentials, or other sensitive data emitted by your applications.
Operational security follows DigitalOcean’s Shared Responsibility Model. DigitalOcean secures the underlying infrastructure; customers maintain exclusive responsibility for telemetry contents emitted by their workloads and access control configurations.
Ingested logs and traces do not undergo automatic scrubbing, masking, or redaction. Customers are solely responsible for removing or masking Personally Identifiable Information (PII), credentials, or sensitive data on the client side prior to ingestion.
The Traces tab lets you investigate how requests move across supported DigitalOcean services and resources. You can search and filter trace data, identify latency and errors, and inspect individual operations to troubleshoot application performance.
At the top, a chart displays trace activity over the selected time range, with a results table below. You can view the results in two ways:
Spans: Displays individual operations within traces.
Traces: Displays complete request flows, including the spans that show how requests are processed across services.
You can enable available Insights telemetry when creating a supported DigitalOcean resource. The available options depend on the resource type.
For Droplets, under the Monitoring section, select Improved Metrics and monitoring (Free) to install the DigitalOcean metrics agent (do-agent). For GPU Droplets created with AI/ML Ready images, enable GPU Observability during resource creation. The agent collects supported system and GPU metrics, but logs and traces are not currently supported.
For supported managed resources, you can enable log and trace collection during resource creation and disable it later if needed. Insights is enabled by default for Managed Agents.
To view traces, go to the Traces tab in the DigitalOcean Control Panel.
Select a Region or Resource
In the top-left corner, click the Region drop-down menu to choose how to scope your query.
You can select one of the following options:
Region: Select a region to view its telemetry data. Use the Search regions field to find a specific region.
Resource: Select a specific resource to view its telemetry data. Use the Search resources field to find a resource.
Multi-Region Resource: Select a resource type to view telemetry data across multiple regions.
The selected region, resource, or multi-region resource type determines which telemetry data appears in the results.
Set the Time Range and Refresh Interval
The time range, timezone, and refresh interval apply to the traces and spans displayed.
Set the Time Range
In the top-right corner, click the Time range drop-down menu to select a relative range from Last 5 minutes to Last 14 days, or specify an absolute range using the From and To fields.
Use the Timezone drop-down menu to select the timezone for displaying metric timestamps. The default is your browser’s local timezone.
Set the Refresh Interval
In the top-right corner, click the Refresh interval drop-down menu to select Off, 1m, 5m, 15m, 30m, 1h, 2h, or 1d.
To refresh the metric data manually, click the refresh icon.
Filter Traces
To search for traces or spans, at the top, in the Search Body, Service Name, Resource Type field, enter a service name, Trace ID, or Span ID.
On the left, use the Filters panel to narrow the traces and spans displayed by status, service, duration, or span attributes.
To filter the trace data, use the following options:
Status: Select ERROR or OK to filter by trace or span status.
Service: Select one or more services to filter the results.
Duration: Drag the minimum and maximum values on the slider to set the duration range.
Attributes: Click Add attribute filter to open the attribute selector. Search for or select an available attribute, such as http.status_code. The selected attribute appears as a new filter section containing its available values. Select one or more values using the checkboxes to filter the results.
The results update based on the selected filters. To clear the selections in a filter section, next to the section’s name, click Clear. To remove all applied filters, at the bottom, click Clear all filters.
View Traces and Spans
Above the results table, click the Spans tab or Traces tab to switch between individual operations and request flows.
The results table displays information according to the selected view. You can expand an individual result to inspect it or open the trace details page for further investigation.
The Spans table displays individual spans that match the selected search criteria and filters. Each row includes the Span name, Service, Duration, Status, Time, and Trace ID.
To inspect a span without leaving the results page, on the left side of the span, click the arrow.
In the Overview tab, you can view the span name and available attributes, such as trace_id, span_id, parent_span_id, and span-specific attributes. Use the Filter attributes… field to search for a specific attribute.
Then, when you hover on an attribute of the span, on the right, click an attribute to display its available actions:
Add to filters: Apply the selected attribute and value as a filter. The results reload with the filter applied, and then on the left, in the Filters panel, the filter is selected.
Remove filter: Remove the selected attribute and value from the applied filters. The results reload with the filter removed, and then on the left, in the Filters panel, the filter is unselected. This option appears when the attribute is already applied as a filter.
Copy value: Copy the selected attribute’s value to your clipboard.
The available actions depend on the selected attribute.
Click the JSON tab to switch to the span’s structured data, including its identifiers, attributes, and resource metadata.
For structured attribute values, on the left of the JSON line, click the arrow to inspect its contents.
Then, when you hover a line of JSON, on the right, click an attribute to display its available actions:
Add to filters: Apply the selected attribute and value as a filter. The results reload with the filter applied, and then on the left, in the Filters panel, the filter is selected.
Remove filter: Remove the selected attribute and value from the applied filters. The results reload with the filter removed, and then on the left, in the Filters panel, the filter is unselected. This option appears when the attribute is already applied as a filter.
Copy value: Copy the selected attribute’s value to your clipboard.
The available actions depend on the selected attribute.
To investigate the span within its complete trace, in the top-right corner of the expanded span, click View details to open the trace details page.
The Traces table displays traces that match the selected search criteria and filters. Each row includes the Trace ID, Root service, Duration, Spans, Status, and Time.
To inspect a trace, on the left side of the trace, click the arrow.
The expanded trace displays an interactive timeline showing the spans that make up the trace. Parent and child spans are organized hierarchically to show how operations relate to one another.
Each span appears as a horizontal bar representing its duration. Click the arrow next to a parent span to expand or collapse its child spans.
Hover over a span bar to view additional information, including its start time, trace ID, span ID, parent span ID, name, kind, service name, duration, status code, and status message.
Click a colored span bar to open the trace details page with that span selected.
View Trace Details
The trace details page lets you investigate individual spans within a trace and inspect related logs.
You can open the trace details page by either in the top-right corner of the expanded span, clicking View details in the Spans table, or in an expanded trace, clicking a colored span bar in the Traces table.
To return to the Traces tab, in the top-left corner, click Back to traces.
To share the trace, in the top-right corner, click Share trace.
Then, in the top-left, in the Trace timeline panel, review the spans and their durations to understand how the request moved between services. To select a different span to inspect, click its span bar.
In the top-right, the Span details panel displays information about the selected span, including its trace ID, span ID, parent span ID when available, span attributes, and resource attributes.
In the All tab, you can view all available attributes for the selected span.
Click the Span tab to view span-specific attributes, such as HTTP information, database operations, and other operation metadata.
Click the Resource tab to view resource attributes, such as resource type, service name, region, and deployment information.
Use the Search field to find an attribute, if needed.
Then, hover over a span attribute, on the right, click an attribute to display its available actions:
Add to filters: Apply the selected attribute and value as a filter. The trace details page reloads with the filter applied.
Remove filter: Remove the selected attribute and value from the applied filters. The trace details page reloads with the filter removed. This option appears when the attribute is already applied as a filter.
Copy value: Copy the selected attribute’s value to your clipboard.
The available attributes depend on the span and its source.
At the bottom, the Associated logs panel displays logs that share the trace ID. The table includes each log’s timestamp, associated span identifier, severity, and body.
To inspect a log entry, on the left side of the entry, click the arrow to expand its details.
In the Overview tab, you can view the log body and available attributes. Use the Filter attributes… field to search for a specific attribute.
Click the JSON tab to view the log entry’s structured data, including available trace and span identifiers, resource information, and additional attributes.
When viewing a log entry associated with a span, click Span Details to locate and highlight the corresponding span in the Trace timeline panel. The Span details panel updates to display that span’s attributes.
Click Trace Details to open the trace details in the Trace timeline panel. The Span details panel prompts you to select a span from the timeline.
To view related logs, in the top-right corner, click View all logs to open the Logs tab with the trace ID filter applied.
View Traces Using Automation
You can search traces and spans using the DigitalOcean CLI or API to retrieve trace data based on a region and specified search criteria.
Trace queries are region-specific, so each request retrieves data from one region, and each search can cover a time range of up to seven days. A trace matches a search when at least one of its spans matches the filter. You can only retrieve a trace from the region that ingested it.
View Traces via the CLI
To search traces, use the doctl insights traces search command with the --region flag. To set the time range, add the --from and --to flags.
To retrieve a trace and all of its spans, send its trace ID to the Retrieve an Existing Trace endpoint. Requests to a region other than the one that ingested the trace return a 404 error.
How to Retrieve a Trace Using the DigitalOcean API