Leverage enhanced endpoints for SDv1

  • Latest Dynatrace
  • How-to guide
  • 8-min read

With the Enhanced endpoints for Service Detection v1 (SDv1) feature, you can get full endpoint visibility for SDv1 services. When this feature is turned on, all endpoints are shown in Services Services without requiring you to configure key requests. This is consistent with the behavior already in place for SDv2 services.

No endpoints are created for external services and for the following SDv1 service types: Background activity services, Queue listener services, and Key value store.

Availability and state

The availability and default state of the Enhanced endpoints for SDv1 feature depend on when your Dynatrace environment was created.

Environment created inAvailable inDefaultPossible to control?
Dynatrace version 1.329 and earlierDynatrace version 1.333+OffYes
Dynatrace version 1.330Dynatrace version 1.332Dynatrace version 1.330+OnYes
Dynatrace version 1.333+Dynatrace version 1.330+OnNo

Benefits

  • Complete endpoint visibility in Services Services: Gain a complete list of endpoints for SDv1 services in Services Services.

    If you don't enable the Enhanced endpoints for SDv1 feature, the Endpoints section in Services Services either remains empty or only shows key requests.

  • Improved service insights: The list of endpoints enhances visibility into the service's behavior, enabling quick identification and resolution of issues.
  • Dedicated metrics for endpoints: Detected endpoints feature dedicated metrics, which you can add to dashboards and analyze for long-term endpoint history.

Endpoint metrics

When the Enhanced endpoints for SDv1 feature is turned on, Dynatrace starts collecting metrics for all detected endpoints of an SDv1 service in Grail.

The following metrics are collected for each endpoint:

  • Failure count
  • Response time
  • Throughput

These endpoint metrics are available not only in Services Services but also in other Dynatrace apps, such as Notebooks Notebooks or Dashboards Dashboards.

Enable enhanced endpoints for SDv1

You can activate the Enhanced endpoints for SDv1 feature for the entire environment or for a specific host group, Kubernetes namespace, and cluster.

Environment
  1. Go to Settings Settings > Process and contextualize > Services.
  2. Under Service detection v1, select Enhanced endpoints for SDv1.
  3. Turn on Enable enhanced endpoints for SDv1.
  4. Recommended Turn on Resolve request attributes for SDv1 request naming rules. For details, see Request attribute values in SDv1 endpoint names.
Host group
  1. Go to Deployment Status Deployment Status > OneAgents.

  2. On the OneAgent deployment page, turn off Show new OneAgent deployments.

  3. In the Filter by field, enter Host group, and then select the host group you want to configure from the dropdown list.

    The host list is now filtered by the selected host group. Each listed host has a Host group: <group name> link, where <group name> is the name of the host group that you want to configure.

    The Host group property is not displayed when the selected host doesn't belong to any host group.

  4. Select the host group name in any row.

    As you have filtered by host group, all displayed hosts go to the same host group.

  1. Close the overlay with the host group settings.
  2. Go to Process and contextualize > Services > Enhanced endpoints for SDv1.
  3. Turn on Enable enhanced endpoints for SDv1.
  4. Recommended Turn on Resolve request attributes for SDv1 request naming rules. For details, see Request attribute values in SDv1 endpoint names.
Kubernetes namespace or cluster
  1. Go to Kubernetes (new) Kubernetes.
  2. Select the required namespace or cluster.
  3. In the upper-right corner of the namespace or cluster details pane, select (Actions menu) > Service detection settings.
  4. Go to Process and contextualize > Services > Enhanced endpoints for SDv1.
  5. Turn on Enable enhanced endpoints for SDv1.
  6. Recommended Turn on Resolve request attributes for SDv1 request naming rules. For details, see Request attribute values in SDv1 endpoint names.
Settings page not available for all environments

The Enhanced endpoints for SDv1 settings page is not available for the environments created in Dynatrace version 1.333+.

Endpoint names changed

Enabling the Enhanced endpoints for SDv1 feature changes some request names and their associated endpoint names. For this reason, your existing API metric queries, dashboards, and configured alerts for the changed endpoints might be impacted, so you should reconfigure them. See Changes to endpoint names for the details.

View service endpoints

Service endpoints as well as the related metrics are displayed in Services Services, in the Endpoints section.

  1. Go to Services Services > Explorer.
  2. Find and select the service for which you want to explore the endpoints.
  3. On the Overview tab, scroll down to the Endpoints section.

From there, you can view the service endpoints, check the related endpoint metrics, view traces for each endpoint, and more. Select (Actions menu) for the endpoint to view the available options.

Services app showing the Endpoints section with four different endpoints and their metrics

Edit auto-detected endpoints

Dynatrace auto-detects endpoints for your services. However, you can edit the detected endpoints, for example, to monitor a specific HTTP path that was not caught by the default endpoint detection rules.

To modify auto-detected endpoints, create custom request naming rules.

Identify services with most endpoints

Use the Endpoint Cardinality Dashboard to see which services have the most endpoints and act accordingly. For more information, see Dashboard with endpoint-heavy services.

Dashboard with endpoint-heavy services

The Endpoint Cardinality Dashboard displays services with the most endpoints (SDv1 and SDv2 services).

This dashboard allows you to quickly identify endpoint-heavy services for which you could adjust the request naming rules (SDv1) or endpoint detection rules (SDv2).

To view services with the most endpoints

  1. Go to Dashboards Dashboards.
  2. In the Dashboards panel on the left, select All dashboards.
  3. In Search by name, enter Endpoint Cardinality Dashboard.
  4. Select the dashboard to open it.

To display additional endpoint-heavy services, duplicate this dashboard and edit the DQL query behind the service list (for example, change 100 in limit 100 to the required value). Alternatively, you can add this query to Notebooks Notebooks and modify it there.

Changes to endpoint names

Enabling the Enhanced endpoints for SDv1 feature changes some request names and their associated endpoint names. Check the flowchart and textual description below for the details.

Pre-existing key requests and request naming rules remain in effect

For all service types, the already existing key requests and request naming rules continue to apply.

If you have set up key requests, the associated endpoints have the same names as their key requests. If you have configured request naming rules, they are also applied to the related endpoint names.

Diagram - Changes to endpoint names

When the Enhanced endpoints for SDv1 feature is on, some endpoint names for web request services and other service types are changed. This depends on whether there's an associated request naming rule and whether volatile placeholder attributes are used in these rules.

1

For example, if the spans have no {http.route}, the endpoint name is GET /*.

2

For example, the {HTTP-Method} - {Request:IsKeyRequest} - user authentication endpoint template results in the GET - yes - user authentication endpoint endpoint name. Note that both {HTTP-Method} and {Request:IsKeyRequest} are replaced with their corresponding values (that is, GET and yes), as these are non-volatile placeholder attributes.

3

For example, the {HTTP-Method} - {URL} - user authentication endpoint template results in the GET - {URL} - user authentication endpoint endpoint name. Note that {HTTP-Method} (non-volatile placeholder attribute) is replaced with GET , while {URL} (volatile placeholder attribute) is not replaced and is used as is.

You can modify endpoint names by creating custom naming rules.

Volatile placeholder attributes

The volatile placeholder attributes are as follows:

  • {OneAgentAttribute:} except http.route
  • {Relative-URL}
  • {URL:Path}
  • {URL:Query}
  • {URL}
  • Customer-defined patterns based on one of the above-stated patterns

Required actions

As some request names and their associated endpoint names change after you enable the Enhanced endpoints for SDv1 feature, your existing API metric queries, dashboards, and configured alerts for the changed endpoints might be impacted. For this reason, you should reconfigure the affected entities.

Request attribute values in SDv1 endpoint names

When the Resolve request attributes for SDv1 request naming rules feature is turned on, the {RequestAttribute:_} non-volatile placeholder attribute (used in SDv1 request naming rules) is replaced with the corresponding value, resulting in endpoints that contain explicit request attribute values.

This is the standard behavior, and we recommend turning on the Resolve request attributes for SDv1 request naming rules feature when it's not activated by default. This way, you can see separate endpoints per request attribute value. To verify your setup, see Enable enhanced endpoints for SDv1.

The availability and default state of the Resolve request attributes for SDv1 request naming rules feature depend on when your Dynatrace environment was created.

Environment created inAvailable inDefaultPossible to control?
Dynatrace version 1.333+Dynatrace version 1.333+OnNo
Dynatrace version 1.332 and earlierDynatrace version 1.333+OffYes
High‑cardinality request attributes

If your requests contain high‑cardinality request attributes and you've used the {RequestAttribute:_} placeholder attribute in request naming rules, you might get an excessive number of endpoints. In this case, deactivating the Resolve request attributes for SDv1 request naming rules feature should solve this issue. Complete the instructions in Enable enhanced endpoints for SDv1, but turn off Resolve request attributes for SDv1 request naming rules.

Static resource requests

Static resource requests include Image, Binary, CSS, and JavaScript.

When the Enhanced endpoints for SDv1 feature is turned on, all static resource requests are unmuted and grouped into a single Static resources endpoint that has the same metrics as other regular endpoints.

However, you can mute your static resource requests.

Whether the Static resources endpoint is muted or not, you can always go to Distributed Tracing Distributed Tracing to view and analyze spans like CSS, images, or binary.

Mute static resource requests

To mute static resource requests, follow the steps described in Mute monitoring of service requests.

After you mute your static resource requests, the Static resources endpoint is not displayed in the endpoint list in Services Services, and these requests don't count toward the overall service metrics.

Manage resource request detection

You can add or edit filename extensions that count towards the Static resources endpoint. For details, see Configure resource request detection.

Your existing configuration for resource request detection is still applicable, so if you have already added additional filename extensions, the corresponding requests should also become a part of the Static resources endpoint.

Licensing considerations

When you activate the Enhanced endpoints for SDv1 feature, Dynatrace starts collecting metrics for a larger set of distinct endpoint names. For example, separate metrics are collected for endpoints A, B, C, and D instead of a single aggregated NON_KEY_REQUEST entry.

This richer "endpoint name" dimension provides significantly better visibility into service behavior and troubleshooting. It also means that more individual metric datapoints are stored in Grail and contribute to your overall metrics consumption, while providing additional insight into your services.

Related tags
Application ObservabilityServicesServices