kestra-io / kestra

Infinitely scalable, event-driven, language-agnostic orchestration and scheduling platform to manage millions of workflows declaratively in code.
https://kestra.io
Apache License 2.0
7.12k stars 423 forks source link

Dashboard for metrics #1286

Open tchiotludo opened 1 year ago

tchiotludo commented 1 year ago

following this one https://github.com/kestra-io/kestra/issues/1155, the next steps is to be able to have a complete dashboard that will gather multiple metric per flow or per namespace.

Some features asked by @yuri1969 on general dashboard that could help on the design:

Related https://github.com/kestra-io/kestra/issues/3421

anna-geller commented 1 month ago

Adding notes from today's discussion:

  1. METRICS FROM PLUGINS - We want to start with a dashboard for metrics emitted by plugins (the real "Metrics" concept in kestra rather than metrics in the sense of e.g. "the count of successful executions in the past 1h")
  2. The metrics visualization will be included in the Flow and Namespace Dashboard — the initial scope will be to focus ONLY on the dashboard displayed in the Overview tab on the Flow's page and later we can extend this to the Namespace and to the main Dashboard
  3. For each metric displayed on the Flow's page, add a button "Add to my Dashboard" - this will prompt the user to give a title for the visualization. Then, the metric visualization will be displayed on the Flow's page. Later we may give user the option to choose to which Dashboard they want to add a specific metric viz — Flow, Namespace or Main Dashboard

image

The Flows page is the initial scope: image

Scope for later: image

Requirements:

Use cases: