Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change introduces a new way how discovery mechanism works. Instead of observing data for the first 10 seconds and creating a static receiver_cretor config from that, it'll be running discovery receiver watching for all supported receivers. Once a new endpoint for any supported service is available, the collector would try to fetch metrics from it. If the collector cannot get metrics from a new service right away, it'll send a detailed information about what can be done to enable it to the backend that will be reflected in the new discovered services UI. Any services that are sucessfully discovered will be also reflected in the UI. The collector sends entity events to deliver information about the discovered services. The new functionality can be enbled with "splunk.continuousDiscovery" feature gate by adding `--feature-gates=splunk.continuousDiscovery` argument to the `otecol` command.
- Loading branch information