Schema names fix

Signed-off-by: bpopovschi <zyqsempai@mail.ru>
This commit is contained in:
bpopovschi 2019-12-16 19:28:42 +02:00
parent 6bfb24824b
commit f287bc2292

View File

@ -91,8 +91,8 @@ var memoryMetrics = []*metric{
}, },
{ {
name: "memory_mapped_file", name: "memory_file_mapped",
help: "The mapped_file amount used", help: "The file_mapped amount",
unit: metrics.Bytes, unit: metrics.Bytes,
vt: prometheus.GaugeValue, vt: prometheus.GaugeValue,
getValues: func(stats *v2.Metrics) []value { getValues: func(stats *v2.Metrics) []value {
@ -107,8 +107,8 @@ var memoryMetrics = []*metric{
}, },
}, },
{ {
name: "memory_dirty_file", name: "memory_file_dirty",
help: "The dirty file amount", help: "The file_dirty amount",
unit: metrics.Bytes, unit: metrics.Bytes,
vt: prometheus.GaugeValue, vt: prometheus.GaugeValue,
getValues: func(stats *v2.Metrics) []value { getValues: func(stats *v2.Metrics) []value {