Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1.5 KB

pr.tmpl.md

File metadata and controls

23 lines (19 loc) · 1.5 KB

<% hasError = (status === 'warn' || status === 'error' || status === 'unknown') %> <% if (hasError) { %>### ⚠️ Deploy with caution ⚠️

There are errors or warnings in production.<% } %> <% if (!hasError) { %>### 💯 Pre-deploy Checks Passed 💯 <% } %>

System Health

| Status | External Link | Summary | |:-:|--|--|<% if (isRollup) { %> | <%=trafficLightStatus(lightstep.status)%> | Lightstep Logo Monitoring Conditions | <%=lightstep.message%> |<% } else { %><% if (lightstep.context) { for (var i=0; i < lightstep.context.length; i++) { %> | <%=conditionStatus(lightstep.context[i])%> | Lightstep Logo <%= lightstep.context[i].name %> | value: <%= lightstep.context[i].description %> |<% } %><% } %> <% if (rollbar) { %>| <%=trafficLightStatus(rollbar.status)%> | Rollbar Logo New Items in Latest Version | <%=rollbar.message%> |<% } } %>

<% if (pagerduty) { %>#### Incident Response PagerDuty Logo <%=pagerduty.message%><% } %>

<% if (hasError && isRollup) { %>

Lightstep has detected some conditions in an unknown or error state in the project.

<% lightstep.details.forEach(function(c) { %><%=c.message%> <% }) %>

<% } %>