---
isPrivate: true
title: Tracing Guides
description: >-
  Step-by-step guides for getting started with APM, enabling tracing tutorials,
  configuration guides, and advanced tracing techniques.
breadcrumbs: Docs > APM > Tracing Guides
---

# Tracing Guides

- [1. Alert on anomalies in database services p99 latency](https://docs.datadoghq.com/tracing/guide/alert_anomalies_p99_database)
- [2. Compare p50 latency week over week for a service](https://docs.datadoghq.com/tracing/guide/week_over_week_p50_comparison)
- [3. Create a Dashboard to track and correlate APM metrics](https://docs.datadoghq.com/tracing/guide/apm_dashboard)
- [4. Debug the slowest trace on the slowest endpoint of a web service](https://docs.datadoghq.com/tracing/guide/slowest_request_daily)
- [5. Add span tags and filter and group your application performance](https://docs.datadoghq.com/tracing/guide/add_span_md_and_graph_it)
- [6. Instrument a custom method to get deep visibility into your business logic.](https://docs.datadoghq.com/tracing/guide/instrument_custom_method)

### Tutorials: Enabling Tracing{% #tutorials-enabling-tracing %}

These tutorials walk you through setting up a sample multi-service application with automatic and custom/manual instrumentation, and configuring the stack until you see traces in Datadog APM. The tutorials all do the same thing, but with different programming languages and infrastructure setups. Choose the one most like your development and deployment environment to learn the basics of getting started with APM.



- [Enabling Tracing on a Python Application on the Same Host as Datadog Agent](https://docs.datadoghq.com/tracing/guide/tutorial-enable-python-host)
- [Enabling Tracing on a Python Application and Datadog Agent in Containers](https://docs.datadoghq.com/tracing/guide/tutorial-enable-python-containers)
- [Enabling Tracing for a Python Application in a Container and an Agent on a Host](https://docs.datadoghq.com/tracing/guide/tutorial-enable-python-container-agent-host)
- [Enabling Tracing on a Java Application on the Same Host as Datadog Agent](https://docs.datadoghq.com/tracing/guide/tutorial-enable-java-host)
- [Enabling Tracing on a Java Application and Datadog Agent in Containers](https://docs.datadoghq.com/tracing/guide/tutorial-enable-java-containers)
- [Enabling Tracing for a Java Application in a Container and an Agent on a Host](https://docs.datadoghq.com/tracing/guide/tutorial-enable-java-container-agent-host)
- [Enabling Tracing for a Java Application on GKE](https://docs.datadoghq.com/tracing/guide/tutorial-enable-java-gke)
- [Enabling Tracing for a Java Application on AWS EKS](https://docs.datadoghq.com/tracing/guide/tutorial-enable-java-aws-eks)
- [Enabling Tracing for a Java Application in Amazon ECS with EC2](https://docs.datadoghq.com/tracing/guide/tutorial-enable-java-aws-ecs-ec2)
- [Enabling Tracing for a Java Application in Amazon ECS with Fargate](https://docs.datadoghq.com/tracing/guide/tutorial-enable-java-aws-ecs-fargate)
- [Enabling Tracing for a Java Application with the Admission Controller](https://docs.datadoghq.com/tracing/guide/tutorial-enable-java-admission-controller)
- [Enabling Tracing on a Go Application on the Same Host as Datadog Agent](https://docs.datadoghq.com/tracing/guide/tutorial-enable-go-host)
- [Enabling Tracing on a Go Application and Datadog Agent in Containers](https://docs.datadoghq.com/tracing/guide/tutorial-enable-go-containers)
- [Enabling Tracing for a Go Application in Amazon ECS with EC2](https://docs.datadoghq.com/tracing/guide/tutorial-enable-go-aws-ecs-ec2)
- [Enabling Tracing for a Go Application in Amazon ECS with Fargate](https://docs.datadoghq.com/tracing/guide/tutorial-enable-go-aws-ecs-fargate)





- [Tracing Kafka Queues](https://docs.datadoghq.com/tracing/guide/monitor-kafka-queues/)
- [Tracing PHP CLI Scripts](https://docs.datadoghq.com/tracing/guide/trace-php-cli-scripts/)





- [Control span ingestion volume with Ingestion Mechanisms](https://docs.datadoghq.com/tracing/guide/trace_ingestion_volume_control/)
- [Ingestion Sampling with OpenTelemetry](https://docs.datadoghq.com/opentelemetry/guide/ingestion_sampling_with_opentelemetry/)
- [Ingestion Sampling Use Cases](https://docs.datadoghq.com/tracing/guide/ingestion_sampling_use_cases/)
- [Resource-based sampling](https://docs.datadoghq.com/tracing/guide/resource_based_sampling/)





- [Setting up Remote Configuration for Tracing](https://docs.datadoghq.com/tracing/guide/remote_config)



- [Interoperability of OpenTelemetry API and Datadog instrumented traces](https://docs.datadoghq.com/opentelemetry/guide/otel_api_tracing_interoperability/)
- [Configure Apdex Score by Service](https://docs.datadoghq.com/tracing/guide/configure_an_apdex_for_your_traces_with_datadog_apm)
- [Primary Operations in Services](https://docs.datadoghq.com/tracing/guide/configuring-primary-operation)
- [Discard Health Checks and Other Unwanted Spans by Ignoring Resources](https://docs.datadoghq.com/tracing/guide/ignoring_apm_resources)
- [DDSketch Based Metrics in APM](https://docs.datadoghq.com/tracing/guide/ddsketch_trace_metrics/)
- [Send Traces to the Agent by the Tracing API](https://docs.datadoghq.com/tracing/guide/send_traces_to_agent_by_api/)
- [Valid formats of span and trace IDs](https://docs.datadoghq.com/tracing/guide/span_and_trace_id_format)
- [Installing the trace Agent from source](https://docs.datadoghq.com/tracing/guide/trace-agent-from-source)
- [Tracing Client Libraries](https://docs.datadoghq.com/extend/community/libraries/#apm-distributed-tracing-client-libraries)
- [Setting Primary Tags To Scope](https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/)
- [Decide When to Use Datadog APM and AWS X-Ray](https://docs.datadoghq.com/tracing/guide/serverless_enable_aws_xray/)
- [Setting Up APM with C++](https://docs.datadoghq.com/tracing/guide/setting_up_apm_with_cpp/)
- [Understand Datadog Trace Retention Policy](https://docs.datadoghq.com/tracing/guide/leveraging_diversity_sampling/)
- [Understand the Difference Between the Agent Host and the Tracer Host](https://docs.datadoghq.com/tracing/guide/agent_tracer_hostnames)
- [Setting up APM with Kubernetes Service](https://docs.datadoghq.com/tracing/guide/setting_up_apm_with_kubernetes_service/)
- [Capture requests and responses from AWS services automatically](https://docs.datadoghq.com/tracing/guide/aws_payload_tagging/)
- [WebSocket Observability](https://docs.datadoghq.com/tracing/guide/websocket_observability/)
- [Service Overrides](https://docs.datadoghq.com/tracing/guide/service_overrides/)
- [Understanding injector behavior with Single Step Instrumentation](https://docs.datadoghq.com/tracing/guide/injectors/)
- [Code Origin for Spans](https://docs.datadoghq.com/tracing/code_origin/)
