rabbitmq / rabbitmq-server

Open source RabbitMQ: core server and tier 1 (built-in) plugins
https://www.rabbitmq.com/
Other
11.84k stars 3.9k forks source link

Tracing: expose configuration to rabbitmq.conf #11554

Closed michaelklishin closed 1 week ago

michaelklishin commented 1 week ago

This is only really relevant if the plugin stays in the distribution (https://github.com/rabbitmq/rabbitmq-server/issues/11553).

rabbitmq.conf schema supports path validators. The tracing plugin only has one configurable setting which is a path, and it can be validated to be writeable similarly to how TLS key and certificate paths are validated to be readable.

In fact, there's already a schema validator for that, dir_writable, which is used by the log file path setting.

See https://github.com/rabbitmq/rabbitmq-server/discussions/11546 and https://github.com/rabbitmq/rabbitmq-server/issues/11551 for background.