Skip to content

Commit

Permalink
Deploy website - based on fa36a97
Browse files Browse the repository at this point in the history
  • Loading branch information
anshuman-gojek committed Mar 21, 2024
1 parent 9e0254a commit 2a025e6
Show file tree
Hide file tree
Showing 45 changed files with 158 additions and 158 deletions.
4 changes: 2 additions & 2 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
<link rel="preconnect" href="https://www.googletagmanager.com">
<script async src="https://www.googletagmanager.com/gtag/js?id=G-EPXDLH6V72"></script>
<script>function gtag(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],gtag("js",new Date),gtag("config","G-EPXDLH6V72",{})</script><link rel="stylesheet" href="/siren/assets/css/styles.5048dbf9.css">
<link rel="preload" href="/siren/assets/js/runtime~main.a9899f54.js" as="script">
<link rel="preload" href="/siren/assets/js/runtime~main.ca8a18f1.js" as="script">
<link rel="preload" href="/siren/assets/js/main.4b0fb9c2.js" as="script">
</head>
<body class="navigation-with-keyboard">
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();null!==e?t(e):window.matchMedia("(prefers-color-scheme: dark)").matches?t("dark"):(window.matchMedia("(prefers-color-scheme: light)").matches,t("light"))}(),document.documentElement.setAttribute("data-announcement-bar-initially-dismissed",function(){try{return"true"===localStorage.getItem("docusaurus.announcement.dismiss")}catch(t){}return!1}())</script><div id="__docusaurus">
<div role="region" aria-label="Skip to main content"><a class="skipToContent_fXgn" href="#docusaurus_skipToContent_fallback">Skip to main content</a></div><div class="announcementBar_mb4j" style="background-color:#222;color:#eee" role="banner"><div class="announcementBarPlaceholder_vyr4"></div><div class="content_knG7 announcementBarContent_xLdY">⭐️ If you like Siren, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/goto/siren">GitHub</a>! ⭐</div><button type="button" aria-label="Close" class="clean-btn close closeButton_CVFx announcementBarClose_gvF7"><svg viewBox="0 0 15 15" width="14" height="14"><g stroke="currentColor" stroke-width="3.1"><path d="M.75.75l13.5 13.5M14.25.75L.75 14.25"></path></g></svg></button></div><nav class="navbar navbar--fixed-top navbarHideable_m1mJ"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/siren/"><div class="navbar__logo"><img src="/siren/img/logo.svg" alt="" class="themedImage_ToTc themedImage--light_HNdA"><img src="/siren/img/logo.svg" alt="" class="themedImage_ToTc themedImage--dark_i4oU"></div><b class="navbar__title text--truncate">Siren</b></a></div><div class="navbar__items navbar__items--right"><a class="navbar__item navbar__link" href="/siren/docs/introduction">Docs</a><a class="navbar__item navbar__link" href="/siren/docs/support">Support</a><a href="https://bit.ly/2RzPbtn" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link header-slack-link"></a><a href="https://github.com/goto/siren" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link navbar-item-github"></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type="button" disabled="" title="Switch between dark and light mode (currently light mode)" aria-label="Switch between dark and light mode (currently light mode)" aria-live="polite"><svg viewBox="0 0 24 24" width="24" height="24" class="lightToggleIcon_pyhR"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" class="darkToggleIcon_wfgR"><path fill="currentColor" d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path></svg></button></div><div class="searchBox_ZlJk"></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="docusaurus_skipToContent_fallback" class="main-wrapper mainWrapper_z2l0"><main class="container margin-vert--xl"><div class="row"><div class="col col--6 col--offset-3"><h1 class="hero__title">Page Not Found</h1><p>We could not find what you were looking for.</p><p>Please contact the owner of the site that linked you to the original URL and let them know their link is broken.</p></div></div></main></div><footer class="footer"><div class="container container-fluid"></div></footer></div>
<script src="/siren/assets/js/runtime~main.a9899f54.js"></script>
<script src="/siren/assets/js/runtime~main.ca8a18f1.js"></script>
<script src="/siren/assets/js/main.4b0fb9c2.js"></script>
</body>
</html>

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{{- define "__alert_severity_prefix_emoji" -}}
{{if ne .Data.status "firing" -}}
:white_check_mark:
{{- else if eq .Data.severity "CRITICAL" -}}
:fire:
{{- else if eq .Data.severity "WARNING" -}}
:warning:
{{- else -}}
:question:
{{- end}}
{{- end}}
{{- define "slack.pretext" -}}
{{- template "__alert_severity_prefix_emoji" . }} ({{ .Data.status | toUpper }}{{ if eq .Data.status "firing" }}:{{ .Data.num_alerts_firing }}{{ end }})
{{- if eq .Data.status "resolved" }} ~({{ .Data.severity | toUpper }})~
{{- else }} *({{ .Data.severity | toUpper }})*
{{- end}} {{ if .Data.alert_name }}{{.Data.alert_name}}{{else}}{{.Data.alertname}}{{end}}
{{- end }}
{{- define "slack.color" -}}
{{- if eq .Data.status "firing" -}}
{{if eq .Data.severity "WARNING" -}}
warning
{{- else if eq .Data.severity "CRITICAL" -}}
danger
{{- else -}}
#439FE0
{{- end -}}
{{else -}}
good
{{- end}}
{{- end}}
{{- define "slack.body"}}
{{- .Data.summary}}
{{ end}}
{{- define "slack.dashboard"}}
{{- if .Data.dashboard}}{{.Data.dashboard}}{{else}}{{.Data.defaultDashboard}}{{end}}
{{- end -}}
{{- define "slack.runbook"}}
{{- if .Data.playbook}}{{.Data.playbook}}{{end}}
{{- end -}}
username: "Siren"
icon_emoji: ":eagle:"
attachments:
- title: ""
pretext: "{{template "slack.pretext" . }}"
text: |
{{.Data.summary | indent 6}}
color: "{{template "slack.color" . }}"
actions:
- type: button
text: "Runbook :books:"
url: "{{template "slack.runbook" . }}"
- type: button
text: 'Dashboard :bar_chart:'
url: "{{template "slack.dashboard" . }}"

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{{- define "pagerduty.event_type" -}}
{{if eq .Data.status "firing" -}}
trigger
{{- else if eq .Data.status "resolved" -}}
resolve
{{- else -}}
unknown
{{- end}}
{{- end}}
event_type: "{{template "pagerduty.event_type" . }}"
{{if .Data.id}}incident_key: "{{.UniqueKey}}"{{ end }}
description: ({{ .Data.status | toUpper }}{{ if eq .Data.status "firing" }}:{{ .Data.num_alerts_firing }}{{ end }})
{{- if eq .Data.status "resolved" }} ~({{ .Data.severity | toUpper }})~
{{- else }} *({{ .Data.severity | toUpper }})*
{{- end}} {{ if .Data.alert_name }}{{.Data.alert_name}}{{else}}{{.Data.alertname}}{{end}}
client: Siren
details:
Labels:
{{ range $index, $element := .Labels }}- "{{ $index }} = {{ $element }}"
{{ end }}
Annotations:
{{ range $index, $element := .Data }}- "{{ $index }} = {{ $element }}"
{{ end }}
Loading

0 comments on commit 2a025e6

Please sign in to comment.