Skip to content
Snippets Groups Projects
Commit 163559ba authored by Ericon Freeman's avatar Ericon Freeman Committed by Oliver
Browse files

change format for gofmt

parent b5453069
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -75,7 +75,7 @@ var (
"used_memory_rss": "memory_used_rss_bytes",
"used_memory_peak": "memory_used_peak_bytes",
"used_memory_lua": "memory_used_lua_bytes",
"total_system_memory": "total_system_memory_bytes",
"total_system_memory": "total_system_memory_bytes",
"maxmemory": "memory_max_bytes",
"mem_fragmentation_ratio": "memory_fragmentation_ratio",
 
Loading
Loading
@@ -201,10 +201,10 @@ func (e *Exporter) initGauges() {
Help: "Total slowlog",
}, []string{"addr", "alias"})
e.metrics["total_system_memory"] = prometheus.NewGaugeVec(prometheus.GaugeOpts{
Namespace: e.namespace,
Name: "total_system_memory",
Help: "Total System Memory in this host",
} , []string{"addr" , "alias"})
Namespace: e.namespace,
Name: "total_system_memory",
Help: "Total System Memory in this host",
}, []string{"addr", "alias"})
}
 
// splitKeyArgs splits a command-line supplied argument into a slice of dbKeyPairs.
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment