> ## 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.

# Exploring services with tracing data

> Learn about how to use services and traces to find issues.

The [Services](https://docs-xcor.paloaltonetworks.com/observe/services) page provides efficient views into your services to
help you discover ways of exploring your data. You can link directly to tracing data
related to a specific service from the **Services** page. Palo Alto Networks Cortex XCOR
automatically
generates these links to help you monitor services and
connected telemetry.

> [!NOTE]
>
> Prefer a guided lab? Take [Exploring Services with Lens](https://docs-xcor.paloaltonetworks.com/academy/courses/exploring-services-with-lens.md) to practice navigating
> services, My Services, and service discovery in a guided lab.

> [!NOTE]
>
> The number of listed services in Trace Explorer might not match services listed in
> the [service list](https://docs-xcor.paloaltonetworks.com/observe/services#understand-the-services-table) due to
> [service discovery jobs and merge rule configuration](https://docs-xcor.paloaltonetworks.com/administer/service-discovery.md).

1. In the navigation menu select
   **Services Services**.

2. In the list of services, your **Deployer Service** has a currently alerting
   monitor that exceeds the defined critical conditions.

3. Select the **Deployer Service** to display its individual service page.

4. In dependency map, in the **Trends** dropdown, select **Errors**.

   You notice that the edge for this service has downstream errors. From here, you
   can investigate trace data in Trace Explorer.

5. Click the outgoing edge for the **Deployer Service** to display a panel with
   statistics about this edge.

6. In the panel containing edge information, next to **Requests**, click the
   &#x20;more icon to display these options:

   When you select one of these options, Cortex XCOR applies the context
   defined in the service page:

   * **View in Trace Explorer** opens Trace Explorer with the selected service
     context. You can further refine the query to identify issues.
   * **Differential Diagnosis** opens the **Differential Diagnosis** tab in a drawer
     with the selected service. Use this information to
     [identify trends](https://docs-xcor.paloaltonetworks.com/investigate/analyze/differential-diagnosis/traces.md) and immediately
     scan through all related tags and values to pinpoint the exact `tag:value` pairs
     most closely correlated with suspicious behavior.

7. Select **Trace Explorer** to open Trace Explorer.

8. In the **Trace Explorer** page, in the **Span statistics** section, select
   **Leaf errors** in the **Metric** dropdown menu to highlight services that include
   error spans with no failing child spans.

   These errors are the deepest errors within a request flow, and are often the
   reason why an entire trace fails.

9. In the sparklines chart, you notice spikes in errors for the `gatewayauth`
   service.

10. In the **Metric** dropdown, select **Leaf errors** to focus on the root cause of
    the issues.

11. In the **Group by** field, enter **Operation** so that you're grouping results by
    both Service and Operation.

    In the **Span statistics** table, you see that the `auth.Auth/Authenticate` operation
    of the `gatewayauth` has the most leaf errors.

12. Click the **gatewayauth** service to add it and the `auth.Auth/Authenticate`
    operation to your search filter.

13. At the top of the page, click  **Copy URL** to copy a link
    with the defined filter criteria that you can share with the team that owns the
    `gatewayauth` service.

You identified the service and operation with the most leaf errors and can send a
contextual link to the team responsible for that service. By focusing on leaf errors,
you located the root issue impacting related traces and can provide that context to
the owning team.


## Related topics

- [Examples for tracing](https://docs-xcor.paloaltonetworks.com/investigate/querying/traces/examples.md)
- [Services](https://docs-xcor.paloaltonetworks.com/observe/services.md)
- [Exploring Services with Lens](https://docs-xcor.paloaltonetworks.com/academy/courses/exploring-services-with-lens.md)
- [Exploring Traces](https://docs-xcor.paloaltonetworks.com/academy/courses/exploring-traces.md)
- [Distributed tracing](https://docs-xcor.paloaltonetworks.com/overview/concepts/distributed-tracing.md)


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