Commit 76734a12 authored by Jerome Ng's avatar Jerome Ng

Update Product PI Overview

parent 3c90d213
......@@ -7,10 +7,30 @@
<p><%= performance_indicator.definition %></p>
<% if performance_indicator.plan_type %>
<p><b>Free/Paid:</b> <%= performance_indicator.plan_type %></p>
<% end %>
<% if performance_indicator.telemetry_type %>
<p><b>SaaS/SM:</b> <%= performance_indicator.telemetry_type %></p>
<% end %>
<% if performance_indicator.pi_workflow %>
<p><b>PI Workflow:</b> <%= performance_indicator.pi_workflow %></p>
<% end %>
<% if performance_indicator.target %>
<p><b>Target:</b> <%= performance_indicator.target %></p>
<% end %>
<% if performance_indicator.is_key %>
<p><b>Is KPI:</b> <%= performance_indicator.is_key %></p>
<% end %>
<% if performance_indicator.is_primary %>
<p><b>Is Primary PI:</b> <%= performance_indicator.is_primary %></p>
<% end %>
<% if performance_indicator.public == false %>
<p><b>This KPI cannot be public.</b> </p>
<% end %>
......
......@@ -24,7 +24,10 @@
<% end %>
<% if regular_performance_indicators.any? && regular_performance_indicators.first.org.include?("Section") %>
## Section PI Status
## Section PI Overview
The section PI overview shows Primary PIs for each Product Section, Stage, and Group.
<table>
<thead>
......@@ -33,19 +36,25 @@
<th>PI Type</th>
<th>PI</th>
<th>Health</th>
<th>Saas/Self-Hosted</th>
<th>Free / Paid</th>
<th>SaaS / SM</th>
<th>PI Workflow</th>
</tr>
</thead>
<tbody>
<% regular_performance_indicators.each do |kpi| %>
<% name_parts = kpi.name.split(' - ') %>
<tr>
<td> <%= name_parts[0] %> </td>
<td> <%= name_parts[1] %> </td>
<td><a href="#<%= kpi.name.gsub(":","").gsub(" ","-").downcase %>"><%= name_parts[2]%></a></td>
<td><%= color_code_health kpi.health.level %></td>
<td><%= kpi.telemetry_type %></td>
</tr>
<% if kpi.is_primary == true %>
<% name_parts = kpi.name.split(' - ') %>
<tr>
<td> <%= name_parts[0] %> </td>
<td> <%= name_parts[1] %> </td>
<td><a href="#<%= kpi.name.gsub(":","").gsub(" ","-").downcase %>"><%= name_parts[2]%></a></td>
<td><%= color_code_health kpi.health.level %></td>
<td><%= kpi.plan_type %></td>
<td><%= kpi.telemetry_type %></td>
<td><%= kpi.pi_workflow %></td>
</tr>
<% end %>
<% end %>
</tbody>
</table>
......@@ -132,10 +141,11 @@ Each - denotes a dictionary of values for a new (K)PI. The current elements (or
| `urls` | Optional | list of urls associated with the (K)PI |
| `sisense_data` | Optional | contains elements/properties related to Sisense, including chart (numeric Sisense widget ID), dashboard (numeric Sisense dashboard ID), shared_dashboard (Sisense shared dashboard ID), embed (v2) |
| `public` | Optional | boolean flag that can be set to `false` where a (K)PI does not meet the public guidelines. |
| `telemetry_type` | Optional | indicates if the metric is available on SaaS, Self-hosted or Both|
| `plan_type` | Optional | indicates if the metric is Free, Paid, or Both. |
| `telemetry_type` | Optional | indicates if the metric is available on SaaS, SM (self-managed), or Both. |
| `is_primary` | Optional | boolean flag that indicates if this is the Primary PI for the Product Group. |
| `instrumentation` | Optional | has two additional elements/property - level (inclusive value between 0-3) and reasons. This should be updated monthly before Key Meetings by the DRI. |
| `pi_workflow` | Optional | indicates the [PI Workflow](https://about.gitlab.com/handbook/product/performance-indicators/#pi-workflow) status |
### Guidelines
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment