elastic / support-diagnostics

Support diagnostics utility for elasticsearch and logstash
Other
290 stars 150 forks source link

[Logstash] Create a new diagnostic template based on the flow metrics #646

Closed edmocosta closed 11 months ago

edmocosta commented 1 year ago

Description

In 8.5-8.7, the Logstash team introduced and then expanded Flow Metrics in the Logstash node stats API, which means they are already available as part of capture from this tool. Flow metrics give us current, recent, and lifetime flow rates for many meaningful metrics, allowing us to compare a pipeline or process's current behavior to itself over time.

Currently, the support diagnostics Analyzer does not yet incorporate Flow Metrics and still requires two-spaced captures to provide meaningful rate-of-flow insights. Additionally, the as-presented rate-of-flow metrics in the analyzer tool are not standardized or cohesive (mixing units or mixing wall-clock vs CPU clock)

We want to create a new diagnostic template, embedded in this support-diagnostics tool that includes process-, pipeline-, and plugin-level Flow Metrics so that it can provide guidance and insights from a single capture.

More details can be found on the meta issue: https://github.com/elastic/logstash/issues/15145

Changes

These changes should only affect the Logstash remote/local reports

Checklist


Closes https://github.com/elastic/logstash/issues/15145