Commit 22a6762b authored by Mathieu Peychet's avatar Mathieu Peychet

add tertiary chart

parent 4e586ea7
......@@ -43,6 +43,10 @@
chart: 10138877
dashboard: 758607
embed: v2
sisense_data_tertiary:
chart: 9992267
dashboard: 758607
embed: v2
- name: Manage, Manage:Optimize - SMAU, GMAU - MAU Viewing Analytics Features
base_path: "/handbook/product/performance-indicators/"
......
......@@ -19,6 +19,10 @@
chart: 10138940
dashboard: 758607
embed: v2
sisense_data_tertiary:
chart: 10224262
dashboard: 758607
embed: v2
health:
level: 3
reasons:
......
......@@ -31,6 +31,10 @@
chart: 9984584
dashboard: 758607
embed: v2
sisense_data_tertiary:
chart: 10224291
dashboard: 758607
embed: v2
- name: Secure:Static Analysis - GMAU - Users running Static Analysis jobs
base_path: "/handbook/product/sec-section-performance-indicators/"
definition: The highest of the number of unique users who have run SAST or Secret Detection jobs.
......
......@@ -74,6 +74,25 @@
<%=" * #{reason}"%>
<% end %>
<% if performance_indicator.sisense_data_tertiary %>
<b>Tertiary Chart</b>
<% if performance_indicator.sisense_data_tertiary.shared_dashboard%>
(<a href="https://app.periscopedata.com/shared/<%= performance_indicator.sisense_data_tertiary.shared_dashboard %>">Sisense↗</a>)
<% elsif performance_indicator.sisense_data_tertiary.chart && performance_indicator.sisense_data_tertiary.dashboard%>
(<a href="https://app.periscopedata.com/app/gitlab/<%= performance_indicator.sisense_data_tertiary.dashboard %>/?widget=<%= performance_indicator.sisense_data_tertiary.chart %>">Sisense↗</a>)
<% end %>
<% if ENV['PERISCOPE_EMBED_API_KEY'] %>
<embed width="100%" height="100%" style="min-height:300px;" src="<%= signed_periscope_url(performance_indicator.sisense_data_tertiary) %>">
<% else %>
<p>You must set a <code>PERISCOPE_EMBED_API_KEY</code> environment variable to render this chart.</p>
<% end %>
<% end %>
<b>Health: <%= color_code_health(performance_indicator.health.level) %></b>
<% performance_indicator.health.reasons.each do |reason| %>
<%=" * #{reason}"%>
<% end %>
<% if performance_indicator.implementation %>
<b>Implementation Status:</b> <%= performance_indicator.implementation.status %>
......
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