mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
Inputs expect a NamespacedMetric, not the root metric instance
Fixes #10614
This commit is contained in:
parent
d332bc33aa
commit
78ea83ec07
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ describe LogStash::Inputs::Metrics do
|
|||
|
||||
wait(60).for { agent.get_pipeline(:main) }.to_not be_nil
|
||||
|
||||
metrics_input.metric = agent.metric
|
||||
metrics_input.metric = agent.metric.namespace(:test)
|
||||
|
||||
metrics_input.register
|
||||
metrics_input.run(queue)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue