fix prometheus cadvisor storage

This commit is contained in:
Colin Gagnaire 2019-07-23 15:54:43 +02:00
parent c9fbce7a78
commit 381abd5f3e
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ sub custom_usage_perfdata {
value => $value_perf,
warning => $self->{perfdata}->get_perfdata_for_output(label => 'warning-' . $self->{thlabel}, %total_options),
critical => $self->{perfdata}->get_perfdata_for_output(label => 'critical-' . $self->{thlabel}, %total_options),
min => 0, max => $self->{result_values}->{total}
min => 0, max => $self->{result_values}->{total},
instances => $self->use_instances(extra_instance => $options{extra_instance}) ? $self->{result_values}->{display} : undef,
);
}