The Topology and Smartscape API has been deprecated with Dynatrace version 1.263. Its replacement is the Monitored entities API. We recommend that you migrate to the new API at your earliest convenience.
This migration affects endpoint URLs, query parameters, and response/request body parameters, as well as the scope of the token for request authentication.
The Monitored entities API offers you the following new features:
/api/v2/entities
/api/v1/entity/applications
/api/v1/entity/infrastrucutre/hosts
/api/v1/entity/infrastrucutre/processes
/api/v1/entity/infrastrucutre/process-groups
/api/v1/entity/services
/api/v2/entities/custom
/api/v1/entity/infrastructure/custom/{customDeviceId}
/api/v2/tags
/api/v1/entity/applications/{meIdentifier}
/api/v1/entity/infrastrucutre/hosts/{meIdentifier}
/api/v1/entity/infrastrucutre/process-groups/{meIdentifier}
/api/v1/entity/services/{meIdentifier}
entities.read
)entities.write
)DataExport
)To learn about new query/body parameters, see the documentation of individual requests in Monitored entities API.
With the upgrade to the Monitored entities API, some workflows require sending additional requests or calling additional endpoints. Be sure to adapt your automation accordingly.
When you query entities in a bulk, pagination is used to reduce the payload size.
In the Monitored entities API, you can't assign tags to the custom device upon creation. If you need to assign tags to your custom device, use a separate request to the POST custom tags endpoint.
In the Monitored entities API, you can't report data to custom devices. Use the POST ingest data points call instead.
Here are some examples of differences in API usage.
In this example, we're querying the list of hosts that were active within the last 2 hours. Also, we don't need the full information about the host: we only need monitoring mode and the list of tags, assigned to the host. The result is truncated to two entries.
Compare the following tabs to see how we do this using the new Monitored entities API and the deprecated Topology and Smartscape API:
In this example, we assign additional tags (Datacenter:Linz and Rack:014) to hosts from the list entities example.
Compare the following tabs to see how we do this using the new Monitored entities API and the deprecated Topology and Smartscape API:
In this example, we create a custom device with the ID of restExample
and the following parameters:
F5-Firewall
172.16.115.211
9999
Compare the following tabs to see how we do this using the new Monitored entities API and the deprecated Topology and Smartscape API: