Homeโ€บ๐Ÿ‘พ Boss Levelโ€บModule 121 min read ยท 13/15

Boss Fight: Build a Real App

Hands-on

Build a Real App: Host Health Monitor

Combine everything into a multi-tab monitoring app. This is the actual app deployed on the sprint environment:

Host Health Monitor: 5 Tabs Overview KPIs + charts + SLOs Services DataTable + metrics Processes Process groups Logs Log query + filter Security Vulnerabilities

App.tsx โ€” Tab Navigation

import React from "react";
import { Flex } from "@dynatrace/strato-components/layouts";
import { Tabs, Tab } from "@dynatrace/strato-components/navigation";

export const App = () => (
  <Flex flexDirection="column" padding={16} style={{ height: "100%" }}>
    <Tabs defaultIndex={0}>
      <Tab title="Overview"><OverviewPage /></Tab>
      <Tab title="Services"><ServicesPage /></Tab>
      <Tab title="Processes"><ProcessesPage /></Tab>
      <Tab title="Logs"><LogsPage /></Tab>
      <Tab title="Security"><SecurityPage /></Tab>
    </Tabs>
  </Flex>
);

Required Scopes

{
  "scopes": [
    { "name": "storage:metrics:read", "comment": "Host CPU/memory/disk metrics" },
    { "name": "storage:entities:read", "comment": "Host, service, process entities" },
    { "name": "storage:events:read", "comment": "Problems and Davis events" },
    { "name": "storage:logs:read", "comment": "Log analytics" },
    { "name": "storage:buckets:read", "comment": "Data buckets" },
    { "name": "storage:system:read", "comment": "System data" }
  ]
}

๐Ÿ’ก This is a real app running at https://ENV.apps.dynatrace.com/ui/apps/my.dtall.host.health.monitor. Every code snippet in this module is from the deployed source.

๐Ÿ›  Try it: Challenge: Build a complete monitoring app with 3 tabs (Hosts, Services, Logs), each with a DQL query, a chart or table, and a filter variable. Deploy it and share with your team. That's a production Dynatrace app.