Closed (fixed)
Project:
Prometheus Exporter
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 May 2026 at 05:33 UTC
Updated:
5 Jun 2026 at 06:05 UTC
Jump to comment: Most recent
Modernize the prometheus_exporter module to use Symfony container autowiring and autoconfiguration, reducing boilerplate in service definitions and improving IDE support.
_defaults with autowire: true and autoconfigure: true to services.yml filesarguments from service definitions (autowiring handles injection)event_subscriber tags (autoconfigure adds them automatically)Drupal\prometheus_exporter\MetricsCollectorManager: '@prometheus_exporter.metrics_collector_manager')::class constants in $container->get() callscreate() methodsEntityTypeManagerInterface instead of storing entity storage directlyStart 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 #4
kim.pepperCommitted to 2.x