Skip to content

Bug: Calculation of inflight events does not consider dropped documents #108

@saiiman

Description

@saiiman

The calculation of inflight events is incorrect if documents are intentionally discarded in the logstash pipelines via the "drop" processor.

The method "calculateInflightEvents" (

inflightEvents := calculateInflightEvents(pipe.Events.In, pipe.Events.Out)
) determines the current inflight events based on the global IN / OUT values. If documents are dropped in the pipeline, the values gradually diverge.

Steps to reproduce

  1. create a pipeline with a “drop” processor
  2. analyze the pipeline statistics via “localhost:9600/_node/stats/pipeline” logstash api.
  3. compare the values with the output of the Icinga check

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions