Skip to content

Commit

Permalink
Include latest version of flowmetricscsv to be able to show percentil…
Browse files Browse the repository at this point in the history
…e trends
  • Loading branch information
huserben committed Jun 19, 2024
1 parent 44e2a32 commit 72a1cca
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion flowpulse/ExampleConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"history": 30,
"chartName": "CycleTime.png",
"percentiles": [50, 70, 85, 95],
"percentileColors": ["red", "orange", "lightgreen", "darkgreen"]
"percentileColors": ["red", "orange", "lightgreen", "darkgreen"],
"trend_settings": [70, 10, "purple"]
},
"workItemAgeScatterPlot": {
"generate": true,
Expand Down
6 changes: 5 additions & 1 deletion flowpulse/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,13 @@ def run_forecasts():

def create_cycle_time_scatterplot():
chart_config = config["cycleTimeScatterPlot"]

trend_settings = None
if "trend_settings" in chart_config:
trend_settings = chart_config["trend_settings"]

if chart_config["generate"]:
flow_metrics_service.plot_cycle_time_scatterplot(work_items, chart_config["history"], chart_config["percentiles"], chart_config["percentileColors"], chart_config["chartName"])
flow_metrics_service.plot_cycle_time_scatterplot(work_items, chart_config["history"], chart_config["percentiles"], chart_config["percentileColors"], chart_config["chartName"], trend_settings)

def create_work_item_age_scatterplot():
chart_config = config["workItemAgeScatterPlot"]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='flowpulse',
version='1.0.1',
version='1.0.2',
packages=find_packages(),
include_package_data=True,
package_data={
Expand Down

0 comments on commit 72a1cca

Please sign in to comment.