Prometheus for healthcare

A plan for running self-hosted Prometheus to monitor EHR, imaging and clinical integration systems without putting patient data into metrics, labels or alerts.

On this page

Prometheus for healthcare: monitoring clinical systems without exposing patient data

A health IT lead responsible for EHR, imaging and clinical integration systems needs three things from a monitoring stack: clinical systems must stay up, the monitoring data must stay inside the organization's network, and metrics must never carry patient identifiers. Prometheus fits this profile for concrete reasons. It is an open-source toolkit licensed under Apache-2.0, and the project itself has no paid enterprise edition, so the cost is infrastructure, storage, implementation and the staff who run it. It pulls metrics over HTTP from targets it discovers or is configured with, and it runs entirely on servers you control. Nothing in the default design requires sending telemetry to an outside service, which is the starting point for a deployment your compliance and security teams can review.

What changes compared with a generic deployment is discipline in three areas. The first is label discipline: labels create time series, so a label holding a medical record number, patient name or free-text clinical value would copy identifiers into every query result, dashboard and alert notification. Define an allowed label list per job before the first scrape, and review exporter and instrumentation output for identifiers. The second is storage planning. Local storage is a single node that is not clustered or replicated, and default retention is 15 days, so decide early how long availability evidence must be kept and whether remote write to a long-term store inside your network is needed. The third is alerting on clinical availability, meaning endpoint reachability and service health for the EHR, PACS and interface engine, routed through Alertmanager to on-call staff. Confirm with your clinical and compliance owners which outages must page and which can wait.

Monitoring data is still regulated data in many cases. HIPAA's Security Rule applies to electronic protected health information held by covered entities and their business associates, and its technical safeguards cover access control, audit controls and transmission security. A monitoring server that can reach patient systems or that stores identifiable logs can fall inside that scope, so ask your privacy officer to confirm the boundary. Prometheus supports TLS with a minimum of TLS 1.2 and authenticated access, but its security model also says that HTTP basic authentication without TLS exposes credentials, and that the web UI and API need an authenticating reverse proxy for single sign-on. Plan these controls before clinicians or service desk staff are given access to dashboards.

Which healthcare requirements shape a Prometheus build

This table maps each healthcare requirement in the research set to what it means for Prometheus labels, retention, access and alert design. Read each row as a question to answer in the build design before scraping starts. The main takeaway is that patient identifiers and clinical content should stay out of metrics, and that hosted or regulated scope changes who can see what.

RequirementWhat it asks forBuild impact on Prometheus
HIPAA Security Rule scope (45 CFR 164.302)Covers ePHI created, received, maintained or transmitted by covered entities and business associatesDecide early whether any metric, label, alert annotation or exporter output can carry ePHI; if so, the monitoring stack falls inside scope
Required and addressable specifications (45 CFR 164.306(d))Required specifications must be implemented; addressable ones need a documented assessment and an equivalent measure if not adoptedRecord in the design which controls, such as TLS or audit logging, are addressable and why each choice was made
Business associate terms for hosted monitoring (45 CFR 164.314)Contracts must require Security Rule compliance, flow terms to subcontractors handling ePHI and report incidentsIf a hosted Prometheus-compatible or long-term storage service receives data that may contain ePHI, confirm the contract covers it before any remote write is enabled
NIS2 health sector listing (Annex I)Lists healthcare providers and certain medical device and pharmaceutical manufacturers as high criticalityFor organizations in scope, alert coverage and monitoring evidence for clinical services become part of the broader security and resilience program
GDPR Articles 32 and 34 (CNIL decision, 3 September 2026)Article 32 requires appropriate security; the CNIL fined a hospital for external access lacking VPN and multi-factor authentication and for access ignoring need to knowPut the Prometheus UI and API behind a VPN or authenticated proxy with MFA, and scope read access to the teams that need each system's metrics
21 CFR Part 11 electronic records (where regulated records apply)Governs electronic records and signatures in FDA-regulated activities, such as validated clinical or manufacturing systemsMonitoring data is usually not the regulated record, but confirm with quality owners whether alert records or dashboards are used as evidence, which would require controlled retention and change records

How clinical system types change what Prometheus should watch

An EHR is usually several tiers: a web or application front end, application servers, a database, and authentication and reporting services. Clinicians feel a failure at the front end first, but the cause often sits in the database connection pool or the identity provider, so monitor each tier separately. Availability is best checked from the outside with Blackbox-style HTTP probes against login and a representative read path, while application and database metrics come from exporters running inside the network.

  • Probe the login and a read path: A probe that only checks the home page can stay green while sign-in fails. Confirm with your EHR vendor which health or status endpoints are safe to call.
  • Watch database connections and latency: Connection pool saturation and slow query counts usually appear before users report slowness.
  • Track authentication failures: Rising failed logins can signal an outage or an access attack, so alert on them as a security signal too.
  • Use Blackbox probe caution: Blackbox exporter takes targets from URL parameters, so restrict who can reach it and fix the list of permitted targets.
  • Never label patient or encounter fields: Use only tier, site and environment as labels. Medical record numbers, patient names and encounter IDs must stay out of label values.

Before building, confirm with the EHR vendor which metrics endpoints and exporters are supported in your version and whether any of them expose patient data.

Configuration choices that keep patient data out of metrics

Prometheus stores whatever labels and annotations it receives, and it keeps them for as long as retention allows. The cards below cover the configuration decisions that keep patient identifiers out of that store, and the access and alerting settings that protect the metrics that remain.

Keep identifiers out of labels

Labels are the most common route for patient data into Prometheus. Do not use MRN, patient name, encounter number, date of birth or account identifiers as label values, and do not place them in alert annotations or alert payloads either. Use coarse dimensions such as clinical system, site, interface name and HTTP status class. Review exporter and instrumentation output before it reaches production, because a library default can add a high-cardinality label that a clinical team never intended.

Storage docs

Design scrape targets deliberately

Scrape only the endpoints that expose operational health, such as EHR application servers, interface engine queues, PACS and DICOM gateway health pages, and database exporters. Avoid scraping endpoints that return record content or query results. Use service discovery or static configuration managed as code so every target has a named owner and a known purpose. Confirm with each system vendor which metrics endpoints exist and what they expose before adding them.

Require TLS and client certificates

Serve the Prometheus web UI and API over TLS with a minimum of TLS 1.2, and use client certificate authentication for scrapers and API consumers where your public key infrastructure can issue them. Confirm that exporters and Alertmanager use the same certificate model. Record certificate issuance, renewal and revocation as part of your clinical system change process, because an expired certificate can silently stop data collection.

Security model

Use basic authentication only over TLS

HTTP basic authentication with bcrypt-hashed passwords is supported, but credentials travel in cleartext when TLS is absent. Treat basic authentication as acceptable only on listeners that also terminate TLS, and store the password hashes in a managed secret rather than in a shared configuration file. Ask your security team to confirm that no health check, dashboard or script in the network sends the password in a URL or log line.

Keep admin APIs off by default

Prometheus disables its admin HTTP APIs by default. The --web.enable-admin-api flag permits destructive operations such as deleting series, and --web.enable-lifecycle exposes reload and shutdown endpoints. Leave both off unless a documented runbook needs them, and restrict any enabled endpoint to a named administrative network. Record the flags in the deployment definition so a later change is visible in review.

Put SSO in front of the UI and API

Prometheus has no built-in single sign-on and no built-in CSRF protection on mutating endpoints. Place an authenticating reverse proxy in front of the web UI and API, and connect it to your identity provider so clinical engineers sign in with their own accounts. Confirm that the proxy, not Prometheus, is the only path to the listener, and that the proxy logs who queried what, since Prometheus itself does not record user identity.

Point Prometheus at every Alertmanager

When Alertmanager runs as a cluster for high availability, configure Prometheus with every Alertmanager instance rather than a load balancer in front of them. Alerts about EHR or imaging availability are only useful if they reach a clinical or on-call responder, so test routing after each change. Keep receiver configuration generic in the monitoring design, and make sure alert messages carry system and site names but no patient-level content.

Alertmanager docs

How the clinical monitoring stack fits inside the trust boundary

The diagram starts at the clinical zone, where EHR, imaging and integration targets expose metrics that Prometheus scrapes across a segmented firewall. Prometheus sits in an internal monitoring zone and forwards alerts to a separate clinical on-call receiver, while remote write sends samples to long-term storage that the organization also operates. Check that the reverse proxy in front of the web UI handles SSO, that no edge leaves the internal zone for outbound telemetry, and that the Alertmanager receivers resolve only to internal endpoints.

Clinical targets are scraped inward, with alerts and storage kept inside the organization.

A phased rollout for a clinical environment

The sequence moves Prometheus from scoped requirements to a supported service by reviewing data exposure first, proving the design on non-production clinical systems, and only then enabling paging. Each phase produces a record that the clinical, security and compliance owners can review before the next one starts.

  1. Scope the systems and classify the data

    Agree in writing which clinical systems are in scope, such as EHR, imaging and clinical integration components, and which metrics, labels, logs and alert payloads each one would expose. The team classifies every data element against the organization's ePHI definitions and records which systems are excluded for now. Done means a signed scope document that names the data classes allowed in metrics and the owner for each system. Timing depends on the written scope and the organization's change process.

  2. Review labels and metrics with application owners

    Walk through the exporters and instrumentation for each clinical application with its owner and remove any label or annotation that carries patient identifiers, record numbers, free text or other ePHI. Agree on naming and label conventions that identify services, sites and components instead of individuals. The output is a reviewed metric inventory with a list of rejected fields and the reason for each. Confirm with the vendor or the exporter documentation which fields it emits by default.

  3. Design network and identity access

    Map which networks each scrape path crosses, where Prometheus, Alertmanager and any remote storage will run, and which hosts may reach the web UI and API. Decide how operators sign in, which usually means an authenticating reverse proxy in front of the UI because Prometheus has no built-in single sign-on, and enable TLS and client certificates for scrape and API traffic. The output is a reviewed diagram with firewall rules, certificate ownership and a named access group. Confirm that the exporter endpoints that take targets from URL parameters are not reachable by unapproved clients.

  4. Run a pilot on non-production clinical systems

    Deploy the monitoring stack against test or training instances of the clinical systems, using the same configuration templates planned for production. Measure scrape success, storage growth and query behavior, and confirm that retention settings match the evidence the organization has decided to keep. The pilot closes when the team can show that no restricted data appears in stored series, dashboards or alert payloads, and the findings are recorded with owners for each fix.

  5. Design and test alerts before paging

    Write alert rules for availability and symptoms that clinical operations cares about, then run them against the pilot in a mode where notifications go only to a test receiver. Review each alert with the clinical application owner and the on-call team to remove noise and confirm the severity, routing and escalation path. Alertmanager grouping, inhibition and silences are configured here. The step closes when every paging rule has a documented trigger, a tested receiver and an owner who accepts it.

  6. Apply change control and capture evidence

    Move the approved configuration through the organization's change process, with version-controlled configuration, peer review and a recorded approval for each production change. Keep the evidence the compliance team will ask for, such as the scope document, data classification decisions, access reviews, certificate records, test results and alert approvals. Confirm with the compliance owner which records they need and where they will be stored. The step is complete when the change record and evidence set can be retrieved without rebuilding them later.

  7. Hand over operations to the owning team

    Transfer runbooks for restarts, certificate renewal, Alertmanager failover, backup and restore, and version upgrades to the team that will run the service, and walk through each one with them. Agree on the support model, who receives alerts about the monitoring system itself, and how changes are requested after handover. The handover is done when the operating team has run each runbook once in a non-production setting and the owner has signed off on the support boundary, which can be extended later through a retainer if the organization wants it.

Retention and contingency planning for HIPAA context

Local Prometheus storage is a single node, not a clustered or replicated store, and its default retention is 15 days. The Prometheus storage documentation says local storage should be managed like any other single-node database. For a clinical environment, that means a disk failure, a corrupted block or an accidental deletion can remove the metrics that show when an EHR, imaging or interface engine was degraded. Contingency planning therefore needs a second copy of the data in durable storage that the organization controls. Remote write is the mechanism for sending samples to an external long-term store, and the storage target should sit inside your infrastructure, under the same access controls and backup rules as your other records systems.

The HIPAA Security Rule does not prescribe Prometheus, a retention period or a particular backup product. It applies to electronic protected health information that a covered entity or business associate creates, receives, maintains or transmits, and metrics only fall in scope when they carry or reveal ePHI, which is why label hygiene matters. The Security Rule's contingency planning and audit control standards are the ones that bear on monitoring data: the organization has to decide how it restores systems and how it records activity, and it has to document why each addressable choice is reasonable. Whether monitoring evidence must be kept for a specific period, and for how long, depends on your own policies and any other obligations you carry. Confirm your backup, recovery point and retention requirements with your compliance team before you pick a remote store or a retention value, and record the decision in your risk analysis.

Compliance questions healthcare teams ask about Prometheus

Does HIPAA certify monitoring tools like Prometheus?

No. HIPAA has no certification, and HHS states that no Security Rule standard requires an entity to certify compliance. HHS also does not endorse or recognize private certifications, and those certifications do not stop HHS from later finding a violation. Prometheus is open-source software under the Apache-2.0 license, so there is no vendor certificate to collect. What matters is how your organization configures, operates and documents the monitoring system. Ask your compliance counsel how to describe the tool in your risk analysis, and read the HHS FAQ on certification when briefing your team.

What does the HIPAA Security Rule require for monitoring evidence?

The Security Rule does not name specific tools. It requires covered entities and business associates to protect electronic protected health information through administrative, physical and technical safeguards, and it asks you to document decisions. Monitoring records can support audit controls, activity review and incident detection, which map to the technical safeguards in 45 CFR 164.312. Practical evidence includes the risk analysis that covers the monitoring system, access reviews for the Prometheus web UI and API, alert rule definitions, change records for configuration, and retention settings for alert history. Whether a given record satisfies a specific requirement is a question for your counsel and auditors. The eCFR text of Subpart C is the starting point.

Does Prometheus store patient data, and how do business associate terms apply?

Prometheus should not hold patient data. Its metrics are numeric samples with labels, so the main risk is putting identifiers such as patient IDs or names into label values, which then appear in query results, alerts and exports. Keep identifiers out of labels and review alert annotations for sensitive content. If you host Prometheus with a managed or hosted provider and that provider could access ePHI, the provider may be a business associate. A business associate contract under 45 CFR 164.314(a)(2)(i) must require Security Rule compliance, flow the same terms to subcontractors that handle ePHI, and require reporting of security incidents. Self-hosting in your own infrastructure may avoid that relationship for the monitoring system, but confirm the scope with counsel. The eCFR section 164.314 sets out the required terms.

What does the 2025 proposed HIPAA Security Rule revision mean for us?

It is a proposal, not a final rule. HHS proposed a major Security Rule revision on 6 January 2025 (90 FR 898, RIN 0945-AA22). As of October 2026, no final rule has been published, and the latest Unified Agenda lists final action projected for July 2027. Until a final rule is published, current requirements in 45 CFR Part 164 Subpart C apply. Plan for change by tracking the proposal, identifying which monitoring controls, asset inventories and access records it might affect, and keeping your documentation modular so updates are manageable. Confirm the current status and timing with your counsel and the Federal Register proposal before you change policy.

Where do GDPR, NIS2 and 21 CFR Part 11 apply to healthcare monitoring?

They apply depending on where you operate and what you do, not because you use Prometheus. GDPR (Regulation (EU) 2016/679) applies to processing personal data of people in the EU, so the rules on security of processing and breach notification can reach monitoring data that contains personal information. NIS2 (Directive (EU) 2022/2555) lists health as a sector of high criticality in Annex I, covering healthcare providers, certain laboratories, pharmaceutical research and manufacturers of medical devices critical during a public health emergency. 21 CFR Part 11 covers electronic records and electronic signatures for FDA-regulated activities, so it matters if monitoring records support regulated product quality or clinical trial systems. Confirm which regimes apply to your entity with counsel. The EUR-Lex text of GDPR and the eCFR text of Part 11 are the primary sources.

Can DeployOpen help prepare monitoring evidence for a HIPAA review?

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms in your own infrastructure, and it prepares systems, controls and evidence for compliance assessments. It does not issue audit reports, attestations or certifications, and it does not decide whether your organization meets HIPAA. For a Prometheus engagement, the written scope can include access controls for the web UI and API, TLS and authentication configuration, backup and retention settings, and documentation of the alert rules and routing your team reviews. Independent auditors, HHS OCR and your counsel make the compliance determinations. Ask any implementation partner to name exactly which artifacts they will deliver and how those artifacts map to your own risk analysis.

How do we check that Prometheus access controls meet our needs?

Start by listing who needs access to the query UI, the API and the Alertmanager, and what each role may do. Prometheus supports TLS and client certificate authentication with TLS 1.2 as the minimum, plus HTTP basic authentication with bcrypt-hashed passwords. Basic authentication without TLS exposes credentials in cleartext, so require TLS for any access path that crosses a network. Prometheus has no built-in single sign-on, so many teams place an authenticating reverse proxy in front of the UI and API. Keep admin APIs disabled unless you have a documented need, because enabling them exposes destructive operations. Verify each setting in a test environment and record the results for your access review.

What to ask a partner before starting

This sequence turns a healthcare monitoring idea into a written scope that your security, compliance and clinical engineering teams can review before any Prometheus server touches a clinical network. Each step names what gets asked, what the partner should produce, and how you confirm it.

  1. Confirm clinical network segmentation experience

    Ask the partner how they have placed monitoring components in networks that carry EHR, imaging and clinical integration traffic, and which zones they expect Prometheus, Alertmanager and exporters to sit in. Ask who on their team will design the flows between scrape targets, the Prometheus server and any remote storage. Done when you have a written network diagram draft listing every permitted flow, its ports and its owner, and you can see which flows cross from clinical zones into shared services.

  2. Review the label method before any scrape

    Ask the partner to describe how they review metric names, label keys and label values for each target type before onboarding. A sound method checks that no label carries patient names, record numbers, dates of birth, free text or message content, and that high-cardinality values such as user or session identifiers are dropped or rewritten at scrape time. Done when the partner delivers a label inventory per exporter, with each label marked keep, drop or rewrite and the reason.

  3. Confirm how patient identifiers stay out of telemetry

    Ask how the partner keeps protected health information out of metrics, alert annotations, Alertmanager notifications and exporter URL parameters. Ask them to show the relabeling rules, the alert templates that avoid patient fields, and the test they use to prove that a sample alert and a sample scrape contain no identifiers. The Prometheus security model warns that exporters taking targets from URL parameters can be pointed at arbitrary endpoints, so ask how that is restricted too. Done when a test record shows the identifier check passing on sample output.

  4. Clarify business associate terms for any vendor access

    If any vendor, managed service or contractor will touch monitoring data, ask whether a business associate agreement is needed and who prepares it. The HIPAA Security Rule requires a business associate contract under 45 CFR 164.314(a)(2)(i) to require Security Rule compliance and incident reporting, and to flow those terms to subcontractors that handle ePHI. Ask the partner to confirm in writing which parties have access, and to route legal review to your counsel. Done when your legal team has a signed or agreed position on every party with access.

  5. Agree the test and change approach

    Ask how changes are tested before they reach clinical segments, including a non-production copy of the monitoring stack, a rollback plan for scrape configuration and alert rules, and the change record your change board needs. Ask which Prometheus release line the partner will pin and how they plan to follow the release cycle, so that patching is scheduled rather than emergency work. Done when you hold a written change procedure that names approvers, test evidence and rollback steps for each class of change.

  6. Require a retest after hardening

    Ask the partner to describe the hardening tasks in scope, such as TLS, authentication in front of the web interface, admin API restrictions and exporter access controls, and how they retest each one after the change. Ask for the retest method and what the findings report will show, including open items, owners and fixes. Done when a retest report confirms each hardening item as fixed or lists the open items with dates agreed by your team.

  7. Confirm what the fixed-scope agreement covers

    Most DeployOpen engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Ask the partner to list the deliverables, the systems in scope, the handover documents, the operational runbooks, the exclusions and the support options after handover, which can be arranged as a retainer. Ask for the written scope before any quote is accepted. Done when the signed scope lists each deliverable, the acceptance criteria and the responsibilities that stay with your own team.

How DeployOpen scopes and supports a healthcare Prometheus build

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure, including Prometheus. For healthcare, the work starts with a written scope that defines which clinical and integration systems are monitored, how labels are kept free of patient data, and how the monitoring stack is reviewed by the client's own compliance and security teams.

How we scope

  • Inventory the EHR, imaging, interface engine and clinical integration systems to decide which targets Prometheus will monitor.
  • Agree in writing how label design keeps patient identifiers out of metric labels, series and alert annotations.
  • Define the hosting boundary, network zones, retention needs and whether Alertmanager routes to on-call tools inside your environment.

How we build

  • Deploy Prometheus, Alertmanager and exporters in infrastructure you control, with TLS, authentication and admin APIs disabled unless needed.
  • Write scrape configuration, service discovery and alert rules as code, then test that alerts fire for clinical service availability failures.
  • Test label hygiene and exporter access controls, including whether exporters can be used to reach arbitrary endpoints, before go-live.

How we hand over

  • Document the architecture, data flows, configuration, access model and the evidence each monitoring control produces for review.
  • Provide runbooks for Prometheus storage, Alertmanager clustering, backups and restoring a single-node time series database.
  • Deliver the written test results and a retest record so your compliance and security teams can review the monitoring setup.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, scoped in writing with your team.
  • Plan Prometheus upgrades against the release cycle and long-term support lines, with a tested rollback path for each change.
  • Revisit scrape targets, label rules and alert routing when clinical systems, hosting or HIPAA-related requirements change.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.