Skip to content

Commit 0143e48

Browse files
authored
Merge pull request #43 from chrroberts-pure/make-conv-doc
Create Semantic Conventions documentation for FlashBlade OME
2 parents 66e5b9a + dfe45eb commit 0143e48

File tree

2 files changed

+121
-5
lines changed

2 files changed

+121
-5
lines changed

internal/openmetrics-exporter/buckets_perf_collector.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
package collectors
22

33
import (
4+
client "purestorage/fb-openmetrics-exporter/internal/rest-client"
5+
46
"github.com/prometheus/client_golang/prometheus"
5-
"purestorage/fb-openmetrics-exporter/internal/rest-client"
67
)
78

89
type BucketsPerfCollector struct {
@@ -99,25 +100,25 @@ func NewBucketsPerfCollector(fb *client.FBClient,
99100
return &BucketsPerfCollector{
100101
LatencyDesc: prometheus.NewDesc(
101102
"purefb_buckets_performance_latency_usec",
102-
"FlashBlade buckets latency",
103+
"FlashBlade buckets latency in microseconds",
103104
[]string{"name", "dimension"},
104105
prometheus.Labels{},
105106
),
106107
ThroughputDesc: prometheus.NewDesc(
107108
"purefb_buckets_performance_throughput_iops",
108-
"FlashBlade buckets throughput",
109+
"FlashBlade buckets throughput in operations per second",
109110
[]string{"name", "dimension"},
110111
prometheus.Labels{},
111112
),
112113
BandwidthDesc: prometheus.NewDesc(
113114
"purefb_buckets_performance_bandwidth_bytes",
114-
"FlashBlade buckets bandwidth",
115+
"FlashBlade buckets bandwidth in bytes per second",
115116
[]string{"name", "dimension"},
116117
prometheus.Labels{},
117118
),
118119
AverageSizeDesc: prometheus.NewDesc(
119120
"purefb_buckets_performance_average_bytes",
120-
"FlashBlade buckets average operations size",
121+
"FlashBlade buckets average operations size in bytes",
121122
[]string{"name", "dimension"},
122123
prometheus.Labels{},
123124
),

0 commit comments

Comments
 (0)