mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
Added precation notice when internal monitoring collector is used. Closes #11346
Fixes #11511
This commit is contained in:
parent
a2044fb5f1
commit
6a412f7afd
1 changed files with 6 additions and 0 deletions
|
@ -104,6 +104,12 @@ module LogStash
|
|||
|
||||
return unless monitoring_enabled?(runner.settings)
|
||||
|
||||
deprecation_logger.deprecated(
|
||||
"Internal collectors option for Logstash monitoring is deprecated and targeted for removal in the next major version.\n"\
|
||||
"Please configure Metricbeat to monitor Logstash. Documentation can be found at: \n"\
|
||||
"https://www.elastic.co/guide/en/logstash/current/monitoring-with-metricbeat.html"
|
||||
)
|
||||
|
||||
logger.trace("registering the metrics pipeline")
|
||||
LogStash::SETTINGS.set("node.uuid", runner.agent.id)
|
||||
internal_pipeline_source = LogStash::Monitoring::InternalPipelineSource.new(setup_metrics_pipeline, runner.agent)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue