> ## 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 metric and trace data

> Learn about the collection methods used to ingest metrics and traces into Palo Alto Networks Cortex XCOR.

Palo Alto Networks Cortex XCOR supports two
[Collectors](#chronosphere-collector-or-opentelemetry-collector) to ingest metric
and trace data, the Chronosphere Collector and the OpenTelemetry Collector.
Cortex XCOR also supports direct metric imports from
[Google Cloud](https://docs-xcor.paloaltonetworks.com/ingest/xcor/integrations/server/gcp).

## Chronosphere Collector or OpenTelemetry Collector

Your Collector selection depends on the telemetry data you plan to ingest.

Cortex XCOR recommends using the vendor-supported, optimized, and highly performant
[Chronosphere Collector](https://docs-xcor.paloaltonetworks.com/ingest/metrics-traces/collector) for Prometheus discovery and scrape
workloads. This use case typically works best with metrics data.

Use the [OpenTelemetry Collector](https://docs-xcor.paloaltonetworks.com/ingest/metrics-traces/otel) if your organization uses
OpenTelemetry SDKs for app instrumentation. An added benefit of using the
OpenTelemetry Collector is you can configure dynamic, remotely configurable
[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. Cortex XCOR supports the
[OpenTelemetry JaegerRemoteSampler](https://opentelemetry.io/docs/specs/otel/trace/sdk/#jaegerremotesampler)
head sampling standard for remotely controlling the sampling configuration of
OpenTelemetry SDKs.

| Chronosphere Collector | OpenTelemetry Collector |
| :- | :- |
| Proprietary | Open source |
| Fully supported by Cortex XCOR Support | Exporter configuration support |
| No remote trace sampling support | Remote trace sampling support |

> [!NOTE]
>
> Cortex XCOR doesn't provide customer support for OpenTelemetry components.

## Integrations

Cortex XCOR supports these metrics integrations:

> [card] [AWS Cloudwatch metrics](https://docs-xcor.paloaltonetworks.com/ingest/xcor/integrations/server/aws-cloudwatch.md)
>
> Configure AWS to stream metrics to Cortex XCOR through CloudWatch Metrics Streams.

> [card] [Azure metrics](https://docs-xcor.paloaltonetworks.com/ingest/xcor/integrations/server/azure)
>
> Connect Cortex XCOR with Azure Monitor to ingest metrics.

> [card] [Google Cloud metrics](https://docs-xcor.paloaltonetworks.com/ingest/xcor/integrations/server/gcp)
>
> Connect Cortex XCOR with Google Cloud to ingest metrics from Google Cloud projects.

> [card] [OpenTelemetry](https://docs-xcor.paloaltonetworks.com/ingest/metrics-traces/otel)
>
> Use the OpenTelemetry protocol (OTLP) HTTP endpoint to route metrics from OpenTelemetry.


## Related topics

- [Ingest metrics and traces using the OpenTelemetry Collector](https://docs-xcor.paloaltonetworks.com/ingest/metrics-traces/otel.md)
- [Ingest, query, and control your metric data](https://docs-xcor.paloaltonetworks.com/overview/types/metrics.md)
- [Ingest, query, and control your trace data](https://docs-xcor.paloaltonetworks.com/overview/types/traces.md)
- [Ingest telemetry data](https://docs-xcor.paloaltonetworks.com/ingest.md)
- [Tracing ingest limits](https://docs-xcor.paloaltonetworks.com/administer/limits-licensing/limits/trace-limits.md)


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