{% extends "base.html" %}
{% block title %}Litestream status{% endblock %}
{% block extra_head %}
{% endblock %}
{% block content %}
Litestream Status
PID: {{process.get("pid")}}
status: {{process.get("status")}}
litestream.yaml
Config
{{ litestream_config }}
Logs
{{ logs }}
{% if not metrics_enabled %}
WARNING: metrics-addr was not defined, so no litestream metrics are available.
{% else %}
Metrics
Goroutines: {{ go_stats.get("go_goroutines") }}
Go threads: {{ go_stats.get("go_threads") }}
{% if replica_operations.get("bytes") | length > 0 %}
Replica operation bytes
Operation |
Replica Type |
Bytes |
{% for row in replica_operations.get("bytes") %}
{{ row.get("operation") }} |
{{ row.get("replica_type") }} |
{{ row.get("value") }} |
{% endfor %}
{% endif %}
{% if replica_operations.get("total") | length > 0 %}
Replica total operations
Operation |
Replica Type |
Number of operations |
{% for row in replica_operations.get("total") %}
{{ row.get("operation") }} |
{{ row.get("replica_type") }} |
{{ row.get("value") }} |
{% endfor %}
{% endif %}
{% for db, metrics in metrics_by_db.items() %}
{{ db }}
Key |
Value |
{% for key, value in metrics.items() %}
{{ key }} |
{{ value }} |
{% endfor %}
{% endfor %}
{% endif %}
{% endblock %}