Your website slows to a crawl on a busy morning. Customers are complaining, three teams are on a call, and each one is sure the problem is somewhere else. After it is fixed, somebody has to write up what happened, and later somebody in finance asks why the monitoring bill went up. If this sounds familiar, the answers usually exist already, but they are stuck in a tool only a few people know how to use. Dynatrace makes them available through an API, a way for software to talk directly to other software, so your own systems or an AI assistant can ask the question and get the answer.
What Dynatrace does
Dynatrace describes itself as a software intelligence platform. In plain terms, it watches your applications and the cloud infrastructure underneath them, as well as the experience your customers get when they use them, and it applies artificial intelligence to operations work. People in the field call this observability, meaning the ability to tell what is happening inside your systems from the information they give off. More on the Dynatrace website.
What you can get done
Here are four of the business capabilities our catalog maps for Dynatrace, starting with the one you will care about most when something breaks.
Work out what went wrong during an incident
Dynatrace groups what it detects into problems. Being able to read them from other software means an outage can open a ticket in your help desk with the likely cause and impact already filled in, and your team’s notes stay attached to the problem where the next person can find them.
GET /problemslists the problems Dynatrace has detected, and can filter by time range or by the affected systems.GET /problems/{problemId}gets one problem’s details and root cause.POST /problems/{problemId}/commentsadds a comment, such as a ticket reference or the steps taken to fix it.POST /problems/{problemId}/closecloses a problem once it is resolved.
Search your logs and measurements
Logs are the running diary your systems keep, and metrics are measurements taken over time, such as how busy a server is. Between them they hold the evidence for most questions about what your software did. With access through software, a weekly reliability report can build itself, and your security team can receive the logs it needs without a manual export.
GET /logs/searchsearches log records.GET /logs/aggregatecounts log records by a field, for example errors per service.GET /logs/exportexports log records in bulk for archiving or for a security tool.GET /metrics/queryretrieves measurements over a period of time.
Forecast and explain the monitoring bill
Usage-based tools can surprise you. Dynatrace subscriptions are measured against a commitment, so the question that matters to finance is whether you are going to run over before the term ends. Feeding these figures into your budgeting tools means that question gets asked monthly and not at renewal time.
GET /sub/v2/accounts/{account-uuid}/subscriptionslists your account’s subscriptions.GET /sub/v2/accounts/{account-uuid}/subscriptions/forecastforecasts usage by the end of your annual commitment.GET /sub/v2/accounts/{account-uuid}/subscriptions/{subscription-uuid}/usageshows usage by date.GET /sub/v2/accounts/{account-uuid}/subscriptions/{subscription-uuid}/costshows aggregated cost by date.
Review who has access
Auditors want to know who can see and change what, and spreadsheets assembled from screenshots do not hold up well. These operations let you pull the real answer on a schedule, which turns an access review from a yearly scramble into a routine job.
GET /iam/v1/resolution/{level-type}/{level-id}/effectivepermissionsshows what a user or group can do once all of their policies are combined.GET /iam/v1/repo/{level-type}/{level-id}/policies/aggregatelists the policies that apply at a level, including inherited ones.GET /iam/v1/accounts/{account-uuid}/groups/{group-uuid}/permissionslists a group’s older role-based permissions.
Workflows that put it together
A workflow is a recipe of several calls made in order to finish a real job. APIs.io catalogs 15 for Dynatrace, and several of them match work your team already does by hand:
- Audit Account Access goes through users, groups and permissions across an account for an access review.
- Investigate Error Logs and Annotate totals up error logs by source, pulls the matching records and raises an error event.
- Annotate a Deployment with a Custom Event marks a software release on a service’s timeline, so when a problem begins you can see whether a release came just before it.
- Export Logs for SIEM Forwarding sizes an export and then moves the records page by page to a SIEM, which is the system a security team uses to watch for threats.
- Map an Entity’s Dependencies finds a system and shows what it is connected to, useful for knowing what else a failure might touch.
Ask for it in plain language
Our conversational overlays for Dynatrace map everyday questions to the operation that answers them, so an AI assistant knows which call answers which question. These are the kinds of things you can ask:
- “What problems is Dynatrace reporting right now?”
- “What is the root cause and impact of a specific problem?”
- “How many errors did each service log today?”
- “Will we overrun our annual commitment before the term ends?”
- “What can a given user actually do once all their policies are combined?”
You can browse one in the Dynatrace Account Audits phrasing overlay.
Getting started
Dynatrace is a paid service with self-serve signup, hosted so that your software calls their systems. Your developers will want the Environment API documentation and the guide to authentication, which explains how your software proves who it is when it connects. On APIs.io, see the Dynatrace profile, the Environment API, the Service-Level Objectives API and the Releases API. If you already pay for Dynatrace, ask your team which of these answers still reach you by screenshot.
