Input/filter/output metrics still exposed after setting enable_metric: false

Hi,

It looks like enable_metric setting is being ignored and metrics are always enabled for all input/filter/output plugins.

How to repro:

Config (any tested input/filter/outplut plugin behaves the same way):

input { beats { enable_metric => false } }

After restarting logstash curl -s 'http://127.0.0.1:9600/_node/stats?pretty'

[...]
    "plugins" : {
      "inputs" : [ {
        "id" : "redacted-1",
        "events" : {
          "out" : 1665108,
          "queue_push_duration_in_millis" : 332750
        },
        "name" : "beats"
      } ],
[...]

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.