Moved prometheus monitoring into flask blueprint

This commit is contained in:
Bob Belnap
2022-09-05 15:04:35 -04:00
committed by Alok Saldanha
parent d5008893f7
commit 0f79e1a010
16 changed files with 339 additions and 293 deletions
@@ -61,7 +61,7 @@
<td>
{% if entry.status.name == 'loaded' %}
<a
href="{{ url_for('do_terminate', path=entry.key.descriptor, source_name=entry.key.source_name) }}">
href="{{ url_for('gateway_blueprint.do_terminate', path=entry.key.descriptor, source_name=entry.key.source_name) }}">
terminate </a>
{% endif %}
</td>
@@ -28,11 +28,11 @@
<h4>{{ message }}</h4>
<a href="{{ url_for('filecrawl') }}">
<a href="{{ url_for('gateway_blueprint.filecrawl') }}">
Please click here to be redirected to the file directory.
</a>
<br>
<a href="{{ url_for('index') }}">
<a href="{{ url_for('gateway_blueprint.index') }}">
Please click here to return to the homepage.
</a>
</div>
+2 -2
View File
@@ -36,10 +36,10 @@
Navigation:
<ul>
{% if path %}
<li><a href="{{ url_for('filecrawl') }}">top level</a></li>
<li><a href="{{ url_for('gateway_blueprint.filecrawl') }}">top level</a></li>
{% else %}
{% endif %}
<li><a href="{{ url_for('index') }}">homepage</a></li>
<li><a href="{{ url_for('gateway_blueprint.index') }}">homepage</a></li>
</ul>
</p>
<script>
+2 -2
View File
@@ -35,12 +35,12 @@
Links:
</h1>
<div class="list-group" style="width:50%;padding-left:65px">
<a href="{{ url_for('filecrawl') }}" class="list-group-item list-group-item-action">
<a href="{{ url_for('gateway_blueprint.filecrawl') }}" class="list-group-item list-group-item-action">
<u>File Crawler: Allows you to view all uploaded data.</u></a>
</div>
<div class="list-group" style="width:50%;padding-left:65px">
<a href="{{ url_for('do_GET_status') }}" class="list-group-item list-group-item-action">
<a href="{{ url_for('gateway_blueprint.do_GET_status') }}" class="list-group-item list-group-item-action">
<u>Cache Status: view status of launched cellxgene servers.</u></a>
</div>
+2 -2
View File
@@ -35,11 +35,11 @@
The page will refresh shortly.
</p>
<a href="{{ url_for('filecrawl') }}">
<a href="{{ url_for('gateway_blueprint.filecrawl') }}">
Please click here to be redirected to the file directory.
</a>
<br>
<a href="{{ url_for('index') }}">
<a href="{{ url_for('gateway_blueprint.index') }}">
Please click here to return to the homepage.
</a>
</div>
@@ -39,10 +39,10 @@
<li><a href="{{ relaunch_url }}">
Attempt to relaunch the cellxgene server.
</a></li>
<li><a href="{{ url_for('filecrawl') }}">
<li><a href="{{ url_for('gateway_blueprint.filecrawl') }}">
Return to the file directory.
</a></li>
<li><a href="{{ url_for('index') }}">
<li><a href="{{ url_for('gateway_blueprint.index') }}">
Return to the homepage.
</a></li>
</ul>