-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to use kubernetes hints and custom metricsets #9123
Comments
Nobody is interested in this functionality that would allow to simultaneously static configs and dynamic configs? |
We will have to think more about how to support this. At the moment there are several parts involved in generating configuration for beats when using hints-based autodiscover: there can be configuration in files, in autodiscover templates and in autodiscover hints. It is sometimes confusing to know what configuration is being applied when these methods are mixed in the same deployment, so we usually recommend that only one of the methods is used if possible. The proposed solution would be really useful, but it would add another configuration method, in my opinion we should try to avoid that. Our mid/long-term idea for hints is that when using them, everything about modules (metricsets, filesets...) can be configured via annotations (or labels in docker, or similar things in other technologies). This allows to configure observation of dynamic services without needing to touch the configuration of the beat itself, what for example in kubernetes allows to separate responsibilities between people managing the cluster and people deploying services on it. So we'd prefer to add configuration options by the use of hints before adding another method that relies on beats configuration, some options I can think now could be:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue doesn't have a |
Describe the enhancement:
With the current implementation user must choose between pre-defined module setup and his custom setup defined in the raw hint.
It would be nice if the following could be implemented:
"hints.combination.enabled: true" would mean if a module has multiple metricset defined, metricbeat processes metricset(s) defined in metricbeat config, then it processes metricset(s) defined in the raw hint.
Describe a specific use case for the enhancement or feature:
Users want to :
The text was updated successfully, but these errors were encountered: