Page MenuHomePhabricator

raw-paste-data.txt

Authored By
jbond
Jul 12 2021, 1:20 PM
Size
807 B
Referenced Files
None
Subscribers
None

raw-paste-data.txt

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 -%>

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
9125474
Default Alt Text
raw-paste-data.txt (807 B)

Event Timeline