Closed scollazo closed 4 weeks ago
One option could be to don't start prometheus server when the port is set to 0
I've been reading it all wrong, is the bind_ip the one that doesn't matter if it's set or not, unsetting bind_port will stop prometheus from conflicting
Expected behaviour
I would like to be able to run more than one mcp-client, using the exact same configuration
Current behaviour
Due to the /metrics endpoint being always enabled, different MCPClients need a different value for the ARCHIVEMATICA_MCPCLIENT_MCPCLIENT_PROMETHEUS_BIND_PORT to avoid conflicts with the port.
Steps to reproduce
Run more than one mcpclient with the same settings. They'll conflict due to the prometheus bind port
Your environment (version of Archivematica, operating system, other relevant details)
Archivematica 1.16
For Artefactual use:
Before you close this issue, you must check off the following: