Merge "Fix load plugin dimension"
This commit is contained in:
commit
c2b9008230
|
@ -5,3 +5,6 @@ init_config:
|
|||
instances:
|
||||
# Load check only supports one configured instance
|
||||
- name: load_stats
|
||||
# (optional) Additional dimensions to dimensions each metric with
|
||||
# dimensions:
|
||||
# dim1: value1
|
||||
|
|
|
@ -49,8 +49,6 @@ class Load(checks.AgentCheck):
|
|||
# Split out the 3 load average values
|
||||
load = [res.replace(',', '.') for res in re.findall(r'([0-9]+[\.,]\d+)', uptime)]
|
||||
|
||||
dimensions = self._set_dimensions(None)
|
||||
|
||||
#
|
||||
# Normalize the load averages by number of cores
|
||||
# so the metric is useful for alarming across
|
||||
|
|
Loading…
Reference in New Issue