Data Model

Main entities of the Power Monitor data model and the Power BI / Fabric artifacts it tracks.

This page describes, at a conceptual level, the main information Power Monitor stores about each organization. All data is stored in PostgreSQL, with dates in UTC.

Isolation per organization

  • Every entity with customer data belongs to one organization (organization identifier stored in each record).
  • Identifiers are GUIDs generated by the application.
  • The Entra ID tenant and the Power Monitor organization are different identifiers: the tenant is used to find the organization at sign-in; from then on, all queries are filtered by the organization.

Main entities

Organization

Represents a customer (a Microsoft Entra ID tenant).

Information Description
Entra ID tenant Tenant to which the organization is linked
Registration data Trade name, legal name, CPF/CNPJ (Brazilian tax ID) or registration number, country, currency, phone, WhatsApp
Application credentials Client ID, Client Secret, and security group, encrypted (AES-256 + RSA envelope in Azure Key Vault)
Installation type Automatic, manual, or legacy
Status Incomplete (installation in progress), Active, or Suspended
Consents Terms of use and consent to automatic billing (with date/time and text version)
Preferences Selection of monitored workspaces (curation), enabled monitoring, AI provider, notification channels

User and profile

Information Description
User Microsoft account from the tenant, role (User or Administrator), profile, and monthly AI usage limit
Profile Set of blocked pages; three default profiles per organization (Admin, Member, Audit) and custom profiles
Workspace scope Workspaces the user can view and receives alerts from

Workspace

Information Description
Remote identifier Workspace ID in Power BI / Fabric
Name, type, and state Active, deleted, orphaned state, etc.
Capacity and domain Fabric capacity and domain to which it belongs
Monitored Whether the workspace is in monitoring (determines screens, alerts, and billing)
Deletion detected Date on which Power Monitor detected the deletion in the tenant
Governance Owner, business area owner, area, sub-area, and criticality level

Artifacts (items)

34 workspace item types, each with a reference to the workspace, metadata collected by the Scanner API, and detected deletion date:

Category Types
Power BI Report, Dataset (semantic model), Dashboard, Dataflow, Datamart
Storage Lakehouse, Warehouse, SQL Database, Mirrored Database, KQL Database, Eventhouse
Data engineering Notebook, Data Pipeline, Copy Job, Spark Job Definition, Apache Airflow Job, dbt Job, Environment, User Data Function, Variable Library
Data science and AI ML Model, ML Experiment, Data Agent
Real-time Eventstream, KQL Dashboard, KQL Queryset, Reflex (Activator), Event Subscription
Others Exploration, Metric Set, Org App, Ontology, Graph Model, App Backend

Semantic models also store tables, columns, measures, expressions, data sources, size, and schedules.

Tenant-level resources: capacities, gateways, connections, and Power BI apps. Derived relationships: semantic model × connection, dataflow × connection, app × report, and the lineage between items.

Tasks and schedules

Information Description
Task Scan or monitoring type, status (Pending, Running, Completed, Failed, Cancelled), cron expression for recurring tasks, next and last run, progress, result, error message, and attempts (up to 3 by default)
Capacity schedules Pause/resume, SKU change, auto-scale rule, and time-window alerts

Monitoring

Information Description
Resource health state Current state (Unknown, Healthy, Degraded, Unhealthy), open incident, start and duration, failure and notification counts
Refresh and run history Semantic model refreshes and Fabric item runs, with status, duration, and error
Capacity consumption Series of interactive, background, and accumulated usage, by capacity, item, and operation
Anomalies Baselines and consumption deviations by item
Costs Daily cost per capacity
Alerts Type, source resource, severity, message, date/time, and delivery

Audit

Information Description
Activity events Power BI/Fabric events (when collection is enabled): user, operation, item, workspace, IP, and estimated location
Application events User actions in Power Monitor: event, resource, route, user, IP, browser, previous and new values, success or failure
Email log Emails sent by the platform
Capacity actions Pauses, resumes, and scaling performed, with the source (manual, scheduled, or automatic)

Billing

Information Description
Billing information Tax details, billing emails, due date, recurrence, onboarding fee installments
Daily measurement Number of monitored items per day (with the list of items counted), flagging the days of the trial period
Charges Monthly fees and onboarding fee installments, with gross, discount, and net amounts and the delivery and payment status

Dates and times

All dates are stored as instants in UTC (timestamptz), using the NodaTime library in the backend, which avoids time zone ambiguities between organizations in different countries.

Last updated