-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
63 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
paths-ignore: | ||
- assets/static |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>varnishmon</title><link rel="icon" href="/images/favicon.ico" type="image/x-icon"><script>const varnishmon={{.Config}}</script><script defer="defer" src="/app.js"></script><link href="/styles.css" rel="stylesheet"></head><body class="d-flex flex-column min-vh-100"><nav class="navbar navbar-expand-lg navbar-dark bg-dark sticky-top"><div class="container-fluid"><a class="navbar-brand" href="/">varnishmon</a><div class="d-flex ms-auto"><div class="me-4 align-self-center"><span class="navbar-text font-monospace text-white"><i class="fa-solid fa-computer"></i> {{.Hostname}}</span></div><div class="me-2"><div class="input-group"><span class="input-group-text"><i class="fas fa-calendar-alt"></i></span> <input id="range-from" class="form-control" placeholder="from"></div></div><div class="me-2 align-self-center text-light" id="range"><i class="fa-solid fa-arrow-right"></i></div><div class="me-2"><div class="input-group"><span class="input-group-text"><i class="fas fa-calendar-alt"></i></span> <input id="range-to" class="form-control" placeholder="to"></div></div><div class="me-4 align-self-center align-self-end"><button id="apply-time-range" class="btn btn-primary" title="Apply the selected time range"><i class="fa-solid fa-play"></i></button></div><div class="me-2"><select id="refresh-interval" class="form-select"></select></div><div class="align-self-center align-self-end"><button id="refresh" class="btn btn-primary" title="Trigger refresh now"><i class="fa-solid fa-sync"></i></button></div></div></div></nav><main class="flex-grow-1 d-flex flex-column"><div class="container-fluid py-md-4 flex-grow-1 d-flex flex-column"><div class="row mb-2"><div class="col-md-8"><label for="filter" class="form-label">Filter</label><div class="input-group"><span class="input-group-text"><i class="fa-solid fa-magnifying-glass"></i></span> <input id="filter" class="form-control" placeholder="type here to filter metrics by name"> <button class="btn border-secondary-subtle bg-body-tertiary dropdown-toggle" type="button" id="filterHistoryDropdown" data-bs-toggle="dropdown" aria-expanded="false"></button><ul class="dropdown-menu dropdown-menu-end w-100" aria-labelledby="filterHistoryDropdown" id="filterHistoryList"></ul></div></div><div class="col-md-1"><label for="verbosity" class="form-label">Verbosity</label><div class="input-group"><span class="input-group-text"><i class="fa-regular fa-comments"></i></span> <select id="verbosity" class="form-select"></select></div></div><div class="col-md-1"><label for="columns" class="form-label">Columns</label><div class="input-group"><span class="input-group-text"><i class="fa-solid fa-table-cells-large"></i></span> <select id="columns" class="form-select"></select></div></div><div class="col-md-1"><label for="aggregator" class="form-label">Aggregator</label><div class="input-group"><span class="input-group-text"><i class="fa-solid fa-filter"></i></span> <select id="aggregator" class="form-select"></select></div></div><div class="col-md-1"><label for="step" class="form-label">Step</label><div class="input-group"><span class="input-group-text"><i class="fa-solid fa-arrows-left-right-to-line"></i></span> <input type="number" id="step" class="form-control"></div></div></div><div class="row mb-2"><div class="col align-content-center text-muted" id="filter-stats"></div><div class="col text-end"><a class="btn btn-link" href="/metrics" role="button" title="View internal Prometheus metrics">internal metrics</a> | <button type="button" id="reset" class="btn btn-link" title="Discard saved state & reload">reset</button> | <button type="button" id="collapse-all" class="btn btn-link" title="Collapse all clusters">collapse</button> | <button type="button" id="expand-all" class="btn btn-link" title="Expand all clusters">expand</button></div></div><div id="clusters" class="accordion accordion-flush flex-grow-1 d-flex flex-column"></div></div></main><footer class="text-center mt-4"><i class="fa-solid fa-bolt"></i> Powered by <a href="https://github.com/allenta/varnishmon/">varnishmon</a> v{{.Version}} (<span class="font-monospace">{{.Revision}}</span>)</footer><div id="notifications" class="position-fixed bottom-0 end-0 p-3 d-grid gap-2"></div><template id="spinner-template"><div class="d-flex justify-content-center flex-grow-1 align-items-center"><div class="spinner-border fs-2 opacity-50" role="status"><span class="visually-hidden">Loading...</span></div></div></template><template id="metrics-meditation-template"><div class="d-flex flex-column text-center justify-content-center flex-grow-1"><h2 class="mt-4"><i class="fa-regular fa-face-sad-tear fa-3x"></i></h2><h2 class="mt-2">Metrics Meditation</h2><p class="mt-4 text-muted fs-5 w-25 mx-auto">Oops! Something went wrong while fetching metrics. Please, make sure <span class="font-monospace">varnishmon</span> is up and reachable</p></div></template><template id="cluster-template"><div class="cluster accordion-item"><div class="accordion-header"><button class="cluster-name accordion-button bg-light text-dark fs-5 border-0" type="button"></button></div><div class="accordion-collapse"><div class="charts row g-4 py-4"></div></div></div></template><template id="chart-template"><div class="chart col"><div class="card position-relative"><span class="loading-icon spinner-grow spinner-grow-sm text-secondary position-absolute top-0 m-2 z-1 d-none" role="status"><span class="visually-hidden">Loading...</span> </span><span class="error-icon text-danger position-absolute top-0 end-0 m-2 z-1 d-none"><i class="fas fa-exclamation-circle"></i></span><div class="card-body"><div class="graph" style="height:300px"></div></div><span class="step-factor text-secondary text-opacity-25 position-absolute bottom-0 end-0 me-2 mb-1 z-1 small" title="Effective step factor"></span></div></div></template><template id="notification-template"><div class="toast align-items-center border-0" role="alert" aria-live="assertive" aria-atomic="true"><div class="d-flex"><div class="toast-body"></div><button type="button" class="btn-close me-2 m-auto" data-bs-dismiss="toast" aria-label="Close"></button></div></div></template></body></html> | ||
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>varnishmon</title><link rel="icon" href="/images/favicon.ico" type="image/x-icon"><script>const varnishmon={{.Config}}</script><script defer="defer" src="/app.js"></script><link href="/styles.css" rel="stylesheet"></head><body class="d-flex flex-column min-vh-100"><nav class="navbar navbar-expand-lg navbar-dark bg-dark sticky-top"><div class="container-fluid"><a class="navbar-brand" href="/">varnishmon</a><div class="d-flex ms-auto"><div class="me-4 align-self-center"><span class="navbar-text font-monospace text-white"><i class="fa-solid fa-computer"></i> {{.Hostname}}</span></div><div class="me-2"><div class="input-group"><span class="input-group-text"><i class="fas fa-calendar-alt"></i></span> <input id="range-from" class="form-control" placeholder="from"></div></div><div class="me-2 align-self-center text-light" id="range"><i class="fa-solid fa-arrow-right"></i></div><div class="me-2"><div class="input-group"><span class="input-group-text"><i class="fas fa-calendar-alt"></i></span> <input id="range-to" class="form-control" placeholder="to"></div></div><div class="me-4 align-self-center align-self-end"><button id="apply-time-range" class="btn btn-primary" title="Apply the selected time range"><i class="fa-solid fa-play"></i></button></div><div class="me-2"><select id="refresh-interval" class="form-select"></select></div><div class="align-self-center align-self-end"><button id="refresh" class="btn btn-primary" title="Trigger refresh now"><i class="fa-solid fa-sync"></i></button></div></div></div></nav><main class="flex-grow-1 d-flex flex-column"><div class="container-fluid py-md-4 flex-grow-1 d-flex flex-column"><div class="row mb-2"><div class="col-md-8"><label for="filter" class="form-label">Filter</label><div class="input-group"><span class="input-group-text"><i class="fa-solid fa-magnifying-glass"></i></span> <input id="filter" class="form-control" placeholder="type here to filter metrics by name"> <button class="btn border-secondary-subtle bg-body-tertiary dropdown-toggle" type="button" id="filterHistoryDropdown" data-bs-toggle="dropdown" aria-expanded="false"></button><ul class="dropdown-menu dropdown-menu-end w-100" aria-labelledby="filterHistoryDropdown" id="filterHistoryList"></ul></div></div><div class="col-md-1"><label for="verbosity" class="form-label">Verbosity</label><div class="input-group"><span class="input-group-text"><i class="fa-regular fa-comments"></i></span> <select id="verbosity" class="form-select"></select></div></div><div class="col-md-1"><label for="columns" class="form-label">Columns</label><div class="input-group"><span class="input-group-text"><i class="fa-solid fa-table-cells-large"></i></span> <select id="columns" class="form-select"></select></div></div><div class="col-md-1"><label for="aggregator" class="form-label">Aggregator</label><div class="input-group"><span class="input-group-text"><i class="fa-solid fa-filter"></i></span> <select id="aggregator" class="form-select"></select></div></div><div class="col-md-1"><label for="step" class="form-label">Step</label><div class="input-group"><span class="input-group-text"><i class="fa-solid fa-arrows-left-right-to-line"></i></span> <input type="number" id="step" class="form-control"></div></div></div><div class="row mb-2"><div class="col align-content-center text-muted" id="filter-stats"></div><div class="col text-end"><a class="btn btn-link" href="/metrics" role="button" title="View internal Prometheus metrics">internal metrics</a> | <button type="button" id="reset" class="btn btn-link" title="Discard saved state & reload">reset</button> | <button type="button" id="collapse-all" class="btn btn-link" title="Collapse all clusters">collapse</button> | <button type="button" id="expand-all" class="btn btn-link" title="Expand all clusters">expand</button></div></div><div id="clusters" class="accordion accordion-flush flex-grow-1 d-flex flex-column"></div></div></main><footer class="text-center mt-4"><i class="fa-solid fa-bolt"></i> Powered by <a href="https://github.com/allenta/varnishmon/">varnishmon</a> v{{.Version}} (<span class="font-monospace">{{.Revision}}</span>)</footer><div id="notifications" class="position-fixed bottom-0 end-0 p-3 d-grid gap-2"></div><template id="spinner-template"><div class="d-flex justify-content-center flex-grow-1 align-items-center"><div class="spinner-border fs-2 opacity-50" role="status"><span class="visually-hidden">Loading...</span></div></div></template><template id="metrics-meditation-template"><div class="d-flex flex-column text-center justify-content-center flex-grow-1"><h2 class="mt-4"><i class="fa-regular fa-face-sad-tear fa-3x"></i></h2><h2 class="mt-2">Metrics Meditation</h2><p class="mt-4 text-muted fs-5 w-25 mx-auto">Oops! Something went wrong while fetching metrics. Please, make sure <span class="font-monospace">varnishmon</span> is up and reachable</p></div></template><template id="cluster-template"><div class="cluster accordion-item"><div class="accordion-header"><button class="cluster-name accordion-button bg-light text-dark fs-5 border-0 font-monospace" type="button"></button></div><div class="accordion-collapse"><div class="charts row g-4 py-4"></div></div></div></template><template id="chart-template"><div class="chart col"><div class="card position-relative"><span class="loading-icon spinner-grow spinner-grow-sm text-secondary position-absolute top-0 m-2 z-1 d-none" role="status"><span class="visually-hidden">Loading...</span> </span><span class="error-icon text-danger position-absolute top-0 end-0 m-2 z-1 d-none"><i class="fas fa-exclamation-circle"></i></span><div class="card-body"><div class="graph" style="height:300px"></div></div><span class="step-factor text-secondary text-opacity-25 position-absolute bottom-0 end-0 me-2 mb-1 z-1 small" title="Effective step factor"></span></div></div></template><template id="notification-template"><div class="toast align-items-center border-0" role="alert" aria-live="assertive" aria-atomic="true"><div class="d-flex"><div class="toast-body"></div><button type="button" class="btn-close me-2 m-auto" data-bs-dismiss="toast" aria-label="Close"></button></div></div></template></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters