Closed (fixed)
Project:
Monitoring
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jul 2026 at 14:39 UTC
Updated:
3 Aug 2026 at 22:50 UTC
Jump to comment: Most recent
It's possible to break access to the metrics route when it's requested from a not-allowed IP: access denied persists after request from wrong IP. Timings indicate that the following access denieds are a page cache hit.
1. Enable monitoring_prometheus and set "allowed_ips" to exclude your own IP.
2. Request /metrics - get a 403, cacheable by Internal Page Cache.
3. cHECK the response's X-Drupal-Cache header
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
berdirMerging.