Skip to content

Commit

Permalink
Fix mistake: miliseconds -> milliseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolaev-rd authored Sep 28, 2019
1 parent 9016ca4 commit 0327e67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions collector/beat.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func NewBeatCollector(beatInfo *BeatInfo, stats *Stats) prometheus.Collector {
metrics: exportedMetrics{
{
desc: prometheus.NewDesc(
prometheus.BuildFQName(beatInfo.Beat, "cpu_time", "miliseconds"),
prometheus.BuildFQName(beatInfo.Beat, "cpu_time", "milliseconds"),
"beat.cpu.time",
nil, prometheus.Labels{"mode": "system"},
),
Expand All @@ -61,7 +61,7 @@ func NewBeatCollector(beatInfo *BeatInfo, stats *Stats) prometheus.Collector {
},
{
desc: prometheus.NewDesc(
prometheus.BuildFQName(beatInfo.Beat, "cpu_time", "miliseconds"),
prometheus.BuildFQName(beatInfo.Beat, "cpu_time", "milliseconds"),
"beat.cpu.time",
nil, prometheus.Labels{"mode": "user"},
),
Expand All @@ -70,7 +70,7 @@ func NewBeatCollector(beatInfo *BeatInfo, stats *Stats) prometheus.Collector {
},
{
desc: prometheus.NewDesc(
prometheus.BuildFQName(beatInfo.Beat, "cpu_time", "miliseconds"),
prometheus.BuildFQName(beatInfo.Beat, "cpu_time", "milliseconds"),
"beat.cpu.time",
nil, prometheus.Labels{"mode": "total"},
),
Expand Down

0 comments on commit 0327e67

Please sign in to comment.