1.7.30. 指标丢弃 (上移)
1.7.30.1. 方法
1.7.30.1.1. 错误
如果在提交失败后呈现此模型,这将返回发生的错误。
{{ metric.errors.name | inline_errors }}
1.7.30.1.2. unit
返回指标的单元
This metric is measured in {{ metric.unit | pluralize }}
1.7.30.1.3. description
返回指标的描述
1.7.30.1.4. name
返回指标的名称
<h4>Metric {{ metric.name }}</h4> <p>{{ metric.description }}</p>
1.7.30.1.5. system_name
返回此指标的系统名称
<h4>Metric {{ metric.name }}</h4> <p>{{ metric.system_name }}</p>
1.7.30.1.6. usage_limits
返回指标用量限值
{% if metric.usage_limits.size > 0 %} <p>Usage limits of the metric</p> <ul> {% for usage_limit in metric.usage_limits %} <li>{{ usage_limit.period }} : {{ usage_limit.value }}</li> {% endfor %} </ul> {% else %} <p>This metric has no usage limits</p> {% endif %}
1.7.30.1.7. pricing_rules
返回指标的定价规则
{% if metric.pricing_rules.size > 0 %} <p>Pricing rules of the metric</p> <ul> {% for pricing_rule in metric.pricing_rules %} <li>{{ pricing_rule.cost_per_unit }}</li> {% endfor %} </ul> {% else %} <p>This metric has no pricing rules</p> {% endif %}