Monitoring midPoint with actuator endpoints: what it gives your operations team
Actuator endpoints expose midPoint's health and runtime metrics over HTTP so monitoring tools can tell your operations team whether the platform is up and working. Teams need them when midPoint sits on the path for joiners, movers and leavers, because a stalled node or a failing repository connection can delay account changes in target systems without any visible error in the user interface. Each endpoint sits at BASE_MIDPOINT_URL/actuator/NAME, and each one has its own authorizations, so exposure is a per-endpoint decision rather than a single switch. Note that midPoint is an identity management system, not an SSO server. Users signing in through your SSO provider do not depend on these endpoints, but your provisioning pipeline does, and that is the reason to watch them.
Start by listing which endpoints your monitoring tool needs and confirming, in the Evolveum actuator documentation, how each one is enabled and authorized in your release. Decide which account the monitoring agent uses, give it the narrowest role that reads those endpoints, and keep it separate from administrator accounts used for day-to-day work. Test the access from the monitoring host itself, not only from a workstation, because load balancers and network policies often differ between the two. Confirm also whether health probes are reachable from every node in a multi-node deployment, since a sticky load balancer can send a probe to a single node and hide a fault on another.
Plan alerts around outcomes operators care about, such as a node that stops answering its health check, a database connection that fails, or memory pressure that grows between restarts. Keep the first alert set small and tie each one to a runbook step, so the on-call engineer knows whether to check the database, the JVM or the load balancer. Store metrics in a time series system with a retention period that matches your review cycle. If you use Prometheus for scraping, plan its own storage, backups and alert routing as a separate operational task, because its local storage is not clustered or replicated.
Which actuator endpoints to enable and when each fits
This table compares the actuator endpoint categories by purpose, consumer, required authorization and exposure risk. Read each row as a decision: enable only the endpoints your monitoring use case needs, and confirm the exact endpoint names against the Evolveum actuator page for your release. The main takeaway is that health checks and metrics serve different consumers and carry different exposure risks.
| Endpoint category | Monitoring use case and consumer | Authorization and exposure risk |
|---|---|---|
| Health | Load balancer and orchestrator liveness or readiness checks that decide whether a node receives traffic | Confirm which authorization the health endpoint requires in your release; limit network reach to the load balancer and monitoring hosts |
| Metrics | Prometheus or another scraper collecting JVM, request and task figures for dashboards and alert rules | Metrics can reveal internal load and component detail; restrict to the scraper's network path and a dedicated monitoring account |
| Info or build details | Inventory checks that confirm which midPoint version and build each node runs during upgrades | Version disclosure helps attackers target known weaknesses; expose only to internal tooling if enabled at all |
| Environment or configuration views | Troubleshooting by administrators who need to confirm effective settings on a node | Can expose configuration values and secrets-adjacent data; keep disabled in production unless the Evolveum docs and your review approve it |
| Thread, log or dump endpoints | Diagnosing stuck tasks or memory pressure during an incident, usually on demand | Heavy and sensitive; enable temporarily for a named incident and disable afterward |
| Other endpoints listed by Evolveum | Confirm each remaining endpoint's purpose and authorization against the current Evolveum documentation before enabling | Treat any endpoint without a documented purpose and authorization as disabled until reviewed |
Setting up actuator endpoints for Prometheus
This sequence takes a midPoint instance from its default monitoring surface to a Prometheus target that scrapes health and metrics data under a dedicated, least-privilege identity. Each step ends with a check that proves the previous step worked before the next one begins.
Confirm the midPoint version and its actuator reference
Record the exact midPoint version running in each environment, including test and production, and open the Evolveum Spring Boot Actuator endpoints reference for that version before changing any configuration. The endpoint names, their defaults and their authorization rules are documented per release, so the reference you follow must match the build you run. Your platform team confirms the version from the running instance or the deployment manifest. This step is done when the version and the matching documentation are written into the change record.
Decide which actuator endpoints to expose
List the actuator endpoints midPoint offers and mark only the ones your monitoring design needs, typically health and the metrics endpoint used for Prometheus. Each endpoint is served at the base midPoint URL followed by /actuator and the endpoint name, so every exposed name widens the surface that must be authorized and reviewed. Keep the list in version control next to the rest of your midPoint configuration. This step is done when the approved endpoint list is recorded and each entry has a stated monitoring purpose.
Create a dedicated monitoring identity
Create a separate midPoint account used only by Prometheus, with no assignments to business roles and no administrative rights. Authorizations for actuator endpoints are set per endpoint, so the identity should receive access to the approved endpoints and nothing else. Store its credential in your secrets manager, not in the Prometheus configuration file in plain text. This step is done when the account exists, carries no unrelated role assignments, and its credential is stored in the approved secrets location.
Set per-endpoint authorizations for the monitoring identity
Apply the authorizations defined for each endpoint you chose in step two, granting the monitoring identity read access only to those endpoints. Confirm in the same reference that the endpoint you expose for health does not also disclose information you have decided to keep private. Test each change in a non-production instance first. This step is done when a request authenticated as the monitoring identity returns the approved endpoints, and a request to an endpoint outside the list is refused.
Confirm network exposure of the metrics path
Work with your network team to restrict which hosts can reach the actuator path on the midPoint nodes, so that only the Prometheus server or its scrape network can connect. In a multi-node deployment, check each node individually, because a sticky load balancer in front of midPoint does not limit what a direct connection to a node can see. Record the allowed source addresses in the change record. This step is done when a connection from an unapproved host is refused and the approved Prometheus host is allowed.
Add the midPoint targets to Prometheus
Add a scrape job to the Prometheus configuration that points at each midPoint node's actuator metrics path, using static targets or the service discovery mechanism your environment already runs. Reference the monitoring credential through a secret file or environment variable supported by your deployment tooling, and set the scrape path to the metrics endpoint you approved. Validate the configuration file with the Prometheus tooling before reloading. This step is done when the configuration validates and the targets appear in the Prometheus targets view.
Verify with a test scrape
Check the targets page in Prometheus and confirm each midPoint node reports as up, then run a simple query for one of the exposed metrics to confirm samples are arriving. Compare the result with a direct request made as the monitoring identity to the same endpoint. If a target shows as down, check the authorization result and the network rule first, since those are the two most likely causes after a configuration change. This step is done when every node reports up and returns samples for each approved metric.
How Prometheus and Alertmanager reach midPoint endpoints
The request starts with Prometheus in the monitoring network, which pulls metrics over HTTP from each midPoint actuator endpoint at BASE_MIDPOINT_URL/actuator/NAME. The authorization boundary sits in front of every endpoint, so the scrape identity must be allowed to read only what it needs. Prometheus evaluates alert rules locally and sends firing alerts to every Alertmanager instance, which groups and routes notifications. Check that the scrape path crosses the trust boundary only through approved ports and credentials.
Prometheus pulls actuator metrics across the trust boundary, then alerts flow to Alertmanager.
Prometheus deployment choices for midPoint metrics
A single-site midPoint deployment usually fits one Prometheus server scraping the actuator endpoints of each midPoint node on the same network. Prometheus keeps its data in a local time series database, and its default retention is 15 days, which is often enough for day-to-day troubleshooting and short trend views. Because the scrape targets are few and nearby, the main design work is writing the scrape configuration, setting the scrape interval, and deciding which actuator endpoints need to be reachable from the monitoring host.
- Scrape targets: list each midPoint node explicitly or through service discovery, and confirm the actuator path for every node.
- Retention: the default of 15 days applies unless you set a time or size limit, so decide whether that window covers your review cycle.
- Storage placement: keep the Prometheus data directory on a disk you monitor for space, since a full disk stops ingestion.
- Backups: the local store is not clustered or replicated, so treat it as a single database and decide whether losing recent metrics is acceptable.
- Alerting: a single Alertmanager instance may be enough, but it is still a single point of failure for notifications.
Confirm with your platform team who owns the Prometheus host and how it is patched, because the monitoring path must keep working when midPoint itself is unhealthy.
When midPoint runs in more than one site, the question is whether one Prometheus should reach across the network to every node or whether each site should have its own Prometheus. Cross-site scraping depends on network paths, firewall rules and the security of the actuator endpoints in transit, so many teams run a Prometheus per site and aggregate only what the central team needs. Confirm the authorizations you configured for each actuator endpoint before opening any path between sites.
- Per-site collection: a Prometheus in each site keeps scraping local and avoids depending on a wide-area link for every scrape.
- Central view: a central instance or external system can receive data from the site instances through remote write, if your architecture allows it.
- Network exposure: limit which hosts can reach the actuator paths, and document who may query them.
- Alert routing: decide whether each site has its own alerts or whether all alerts flow to one team, and make sure a site outage still produces a notification.
- Time synchronization: check that clocks agree across sites so that alert timestamps and dashboards line up.
Ask your network and security teams to confirm which paths are permitted and whether data may leave a site, because that answer often decides the layout before any tool choice is made.
Local Prometheus storage is designed for recent data, and the default retention of 15 days is the starting point. If your audit or operations teams need metrics for months or longer, remote write can send samples to external long-term storage systems, while the local instance continues to handle live queries and alerting. This split keeps the alerting path simple, but the external system becomes another component to size, secure and back up.
- Default retention: 15 days is set locally, and time or size limits can be changed in configuration.
- Remote write: the protocol forwards samples to an external store, so decide which system owns retention beyond the local window.
- Remote read: Prometheus can also read from external storage, which matters if queries must span both sources.
- Access control: the long-term store will hold operational data about identity processing, so apply the same access rules you apply to midPoint logs and reports.
- Data volume: the amount of data depends on your scrape interval and the number of series, so ask for an estimate from the storage vendor or your own pilot before committing.
Confirm with your compliance and records owners how long metric history must be kept and who may access it, since those answers set the retention design.
Running two Prometheus servers that scrape the same midPoint targets gives you continuity if one host fails, but it does not make the local storage clustered or replicated. Each instance keeps its own data, so queries and alert evaluations can differ slightly between them. Alertmanager has its own high availability mode: it can run as a cluster using its cluster flags, and Prometheus should be configured to send alerts to every Alertmanager instance rather than to a load balancer in front of them.
- Duplicate scraping: two Prometheus servers scraping the same targets means twice the load on midPoint actuator endpoints, so confirm that the endpoints can handle it.
- Alertmanager cluster: start the Alertmanager instances with the cluster flags so they share silences and notification state.
- Alert targets: configure Prometheus to point at every Alertmanager instance directly, not through a load balancer.
- Failure testing: stop one Prometheus and confirm that alerts still fire and that dashboards remain usable.
- Operations: each instance needs patching, storage monitoring and version alignment, which adds recurring work.
Verify with your platform team that the redundant design has been tested by stopping components on purpose, because a design that has never failed over is only a plan.
Securing actuator endpoints in production
Actuator endpoints expose operational detail about midPoint and its runtime, so they need the same care as any administrative interface. The cards below cover who can read them, where they are reachable, how scrapers authenticate, and how the monitoring stack itself is protected.
Restrict endpoints to a monitoring role
Each actuator endpoint at BASE_MIDPOINT_URL/actuator/NAME has its own authorizations, so a scrape account should not inherit broad administrator rights. Build a dedicated monitoring role that grants read access only to the endpoints your dashboards and alerts use. Then test the role with the account itself, and confirm that it cannot reach endpoints it does not need. Ask Evolveum support or review the endpoint documentation for the exact authorization names in your release.
Actuator endpoint docsKeep endpoints off public networks
Actuator output reveals version, health and runtime details that help an attacker plan an attack, so the endpoints should not be reachable from the internet. Place midPoint's management paths behind your internal network, a private load balancer rule or a reverse proxy that blocks the actuator path for external clients. Verify the restriction from outside your network, and check it again after every change to the ingress or proxy configuration.
Protect scrape credentials
The Prometheus scrape job needs a credential that midPoint accepts for the actuator path. Store that credential in a secrets manager or a restricted configuration file, rotate it on a schedule you define, and avoid putting it in shared dashboards or chat logs. Keep one credential per monitoring environment so that a leak in a test setup does not expose production. Confirm with your security team how rotation will be handled without breaking scrapes.
Review Prometheus access per its security model
Prometheus does not provide built-in authentication or authorization for its own web interface and API in the way many teams expect, so access control has to come from the network and the proxy layer in front of it. Read the Prometheus security model before deployment and decide who can query, who can reach the alerting interface, and who can change configuration. Treat the Prometheus server as a sensitive system, since its metrics describe how midPoint behaves.
Prometheus security modelSeparate monitoring data from identity data
Metrics and health output should not carry user attributes, account names or other identity records. Review which endpoints return detail beyond counters and status, and restrict who can read the monitoring dashboards that display them. Keep the monitoring stack in its own administrative boundary so that operators who view graphs do not automatically gain access to identity data in the midPoint repository.
Check that exposure leaves the admin model intact
Exposing endpoints must not create a second path to administrative power. After enabling the endpoints, review which accounts and roles can read them, confirm that the monitoring role is not assigned to administrators or general operators, and check that no endpoint permission has been granted through a broader role. Record the review as part of your midPoint security hardening evidence and repeat it after upgrades, since endpoint sets can change between releases.
What to alert on for midPoint identity operations
Which midPoint health signals should page on-call engineers first?
Page on-call only for signals that mean identity operations are blocked or failing now: the health endpoint reporting the application or its database as down, and the repository becoming unreachable from midPoint nodes. Send slower signals, such as rising error counts in provisioning tasks or a growing task backlog, to a ticket queue instead of a pager. Which health components you can see depends on which actuator endpoints you expose and how their authorizations are set, so confirm the exposed list against the Evolveum actuator documentation before you write any rule. Your own baseline should decide the thresholds.
How do I stop Prometheus alerts from flooding the team?
Prometheus values reliability over precision, so metric samples and rule evaluations can be slightly delayed or noisy, and a rule that fires on a single sample will flap. Use a for duration on each alert rule so the condition must hold across several evaluations before it fires. Compare error rates over a window rather than a single reading, and keep the number of alert rules small enough that each one has a clear owner and runbook. Set the for durations and windows from the behavior you observe in your own environment, not from a generic value.
How should Alertmanager grouping and silences handle planned maintenance?
Use grouping to combine related alerts into one notification, such as several provisioning failures from the same connector, and use inhibition so that a node-down alert suppresses the downstream alerts it causes. Create a silence with a clear expiry before a planned midPoint upgrade, connector change or database maintenance window, and name the owner in the silence comment. Avoid permanent silences, because they hide the failure you later need to see. The Alertmanager documentation describes these features and how to run Alertmanager as a cluster.
Can Prometheus alerts show failed provisioning or stalled tasks?
Actuator endpoints and general process metrics show whether midPoint is alive, but they rarely show a single failed account creation. For failed provisioning, alert on the counts and trends that midPoint exposes to your monitoring stack, or on error records surfaced through reports and task status, then route them to the team that owns the target system. For stalled tasks, alert when a reconciliation or import task stops progressing for longer than its normal run time on your system. Confirm which task and provisioning metrics your midPoint version exposes before designing these rules.
Should a single alert threshold be used across all midPoint environments?
No. Development, test and production environments differ in data volume, connector load and scheduled task frequency, so a threshold that is quiet in one can be constant noise in another. Measure normal behavior for each environment over a representative period, such as a full cycle of your scheduled reconciliations, and set thresholds above that baseline. Review the thresholds after each major change, including upgrades between midPoint releases, because behavior and metric names can shift.
What does Prometheus retention and single-node storage mean for alert history?
Prometheus stores data on a local time series database with a default retention of 15 days, and local storage is not clustered or replicated. If you need alert and metric history for an audit or a post-incident review longer than that, configure retention to match and send samples to external long-term storage through remote write. Treat the Prometheus server as a single-node database, back it up, and run a second instance if a monitoring gap would be unacceptable. Ask your team what history the audit and incident processes require before you set retention.
Who should own midPoint alerts and their runbooks?
The identity or platform team that operates midPoint should own the alert rules, the runbooks and the silence process, while the application owners of connected systems own the response to their connector failures. Each alert should name the owner, the first check to make and the escalation path. Scope and cost of this ownership depend on whether your own team runs monitoring already. DeployOpen can plan, implement and document this monitoring setup in infrastructure you control, and ongoing tuning can be handled under a retainer.
Limits to confirm before you rely on this setup
Monitoring midPoint through actuator endpoints depends on Prometheus and Alertmanager behaving as you expect in your environment. The items below are the constraints that most often surprise teams after go-live, and each one has a check you can run before you build alert rules on top of it.
Reliability over precision
Prometheus documents that it values reliability over precision and is not a good choice where 100% accuracy is required. Scraped values can be missing or delayed during outages, so do not use Prometheus counts as the system of record for exact accounting, such as proving how many accounts a provisioning run changed. Use midPoint's own audit and task records for that evidence, and confirm with your auditors which source they will accept.
Prometheus overviewRelease line and end of life
Prometheus feature releases stop receiving bug fixes after about six weeks, while long-term support lines receive fixes for one year. Choose a line on purpose, record its end-of-life date, and plan the upgrade before it arrives. The current LTS line is 3.13, supported until July 31, 2027, and you should confirm that date against the release cycle page when you deploy.
Release cycle pageNo clustering in local storage
Local Prometheus storage is not clustered or replicated and should be run like any other single-node database. A single server failure means a gap in metrics and alerts until it returns. Decide whether one instance with disk and backup planning is acceptable, or whether a remote write target for long-term storage and a second scraping instance are needed for midPoint alerts that must not go silent.
- Default retention
- 15 days
Alertmanager high availability wiring
Alertmanager can run as a cluster using its cluster flags for high availability. Prometheus should send alerts to every Alertmanager instance directly, not through a load balancer. Confirm the cluster peering, notification receivers and silence handling in a test environment, then trigger a test alert and verify that it reaches your on-call channel when one instance is stopped.
Alertmanager docsEndpoint names and authorizations
Actuator endpoints are reached at the midPoint base URL under the actuator path, and access is controlled per endpoint. Endpoint names, exposure and the authorization each one requires can differ between midPoint versions, so confirm them against the documentation for the release you run. Scrape with a dedicated low-privilege account and test that unauthenticated and under-privileged requests are refused.
Actuator endpoint docsHow much effort and cost does monitoring midPoint take?
Does Prometheus licensing add cost to monitoring midPoint?
No license fee applies to Prometheus itself. Prometheus is licensed under Apache-2.0 according to its GitHub repository, and there is no paid enterprise edition of the project. Costs come from the infrastructure that runs Prometheus and Alertmanager, the storage that holds metrics, the implementation work to expose and scrape midPoint endpoints, and the people who operate the stack. If you plan to use a commercial hosted or managed Prometheus-compatible service, that service has its own pricing, which you should request in writing.
What does a midPoint actuator monitoring project cost?
Cost comes from people and infrastructure, not from the software. The main components are the time to choose which actuator endpoints to expose, configure authorizations, write scrape configuration and alert rules, build dashboards, and test failure scenarios; the servers or virtual machines for Prometheus and Alertmanager; disk capacity for local time series data; and ongoing operations staff. Setup is largely one-time work, while storage growth, retention changes, alert tuning and upgrades recur. Ask any partner for a fixed-scope quote that lists each of these items separately.
How long does it take to set up midPoint monitoring?
Duration depends on how many midPoint nodes you run, whether the endpoints are already reachable from your monitoring network, how many alerts you need, and how much your team already knows about Prometheus. A single-node test on existing infrastructure is far shorter than a multi-node production rollout with highly available Alertmanager and long-term storage. No duration is fixed by the product documentation, so confirm a timeline against your own environment and ask for the milestones in the written scope.
What must our internal team provide before monitoring work starts?
The team needs to provide four things. First, access to the midPoint configuration, including the Spring Boot actuator settings and the authorization roles used for monitoring users. Second, network paths from the Prometheus servers to each midPoint node and from Alertmanager to your notification channels. Third, named owners for the midPoint application, database and monitoring stack. Fourth, on-call ownership that defines who responds to each alert and within what hours. Without these, alerts will fire without anyone accountable for acting on them.
Can our own team set up midPoint monitoring without a partner?
Often yes, if the team already runs Prometheus or similar tooling and has someone who understands midPoint's administration model. The work is mostly configuration, authorization and alert design rather than custom development. The harder parts are deciding which endpoints can be exposed safely, sizing storage, designing alerts that are actionable instead of noisy, and keeping the stack patched. Prometheus documentation notes that local storage is not clustered or replicated and should be managed like any other single-node database, so plan for backups and recovery either way. A partner is most useful when the team lacks time or experience with these areas.
What recurring costs should we budget after go-live?
Recurring costs fall into four groups. Disk growth comes from retention settings, which default to 15 days and can be changed by time or size. Compute for Prometheus and Alertmanager continues as long as they run. Staff time covers alert review, dashboard updates and handling Prometheus minor and long-term support releases, since minor releases generally stop receiving bug fixes after six weeks. Remote storage, if you add long-term retention, adds its own infrastructure and operations cost. Ask for an estimate of these recurring items as a separate line in any quote.
Which parts of midPoint monitoring cost the most effort?
The largest effort usually goes into authorization design and alert quality. Each actuator endpoint has its own authorization settings, so granting monitoring access without exposing administrative data takes review against your security model. Alert design takes iteration because thresholds must match your normal workload before alerts are useful. Prometheus itself values reliability over precision, so it is not a source of exact per-request accounting, and your reports should be built with that limit in mind. Confirm with your team which endpoints are in scope before estimating effort.
How DeployOpen scopes actuator monitoring for midPoint
DeployOpen starts actuator monitoring work by confirming which midPoint version is running and which endpoint documentation applies to it. Endpoint names, exposure settings and the authorizations attached to each endpoint are tied to the deployed release, so the first step is an inventory of the midPoint version, the Java runtime, the deployment model (virtual machine, Docker or Kubernetes) and the number of nodes behind the load balancer. Each actuator endpoint sits at BASE_MIDPOINT_URL/actuator/NAME, and the Evolveum documentation for Spring Boot Actuator endpoints is the reference we check against for the installed version. Clients should confirm the same things with their platform team before the work starts: which endpoints are currently reachable, whether a reverse proxy or ingress already exposes the path, and whether the monitoring tool will scrape each node directly.
The alert set and the endpoint authorizations are agreed in writing before any configuration changes are made. The scope document lists each endpoint to be exposed, the account or role allowed to read it, the monitoring system that will call it, and the conditions that should page someone versus open a ticket. Alert thresholds depend on the client's own baseline, so DeployOpen asks for the normal behavior of the environment, such as typical response times, expected node count and scheduled task windows, rather than adopting generic values. The written scope also states who owns the monitoring server, who receives notifications and who approves changes to endpoint access. Clients should decide these owners now, because an unowned alert is usually a silenced alert.
Delivery ends with verification from the monitoring side and a handover the client's team can run. DeployOpen applies the agreed configuration, then checks that unauthorized requests are refused, that authorized scrapes return the expected data on every node, and that each alert fires under a controlled test condition and clears afterwards. The handover covers the configuration files, the credentials and their rotation owner, the alert runbook and a short list of checks for the client to repeat after each midPoint upgrade, since endpoint behavior can change between releases. Ongoing tuning, upgrades and continuous review of the monitoring setup can be taken on under a retainer if the client prefers an outside team to keep it current.
How DeployOpen works on this
DeployOpen scopes, builds, tests and documents actuator-based monitoring for midPoint inside your own infrastructure, so your operations team can see health and metrics from their existing tooling. The work is agreed in writing before it starts, and the handover covers the endpoint configuration, authorizations and alert logic your team will run.
How we scope
- Inventory which midPoint actuator endpoints your monitoring tools need and which must stay closed.
- Confirm the monitoring stack, whether Prometheus, Alertmanager or another tool, and where it runs.
- Agree in writing the endpoints, authorization model, alert list and whether a retainer follows.
How we build
- Configure the actuator endpoints on your midPoint nodes and restrict access to the accounts that need them.
- Wire scrape targets for every midPoint node, including multi-node deployments behind your load balancer.
- Write and test alert rules against your own environment, then verify that unauthorized requests are refused.
How we hand over
- Document each endpoint, its authorization, the scrape configuration and the reason for each alert.
- Walk your operations and security teams through the dashboards, alert routing and runbook steps.
- Leave a list of open questions to confirm with Evolveum or your own change process after go-live.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Revisit endpoint exposure and alert thresholds when you move to a new midPoint or monitoring release.
- Retest monitoring access controls as part of recurring security testing if your program includes it.

