1. Why segments #
A new model.
Comparison #
| Management zones | Segments | |
|---|---|---|
| Platform | Classic | New platform (Grail, apps) |
| Role | Filter views and carry permissions | Filter data in apps, notebooks, dashboards |
| Access control | Yes (permissions per zone) | No: access goes through IAM policies and security contexts |
| Computation | Rules evaluated on entities | Filters on Grail data, with variables |
Common mistake: A segment is not a security barrier: a user can remove the filter. To restrict access, use IAM policies on buckets and security contexts.
2. Designing segments #
By team, application, environment.
Best practices #
- One segment per stable organizational axis:
team,application,environment. - Variables for a single configurable segment (
environment = $env) rather than ten copied segments. - Tags and attributes set at the source (OneAgent, Kubernetes, OpenTelemetry) so rules stay simple.
Good practice: Take advantage of the migration to clean up: many environments have dozens of obsolete management zones. Only migrate those still in use.
Good to know: Dynatrace evolves very quickly (new platform, Grail, apps): check screen names and API versions in your environment's documentation.
