---
title: Discover Entities
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Internal Developer Portal > Software Catalog > Set Up Software Catalog
  > Discover Entities
---

# Discover Entities

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site). ().
{% /alert %}

{% /callout %}

## Overview{% #overview %}

Software Catalog automatically discovers entities from Datadog Application Performance Monitoring (APM), Universal Service Monitoring (USM), and Real User Monitoring (RUM). You can also configure it to import entities from infrastructure metrics and logs.

## Automatic discovery with APM, USM, and RUM{% #automatic-discovery-with-apm-usm-and-rum %}

Datadog Software Catalog is pre-populated with entries detected through [APM](https://docs.datadoghq.com/tracing/), eBPF-based autodiscovery with [Universal Service Monitoring](https://docs.datadoghq.com/universal_service_monitoring/), and RUM applications.

All automatically detected entities appear in the Component Selector within Software Catalog.

APM and USM automatically detect the following entities types: `service`,`datastore`, `queue`, `external providers`, `inferred services`, and `endpoints`. APM SDKs identify dependencies of instrumented services and classify them as databases, queues, or third-party APIs—even if those dependencies are not directly instrumented. Custom instrumentation may affect how entities are discovered and how the `service tag` is assigned. To learn more, see [APM Inferred Services](https://docs.datadoghq.com/tracing/services/inferred_services/).

RUM is responsible for discovering `frontend apps` entities.

For information about discovering endpoints, see [Discovering Endpoints from APM](https://docs.datadoghq.com/software_catalog/endpoints/).

**Note**: The [performance metrics](https://app.datadoghq.com/software?lens=performance) for an entity are tied to its [primary operations](https://docs.datadoghq.com/tracing/guide/configuring-primary-operation/). If a service is detected only by USM, the performance view shows [USM metrics](https://docs.datadoghq.com/universal_service_monitoring/guide/using_usm_metrics/#usm-metrics-vs-apm-metrics); if a entity is detected only by APM, or by both APM and USM, the performance view shows APM [trace metrics](https://docs.datadoghq.com/tracing/metrics/metrics_namespace/).

### Managing automatically-named services{% #managing-automatically-named-services %}

To adjust how inferred entities appear in Software Catalog, you can:

- [Create a renaming rule](https://docs.datadoghq.com/tracing/services/renaming_rules/) to identify an entity by a custom name.
- [Filter out entities](https://docs.datadoghq.com/tracing/services/inferred_services/) by type (database, queue, third-party).
- [Remove service overrides](https://docs.datadoghq.com/tracing/guide/service_overrides/) such as `service:my-service-http-client` from your catalog or map.

### Correlation requirements for APM{% #correlation-requirements-for-apm %}

To ensure proper auto-correlation between APM and Software Catalog, follow these best practices:

- Ensure your APM SDK and Datadog Agent versions support [inferred entities](https://docs.datadoghq.com/tracing/services/inferred_services/?tab=agentv7600#set-up-inferred-services).
- Avoid arbitrary [service overrides](https://docs.datadoghq.com/tracing/guide/service_overrides/#how-service-overrides-are-set) and use [inferred entities](https://docs.datadoghq.com/tracing/services/inferred_services/?tab=agentv7600#set-up-inferred-services) instead.
  - Arbitrary service overrides can make correlation unreliable and clutter your catalog. They also make Software Catalog hard to use for those unfamiliar with the override names.
- [Rename inferred entities](https://docs.datadoghq.com/tracing/services/renaming_rules/#step-3-name-your-rule-and-review), like datastores and queues, to match your team's naming conventions.
- Use [Unified Service Tagging](https://docs.datadoghq.com/getting_started/tagging/unified_service_tagging/) to ensure service names, environments, and versions match across APM, infrastructure, and catalog definitions.
  - In Datadog APM, a service is an identifier used to group traces and aggregate metrics, not necessarily a logical service. Define what constitutes a "service" for your organization (for example, a Kubernetes namespace, deployment, or individual pod) and apply this definition consistently across all telemetry sources.

## Import entities from Infrastructure and Logs{% #import-entities-from-infrastructure-and-logs %}

You can import services from other Datadog telemetry containing the `DD_SERVICE` [tag](https://docs.datadoghq.com/getting_started/tagging/unified_service_tagging/) to populate the Software Catalog. To discover `kind:service` entities through Datadog infrastructure metrics or logs, navigate to the Software Catalog [**Import Entries** tab](https://app.datadoghq.com/software/settings/get-started).

{% image
   source="https://datadog-docs.imgix.net/images/tracing/software_catalog/import_entries.14ac7b9523ccf91fff27c497dd940c99.png?auto=format"
   alt="Import Entries tab in the Software Catalog setup and configuration section" /%}

After importing, entries appear in the **Explore** tab. Entries may expire unless you add metadata, such as the owner or contacts, by [using the API](https://docs.datadoghq.com/software_catalog/apis/) or the [GitHub integration](https://docs.datadoghq.com/integrations/github/).

To remove imported services from the default **Explore** view, click **Clear Previously Imported Services** on the [**Import Entries** tab](https://app.datadoghq.com/software/settings/get-started). This removes all services that do not have metadata or do not have APM, Universal Service Monitoring (USM), or Real User Monitoring (RUM) telemetry.

{% image
   source="https://datadog-docs.imgix.net/images/tracing/software_catalog/clear_imported_services.ea0b1977f6ece4d68b1a3a5434d7ab26.png?auto=format"
   alt="Confirm the deletion of previously imported services in the Software Catalog setup and configuration section" /%}

## Further reading{% #further-reading %}

- [Log processing pipelines](https://docs.datadoghq.com/logs/processing/pipelines)
