incubator-devlake icon indicating copy to clipboard operation
incubator-devlake copied to clipboard

[Bug][Grafana] Some KPIs show 0 or 100 if data is incomplete

Open gabrielenosso opened this issue 10 months ago • 1 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

PR Cycle Time looks 0 if PR Deploy Time is not tracked (in both Dashboards "Engineering-throughput" and "DORA - Lead Time for Changes")

On-time Delivery shows 100% if not tracked (IMHO should show "no data") - Dashboard: Engineering overview

What do you expect to happen

If I have partial data, it should still calculate the PR Cycle Time using the data available.

If I have no data, the On-time Delivery chart should show "no data".

How to reproduce

use partial data from GitHub

Anything else

No response

Version

1.0.5 beta

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

gabrielenosso avatar Apr 26 '24 15:04 gabrielenosso

adding pictures: image image image

gabrielenosso avatar Apr 26 '24 15:04 gabrielenosso

Hi @gabrielenosso , thanks for the feedback. I'll consider it.

Startrekzky avatar Jun 04 '24 12:06 Startrekzky

Hi @abeizn , what do you think of the suggestion?

Startrekzky avatar Jun 04 '24 12:06 Startrekzky