Badges¶
You may put badges on your websites or in your markdown documents.
Code¶
Warning
Use your domain instead of https://status.dbogatov.org
Markdown¶
Here is how to put system health badge in markdown
1 | [![system health](https://status.dbogatov.org/health)](https://status.dbogatov.org/) |
Here is how to put individual metric health badge in markdown
1 | [![metric health](https://status.dbogatov.org/health/type/source)](https://status.dbogatov.org/home/metric/type/source) |
Where type is a metric type (eq. cpuload
) and source is a metric source.
Here is how to put service uptime badge in markdown
1 | [![service uptime](https://status.dbogatov.org/health/uptime/url)](https://status.dbogatov.org/home/metric/uptime/url) |
Where url is a ping server URL (see configuration) (eq. google.com
).
HTML¶
Here is how to put system health badge in HTML
1 2 3 | <a href="https://status.dbogatov.org/"> <img alt="system health" src="https://status.dbogatov.org/health" /> </a> |
Here is how to put individual metric health badge in HTML
1 2 3 | <a href="https://status.dbogatov.org/home/metric/type/source"> <img alt="metric health" src="https://status.dbogatov.org/health/type/source" /> </a> |
Where type is a metric type (eq. cpuload
) and source is a metric source.
Here is how to put service uptime badge in HTML
1 2 3 | <a href="https://status.dbogatov.org/home/metric/uptime/url"> <img alt="service uptime" src="https://status.dbogatov.org/health/uptime/url" /> </a> |
Where url is a ping server URL (see configuration) (eq. google.com
).