27 lines
861 B
HTML
27 lines
861 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>Prometheus Expression Browser</title>
|
|
<link type="text/css" rel="stylesheet" href="css/prometheus.css">
|
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
|
|
<script src="js/exprBrowser.js"></script>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="grouping_box">
|
|
<form action="/api/query" method="GET" id="queryForm">
|
|
<label for="expr">Expression:</label>
|
|
<input type="text" name="expr" id="expr" size="100">
|
|
<input type="checkbox" name="json" id="json" value="JSON"><label for="json">JSON</label>
|
|
<input type="submit" value="Evaluate">
|
|
</form>
|
|
</div>
|
|
<div class="grouping_box">
|
|
<pre>
|
|
<div id="result"></div>
|
|
</pre>
|
|
</div>
|
|
</body>
|
|
</html>
|