Problem/Motivation
The prometheus:export Drush command is silently not discovered. The SerializerInterface constructor parameter cannot be autowired by type because Drupal's container has multiple serializer services. Without an explicit service ID, Drush's autowiring fails and the command is never registered.
Steps to reproduce
Proposed resolution
Add the #[Autowire] attribute to explicitly specify the prometheus_exporter.serializer service for the SerializerInterface parameter.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork prometheus_exporter-3592133
Show commands
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 #4
kim.pepperCommitted to 2.x