Setting xpack.enabled via Metricbeat Docker hints

Hi there,

is there a way to set the xpack.enabled flag for via Metricbeat Docker hints? I tried using the co.elastic.metrics/xpack.enabled label (on the monitored container), but it does not seem to have an effect.

Alternatively, can a base configuration be rolled out via YAML and hints just amend that config (e.g., in terms of hosts).

Thanks,
Thilo

P.S.: Elastic Stack v7.14.1

Hey @thilog, welcome to discuss :slight_smile:

Only the settings listed in the docs are available for hints-based autodiscover.

You would need to use the co.elastic.metrics/raw annotation to use other settings.