patrickjahns / ansible-role-promtail

🔧 Ansible role for deploying promtail
MIT License
101 stars 59 forks source link

Support arbitrary options in the configuration file #203

Closed pavlozt closed 7 months ago

pavlozt commented 9 months ago

Sometimes (and in the future) it becomes necessary to add options that the role creator did not provide For example, I need override backoff_config. But I don't find any global level variable. Other people have also mentioned limits_config, etc.

pavlozt commented 9 months ago

Ok. This is not so actual options. backoff_config is part of promtail_config_clients.

patrickjahns commented 7 months ago

I understand your request - how would you propose that this could be best addressed and resolved? Is it possible to address this without introducing a breaking change to the current behaviour ?

pavlozt commented 7 months ago

@patrickjahns I suggest leaving everything as is. promtail_config_clients solves the problem. There are not many options in this program and I have no burning practical need