[TP] Lab - Creating and Using Entity Selectors


In this lab, we will learn how to create entity selectors, test them via the API, and then use them to precisely define the perimeter of a management zone.

What you will learn in this TP :
  • Validate access to the Dynatrace cluster
  • Generate an API Token with the correct rights
  • Understand the importance of dynamic selectors
  • Banish technical ID rigidity

Prerequisites


What you will learn in this section :
  • Validate access to the Dynatrace cluster
  • Generate an API Token with the correct rights

You must have a Dynatrace cluster (SaaS or Managed) with agents deployed, as well as an API Access Token with read entity rights (`entities.read`).

Golden Rule of Design (Scaling)


What you will learn in this section :
  • Understand the importance of dynamic selectors
  • Banish technical ID rigidity

To guarantee optimal performance and simplified maintenance, a strict architectural rule must be respected in your configurations.
  1. The Golden Rule
    For each selection rule, you must imperatively define either an Entity ID (unique technical identifier) or an Entity type.

    Good practice: The use of fixed Entity IDs is prohibited in production because it's too specific and doesn't survive resource redeployment.

Difficulty level: (3/5)

Recommended Articles

License consumption types

Understand the evolution of billing in Dynatrace: the difference between the ...

Grafana Alloy: The importance of Self-Monitoring

Discover why and how to configure Grafana Alloy so that it monitors itself, c...

Grafana Alloy: Understanding and exploiting the User Interface (UI)

Discover how to enable, secure, and use Grafana Alloy's built-in web interfac...

Grafana Alloy: Introduction and Architecture

Discover the fundamental concepts of Grafana Alloy, the transition from the s...

Grafana Alloy: Syntax and Configuration (Alloy Language: River)

As part of a Grafana training or observability training, master the declarati...

Grafana Alloy: Metrics Collection (Prometheus & Ecosystem)

Learn how to configure Grafana Alloy to collect, transform, and forward metri...

Grafana Alloy: Log Management with Loki

Discover how to configure Grafana Alloy to read log files, journald, or netwo...

Grafana Alloy: Trace Management with Tempo

Dive into distributed trace processing. Learn how to ingest OTLP, Jaeger, or ...

Grafana Alloy: Continuous Profiling with Pyroscope

Discover how to configure continuous profiling in your environments using Gra...

Grafana Alloy: Advanced Deployment and Clustering

Learn how to manage large-scale Grafana Alloy deployments. Configure Clusteri...

Grafana Assistant: AI at the service of observability

Discover Grafana Assistant, the artificial intelligence integrated into Grafa...

Grafana Alloy vs Dynatrace ActiveGate: Which to choose?

Comparison between Grafana Alloy and Dynatrace ActiveGate. Understand the fun...

Course Glossary

AIOps (Artificial Intelligence for IT Operations)

The use of artificial intelligence and machine learning to automate and improve IT operations (e.g., anomaly detection, reducing alert noise).

OpenTelemetry

An open source framework providing standards, APIs, and SDKs to collect and export observability data (traces, metrics, logs) in an agnostic way.