> ## Documentation Index
> Fetch the complete documentation index at: https://docs-xcor.paloaltonetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Ingest, query, and control your trace data

> Learn about interacting with trace data in Palo Alto Networks Cortex XCOR.

[Distributed tracing](https://docs-xcor.paloaltonetworks.com/overview/concepts/distributed-tracing.md) is the process of
mapping and analyzing requests as they flow through a distributed system. Use the
following documentation to learn about how to interact with trace data in
Palo Alto Networks Cortex XCOR.

> [!NOTE]
>
> Prefer a guided lab? Take [Exploring Traces](https://docs-xcor.paloaltonetworks.com/academy/courses/exploring-traces.md) for trace anatomy and Trace Explorer in a
> guided lab.

## Ingest

Cortex XCOR supports ingesting trace data with both the Chronosphere
Collector and the OpenTelemetry Collector. An added benefit of using the
OpenTelemetry Collector is configuring [head sampling](https://docs-xcor.paloaltonetworks.com/control/shaping/sample-traces/head-sampling.md),
which is a powerful control mechanism for managing your tracing costs.

> [card] [Ingest data](https://docs-xcor.paloaltonetworks.com/ingest/metrics-traces)

## Control

Use Trace Optimization to narrow your focus to only a
representative sample of your data and drop everything else. Identify and evaluate
data, and then sample the overall dataset to eliminate waste, unnecessary noise, and
cost.

> [card] [Control data](https://docs-xcor.paloaltonetworks.com/control/shaping/sample-traces)

## Query

Learn how to construct queries in Trace Explorer to search for traces and spans to
help identify, triage, and understand the root cause of problems. See the
[features overview](https://docs-xcor.paloaltonetworks.com/investigate/querying/traces/features.md) to learn more about the
capabilities that Trace Explorer provides.

> [card] [Query data](https://docs-xcor.paloaltonetworks.com/investigate/querying/traces)

## Observe

Create standard dashboards query and
[visualize log data](https://docs-xcor.paloaltonetworks.com/investigate/querying/dashboard-query.md) queries. You can also
create [alerts](https://docs-xcor.paloaltonetworks.com/investigate/alerts/monitors) to watch time series data that's
specified in a monitor query, and receive notifications when the query matches
specified logs.

> [card] [Observe data](https://docs-xcor.paloaltonetworks.com/observe/dashboards)

## Analyze

Analyze your trace data to gain insights, understand the value of your data
semantics, and highlight changes and their impacts. Use
[Cortex XCOR Differential Diagnosis (DDx)](https://docs-xcor.paloaltonetworks.com/investigate/analyze/differential-diagnosis/traces.md)
to identify issues behind suspicious trends.

> [card] [Analyze data](https://docs-xcor.paloaltonetworks.com/investigate/analyze/trace-analyzer.md)

## Connect

Create links to related data from other parts of Cortex XCOR, such as
linking to logs from traces and linking to traces from dashboards.

> [card] [Create links](https://docs-xcor.paloaltonetworks.com/investigate/querying/create-links.md)


## Related topics

- [Exploring Traces](https://docs-xcor.paloaltonetworks.com/academy/courses/exploring-traces.md)
- [Ingest, query, and control your log data](https://docs-xcor.paloaltonetworks.com/overview/types/logs.md)
- [Ingest, query, and control your metric data](https://docs-xcor.paloaltonetworks.com/overview/types/metrics.md)
- [Ingest metric and trace data](https://docs-xcor.paloaltonetworks.com/ingest/metrics-traces.md)
- [Trace datasets](https://docs-xcor.paloaltonetworks.com/control/shaping/sample-traces/datasets.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.