{% extends 'generic/object.html' %} {% load i18n %} {% block content %}
{% trans "Proxmox Metrics" %}: {{ object.name }}

{% trans "Queries are sent by NetBox to proxbox-api using the persisted source policy. The browser never connects to a provider and never receives credentials." %}

{{ form.time_start.as_field_group }}
{{ form.time_stop.as_field_group }}
{{ form.measurement.as_field_group }}
{{ form.field.as_field_group }}
{{ form.node.as_field_group }}
{{ form.vmid.as_field_group }}
{{ form.limit.as_field_group }}
{{ form.tag_key.as_field_group }}
{{ form.tag_value.as_field_group }}
{{ form.aggregation_every.as_field_group }}
{{ form.aggregation_function.as_field_group }}
{% trans "Back" %}
{% if detail %} {% endif %} {% if metrics %} {% if metrics.partial %} {% endif %}
{% trans "Query result" %} {{ object.get_source_mode_display }}
{% if metrics.conflict_count %}

{% blocktrans count count=metrics.conflict_count %}InfluxDB won {{ count }} conflicting sample.{% plural %}InfluxDB won {{ count }} conflicting samples.{% endblocktrans %}

{% endif %} {% if metrics.rows %}
{% for column in metrics.columns %}{% endfor %} {% for row in metrics.display_rows %} {% for value in row %}{% endfor %} {% endfor %}
{{ column }}
{{ value|default_if_none:"" }}
{% else %}

{% trans "No metrics matched the query." %}

{% endif %}
{% endif %} {% endblock %}