Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P16813
(An Untitled Masterwork)
Active
Public
Actions
Authored by
jbond
on Jul 12 2021, 1:20 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F34548599: raw-paste-data.txt
Jul 12 2021, 1:20 PM
2021-07-12 13:20:43 (UTC+0)
Subscribers
None
statuspage:
api_key:
<%=
@api_key
%>
page_id:
<%=
@page_id
%>
# Optional section -- if you need to use proxies to access certain types of
# resources (graphite, prometheus, statuspage), put them here. The format of
# each sub-section follows the Requests library API and is a map from
# URL fetch protocol to a proxy URL.
proxies:
<%-
@proxies
.
each_pair
do
|
name
,
config
|
-%>
<%=
name
%>
:
<%-
config
.
each_pair
do
|
proxy_type
,
proxy
|
-%>
<%=
proxy_type
%>
:
<%=
proxy
%>
<%-
end
-%>
<%-
end
-%>
# Each metric needs its API ID on statuspage.io, then a data source (either
# 'prometheus' or 'graphite') with a URL, and also, a query string to execute.
metrics:
<%-
@metrics
.
each
do
|
metric
|
-%>
<%-
metric
.
each_paior
do
|
key
,
value
|
-%>
-
<%-
key
-%>
:
<%-
value
-%>
<%-
end
-%>
<%-
end
-%>
Event Timeline
jbond
created this paste.
Jul 12 2021, 1:20 PM
2021-07-12 13:20:43 (UTC+0)
Log In to Comment