diff --git a/README.md b/README.md index 2b36b7a..6b953a5 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,11 @@ directly using [Go][golang] or [GoReleaser][goreleaser]. ## Example metrics ``` -lvm_pv_info{pv_fmt="lvm2",pv_name="/dev/sda1",pv_uuid="yc1zVe-…"} 1 -lvm_pv_info{pv_fmt="lvm2",pv_name="/dev/sdb1",pv_uuid="WVIH97-…"} 1 +lvm_pv_info{pv_name="/dev/sda1",pv_uuid="yc1zVe-…"} 1 +lvm_pv_info{pv_name="/dev/sdb1",pv_uuid="WVIH97-…"} 1 + +lvm_pv_fmt{pv_fmt="lvm2",pv_uuid="yc1zVe-…"} 1 +lvm_pv_fmt{pv_fmt="lvm2",pv_uuid="WVIH97-…"} 1 lvm_pv_free_bytes{pv_uuid="WVIH97-…"} 9.14358272e+08 lvm_pv_free_bytes{pv_uuid="yc1zVe-…"} 1.040187392e+09 diff --git a/collector.go b/collector.go index 36cdf3c..ba443d7 100644 --- a/collector.go +++ b/collector.go @@ -25,22 +25,22 @@ func newEmptyCollector() *collector { } } -func newCollector() *collector { +func newCollector(enableLegacyInfoLabels bool) *collector { c := newEmptyCollector() for _, i := range allGroups { - c.gc = append(c.gc, newGroupCollector(i)) + c.gc = append(c.gc, newGroupCollector(enableLegacyInfoLabels, i)) } return c } -func newCommandCollector(args []string) *collector { +func newCommandCollector(enableLegacyInfoLabels bool, args []string) *collector { cmd := lvmreport.NewCommand(args) var sfg singleflight.Group - c := newCollector() + c := newCollector(enableLegacyInfoLabels) c.load = func(ctx context.Context) (*lvmreport.ReportData, error) { // Avoid concurrent invocations data, err, _ := sfg.Do("", func() (interface{}, error) { diff --git a/collector_test.go b/collector_test.go index d913816..9eb7a96 100644 --- a/collector_test.go +++ b/collector_test.go @@ -6,6 +6,7 @@ import ( "fmt" "io" "log" + "strconv" "testing" "github.com/hansmi/prometheus-lvm-exporter/lvmreport" @@ -72,13 +73,23 @@ func TestCollector(t *testing.T) { {name: "issue30-lockargs"}, } { t.Run(tc.name, func(t *testing.T) { - c := newCollector() - c.load = func(ctx context.Context) (*lvmreport.ReportData, error) { - return lvmreport.FromFile(fmt.Sprintf("testdata/%s.json", tc.name)) + for _, enableLegacyInfoLabels := range []bool{false, true} { + expectedName := tc.name + + if enableLegacyInfoLabels { + expectedName += "-legacy" + } + + t.Run(strconv.FormatBool(enableLegacyInfoLabels), func(t *testing.T) { + c := newCollector(enableLegacyInfoLabels) + c.load = func(ctx context.Context) (*lvmreport.ReportData, error) { + return lvmreport.FromFile(fmt.Sprintf("testdata/%s.json", tc.name)) + } + + g := goldie.New(t) + g.Assert(t, expectedName, gatherAndFormat(t, c)) + }) } - - g := goldie.New(t) - g.Assert(t, tc.name, gatherAndFormat(t, c)) }) } } diff --git a/descriptor.go b/descriptor.go deleted file mode 100644 index 2d52d68..0000000 --- a/descriptor.go +++ /dev/null @@ -1,10 +0,0 @@ -package main - -type descriptor struct { - fieldName string - - desc string - - metricName string - metricValue metricValueFunc -} diff --git a/field.go b/field.go new file mode 100644 index 0000000..a176fec --- /dev/null +++ b/field.go @@ -0,0 +1,71 @@ +package main + +import "strconv" + +type metricValueFunc func(string) (float64, error) + +func fromNumeric(value string) (float64, error) { + return strconv.ParseFloat(value, 64) +} + +type fieldFlag uint + +const ( + // Whether the field should be included as a label on an info metric. + asInfoLabel fieldFlag = 1 << iota +) + +type field interface { + Name() string + MetricName() string + Help() string +} + +// textField is an LVM report field whose value can not be made numeric, e.g. +// a device name or path. +type textField struct { + fieldName string + desc string + + flags fieldFlag + + metricName string +} + +var _ field = (*textField)(nil) + +func (f *textField) Name() string { + return f.fieldName +} + +func (f *textField) MetricName() string { + return f.metricName +} + +func (f *textField) Help() string { + return f.desc +} + +// numericField is an LVM report field whose value is numeric or can be +// converted to a number. +type numericField struct { + fieldName string + desc string + + metricName string + metricValue metricValueFunc +} + +var _ field = (*numericField)(nil) + +func (f *numericField) Name() string { + return f.fieldName +} + +func (f *numericField) MetricName() string { + return f.metricName +} + +func (f *numericField) Help() string { + return f.desc +} diff --git a/go.mod b/go.mod index e7a3e65..b348dca 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/hansmi/prometheus-lvm-exporter -go 1.22 +go 1.22.0 toolchain go1.22.7 @@ -33,6 +33,7 @@ require ( github.com/sergi/go-diff v1.2.0 // indirect github.com/xhit/go-str2duration/v2 v2.1.0 // indirect golang.org/x/crypto v0.28.0 // indirect + golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f // indirect golang.org/x/net v0.29.0 // indirect golang.org/x/oauth2 v0.23.0 // indirect golang.org/x/sys v0.26.0 // indirect diff --git a/go.sum b/go.sum index d944a25..a7350a5 100644 --- a/go.sum +++ b/go.sum @@ -66,6 +66,8 @@ github.com/xhit/go-str2duration/v2 v2.1.0 h1:lxklc02Drh6ynqX+DdPyp5pCKLUQpRT8bp8 github.com/xhit/go-str2duration/v2 v2.1.0/go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU= golang.org/x/crypto v0.28.0 h1:GBDwsMXVQi34v5CCYUm2jkJvu4cbtru2U4TN2PSyQnw= golang.org/x/crypto v0.28.0/go.mod h1:rmgy+3RHxRZMyY0jjAJShp2zgEdOqj2AO7U0pYmeQ7U= +golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f h1:XdNn9LlyWAhLVp6P/i8QYBW+hlyhrhei9uErw2B5GJo= +golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f/go.mod h1:D5SMRVC3C2/4+F/DB1wZsLRnSNimn2Sp/NPsCrsv8ak= golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo= golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0= golang.org/x/oauth2 v0.23.0 h1:PbgcYx2W7i4LvjJWEbf0ngHV6qJYr86PkAV3bXdLEbs= diff --git a/group.go b/group.go index 5b36030..48b8d36 100644 --- a/group.go +++ b/group.go @@ -1,8 +1,6 @@ package main import ( - "slices" - "github.com/hansmi/prometheus-lvm-exporter/lvmreport" ) @@ -11,26 +9,14 @@ type group struct { infoMetricName string - keyFields []*descriptor - infoFields []*descriptor - metricFields []*descriptor -} - -func (r *group) allDescriptors() []*descriptor { - d := slices.Clone(r.keyFields) - d = append(d, r.infoFields...) - d = append(d, r.metricFields...) - return d -} - -func (r *group) fieldNames() []string { - var names []string + // Fields applied to all metrics from the group. + keyFields []*textField - for _, d := range r.allDescriptors() { - names = append(names, d.fieldName) - } + // Non-numeric fields, e.g. a device path. + textFields []*textField - return names + // Numeric fields, either directly or after conversion. + numericFields []*numericField } var allGroups = []*group{pvGroup, vgGroup, lvGroup} diff --git a/group_test.go b/group_test.go index f050e2c..e97a10a 100644 --- a/group_test.go +++ b/group_test.go @@ -4,11 +4,11 @@ import ( "fmt" "regexp" "slices" + "sort" "strings" "testing" "github.com/google/go-cmp/cmp" - "github.com/google/go-cmp/cmp/cmpopts" ) var spaceRe = regexp.MustCompile(`\s+`) @@ -22,122 +22,75 @@ func checkLowerSnake(t *testing.T, name, value string) { } } -func TestGroupFieldNames(t *testing.T) { - for _, tc := range []struct { - name string - input *group - want []string - }{ - { - name: "empty", - input: &group{}, - }, - { - name: "one each", - input: &group{ - keyFields: []*descriptor{ - {fieldName: "keyField"}, - }, - infoFields: []*descriptor{ - {fieldName: "infoField"}, - }, - metricFields: []*descriptor{ - {fieldName: "metricField"}, - }, - }, - want: []string{"keyField", "infoField", "metricField"}, - }, - } { - t.Run(tc.name, func(t *testing.T) { - got := tc.input.fieldNames() - - if diff := cmp.Diff(got, tc.want, cmpopts.EquateEmpty()); diff != "" { - t.Errorf("fieldNames() difference (-got +want):\n%s", diff) - } - }) - } -} - -func checkSingleDescriptor(t *testing.T, g *group, d *descriptor) { +func checkSingleField(t *testing.T, g *group, f field) { t.Helper() - checkLowerSnake(t, "fieldName", d.fieldName) - checkLowerSnake(t, "metricName", d.metricName) + checkLowerSnake(t, "Name", f.Name()) + checkLowerSnake(t, "MetricName", f.MetricName()) - if wantPrefix := fmt.Sprintf("%s_", g.name); !strings.HasPrefix(d.metricName, wantPrefix) { - t.Errorf("metricName %q must start with %q", d.metricName, wantPrefix) - } else if strings.HasPrefix(d.metricName, wantPrefix+wantPrefix) { - t.Errorf("metricName %q has double %q prefix", d.metricName, wantPrefix) + if wantPrefix := fmt.Sprintf("%s_", g.name); !strings.HasPrefix(f.MetricName(), wantPrefix) { + t.Errorf("Metric name %q must start with %q", f.MetricName(), wantPrefix) + } else if strings.HasPrefix(f.MetricName(), wantPrefix+wantPrefix) { + t.Errorf("Metric name %q has double %q prefix", f.MetricName(), wantPrefix) } - wantDesc := spaceRe.ReplaceAllLiteralString(d.desc, " ") - wantDesc = strings.TrimSpace(wantDesc) - wantDesc = strings.TrimSuffix(wantDesc, ".") + wantHelp := spaceRe.ReplaceAllLiteralString(f.Help(), " ") + wantHelp = strings.TrimSpace(wantHelp) + wantHelp = strings.TrimSuffix(wantHelp, ".") - if diff := cmp.Diff(d.desc, wantDesc); diff != "" { - t.Errorf("Description not normalized (-got +want):\n%s", diff) + if diff := cmp.Diff(f.Help(), wantHelp); diff != "" { + t.Errorf("Help text not normalized (-got +want):\n%s", diff) } } -func checkReportFields(t *testing.T, g *group, fields []*descriptor) { +func checkGroupFields[T field](t *testing.T, g *group, add func(*testing.T, field), fields []T) { t.Helper() - sortedFields := slices.Clone(fields) + var names []string - slices.SortFunc(sortedFields, func(a, b *descriptor) int { - return strings.Compare(a.fieldName, b.fieldName) - }) + for idx, f := range fields { + names = append(names, f.Name()) - if diff := cmp.Diff(fields, sortedFields, cmp.AllowUnexported(descriptor{}), cmpopts.IgnoreTypes(metricValueFunc(nil))); diff != "" { - t.Errorf("descriptors not sorted (-got +want):\n%s", diff) + t.Run(fmt.Sprintf("%d:%s", idx, f.Name()), func(t *testing.T) { + add(t, f) + checkSingleField(t, g, f) + }) } - for idx, d := range fields { - t.Run(fmt.Sprintf("%d:%s", idx, d.fieldName), func(t *testing.T) { - checkSingleDescriptor(t, g, d) - }) + sortedNames := slices.Clone(names) + + sort.Strings(sortedNames) + + if diff := cmp.Diff(names, sortedNames); diff != "" { + t.Errorf("Fields not sorted (-got +want):\n%s", diff) } } -func checkReportDescriptors(t *testing.T, g *group) { +func checkGroup(t *testing.T, g *group) { t.Helper() - fieldNames := []string{} fieldNameMap := map[string]struct{}{} metricNameMap := map[string]struct{}{} - for _, tc := range []struct { - name string - fields []*descriptor - }{ - {"key", g.keyFields}, - {"info", g.infoFields}, - {"metric", g.metricFields}, - } { - t.Run(tc.name, func(t *testing.T) { - checkReportFields(t, g, tc.fields) - }) - - for _, d := range tc.fields { - if _, ok := fieldNameMap[d.fieldName]; ok { - t.Errorf("Duplicate field name %q", d.fieldName) - } + checkLowerSnake(t, "infoMetricName", g.infoMetricName) + metricNameMap[g.infoMetricName] = struct{}{} - if _, ok := metricNameMap[d.metricName]; ok { - t.Errorf("Duplicate metric name %q", d.metricName) - } + process := func(t *testing.T, f field) { + if _, ok := fieldNameMap[f.Name()]; ok { + t.Errorf("Duplicate field name %q", f.Name()) + } - fieldNames = append(fieldNames, d.fieldName) - fieldNameMap[d.fieldName] = struct{}{} - metricNameMap[d.metricName] = struct{}{} + if _, ok := metricNameMap[f.MetricName()]; ok { + t.Errorf("Duplicate metric name %q", f.MetricName()) } - } - if diff := cmp.Diff(g.fieldNames(), fieldNames, cmpopts.SortSlices(func(a, b string) bool { - return a < b - })); diff != "" { - t.Errorf("fieldNames() difference (-got +want):\n%s", diff) + fieldNameMap[f.Name()] = struct{}{} + metricNameMap[f.MetricName()] = struct{}{} } + + checkGroupFields(t, g, process, g.keyFields) + checkGroupFields(t, g, process, g.textFields) + checkGroupFields(t, g, process, g.numericFields) } func TestGroupValidation(t *testing.T) { @@ -146,11 +99,10 @@ func TestGroupValidation(t *testing.T) { for _, g := range allGroups { t.Run(g.name.String(), func(t *testing.T) { if !kindRe.MatchString(g.name.String()) { - t.Errorf("report kind is %q, want match for %q", g.name.String(), kindRe.String()) + t.Errorf("Group kind is %q, want match for %q", g.name.String(), kindRe.String()) } - checkLowerSnake(t, "infoMetricName", g.infoMetricName) - checkReportDescriptors(t, g) + checkGroup(t, g) }) } } diff --git a/groupcollector.go b/groupcollector.go index df3f9f7..b4b3808 100644 --- a/groupcollector.go +++ b/groupcollector.go @@ -8,21 +8,16 @@ import ( "github.com/hansmi/prometheus-lvm-exporter/lvmreport" "github.com/prometheus/client_golang/prometheus" + "golang.org/x/exp/maps" ) type groupField struct { - fieldDesc *descriptor + convert metricValueFunc metricDesc *prometheus.Desc } func (f *groupField) collect(ch chan<- prometheus.Metric, rawValue string, keyValues []string) error { - fn := f.fieldDesc.metricValue - - if fn == nil { - fn = fromNumeric - } - - value, err := fn(rawValue) + value, err := f.convert(rawValue) if err != nil { return err } @@ -32,53 +27,88 @@ func (f *groupField) collect(ch chan<- prometheus.Metric, rawValue string, keyVa return nil } +type groupTextField struct { + metricDesc *prometheus.Desc +} + +func (f *groupTextField) collect(ch chan<- prometheus.Metric, rawValue string, keyValues []string) error { + labels := defaultStringSlicePool.get() + defer defaultStringSlicePool.put(labels) + + labels = append(labels, keyValues...) + labels = append(labels, rawValue) + + ch <- prometheus.MustNewConstMetric(f.metricDesc, prometheus.GaugeValue, 1, labels...) + + return nil +} + type groupCollector struct { name lvmreport.GroupName infoDesc *prometheus.Desc unknownDesc *prometheus.Desc - keyFields []string - infoFields []string - metricFields map[string]*groupField - knownFields map[string]struct{} + keyFields []string + textFields map[string]*groupTextField + numericFields map[string]*groupField + infoLabelFields []string + knownFields map[string]struct{} } -func newGroupCollector(g *group) *groupCollector { +func newGroupCollector(enableLegacyInfoLabels bool, g *group) *groupCollector { c := &groupCollector{ - name: g.name, - unknownDesc: prometheus.NewDesc("unknown_field_count", "Fields reported by LVM not recognized by exporter", []string{"group", "details"}, nil), - metricFields: map[string]*groupField{}, - knownFields: map[string]struct{}{}, + name: g.name, + unknownDesc: prometheus.NewDesc("unknown_field_count", "Fields reported by LVM not recognized by exporter", []string{"group", "details"}, nil), + textFields: map[string]*groupTextField{}, + numericFields: map[string]*groupField{}, + knownFields: map[string]struct{}{}, } var keyLabelNames []string - for _, d := range g.keyFields { - c.keyFields = append(c.keyFields, d.fieldName) - keyLabelNames = append(keyLabelNames, d.metricName) + for _, f := range g.keyFields { + c.keyFields = append(c.keyFields, f.fieldName) + c.knownFields[f.fieldName] = struct{}{} + keyLabelNames = append(keyLabelNames, f.metricName) } - infoLabelNames := slices.Clone(keyLabelNames) + for _, f := range g.textFields { + c.knownFields[f.fieldName] = struct{}{} - for _, d := range g.infoFields { - c.infoFields = append(c.infoFields, d.fieldName) - infoLabelNames = append(infoLabelNames, d.metricName) - } + if f.flags&asInfoLabel == 0 { + textLabelNames := slices.Clone(keyLabelNames) + textLabelNames = append(textLabelNames, f.metricName) - c.infoDesc = prometheus.NewDesc(g.infoMetricName, "", infoLabelNames, nil) + c.textFields[f.fieldName] = &groupTextField{ + metricDesc: prometheus.NewDesc(f.metricName, f.desc, textLabelNames, nil), + } + } + } - for _, d := range g.metricFields { - c.metricFields[d.fieldName] = &groupField{ - fieldDesc: d, - metricDesc: prometheus.NewDesc(d.metricName, d.desc, keyLabelNames, nil), + for _, f := range g.numericFields { + info := &groupField{ + convert: f.metricValue, + metricDesc: prometheus.NewDesc(f.metricName, f.desc, keyLabelNames, nil), } + if info.convert == nil { + info.convert = fromNumeric + } + c.numericFields[f.fieldName] = info + c.knownFields[f.fieldName] = struct{}{} } - for _, i := range g.fieldNames() { - c.knownFields[i] = struct{}{} + infoLabelNames := slices.Clone(keyLabelNames) + + for _, f := range g.textFields { + if enableLegacyInfoLabels || f.flags&asInfoLabel != 0 { + c.infoLabelFields = append(c.infoLabelFields, f.fieldName) + infoLabelNames = append(infoLabelNames, f.metricName) + } } + c.infoDesc = prometheus.NewDesc(g.infoMetricName, "", infoLabelNames, nil) + return c } @@ -86,7 +116,11 @@ func (c *groupCollector) describe(ch chan<- *prometheus.Desc) { ch <- c.infoDesc ch <- c.unknownDesc - for _, info := range c.metricFields { + for _, info := range c.textFields { + ch <- info.metricDesc + } + + for _, info := range c.numericFields { ch <- info.metricDesc } } @@ -105,37 +139,38 @@ func (c *groupCollector) collect(ch chan<- prometheus.Metric, data *lvmreport.Re infoValues := slices.Clone(keyValues) - for _, name := range c.infoFields { + for _, name := range c.infoLabelFields { infoValues = append(infoValues, row[name]) } ch <- prometheus.MustNewConstMetric(c.infoDesc, prometheus.GaugeValue, 1, infoValues...) for fieldName, rawValue := range row { - if rawValue == "" { - continue + var collector interface { + collect(chan<- prometheus.Metric, string, []string) error } - info, ok := c.metricFields[fieldName] - if !ok { + if info, ok := c.textFields[fieldName]; ok { + collector = info + } else if rawValue == "" { + continue + } else if info, ok := c.numericFields[fieldName]; ok { + collector = info + } else { if _, ok := c.knownFields[fieldName]; !ok { unknown[fieldName] = struct{}{} } continue } - if err := info.collect(ch, rawValue, keyValues); err != nil { + if err := collector.collect(ch, rawValue, keyValues); err != nil { allErrors.Append(fmt.Errorf("field %s: %w", fieldName, err)) continue } } } - var details []string - - for i := range unknown { - details = append(details, i) - } + details := maps.Keys(unknown) sort.Strings(details) diff --git a/groupcollector_test.go b/groupcollector_test.go index d031621..c443616 100644 --- a/groupcollector_test.go +++ b/groupcollector_test.go @@ -28,22 +28,22 @@ func TestGroupCollectorCollect(t *testing.T) { {"key1": "3", "unknown key": "unknown", "count": "11.5"}, }, }, - collector: newGroupCollector(&group{ + collector: newGroupCollector(true, &group{ name: lvmreport.SEG, infoMetricName: "test_info", - keyFields: []*descriptor{ + keyFields: []*textField{ { fieldName: "key1", metricName: "m_key1", }, }, - infoFields: []*descriptor{ + textFields: []*textField{ { fieldName: "info1", metricName: "m_info1", }, }, - metricFields: []*descriptor{ + numericFields: []*numericField{ { fieldName: "col1", metricName: "m_col1", diff --git a/lv.go b/lv.go index a88793c..cef71df 100644 --- a/lv.go +++ b/lv.go @@ -6,14 +6,14 @@ var lvGroup = &group{ name: lvmreport.LV, infoMetricName: "lv_info", - keyFields: []*descriptor{ + keyFields: []*textField{ { fieldName: "lv_uuid", metricName: "lv_uuid", desc: "Unique identifier", }, }, - infoFields: []*descriptor{ + textFields: []*textField{ { fieldName: "convert_lv", metricName: "lv_convert_lv", @@ -97,6 +97,7 @@ var lvGroup = &group{ { fieldName: "lv_full_name", metricName: "lv_full_name", + flags: asInfoLabel, desc: "Full name of LV including its VG, namely VG/LV", }, { @@ -132,6 +133,7 @@ var lvGroup = &group{ { fieldName: "lv_name", metricName: "lv_name", + flags: asInfoLabel, desc: "Name; LVs created for internal use are enclosed in brackets", }, { @@ -240,7 +242,7 @@ var lvGroup = &group{ desc: "For vdo pools, its current operating mode", }, }, - metricFields: []*descriptor{ + numericFields: []*numericField{ { fieldName: "cache_dirty_blocks", metricName: "lv_cache_dirty_blocks", diff --git a/main.go b/main.go index 5ee8f3f..f64a98a 100644 --- a/main.go +++ b/main.go @@ -27,6 +27,13 @@ func main() { disableExporterMetrics := kingpin.Flag("web.disable-exporter-metrics", "Exclude metrics about the exporter itself").Bool() cmd := kingpin.Flag("command", "Path to the LVM binary").Default("/usr/sbin/lvm").String() + enableLegacyInfoLabels := kingpin.Flag("legacy-info-labels", + "Include values for non-numeric LVM report fields as labels on info"+ + ` metrics (e.g. "pv_fmt"). These labels are deprecated and will`+ + " be removed in a future version. Their values are already"+ + " reported as separate metrics."). + Default("true").Bool() + promslogConfig := &promslog.Config{} promslogflag.AddFlags(kingpin.CommandLine, promslogConfig) @@ -45,7 +52,7 @@ func main() { registry := prometheus.NewPedanticRegistry() lvmRegistry := prometheus.WrapRegistererWithPrefix(metricPrefix, registry) - lvmRegistry.MustRegister(newCommandCollector(cmdParts)) + lvmRegistry.MustRegister(newCommandCollector(*enableLegacyInfoLabels, cmdParts)) if !*disableExporterMetrics { registry.MustRegister( diff --git a/pool.go b/pool.go new file mode 100644 index 0000000..a76bfca --- /dev/null +++ b/pool.go @@ -0,0 +1,37 @@ +package main + +import ( + "sync" +) + +var defaultStringSlicePool = newStringSlicePool() + +type stringSlicePool struct { + pool sync.Pool +} + +func newStringSlicePool() *stringSlicePool { + return &stringSlicePool{ + pool: sync.Pool{ + New: func() any { + return []string(nil) + }, + }, + } +} + +// get returns an empty string slice. The caller has ownership of the slice +// until the slice is put back into the pool. +func (p *stringSlicePool) get() []string { + return p.pool.Get().([]string)[:0] +} + +func (p *stringSlicePool) put(s []string) { + // All elements must be accessible. + s = s[:cap(s)] + + // Remove references to values. + clear(s) + + p.pool.Put(s) +} diff --git a/pool_test.go b/pool_test.go new file mode 100644 index 0000000..8396d03 --- /dev/null +++ b/pool_test.go @@ -0,0 +1,41 @@ +package main + +import ( + "math/rand/v2" + "slices" + "strconv" + "testing" +) + +func TestStringSlicePool(t *testing.T) { + p := newStringSlicePool() + + for range 100 { + s := p.get() + + if len(s) > 0 { + t.Errorf("get() returned non-empty slice: %q", s) + } + + count := rand.IntN(100) + + for i := range count { + s = append(s, strconv.Itoa(i)) + } + + switch rand.IntN(3) { + case 1: + s = s[:0] + case 2: + s = s[:count/2] + } + + p.put(s) + + if idx := slices.IndexFunc(s[:count], func(value string) bool { + return value != "" + }); idx != -1 { + t.Errorf("Slice was not cleared: %q", s[:count]) + } + } +} diff --git a/pv.go b/pv.go index 7476e40..45b3c77 100644 --- a/pv.go +++ b/pv.go @@ -6,16 +6,21 @@ var pvGroup = &group{ name: lvmreport.PV, infoMetricName: "pv_info", - keyFields: []*descriptor{ + keyFields: []*textField{ {fieldName: "pv_uuid", metricName: "pv_uuid", desc: "Unique identifier"}, }, - infoFields: []*descriptor{ + textFields: []*textField{ {fieldName: "pv_attr", metricName: "pv_attr"}, {fieldName: "pv_fmt", metricName: "pv_fmt", desc: "Type of metadata"}, - {fieldName: "pv_name", metricName: "pv_name", desc: "Name"}, + { + fieldName: "pv_name", + metricName: "pv_name", + flags: asInfoLabel, + desc: "Name", + }, {fieldName: "pv_tags", metricName: "pv_tags"}, }, - metricFields: []*descriptor{ + numericFields: []*numericField{ { fieldName: "dev_size", metricName: "pv_dev_size_bytes", diff --git a/testdata/group-collector-with-error.golden b/testdata/group-collector-with-error.golden index 844fd26..83954ea 100644 --- a/testdata/group-collector-with-error.golden +++ b/testdata/group-collector-with-error.golden @@ -2,6 +2,9 @@ # TYPE lvm_m_count gauge lvm_m_count{m_key1="2"} 22 lvm_m_count{m_key1="3"} 11.5 +# HELP lvm_m_info1 +# TYPE lvm_m_info1 gauge +lvm_m_info1{m_info1="info:2",m_key1="2"} 1 # HELP lvm_test_info # TYPE lvm_test_info gauge lvm_test_info{m_info1="",m_key1="1"} 1 diff --git a/testdata/issue29-vdo-online-legacy.golden b/testdata/issue29-vdo-online-legacy.golden new file mode 100644 index 0000000..e889d19 --- /dev/null +++ b/testdata/issue29-vdo-online-legacy.golden @@ -0,0 +1,48 @@ +# HELP lvm_lv_info +# TYPE lvm_lv_info gauge +lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[vpool0_vdata]",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="tHnHR1-bjg8-ycJX-eyhR-heEp-L4qs-S510dO",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="lv_data",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="5UyOrx-zG6u-w7cF-G2Ny-HmVd-0lsb-4J6lG2",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="lv_db_backup",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="r7Btja-nL3P-Co38-X2K4-DLWS-LMhT-LajcQa",lv_vdo_compression_state="online",lv_vdo_index_state="online",lv_vdo_operating_mode="normal",lv_when_full=""} 1 +lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="root",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="cqZnVQ-FUPG-btWz-3fff-cMX5-wViK-8MM3QY",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="swap",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="lGs7Tn-1Fyv-jMHN-aniN-r8qk-duEI-B9Xl9e",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="vpool0",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="dylifl-81AF-n2mG-kFKo-Ntxe-mnNQ-3eB7fF",lv_vdo_compression_state="online",lv_vdo_index_state="online",lv_vdo_operating_mode="normal",lv_when_full=""} 1 +# HELP lvm_lv_vdo_compression_state For vdo pools, whether compression is running +# TYPE lvm_lv_vdo_compression_state gauge +lvm_lv_vdo_compression_state{lv_uuid="5UyOrx-zG6u-w7cF-G2Ny-HmVd-0lsb-4J6lG2",lv_vdo_compression_state=""} 1 +lvm_lv_vdo_compression_state{lv_uuid="cqZnVQ-FUPG-btWz-3fff-cMX5-wViK-8MM3QY",lv_vdo_compression_state=""} 1 +lvm_lv_vdo_compression_state{lv_uuid="dylifl-81AF-n2mG-kFKo-Ntxe-mnNQ-3eB7fF",lv_vdo_compression_state="online"} 1 +lvm_lv_vdo_compression_state{lv_uuid="lGs7Tn-1Fyv-jMHN-aniN-r8qk-duEI-B9Xl9e",lv_vdo_compression_state=""} 1 +lvm_lv_vdo_compression_state{lv_uuid="r7Btja-nL3P-Co38-X2K4-DLWS-LMhT-LajcQa",lv_vdo_compression_state="online"} 1 +lvm_lv_vdo_compression_state{lv_uuid="tHnHR1-bjg8-ycJX-eyhR-heEp-L4qs-S510dO",lv_vdo_compression_state=""} 1 +# HELP lvm_lv_vdo_index_state For vdo pools, state of index for deduplication +# TYPE lvm_lv_vdo_index_state gauge +lvm_lv_vdo_index_state{lv_uuid="5UyOrx-zG6u-w7cF-G2Ny-HmVd-0lsb-4J6lG2",lv_vdo_index_state=""} 1 +lvm_lv_vdo_index_state{lv_uuid="cqZnVQ-FUPG-btWz-3fff-cMX5-wViK-8MM3QY",lv_vdo_index_state=""} 1 +lvm_lv_vdo_index_state{lv_uuid="dylifl-81AF-n2mG-kFKo-Ntxe-mnNQ-3eB7fF",lv_vdo_index_state="online"} 1 +lvm_lv_vdo_index_state{lv_uuid="lGs7Tn-1Fyv-jMHN-aniN-r8qk-duEI-B9Xl9e",lv_vdo_index_state=""} 1 +lvm_lv_vdo_index_state{lv_uuid="r7Btja-nL3P-Co38-X2K4-DLWS-LMhT-LajcQa",lv_vdo_index_state="online"} 1 +lvm_lv_vdo_index_state{lv_uuid="tHnHR1-bjg8-ycJX-eyhR-heEp-L4qs-S510dO",lv_vdo_index_state=""} 1 +# HELP lvm_lv_vdo_operating_mode For vdo pools, its current operating mode +# TYPE lvm_lv_vdo_operating_mode gauge +lvm_lv_vdo_operating_mode{lv_uuid="5UyOrx-zG6u-w7cF-G2Ny-HmVd-0lsb-4J6lG2",lv_vdo_operating_mode=""} 1 +lvm_lv_vdo_operating_mode{lv_uuid="cqZnVQ-FUPG-btWz-3fff-cMX5-wViK-8MM3QY",lv_vdo_operating_mode=""} 1 +lvm_lv_vdo_operating_mode{lv_uuid="dylifl-81AF-n2mG-kFKo-Ntxe-mnNQ-3eB7fF",lv_vdo_operating_mode="normal"} 1 +lvm_lv_vdo_operating_mode{lv_uuid="lGs7Tn-1Fyv-jMHN-aniN-r8qk-duEI-B9Xl9e",lv_vdo_operating_mode=""} 1 +lvm_lv_vdo_operating_mode{lv_uuid="r7Btja-nL3P-Co38-X2K4-DLWS-LMhT-LajcQa",lv_vdo_operating_mode="normal"} 1 +lvm_lv_vdo_operating_mode{lv_uuid="tHnHR1-bjg8-ycJX-eyhR-heEp-L4qs-S510dO",lv_vdo_operating_mode=""} 1 +# HELP lvm_lv_vdo_saving_percent For vdo pools, percentage of saved space +# TYPE lvm_lv_vdo_saving_percent gauge +lvm_lv_vdo_saving_percent{lv_uuid="dylifl-81AF-n2mG-kFKo-Ntxe-mnNQ-3eB7fF"} 55.37 +lvm_lv_vdo_saving_percent{lv_uuid="r7Btja-nL3P-Co38-X2K4-DLWS-LMhT-LajcQa"} 55.37 +# HELP lvm_lv_vdo_used_size_bytes For vdo pools, currently used space +# TYPE lvm_lv_vdo_used_size_bytes gauge +lvm_lv_vdo_used_size_bytes{lv_uuid="dylifl-81AF-n2mG-kFKo-Ntxe-mnNQ-3eB7fF"} 2.78899963904e+12 +lvm_lv_vdo_used_size_bytes{lv_uuid="r7Btja-nL3P-Co38-X2K4-DLWS-LMhT-LajcQa"} 2.78899963904e+12 +# HELP lvm_unknown_field_count Fields reported by LVM not recognized by exporter +# TYPE lvm_unknown_field_count gauge +lvm_unknown_field_count{details="",group="lv"} 0 +lvm_unknown_field_count{details="",group="pv"} 0 +lvm_unknown_field_count{details="",group="vg"} 0 +# HELP lvm_up Whether scrape was successful +# TYPE lvm_up gauge +lvm_up{status=""} 1 diff --git a/testdata/issue29-vdo-online.golden b/testdata/issue29-vdo-online.golden index dc99fb0..fbd4232 100644 --- a/testdata/issue29-vdo-online.golden +++ b/testdata/issue29-vdo-online.golden @@ -1,11 +1,35 @@ # HELP lvm_lv_info # TYPE lvm_lv_info gauge -lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[vpool0_vdata]",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="tHnHR1-bjg8-ycJX-eyhR-heEp-L4qs-S510dO",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="lv_data",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="5UyOrx-zG6u-w7cF-G2Ny-HmVd-0lsb-4J6lG2",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="lv_db_backup",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="r7Btja-nL3P-Co38-X2K4-DLWS-LMhT-LajcQa",lv_vdo_compression_state="online",lv_vdo_index_state="online",lv_vdo_operating_mode="normal",lv_when_full=""} 1 -lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="root",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="cqZnVQ-FUPG-btWz-3fff-cMX5-wViK-8MM3QY",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="swap",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="lGs7Tn-1Fyv-jMHN-aniN-r8qk-duEI-B9Xl9e",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="vpool0",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="dylifl-81AF-n2mG-kFKo-Ntxe-mnNQ-3eB7fF",lv_vdo_compression_state="online",lv_vdo_index_state="online",lv_vdo_operating_mode="normal",lv_when_full=""} 1 +lvm_lv_info{lv_full_name="",lv_name="[vpool0_vdata]",lv_uuid="tHnHR1-bjg8-ycJX-eyhR-heEp-L4qs-S510dO"} 1 +lvm_lv_info{lv_full_name="",lv_name="lv_data",lv_uuid="5UyOrx-zG6u-w7cF-G2Ny-HmVd-0lsb-4J6lG2"} 1 +lvm_lv_info{lv_full_name="",lv_name="lv_db_backup",lv_uuid="r7Btja-nL3P-Co38-X2K4-DLWS-LMhT-LajcQa"} 1 +lvm_lv_info{lv_full_name="",lv_name="root",lv_uuid="cqZnVQ-FUPG-btWz-3fff-cMX5-wViK-8MM3QY"} 1 +lvm_lv_info{lv_full_name="",lv_name="swap",lv_uuid="lGs7Tn-1Fyv-jMHN-aniN-r8qk-duEI-B9Xl9e"} 1 +lvm_lv_info{lv_full_name="",lv_name="vpool0",lv_uuid="dylifl-81AF-n2mG-kFKo-Ntxe-mnNQ-3eB7fF"} 1 +# HELP lvm_lv_vdo_compression_state For vdo pools, whether compression is running +# TYPE lvm_lv_vdo_compression_state gauge +lvm_lv_vdo_compression_state{lv_uuid="5UyOrx-zG6u-w7cF-G2Ny-HmVd-0lsb-4J6lG2",lv_vdo_compression_state=""} 1 +lvm_lv_vdo_compression_state{lv_uuid="cqZnVQ-FUPG-btWz-3fff-cMX5-wViK-8MM3QY",lv_vdo_compression_state=""} 1 +lvm_lv_vdo_compression_state{lv_uuid="dylifl-81AF-n2mG-kFKo-Ntxe-mnNQ-3eB7fF",lv_vdo_compression_state="online"} 1 +lvm_lv_vdo_compression_state{lv_uuid="lGs7Tn-1Fyv-jMHN-aniN-r8qk-duEI-B9Xl9e",lv_vdo_compression_state=""} 1 +lvm_lv_vdo_compression_state{lv_uuid="r7Btja-nL3P-Co38-X2K4-DLWS-LMhT-LajcQa",lv_vdo_compression_state="online"} 1 +lvm_lv_vdo_compression_state{lv_uuid="tHnHR1-bjg8-ycJX-eyhR-heEp-L4qs-S510dO",lv_vdo_compression_state=""} 1 +# HELP lvm_lv_vdo_index_state For vdo pools, state of index for deduplication +# TYPE lvm_lv_vdo_index_state gauge +lvm_lv_vdo_index_state{lv_uuid="5UyOrx-zG6u-w7cF-G2Ny-HmVd-0lsb-4J6lG2",lv_vdo_index_state=""} 1 +lvm_lv_vdo_index_state{lv_uuid="cqZnVQ-FUPG-btWz-3fff-cMX5-wViK-8MM3QY",lv_vdo_index_state=""} 1 +lvm_lv_vdo_index_state{lv_uuid="dylifl-81AF-n2mG-kFKo-Ntxe-mnNQ-3eB7fF",lv_vdo_index_state="online"} 1 +lvm_lv_vdo_index_state{lv_uuid="lGs7Tn-1Fyv-jMHN-aniN-r8qk-duEI-B9Xl9e",lv_vdo_index_state=""} 1 +lvm_lv_vdo_index_state{lv_uuid="r7Btja-nL3P-Co38-X2K4-DLWS-LMhT-LajcQa",lv_vdo_index_state="online"} 1 +lvm_lv_vdo_index_state{lv_uuid="tHnHR1-bjg8-ycJX-eyhR-heEp-L4qs-S510dO",lv_vdo_index_state=""} 1 +# HELP lvm_lv_vdo_operating_mode For vdo pools, its current operating mode +# TYPE lvm_lv_vdo_operating_mode gauge +lvm_lv_vdo_operating_mode{lv_uuid="5UyOrx-zG6u-w7cF-G2Ny-HmVd-0lsb-4J6lG2",lv_vdo_operating_mode=""} 1 +lvm_lv_vdo_operating_mode{lv_uuid="cqZnVQ-FUPG-btWz-3fff-cMX5-wViK-8MM3QY",lv_vdo_operating_mode=""} 1 +lvm_lv_vdo_operating_mode{lv_uuid="dylifl-81AF-n2mG-kFKo-Ntxe-mnNQ-3eB7fF",lv_vdo_operating_mode="normal"} 1 +lvm_lv_vdo_operating_mode{lv_uuid="lGs7Tn-1Fyv-jMHN-aniN-r8qk-duEI-B9Xl9e",lv_vdo_operating_mode=""} 1 +lvm_lv_vdo_operating_mode{lv_uuid="r7Btja-nL3P-Co38-X2K4-DLWS-LMhT-LajcQa",lv_vdo_operating_mode="normal"} 1 +lvm_lv_vdo_operating_mode{lv_uuid="tHnHR1-bjg8-ycJX-eyhR-heEp-L4qs-S510dO",lv_vdo_operating_mode=""} 1 # HELP lvm_lv_vdo_saving_percent For vdo pools, percentage of saved space # TYPE lvm_lv_vdo_saving_percent gauge lvm_lv_vdo_saving_percent{lv_uuid="dylifl-81AF-n2mG-kFKo-Ntxe-mnNQ-3eB7fF"} 55.37 diff --git a/testdata/issue30-lockargs-legacy.golden b/testdata/issue30-lockargs-legacy.golden new file mode 100644 index 0000000..acf82d8 --- /dev/null +++ b/testdata/issue30-lockargs-legacy.golden @@ -0,0 +1,18 @@ +# HELP lvm_lv_info +# TYPE lvm_lv_info gauge +lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[lvmlock]",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="PN2YZw-aWgL-O0Rc-Vkbx-Dx09-lvDp-fhpbXe",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="1.0.0:570425344",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="alpinetest",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="YvnAc9-CH9k-Fq5F-WfTl-oONA-5njZ-t1ChZm",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="1.0.0:620756992",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="lvtest",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="FmOsEf-s4PL-qNOn-KSLb-GAIG-kuuP-ErGbTp",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +# HELP lvm_lv_lockargs Lock args of the LV used by lvmlockd +# TYPE lvm_lv_lockargs gauge +lvm_lv_lockargs{lv_lockargs="",lv_uuid="PN2YZw-aWgL-O0Rc-Vkbx-Dx09-lvDp-fhpbXe"} 1 +lvm_lv_lockargs{lv_lockargs="1.0.0:570425344",lv_uuid="YvnAc9-CH9k-Fq5F-WfTl-oONA-5njZ-t1ChZm"} 1 +lvm_lv_lockargs{lv_lockargs="1.0.0:620756992",lv_uuid="FmOsEf-s4PL-qNOn-KSLb-GAIG-kuuP-ErGbTp"} 1 +# HELP lvm_unknown_field_count Fields reported by LVM not recognized by exporter +# TYPE lvm_unknown_field_count gauge +lvm_unknown_field_count{details="",group="lv"} 0 +lvm_unknown_field_count{details="",group="pv"} 0 +lvm_unknown_field_count{details="",group="vg"} 0 +# HELP lvm_up Whether scrape was successful +# TYPE lvm_up gauge +lvm_up{status=""} 1 diff --git a/testdata/issue30-lockargs.golden b/testdata/issue30-lockargs.golden index c2c5e8f..626648e 100644 --- a/testdata/issue30-lockargs.golden +++ b/testdata/issue30-lockargs.golden @@ -1,8 +1,13 @@ # HELP lvm_lv_info # TYPE lvm_lv_info gauge -lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[lvmlock]",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="PN2YZw-aWgL-O0Rc-Vkbx-Dx09-lvDp-fhpbXe",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="1.0.0:570425344",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="alpinetest",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="YvnAc9-CH9k-Fq5F-WfTl-oONA-5njZ-t1ChZm",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="1.0.0:620756992",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="lvtest",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="FmOsEf-s4PL-qNOn-KSLb-GAIG-kuuP-ErGbTp",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_full_name="",lv_name="[lvmlock]",lv_uuid="PN2YZw-aWgL-O0Rc-Vkbx-Dx09-lvDp-fhpbXe"} 1 +lvm_lv_info{lv_full_name="",lv_name="alpinetest",lv_uuid="YvnAc9-CH9k-Fq5F-WfTl-oONA-5njZ-t1ChZm"} 1 +lvm_lv_info{lv_full_name="",lv_name="lvtest",lv_uuid="FmOsEf-s4PL-qNOn-KSLb-GAIG-kuuP-ErGbTp"} 1 +# HELP lvm_lv_lockargs Lock args of the LV used by lvmlockd +# TYPE lvm_lv_lockargs gauge +lvm_lv_lockargs{lv_lockargs="",lv_uuid="PN2YZw-aWgL-O0Rc-Vkbx-Dx09-lvDp-fhpbXe"} 1 +lvm_lv_lockargs{lv_lockargs="1.0.0:570425344",lv_uuid="YvnAc9-CH9k-Fq5F-WfTl-oONA-5njZ-t1ChZm"} 1 +lvm_lv_lockargs{lv_lockargs="1.0.0:620756992",lv_uuid="FmOsEf-s4PL-qNOn-KSLb-GAIG-kuuP-ErGbTp"} 1 # HELP lvm_unknown_field_count Fields reported by LVM not recognized by exporter # TYPE lvm_unknown_field_count gauge lvm_unknown_field_count{details="",group="lv"} 0 diff --git a/testdata/mirrored-legacy.golden b/testdata/mirrored-legacy.golden new file mode 100644 index 0000000..a833ec5 --- /dev/null +++ b/testdata/mirrored-legacy.golden @@ -0,0 +1,738 @@ +# HELP lvm_lv_active Active state of the LV +# TYPE lvm_lv_active gauge +lvm_lv_active{lv_active="active",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_active{lv_active="active",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_active{lv_active="active",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_active{lv_active="active",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_active{lv_active="active",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_active{lv_active="active",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_active_exclusively Set if the LV is active exclusively +# TYPE lvm_lv_active_exclusively gauge +lvm_lv_active_exclusively{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_active_exclusively{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_active_exclusively{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_active_exclusively{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_active_exclusively{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_active_exclusively{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_active_locally Set if the LV is active locally +# TYPE lvm_lv_active_locally gauge +lvm_lv_active_locally{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_active_locally{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_active_locally{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_active_locally{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_active_locally{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_active_locally{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_active_remotely Set if the LV is active remotely +# TYPE lvm_lv_active_remotely gauge +lvm_lv_active_remotely{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 +lvm_lv_active_remotely{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 0 +lvm_lv_active_remotely{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 +lvm_lv_active_remotely{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 +lvm_lv_active_remotely{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 +lvm_lv_active_remotely{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_allocation_locked Set if LV is locked against allocation changes +# TYPE lvm_lv_allocation_locked gauge +lvm_lv_allocation_locked{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 +lvm_lv_allocation_locked{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 0 +lvm_lv_allocation_locked{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 +lvm_lv_allocation_locked{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 +lvm_lv_allocation_locked{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 +lvm_lv_allocation_locked{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_allocation_policy LV allocation policy +# TYPE lvm_lv_allocation_policy gauge +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_ancestors LV ancestors ignoring any stored history of the ancestry chain +# TYPE lvm_lv_ancestors gauge +lvm_lv_ancestors{lv_ancestors="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_attr Various attributes +# TYPE lvm_lv_attr gauge +lvm_lv_attr{lv_attr="-wi-a-----",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_attr{lv_attr="ewi-aor---",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_attr{lv_attr="ewi-aor---",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_attr{lv_attr="iwi-aor---",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_attr{lv_attr="iwi-aor---",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_attr{lv_attr="rwi-a-r---",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +# HELP lvm_lv_check_needed For thin pools and cache volumes, whether metadata check is needed +# TYPE lvm_lv_check_needed gauge +lvm_lv_check_needed{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 +lvm_lv_check_needed{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} -1 +lvm_lv_check_needed{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 +lvm_lv_check_needed{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 +lvm_lv_check_needed{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 +lvm_lv_check_needed{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_convert_lv For lvconvert, Name of temporary LV created by lvconvert +# TYPE lvm_lv_convert_lv gauge +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_convert_lv_uuid For lvconvert, UUID of temporary LV created by lvconvert +# TYPE lvm_lv_convert_lv_uuid gauge +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_converting Set if LV is being converted +# TYPE lvm_lv_converting gauge +lvm_lv_converting{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 +lvm_lv_converting{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 0 +lvm_lv_converting{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 +lvm_lv_converting{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 +lvm_lv_converting{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 +lvm_lv_converting{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_copy_percent For Cache, RAID, mirrors and pvmove, current percentage in-sync +# TYPE lvm_lv_copy_percent gauge +lvm_lv_copy_percent{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 100 +# HELP lvm_lv_data_lv For cache/thin/vdo pools, the LV holding the associated data +# TYPE lvm_lv_data_lv gauge +lvm_lv_data_lv{lv_data_lv="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_data_lv_uuid For cache/thin/vdo pools, the UUID of the LV holding the associated data +# TYPE lvm_lv_data_lv_uuid gauge +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_descendants LV descendants ignoring any stored history of the ancestry chain +# TYPE lvm_lv_descendants gauge +lvm_lv_descendants{lv_descendants="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_device_open Set if LV device is open +# TYPE lvm_lv_device_open gauge +lvm_lv_device_open{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_device_open{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_device_open{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_device_open{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 +lvm_lv_device_open{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_device_open{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_dm_path Internal device-mapper pathname for LV (in /dev/mapper directory) +# TYPE lvm_lv_dm_path gauge +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-data",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-mirrored",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-mirrored_rimage_0",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-mirrored_rimage_1",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-mirrored_rmeta_0",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-mirrored_rmeta_1",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +# HELP lvm_lv_fixed_minor Set if LV has fixed minor number assigned +# TYPE lvm_lv_fixed_minor gauge +lvm_lv_fixed_minor{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 +lvm_lv_fixed_minor{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 0 +lvm_lv_fixed_minor{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 +lvm_lv_fixed_minor{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 +lvm_lv_fixed_minor{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 +lvm_lv_fixed_minor{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_full_ancestors LV ancestors including stored history of the ancestry chain +# TYPE lvm_lv_full_ancestors gauge +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_full_descendants LV descendants including stored history of the ancestry chain +# TYPE lvm_lv_full_descendants gauge +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_health_status LV health status +# TYPE lvm_lv_health_status gauge +lvm_lv_health_status{lv_health_status="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_historical Set if the LV is historical +# TYPE lvm_lv_historical gauge +lvm_lv_historical{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 +lvm_lv_historical{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 0 +lvm_lv_historical{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 +lvm_lv_historical{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 +lvm_lv_historical{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 +lvm_lv_historical{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_host Creation host of the LV, if known +# TYPE lvm_lv_host gauge +lvm_lv_host{lv_host="buster",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_image_synced Set if mirror/RAID image is synchronized +# TYPE lvm_lv_image_synced gauge +lvm_lv_image_synced{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 +lvm_lv_image_synced{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_image_synced{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_image_synced{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 +lvm_lv_image_synced{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 +lvm_lv_image_synced{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_inactive_table Set if LV has inactive table present +# TYPE lvm_lv_inactive_table gauge +lvm_lv_inactive_table{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 +lvm_lv_inactive_table{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 0 +lvm_lv_inactive_table{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 +lvm_lv_inactive_table{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 +lvm_lv_inactive_table{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 +lvm_lv_inactive_table{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_info +# TYPE lvm_lv_info gauge +lvm_lv_info{lv_active="active",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="-wi-a-----",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-data",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/data",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="131072",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="data",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="/dev/vgaaa/data",lv_permissions="writeable",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="public",lv_tags="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="active",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="ewi-aor---",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-mirrored_rmeta_0",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/mirrored_rmeta_0",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="131072",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[mirrored_rmeta_0]",lv_origin="",lv_origin_uuid="",lv_parent="mirrored",lv_path="",lv_permissions="writeable",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private,raid,metadata",lv_tags="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="active",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="ewi-aor---",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-mirrored_rmeta_1",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/mirrored_rmeta_1",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="131072",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[mirrored_rmeta_1]",lv_origin="",lv_origin_uuid="",lv_parent="mirrored",lv_path="",lv_permissions="writeable",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private,raid,metadata",lv_tags="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="active",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="iwi-aor---",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-mirrored_rimage_0",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/mirrored_rimage_0",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="131072",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[mirrored_rimage_0]",lv_origin="",lv_origin_uuid="",lv_parent="mirrored",lv_path="",lv_permissions="writeable",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private,raid,image",lv_tags="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="active",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="iwi-aor---",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-mirrored_rimage_1",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/mirrored_rimage_1",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="131072",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[mirrored_rimage_1]",lv_origin="",lv_origin_uuid="",lv_parent="mirrored",lv_path="",lv_permissions="writeable",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private,raid,image",lv_tags="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="active",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="rwi-a-r---",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-mirrored",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/mirrored",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="131072",lv_layout="raid,raid1",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="raid",lv_move_pv="",lv_move_pv_uuid="",lv_name="mirrored",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="/dev/vgaaa/mirrored",lv_permissions="writeable",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="idle",lv_raidintegritymode="",lv_role="public",lv_tags="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +# HELP lvm_lv_initial_image_sync Set if mirror/RAID images underwent initial resynchronization +# TYPE lvm_lv_initial_image_sync gauge +lvm_lv_initial_image_sync{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 +lvm_lv_initial_image_sync{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 0 +lvm_lv_initial_image_sync{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 +lvm_lv_initial_image_sync{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_initial_image_sync{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 +lvm_lv_initial_image_sync{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_kernel_cache_policy Cache policy used in kernel +# TYPE lvm_lv_kernel_cache_policy gauge +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_kernel_cache_settings Cache settings/parameters as set in kernel, including default values (cached segments only) +# TYPE lvm_lv_kernel_cache_settings gauge +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_kernel_discards For thin pools, how discards are handled in kernel +# TYPE lvm_lv_kernel_discards gauge +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_kernel_major Currently assigned major number or -1 if LV is not active +# TYPE lvm_lv_kernel_major gauge +lvm_lv_kernel_major{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 253 +lvm_lv_kernel_major{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 253 +lvm_lv_kernel_major{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 253 +lvm_lv_kernel_major{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 253 +lvm_lv_kernel_major{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 253 +lvm_lv_kernel_major{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 253 +# HELP lvm_lv_kernel_metadata_format Cache metadata format used in kernel +# TYPE lvm_lv_kernel_metadata_format gauge +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_kernel_minor Currently assigned minor number or -1 if LV is not active +# TYPE lvm_lv_kernel_minor gauge +lvm_lv_kernel_minor{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 3 +lvm_lv_kernel_minor{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 2 +lvm_lv_kernel_minor{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 4 +lvm_lv_kernel_minor{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 5 +lvm_lv_kernel_minor{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 +lvm_lv_kernel_minor{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_kernel_read_ahead_bytes Currently-in-use read ahead setting +# TYPE lvm_lv_kernel_read_ahead_bytes gauge +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="131072",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="131072",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="131072",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="131072",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="131072",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="131072",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_layout LV layout +# TYPE lvm_lv_layout gauge +lvm_lv_layout{lv_layout="linear",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_layout{lv_layout="raid,raid1",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +# HELP lvm_lv_live_table Set if LV has live table present +# TYPE lvm_lv_live_table gauge +lvm_lv_live_table{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_live_table{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_live_table{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_live_table{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_live_table{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_live_table{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_lockargs Lock args of the LV used by lvmlockd +# TYPE lvm_lv_lockargs gauge +lvm_lv_lockargs{lv_lockargs="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_major Persistent major number or -1 if not persistent +# TYPE lvm_lv_major gauge +lvm_lv_major{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 +lvm_lv_major{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} -1 +lvm_lv_major{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 +lvm_lv_major{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 +lvm_lv_major{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 +lvm_lv_major{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_merge_failed Set if snapshot merge failed +# TYPE lvm_lv_merge_failed gauge +lvm_lv_merge_failed{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 +lvm_lv_merge_failed{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} -1 +lvm_lv_merge_failed{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 +lvm_lv_merge_failed{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 +lvm_lv_merge_failed{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 +lvm_lv_merge_failed{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_merging Set if snapshot LV is being merged to origin +# TYPE lvm_lv_merging gauge +lvm_lv_merging{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 +lvm_lv_merging{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 0 +lvm_lv_merging{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 +lvm_lv_merging{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 +lvm_lv_merging{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 +lvm_lv_merging{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_metadata_lv For cache/thin pools, the LV holding the associated metadata +# TYPE lvm_lv_metadata_lv gauge +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_metadata_lv_uuid For cache/thin pools, the UUID of the LV holding the associated metadata +# TYPE lvm_lv_metadata_lv_uuid gauge +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_minor Persistent minor number or -1 if not persistent +# TYPE lvm_lv_minor gauge +lvm_lv_minor{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 +lvm_lv_minor{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} -1 +lvm_lv_minor{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 +lvm_lv_minor{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 +lvm_lv_minor{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 +lvm_lv_minor{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_mirror_log For mirrors, the LV holding the synchronisation log +# TYPE lvm_lv_mirror_log gauge +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_mirror_log_uuid For mirrors, the UUID of the LV holding the synchronisation log +# TYPE lvm_lv_mirror_log_uuid gauge +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_modules Kernel device-mapper modules required for this LV +# TYPE lvm_lv_modules gauge +lvm_lv_modules{lv_modules="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_modules{lv_modules="raid",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +# HELP lvm_lv_move_pv For pvmove, Source PV of temporary LV created by pvmove +# TYPE lvm_lv_move_pv gauge +lvm_lv_move_pv{lv_move_pv="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_move_pv_uuid For pvmove, the UUID of Source PV of temporary LV created by pvmove +# TYPE lvm_lv_move_pv_uuid gauge +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_origin For snapshots and thins, the origin device of this LV +# TYPE lvm_lv_origin gauge +lvm_lv_origin{lv_origin="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_origin_uuid For snapshots and thins, the UUID of origin device of this LV +# TYPE lvm_lv_origin_uuid gauge +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_parent For LVs that are components of another LV, the parent LV +# TYPE lvm_lv_parent gauge +lvm_lv_parent{lv_parent="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_parent{lv_parent="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_parent{lv_parent="mirrored",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_parent{lv_parent="mirrored",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_parent{lv_parent="mirrored",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_parent{lv_parent="mirrored",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +# HELP lvm_lv_path Full pathname for LV. Blank for internal LVs +# TYPE lvm_lv_path gauge +lvm_lv_path{lv_path="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_path{lv_path="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_path{lv_path="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_path{lv_path="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_path{lv_path="/dev/vgaaa/data",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_path{lv_path="/dev/vgaaa/mirrored",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +# HELP lvm_lv_permissions LV permissions +# TYPE lvm_lv_permissions gauge +lvm_lv_permissions{lv_permissions="writeable",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_permissions{lv_permissions="writeable",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_permissions{lv_permissions="writeable",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_permissions{lv_permissions="writeable",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_permissions{lv_permissions="writeable",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_permissions{lv_permissions="writeable",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_pool_lv For cache/thin/vdo volumes, the cache/thin/vdo pool LV for this volume +# TYPE lvm_lv_pool_lv gauge +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_pool_lv_uuid For cache/thin/vdo volumes, the UUID of the cache/thin/vdo pool LV for this volume +# TYPE lvm_lv_pool_lv_uuid gauge +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_raid_mismatch_count For RAID, number of mismatches found or repaired +# TYPE lvm_lv_raid_mismatch_count gauge +lvm_lv_raid_mismatch_count{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 +# HELP lvm_lv_raid_sync_action For RAID, the current synchronization action being performed +# TYPE lvm_lv_raid_sync_action gauge +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="idle",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +# HELP lvm_lv_read_ahead_bytes Read ahead setting +# TYPE lvm_lv_read_ahead_bytes gauge +lvm_lv_read_ahead_bytes{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 +lvm_lv_read_ahead_bytes{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} -1 +lvm_lv_read_ahead_bytes{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 +lvm_lv_read_ahead_bytes{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 +lvm_lv_read_ahead_bytes{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 +lvm_lv_read_ahead_bytes{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_role LV role +# TYPE lvm_lv_role gauge +lvm_lv_role{lv_role="private,raid,image",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_role{lv_role="private,raid,image",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_role{lv_role="private,raid,metadata",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_role{lv_role="private,raid,metadata",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_role{lv_role="public",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_role{lv_role="public",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_seg_count Number of segments in LV +# TYPE lvm_lv_seg_count gauge +lvm_lv_seg_count{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_seg_count{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_seg_count{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_seg_count{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_seg_count{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_seg_count{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_size_bytes Size of LV +# TYPE lvm_lv_size_bytes gauge +lvm_lv_size_bytes{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 4.194304e+06 +lvm_lv_size_bytes{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 2.9360128e+07 +lvm_lv_size_bytes{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 2.9360128e+07 +lvm_lv_size_bytes{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 2.9360128e+07 +lvm_lv_size_bytes{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 4.194304e+06 +lvm_lv_size_bytes{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 4.194304e+06 +# HELP lvm_lv_skip_activation Set if LV is skipped on activation +# TYPE lvm_lv_skip_activation gauge +lvm_lv_skip_activation{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 +lvm_lv_skip_activation{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 0 +lvm_lv_skip_activation{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 +lvm_lv_skip_activation{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 +lvm_lv_skip_activation{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 +lvm_lv_skip_activation{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_snapshot_invalid Set if snapshot LV is invalid +# TYPE lvm_lv_snapshot_invalid gauge +lvm_lv_snapshot_invalid{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 +lvm_lv_snapshot_invalid{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} -1 +lvm_lv_snapshot_invalid{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 +lvm_lv_snapshot_invalid{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 +lvm_lv_snapshot_invalid{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 +lvm_lv_snapshot_invalid{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_suspended Set if LV is suspended +# TYPE lvm_lv_suspended gauge +lvm_lv_suspended{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 +lvm_lv_suspended{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 0 +lvm_lv_suspended{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 +lvm_lv_suspended{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 +lvm_lv_suspended{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 +lvm_lv_suspended{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_sync_percent For Cache, RAID, mirrors and pvmove, current percentage in-sync +# TYPE lvm_lv_sync_percent gauge +lvm_lv_sync_percent{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 100 +# HELP lvm_lv_tags Tags, if any +# TYPE lvm_lv_tags gauge +lvm_lv_tags{lv_tags="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_time Creation time of the LV, if known +# TYPE lvm_lv_time gauge +lvm_lv_time{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1.628538429e+09 +lvm_lv_time{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1.628538429e+09 +lvm_lv_time{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1.628538429e+09 +lvm_lv_time{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1.628538429e+09 +lvm_lv_time{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1.628538429e+09 +lvm_lv_time{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1.628424605e+09 +# HELP lvm_lv_when_full For thin pools, behavior when full +# TYPE lvm_lv_when_full gauge +lvm_lv_when_full{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu",lv_when_full=""} 1 +# HELP lvm_pv_allocatable Set if this device can be used for allocation +# TYPE lvm_pv_allocatable gauge +lvm_pv_allocatable{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_allocatable{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_attr +# TYPE lvm_pv_attr gauge +lvm_pv_attr{pv_attr="a--",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_attr{pv_attr="a--",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_ba_size_bytes Size of PV Bootloader Area +# TYPE lvm_pv_ba_size_bytes gauge +lvm_pv_ba_size_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 +lvm_pv_ba_size_bytes{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 0 +# HELP lvm_pv_ba_start Offset to the start of PV Bootloader Area on the underlying device +# TYPE lvm_pv_ba_start gauge +lvm_pv_ba_start{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 +lvm_pv_ba_start{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 0 +# HELP lvm_pv_dev_size_bytes Size of underlying device +# TYPE lvm_pv_dev_size_bytes gauge +lvm_pv_dev_size_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1.048576e+09 +lvm_pv_dev_size_bytes{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1.048576e+09 +# HELP lvm_pv_duplicate Set if PV is an unchosen duplicate +# TYPE lvm_pv_duplicate gauge +lvm_pv_duplicate{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 +lvm_pv_duplicate{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 0 +# HELP lvm_pv_exported Set if this device is exported +# TYPE lvm_pv_exported gauge +lvm_pv_exported{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 +lvm_pv_exported{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 0 +# HELP lvm_pv_ext_vsn PV header extension version +# TYPE lvm_pv_ext_vsn gauge +lvm_pv_ext_vsn{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 2 +lvm_pv_ext_vsn{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 2 +# HELP lvm_pv_fmt Type of metadata +# TYPE lvm_pv_fmt gauge +lvm_pv_fmt{pv_fmt="lvm2",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_fmt{pv_fmt="lvm2",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_free_bytes Total amount of unallocated space +# TYPE lvm_pv_free_bytes gauge +lvm_pv_free_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1.010827264e+09 +lvm_pv_free_bytes{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1.00663296e+09 +# HELP lvm_pv_in_use Set if PV is used +# TYPE lvm_pv_in_use gauge +lvm_pv_in_use{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_in_use{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_info +# TYPE lvm_pv_info gauge +lvm_pv_info{pv_attr="a--",pv_fmt="lvm2",pv_name="/dev/loop0",pv_tags="",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_info{pv_attr="a--",pv_fmt="lvm2",pv_name="/dev/loop1",pv_tags="",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_major Device major number +# TYPE lvm_pv_major gauge +lvm_pv_major{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 7 +lvm_pv_major{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 7 +# HELP lvm_pv_mda_count Number of metadata areas +# TYPE lvm_pv_mda_count gauge +lvm_pv_mda_count{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_mda_count{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_mda_free_bytes Free metadata area space +# TYPE lvm_pv_mda_free_bytes gauge +lvm_pv_mda_free_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 518656 +lvm_pv_mda_free_bytes{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 518656 +# HELP lvm_pv_mda_size_bytes Size of smallest metadata area +# TYPE lvm_pv_mda_size_bytes gauge +lvm_pv_mda_size_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1.04448e+06 +lvm_pv_mda_size_bytes{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1.04448e+06 +# HELP lvm_pv_mda_used_count Number of metadata areas in use +# TYPE lvm_pv_mda_used_count gauge +lvm_pv_mda_used_count{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_mda_used_count{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_minor Device minor number +# TYPE lvm_pv_minor gauge +lvm_pv_minor{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 +lvm_pv_minor{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_missing Set if this device is missing in system +# TYPE lvm_pv_missing gauge +lvm_pv_missing{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 +lvm_pv_missing{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 0 +# HELP lvm_pv_pe_alloc_count Total number of allocated Physical Extents +# TYPE lvm_pv_pe_alloc_count gauge +lvm_pv_pe_alloc_count{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 8 +lvm_pv_pe_alloc_count{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 9 +# HELP lvm_pv_pe_count Total number of Physical Extents +# TYPE lvm_pv_pe_count gauge +lvm_pv_pe_count{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 249 +lvm_pv_pe_count{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 249 +# HELP lvm_pv_pe_start Offset to the start of data on the underlying device +# TYPE lvm_pv_pe_start gauge +lvm_pv_pe_start{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1.048576e+06 +lvm_pv_pe_start{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1.048576e+06 +# HELP lvm_pv_size_bytes Size of PV +# TYPE lvm_pv_size_bytes gauge +lvm_pv_size_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1.044381696e+09 +lvm_pv_size_bytes{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1.044381696e+09 +# HELP lvm_pv_tags +# TYPE lvm_pv_tags gauge +lvm_pv_tags{pv_tags="",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_tags{pv_tags="",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_used Total amount of allocated space +# TYPE lvm_pv_used gauge +lvm_pv_used{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 3.3554432e+07 +lvm_pv_used{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 3.7748736e+07 +# HELP lvm_unknown_field_count Fields reported by LVM not recognized by exporter +# TYPE lvm_unknown_field_count gauge +lvm_unknown_field_count{details="",group="lv"} 0 +lvm_unknown_field_count{details="",group="pv"} 0 +lvm_unknown_field_count{details="",group="vg"} 0 +# HELP lvm_up Whether scrape was successful +# TYPE lvm_up gauge +lvm_up{status=""} 1 +# HELP lvm_vg_allocation_policy +# TYPE lvm_vg_allocation_policy gauge +lvm_vg_allocation_policy{vg_allocation_policy="normal",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_attr +# TYPE lvm_vg_attr gauge +lvm_vg_attr{vg_attr="wz--n-",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_clustered Set if VG is clustered +# TYPE lvm_vg_clustered gauge +lvm_vg_clustered{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +# HELP lvm_vg_exported Set if VG is exported +# TYPE lvm_vg_exported gauge +lvm_vg_exported{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +# HELP lvm_vg_extendable Set if VG is extendable +# TYPE lvm_vg_extendable gauge +lvm_vg_extendable{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_extent_count Total number of Physical Extents +# TYPE lvm_vg_extent_count gauge +lvm_vg_extent_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 498 +# HELP lvm_vg_extent_size_bytes Size of Physical Extents +# TYPE lvm_vg_extent_size_bytes gauge +lvm_vg_extent_size_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 4.194304e+06 +# HELP lvm_vg_fmt Type of metadata +# TYPE lvm_vg_fmt gauge +lvm_vg_fmt{vg_fmt="lvm2",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_free_bytes Total amount of free space in bytes +# TYPE lvm_vg_free_bytes gauge +lvm_vg_free_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 2.017460224e+09 +# HELP lvm_vg_free_count Total number of unallocated Physical Extents +# TYPE lvm_vg_free_count gauge +lvm_vg_free_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 481 +# HELP lvm_vg_info +# TYPE lvm_vg_info gauge +lvm_vg_info{vg_allocation_policy="normal",vg_attr="wz--n-",vg_fmt="lvm2",vg_lock_args="",vg_lock_type="",vg_name="vgaaa",vg_permissions="writeable",vg_systemid="",vg_tags="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_lock_args +# TYPE lvm_vg_lock_args gauge +lvm_vg_lock_args{vg_lock_args="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_lock_type +# TYPE lvm_vg_lock_type gauge +lvm_vg_lock_type{vg_lock_type="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_lv_count Number of LVs +# TYPE lvm_vg_lv_count gauge +lvm_vg_lv_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 2 +# HELP lvm_vg_max_lv Maximum number of LVs allowed in VG or 0 if unlimited +# TYPE lvm_vg_max_lv gauge +lvm_vg_max_lv{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +# HELP lvm_vg_max_pv Maximum number of PVs allowed in VG or 0 if unlimited +# TYPE lvm_vg_max_pv gauge +lvm_vg_max_pv{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +# HELP lvm_vg_mda_copies Target number of in use metadata areas in the VG +# TYPE lvm_vg_mda_copies gauge +lvm_vg_mda_copies{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +# HELP lvm_vg_mda_count Number of metadata areas +# TYPE lvm_vg_mda_count gauge +lvm_vg_mda_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 2 +# HELP lvm_vg_mda_free_bytes Free metadata area space for this VG +# TYPE lvm_vg_mda_free_bytes gauge +lvm_vg_mda_free_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 518656 +# HELP lvm_vg_mda_size_bytes Size of smallest metadata area for this VG +# TYPE lvm_vg_mda_size_bytes gauge +lvm_vg_mda_size_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1.04448e+06 +# HELP lvm_vg_mda_used_count Number of metadata areas in use on this VG +# TYPE lvm_vg_mda_used_count gauge +lvm_vg_mda_used_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 2 +# HELP lvm_vg_missing_pv_count Number of PVs in VG which are missing +# TYPE lvm_vg_missing_pv_count gauge +lvm_vg_missing_pv_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +# HELP lvm_vg_partial Set if VG is partial +# TYPE lvm_vg_partial gauge +lvm_vg_partial{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +# HELP lvm_vg_permissions +# TYPE lvm_vg_permissions gauge +lvm_vg_permissions{vg_permissions="writeable",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_pv_count Number of PVs in VG +# TYPE lvm_vg_pv_count gauge +lvm_vg_pv_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 2 +# HELP lvm_vg_seqno Revision number of internal metadata +# TYPE lvm_vg_seqno gauge +lvm_vg_seqno{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 5 +# HELP lvm_vg_shared Set if VG is shared +# TYPE lvm_vg_shared gauge +lvm_vg_shared{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +# HELP lvm_vg_size_bytes Total size of VG in bytes +# TYPE lvm_vg_size_bytes gauge +lvm_vg_size_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 2.088763392e+09 +# HELP lvm_vg_snap_count Number of snapshots +# TYPE lvm_vg_snap_count gauge +lvm_vg_snap_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +# HELP lvm_vg_systemid +# TYPE lvm_vg_systemid gauge +lvm_vg_systemid{vg_systemid="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_tags +# TYPE lvm_vg_tags gauge +lvm_vg_tags{vg_tags="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 diff --git a/testdata/mirrored-unhealthy-legacy.golden b/testdata/mirrored-unhealthy-legacy.golden new file mode 100644 index 0000000..f35301c --- /dev/null +++ b/testdata/mirrored-unhealthy-legacy.golden @@ -0,0 +1,728 @@ +# HELP lvm_lv_active Active state of the LV +# TYPE lvm_lv_active gauge +lvm_lv_active{lv_active="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_active{lv_active="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_active{lv_active="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_active{lv_active="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_active{lv_active="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_active{lv_active="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_active_exclusively Set if the LV is active exclusively +# TYPE lvm_lv_active_exclusively gauge +lvm_lv_active_exclusively{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 +lvm_lv_active_exclusively{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 0 +lvm_lv_active_exclusively{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 +lvm_lv_active_exclusively{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 +lvm_lv_active_exclusively{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 +lvm_lv_active_exclusively{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_active_locally Set if the LV is active locally +# TYPE lvm_lv_active_locally gauge +lvm_lv_active_locally{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 +lvm_lv_active_locally{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 0 +lvm_lv_active_locally{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 +lvm_lv_active_locally{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 +lvm_lv_active_locally{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 +lvm_lv_active_locally{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_active_remotely Set if the LV is active remotely +# TYPE lvm_lv_active_remotely gauge +lvm_lv_active_remotely{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 +lvm_lv_active_remotely{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 0 +lvm_lv_active_remotely{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 +lvm_lv_active_remotely{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 +lvm_lv_active_remotely{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 +lvm_lv_active_remotely{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_allocation_locked Set if LV is locked against allocation changes +# TYPE lvm_lv_allocation_locked gauge +lvm_lv_allocation_locked{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 +lvm_lv_allocation_locked{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 0 +lvm_lv_allocation_locked{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 +lvm_lv_allocation_locked{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 +lvm_lv_allocation_locked{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 +lvm_lv_allocation_locked{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_allocation_policy LV allocation policy +# TYPE lvm_lv_allocation_policy gauge +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_ancestors LV ancestors ignoring any stored history of the ancestry chain +# TYPE lvm_lv_ancestors gauge +lvm_lv_ancestors{lv_ancestors="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_attr Various attributes +# TYPE lvm_lv_attr gauge +lvm_lv_attr{lv_attr="-wi-------",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_attr{lv_attr="Iwi---r---",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_attr{lv_attr="Iwi---r-p-",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_attr{lv_attr="ewi---r---",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_attr{lv_attr="ewi---r-p-",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_attr{lv_attr="rwi---r-p-",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +# HELP lvm_lv_check_needed For thin pools and cache volumes, whether metadata check is needed +# TYPE lvm_lv_check_needed gauge +lvm_lv_check_needed{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 +lvm_lv_check_needed{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} -1 +lvm_lv_check_needed{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 +lvm_lv_check_needed{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 +lvm_lv_check_needed{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 +lvm_lv_check_needed{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_convert_lv For lvconvert, Name of temporary LV created by lvconvert +# TYPE lvm_lv_convert_lv gauge +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_convert_lv_uuid For lvconvert, UUID of temporary LV created by lvconvert +# TYPE lvm_lv_convert_lv_uuid gauge +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_converting Set if LV is being converted +# TYPE lvm_lv_converting gauge +lvm_lv_converting{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 +lvm_lv_converting{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 0 +lvm_lv_converting{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 +lvm_lv_converting{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 +lvm_lv_converting{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 +lvm_lv_converting{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_data_lv For cache/thin/vdo pools, the LV holding the associated data +# TYPE lvm_lv_data_lv gauge +lvm_lv_data_lv{lv_data_lv="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_data_lv_uuid For cache/thin/vdo pools, the UUID of the LV holding the associated data +# TYPE lvm_lv_data_lv_uuid gauge +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_descendants LV descendants ignoring any stored history of the ancestry chain +# TYPE lvm_lv_descendants gauge +lvm_lv_descendants{lv_descendants="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_device_open Set if LV device is open +# TYPE lvm_lv_device_open gauge +lvm_lv_device_open{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 +lvm_lv_device_open{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} -1 +lvm_lv_device_open{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 +lvm_lv_device_open{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 +lvm_lv_device_open{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 +lvm_lv_device_open{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_dm_path Internal device-mapper pathname for LV (in /dev/mapper directory) +# TYPE lvm_lv_dm_path gauge +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-data",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-mirrored",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-mirrored_rimage_0",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-mirrored_rimage_1",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-mirrored_rmeta_0",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-mirrored_rmeta_1",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +# HELP lvm_lv_fixed_minor Set if LV has fixed minor number assigned +# TYPE lvm_lv_fixed_minor gauge +lvm_lv_fixed_minor{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 +lvm_lv_fixed_minor{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 0 +lvm_lv_fixed_minor{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 +lvm_lv_fixed_minor{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 +lvm_lv_fixed_minor{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 +lvm_lv_fixed_minor{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_full_ancestors LV ancestors including stored history of the ancestry chain +# TYPE lvm_lv_full_ancestors gauge +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_full_descendants LV descendants including stored history of the ancestry chain +# TYPE lvm_lv_full_descendants gauge +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_health_status LV health status +# TYPE lvm_lv_health_status gauge +lvm_lv_health_status{lv_health_status="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_health_status{lv_health_status="partial",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_health_status{lv_health_status="partial",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_health_status{lv_health_status="partial",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +# HELP lvm_lv_historical Set if the LV is historical +# TYPE lvm_lv_historical gauge +lvm_lv_historical{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 +lvm_lv_historical{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 0 +lvm_lv_historical{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 +lvm_lv_historical{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 +lvm_lv_historical{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 +lvm_lv_historical{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_host Creation host of the LV, if known +# TYPE lvm_lv_host gauge +lvm_lv_host{lv_host="buster",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_image_synced Set if mirror/RAID image is synchronized +# TYPE lvm_lv_image_synced gauge +lvm_lv_image_synced{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 +lvm_lv_image_synced{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 0 +lvm_lv_image_synced{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 +lvm_lv_image_synced{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 +lvm_lv_image_synced{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 +lvm_lv_image_synced{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_inactive_table Set if LV has inactive table present +# TYPE lvm_lv_inactive_table gauge +lvm_lv_inactive_table{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 +lvm_lv_inactive_table{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} -1 +lvm_lv_inactive_table{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 +lvm_lv_inactive_table{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 +lvm_lv_inactive_table{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 +lvm_lv_inactive_table{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_info +# TYPE lvm_lv_info gauge +lvm_lv_info{lv_active="",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="-wi-------",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-data",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/data",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="-1",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="data",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="/dev/vgaaa/data",lv_permissions="unknown",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="public",lv_tags="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="Iwi---r---",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-mirrored_rimage_0",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/mirrored_rimage_0",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="-1",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[mirrored_rimage_0]",lv_origin="",lv_origin_uuid="",lv_parent="mirrored",lv_path="",lv_permissions="unknown",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private,raid,image",lv_tags="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="Iwi---r-p-",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-mirrored_rimage_1",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/mirrored_rimage_1",lv_health_status="partial",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="-1",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[mirrored_rimage_1]",lv_origin="",lv_origin_uuid="",lv_parent="mirrored",lv_path="",lv_permissions="unknown",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private,raid,image",lv_tags="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="ewi---r---",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-mirrored_rmeta_0",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/mirrored_rmeta_0",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="-1",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[mirrored_rmeta_0]",lv_origin="",lv_origin_uuid="",lv_parent="mirrored",lv_path="",lv_permissions="unknown",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private,raid,metadata",lv_tags="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="ewi---r-p-",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-mirrored_rmeta_1",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/mirrored_rmeta_1",lv_health_status="partial",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="-1",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[mirrored_rmeta_1]",lv_origin="",lv_origin_uuid="",lv_parent="mirrored",lv_path="",lv_permissions="unknown",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private,raid,metadata",lv_tags="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="rwi---r-p-",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-mirrored",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/mirrored",lv_health_status="partial",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="-1",lv_layout="raid,raid1",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="raid",lv_move_pv="",lv_move_pv_uuid="",lv_name="mirrored",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="/dev/vgaaa/mirrored",lv_permissions="unknown",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="public",lv_tags="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +# HELP lvm_lv_initial_image_sync Set if mirror/RAID images underwent initial resynchronization +# TYPE lvm_lv_initial_image_sync gauge +lvm_lv_initial_image_sync{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 +lvm_lv_initial_image_sync{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 0 +lvm_lv_initial_image_sync{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 +lvm_lv_initial_image_sync{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_initial_image_sync{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 +lvm_lv_initial_image_sync{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_kernel_cache_policy Cache policy used in kernel +# TYPE lvm_lv_kernel_cache_policy gauge +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_kernel_cache_settings Cache settings/parameters as set in kernel, including default values (cached segments only) +# TYPE lvm_lv_kernel_cache_settings gauge +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_kernel_discards For thin pools, how discards are handled in kernel +# TYPE lvm_lv_kernel_discards gauge +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_kernel_major Currently assigned major number or -1 if LV is not active +# TYPE lvm_lv_kernel_major gauge +lvm_lv_kernel_major{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 +lvm_lv_kernel_major{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} -1 +lvm_lv_kernel_major{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 +lvm_lv_kernel_major{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 +lvm_lv_kernel_major{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 +lvm_lv_kernel_major{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_kernel_metadata_format Cache metadata format used in kernel +# TYPE lvm_lv_kernel_metadata_format gauge +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_kernel_minor Currently assigned minor number or -1 if LV is not active +# TYPE lvm_lv_kernel_minor gauge +lvm_lv_kernel_minor{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 +lvm_lv_kernel_minor{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} -1 +lvm_lv_kernel_minor{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 +lvm_lv_kernel_minor{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 +lvm_lv_kernel_minor{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 +lvm_lv_kernel_minor{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_kernel_read_ahead_bytes Currently-in-use read ahead setting +# TYPE lvm_lv_kernel_read_ahead_bytes gauge +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="-1",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="-1",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="-1",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="-1",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="-1",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="-1",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_layout LV layout +# TYPE lvm_lv_layout gauge +lvm_lv_layout{lv_layout="linear",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_layout{lv_layout="raid,raid1",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +# HELP lvm_lv_live_table Set if LV has live table present +# TYPE lvm_lv_live_table gauge +lvm_lv_live_table{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 +lvm_lv_live_table{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} -1 +lvm_lv_live_table{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 +lvm_lv_live_table{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 +lvm_lv_live_table{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 +lvm_lv_live_table{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_lockargs Lock args of the LV used by lvmlockd +# TYPE lvm_lv_lockargs gauge +lvm_lv_lockargs{lv_lockargs="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_major Persistent major number or -1 if not persistent +# TYPE lvm_lv_major gauge +lvm_lv_major{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 +lvm_lv_major{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} -1 +lvm_lv_major{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 +lvm_lv_major{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 +lvm_lv_major{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 +lvm_lv_major{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_merge_failed Set if snapshot merge failed +# TYPE lvm_lv_merge_failed gauge +lvm_lv_merge_failed{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 +lvm_lv_merge_failed{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} -1 +lvm_lv_merge_failed{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 +lvm_lv_merge_failed{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 +lvm_lv_merge_failed{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 +lvm_lv_merge_failed{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_merging Set if snapshot LV is being merged to origin +# TYPE lvm_lv_merging gauge +lvm_lv_merging{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 +lvm_lv_merging{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 0 +lvm_lv_merging{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 +lvm_lv_merging{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 +lvm_lv_merging{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 +lvm_lv_merging{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_metadata_lv For cache/thin pools, the LV holding the associated metadata +# TYPE lvm_lv_metadata_lv gauge +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_metadata_lv_uuid For cache/thin pools, the UUID of the LV holding the associated metadata +# TYPE lvm_lv_metadata_lv_uuid gauge +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_minor Persistent minor number or -1 if not persistent +# TYPE lvm_lv_minor gauge +lvm_lv_minor{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 +lvm_lv_minor{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} -1 +lvm_lv_minor{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 +lvm_lv_minor{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 +lvm_lv_minor{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 +lvm_lv_minor{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_mirror_log For mirrors, the LV holding the synchronisation log +# TYPE lvm_lv_mirror_log gauge +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_mirror_log_uuid For mirrors, the UUID of the LV holding the synchronisation log +# TYPE lvm_lv_mirror_log_uuid gauge +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_modules Kernel device-mapper modules required for this LV +# TYPE lvm_lv_modules gauge +lvm_lv_modules{lv_modules="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_modules{lv_modules="raid",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +# HELP lvm_lv_move_pv For pvmove, Source PV of temporary LV created by pvmove +# TYPE lvm_lv_move_pv gauge +lvm_lv_move_pv{lv_move_pv="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_move_pv_uuid For pvmove, the UUID of Source PV of temporary LV created by pvmove +# TYPE lvm_lv_move_pv_uuid gauge +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_origin For snapshots and thins, the origin device of this LV +# TYPE lvm_lv_origin gauge +lvm_lv_origin{lv_origin="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_origin_uuid For snapshots and thins, the UUID of origin device of this LV +# TYPE lvm_lv_origin_uuid gauge +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_parent For LVs that are components of another LV, the parent LV +# TYPE lvm_lv_parent gauge +lvm_lv_parent{lv_parent="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_parent{lv_parent="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_parent{lv_parent="mirrored",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_parent{lv_parent="mirrored",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_parent{lv_parent="mirrored",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_parent{lv_parent="mirrored",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +# HELP lvm_lv_path Full pathname for LV. Blank for internal LVs +# TYPE lvm_lv_path gauge +lvm_lv_path{lv_path="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_path{lv_path="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_path{lv_path="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_path{lv_path="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_path{lv_path="/dev/vgaaa/data",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_path{lv_path="/dev/vgaaa/mirrored",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +# HELP lvm_lv_permissions LV permissions +# TYPE lvm_lv_permissions gauge +lvm_lv_permissions{lv_permissions="unknown",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_permissions{lv_permissions="unknown",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_permissions{lv_permissions="unknown",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_permissions{lv_permissions="unknown",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_permissions{lv_permissions="unknown",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_permissions{lv_permissions="unknown",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_pool_lv For cache/thin/vdo volumes, the cache/thin/vdo pool LV for this volume +# TYPE lvm_lv_pool_lv gauge +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_pool_lv_uuid For cache/thin/vdo volumes, the UUID of the cache/thin/vdo pool LV for this volume +# TYPE lvm_lv_pool_lv_uuid gauge +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_raid_sync_action For RAID, the current synchronization action being performed +# TYPE lvm_lv_raid_sync_action gauge +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_read_ahead_bytes Read ahead setting +# TYPE lvm_lv_read_ahead_bytes gauge +lvm_lv_read_ahead_bytes{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 +lvm_lv_read_ahead_bytes{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} -1 +lvm_lv_read_ahead_bytes{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 +lvm_lv_read_ahead_bytes{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 +lvm_lv_read_ahead_bytes{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 +lvm_lv_read_ahead_bytes{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_role LV role +# TYPE lvm_lv_role gauge +lvm_lv_role{lv_role="private,raid,image",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_role{lv_role="private,raid,image",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_role{lv_role="private,raid,metadata",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_role{lv_role="private,raid,metadata",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_role{lv_role="public",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_role{lv_role="public",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_seg_count Number of segments in LV +# TYPE lvm_lv_seg_count gauge +lvm_lv_seg_count{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_seg_count{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_seg_count{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_seg_count{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_seg_count{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_seg_count{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_size_bytes Size of LV +# TYPE lvm_lv_size_bytes gauge +lvm_lv_size_bytes{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 4.194304e+06 +lvm_lv_size_bytes{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 2.9360128e+07 +lvm_lv_size_bytes{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 2.9360128e+07 +lvm_lv_size_bytes{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 2.9360128e+07 +lvm_lv_size_bytes{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 4.194304e+06 +lvm_lv_size_bytes{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 4.194304e+06 +# HELP lvm_lv_skip_activation Set if LV is skipped on activation +# TYPE lvm_lv_skip_activation gauge +lvm_lv_skip_activation{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 +lvm_lv_skip_activation{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 0 +lvm_lv_skip_activation{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 +lvm_lv_skip_activation{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 +lvm_lv_skip_activation{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 +lvm_lv_skip_activation{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_snapshot_invalid Set if snapshot LV is invalid +# TYPE lvm_lv_snapshot_invalid gauge +lvm_lv_snapshot_invalid{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 +lvm_lv_snapshot_invalid{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} -1 +lvm_lv_snapshot_invalid{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 +lvm_lv_snapshot_invalid{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 +lvm_lv_snapshot_invalid{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 +lvm_lv_snapshot_invalid{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_suspended Set if LV is suspended +# TYPE lvm_lv_suspended gauge +lvm_lv_suspended{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 +lvm_lv_suspended{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} -1 +lvm_lv_suspended{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 +lvm_lv_suspended{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 +lvm_lv_suspended{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 +lvm_lv_suspended{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_tags Tags, if any +# TYPE lvm_lv_tags gauge +lvm_lv_tags{lv_tags="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_time Creation time of the LV, if known +# TYPE lvm_lv_time gauge +lvm_lv_time{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1.628538429e+09 +lvm_lv_time{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1.628538429e+09 +lvm_lv_time{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1.628538429e+09 +lvm_lv_time{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1.628538429e+09 +lvm_lv_time{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1.628538429e+09 +lvm_lv_time{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1.628424605e+09 +# HELP lvm_lv_when_full For thin pools, behavior when full +# TYPE lvm_lv_when_full gauge +lvm_lv_when_full{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu",lv_when_full=""} 1 +# HELP lvm_pv_allocatable Set if this device can be used for allocation +# TYPE lvm_pv_allocatable gauge +lvm_pv_allocatable{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_allocatable{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_attr +# TYPE lvm_pv_attr gauge +lvm_pv_attr{pv_attr="a--",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +lvm_pv_attr{pv_attr="a-m",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +# HELP lvm_pv_ba_size_bytes Size of PV Bootloader Area +# TYPE lvm_pv_ba_size_bytes gauge +lvm_pv_ba_size_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 +lvm_pv_ba_size_bytes{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 0 +# HELP lvm_pv_ba_start Offset to the start of PV Bootloader Area on the underlying device +# TYPE lvm_pv_ba_start gauge +lvm_pv_ba_start{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 +lvm_pv_ba_start{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 0 +# HELP lvm_pv_dev_size_bytes Size of underlying device +# TYPE lvm_pv_dev_size_bytes gauge +lvm_pv_dev_size_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 +lvm_pv_dev_size_bytes{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1.048576e+09 +# HELP lvm_pv_duplicate Set if PV is an unchosen duplicate +# TYPE lvm_pv_duplicate gauge +lvm_pv_duplicate{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 +lvm_pv_duplicate{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 0 +# HELP lvm_pv_exported Set if this device is exported +# TYPE lvm_pv_exported gauge +lvm_pv_exported{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 +lvm_pv_exported{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 0 +# HELP lvm_pv_ext_vsn PV header extension version +# TYPE lvm_pv_ext_vsn gauge +lvm_pv_ext_vsn{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 2 +# HELP lvm_pv_fmt Type of metadata +# TYPE lvm_pv_fmt gauge +lvm_pv_fmt{pv_fmt="lvm2",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_fmt{pv_fmt="lvm2",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_free_bytes Total amount of unallocated space +# TYPE lvm_pv_free_bytes gauge +lvm_pv_free_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1.010827264e+09 +lvm_pv_free_bytes{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1.00663296e+09 +# HELP lvm_pv_in_use Set if PV is used +# TYPE lvm_pv_in_use gauge +lvm_pv_in_use{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_in_use{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_info +# TYPE lvm_pv_info gauge +lvm_pv_info{pv_attr="a--",pv_fmt="lvm2",pv_name="/dev/loop0",pv_tags="",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +lvm_pv_info{pv_attr="a-m",pv_fmt="lvm2",pv_name="[unknown]",pv_tags="",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +# HELP lvm_pv_major Device major number +# TYPE lvm_pv_major gauge +lvm_pv_major{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 +lvm_pv_major{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 7 +# HELP lvm_pv_mda_count Number of metadata areas +# TYPE lvm_pv_mda_count gauge +lvm_pv_mda_count{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 +lvm_pv_mda_count{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_mda_free_bytes Free metadata area space +# TYPE lvm_pv_mda_free_bytes gauge +lvm_pv_mda_free_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 +lvm_pv_mda_free_bytes{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 518656 +# HELP lvm_pv_mda_size_bytes Size of smallest metadata area +# TYPE lvm_pv_mda_size_bytes gauge +lvm_pv_mda_size_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 +lvm_pv_mda_size_bytes{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1.04448e+06 +# HELP lvm_pv_mda_used_count Number of metadata areas in use +# TYPE lvm_pv_mda_used_count gauge +lvm_pv_mda_used_count{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 +lvm_pv_mda_used_count{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_minor Device minor number +# TYPE lvm_pv_minor gauge +lvm_pv_minor{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 +lvm_pv_minor{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 0 +# HELP lvm_pv_missing Set if this device is missing in system +# TYPE lvm_pv_missing gauge +lvm_pv_missing{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_missing{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 0 +# HELP lvm_pv_pe_alloc_count Total number of allocated Physical Extents +# TYPE lvm_pv_pe_alloc_count gauge +lvm_pv_pe_alloc_count{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 8 +lvm_pv_pe_alloc_count{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 9 +# HELP lvm_pv_pe_count Total number of Physical Extents +# TYPE lvm_pv_pe_count gauge +lvm_pv_pe_count{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 249 +lvm_pv_pe_count{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 249 +# HELP lvm_pv_pe_start Offset to the start of data on the underlying device +# TYPE lvm_pv_pe_start gauge +lvm_pv_pe_start{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1.048576e+06 +lvm_pv_pe_start{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1.048576e+06 +# HELP lvm_pv_size_bytes Size of PV +# TYPE lvm_pv_size_bytes gauge +lvm_pv_size_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1.044381696e+09 +lvm_pv_size_bytes{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1.044381696e+09 +# HELP lvm_pv_tags +# TYPE lvm_pv_tags gauge +lvm_pv_tags{pv_tags="",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_tags{pv_tags="",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_used Total amount of allocated space +# TYPE lvm_pv_used gauge +lvm_pv_used{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 3.3554432e+07 +lvm_pv_used{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 3.7748736e+07 +# HELP lvm_unknown_field_count Fields reported by LVM not recognized by exporter +# TYPE lvm_unknown_field_count gauge +lvm_unknown_field_count{details="",group="lv"} 0 +lvm_unknown_field_count{details="",group="pv"} 0 +lvm_unknown_field_count{details="",group="vg"} 0 +# HELP lvm_up Whether scrape was successful +# TYPE lvm_up gauge +lvm_up{status=""} 1 +# HELP lvm_vg_allocation_policy +# TYPE lvm_vg_allocation_policy gauge +lvm_vg_allocation_policy{vg_allocation_policy="normal",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_attr +# TYPE lvm_vg_attr gauge +lvm_vg_attr{vg_attr="wz-pn-",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_clustered Set if VG is clustered +# TYPE lvm_vg_clustered gauge +lvm_vg_clustered{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +# HELP lvm_vg_exported Set if VG is exported +# TYPE lvm_vg_exported gauge +lvm_vg_exported{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +# HELP lvm_vg_extendable Set if VG is extendable +# TYPE lvm_vg_extendable gauge +lvm_vg_extendable{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_extent_count Total number of Physical Extents +# TYPE lvm_vg_extent_count gauge +lvm_vg_extent_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 498 +# HELP lvm_vg_extent_size_bytes Size of Physical Extents +# TYPE lvm_vg_extent_size_bytes gauge +lvm_vg_extent_size_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 4.194304e+06 +# HELP lvm_vg_fmt Type of metadata +# TYPE lvm_vg_fmt gauge +lvm_vg_fmt{vg_fmt="lvm2",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_free_bytes Total amount of free space in bytes +# TYPE lvm_vg_free_bytes gauge +lvm_vg_free_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 2.017460224e+09 +# HELP lvm_vg_free_count Total number of unallocated Physical Extents +# TYPE lvm_vg_free_count gauge +lvm_vg_free_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 481 +# HELP lvm_vg_info +# TYPE lvm_vg_info gauge +lvm_vg_info{vg_allocation_policy="normal",vg_attr="wz-pn-",vg_fmt="lvm2",vg_lock_args="",vg_lock_type="",vg_name="vgaaa",vg_permissions="writeable",vg_systemid="",vg_tags="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_lock_args +# TYPE lvm_vg_lock_args gauge +lvm_vg_lock_args{vg_lock_args="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_lock_type +# TYPE lvm_vg_lock_type gauge +lvm_vg_lock_type{vg_lock_type="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_lv_count Number of LVs +# TYPE lvm_vg_lv_count gauge +lvm_vg_lv_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 2 +# HELP lvm_vg_max_lv Maximum number of LVs allowed in VG or 0 if unlimited +# TYPE lvm_vg_max_lv gauge +lvm_vg_max_lv{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +# HELP lvm_vg_max_pv Maximum number of PVs allowed in VG or 0 if unlimited +# TYPE lvm_vg_max_pv gauge +lvm_vg_max_pv{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +# HELP lvm_vg_mda_copies Target number of in use metadata areas in the VG +# TYPE lvm_vg_mda_copies gauge +lvm_vg_mda_copies{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +# HELP lvm_vg_mda_count Number of metadata areas +# TYPE lvm_vg_mda_count gauge +lvm_vg_mda_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_mda_free_bytes Free metadata area space for this VG +# TYPE lvm_vg_mda_free_bytes gauge +lvm_vg_mda_free_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 518656 +# HELP lvm_vg_mda_size_bytes Size of smallest metadata area for this VG +# TYPE lvm_vg_mda_size_bytes gauge +lvm_vg_mda_size_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1.04448e+06 +# HELP lvm_vg_mda_used_count Number of metadata areas in use on this VG +# TYPE lvm_vg_mda_used_count gauge +lvm_vg_mda_used_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_missing_pv_count Number of PVs in VG which are missing +# TYPE lvm_vg_missing_pv_count gauge +lvm_vg_missing_pv_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_partial Set if VG is partial +# TYPE lvm_vg_partial gauge +lvm_vg_partial{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_permissions +# TYPE lvm_vg_permissions gauge +lvm_vg_permissions{vg_permissions="writeable",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_pv_count Number of PVs in VG +# TYPE lvm_vg_pv_count gauge +lvm_vg_pv_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 2 +# HELP lvm_vg_seqno Revision number of internal metadata +# TYPE lvm_vg_seqno gauge +lvm_vg_seqno{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 5 +# HELP lvm_vg_shared Set if VG is shared +# TYPE lvm_vg_shared gauge +lvm_vg_shared{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +# HELP lvm_vg_size_bytes Total size of VG in bytes +# TYPE lvm_vg_size_bytes gauge +lvm_vg_size_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 2.088763392e+09 +# HELP lvm_vg_snap_count Number of snapshots +# TYPE lvm_vg_snap_count gauge +lvm_vg_snap_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +# HELP lvm_vg_systemid +# TYPE lvm_vg_systemid gauge +lvm_vg_systemid{vg_systemid="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_tags +# TYPE lvm_vg_tags gauge +lvm_vg_tags{vg_tags="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 diff --git a/testdata/mirrored-unhealthy.golden b/testdata/mirrored-unhealthy.golden index ff104ae..5a46879 100644 --- a/testdata/mirrored-unhealthy.golden +++ b/testdata/mirrored-unhealthy.golden @@ -1,3 +1,11 @@ +# HELP lvm_lv_active Active state of the LV +# TYPE lvm_lv_active gauge +lvm_lv_active{lv_active="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_active{lv_active="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_active{lv_active="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_active{lv_active="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_active{lv_active="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_active{lv_active="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_active_exclusively Set if the LV is active exclusively # TYPE lvm_lv_active_exclusively gauge lvm_lv_active_exclusively{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 @@ -30,6 +38,30 @@ lvm_lv_allocation_locked{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 lvm_lv_allocation_locked{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 lvm_lv_allocation_locked{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 lvm_lv_allocation_locked{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_allocation_policy LV allocation policy +# TYPE lvm_lv_allocation_policy gauge +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_ancestors LV ancestors ignoring any stored history of the ancestry chain +# TYPE lvm_lv_ancestors gauge +lvm_lv_ancestors{lv_ancestors="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_attr Various attributes +# TYPE lvm_lv_attr gauge +lvm_lv_attr{lv_attr="-wi-------",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_attr{lv_attr="Iwi---r---",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_attr{lv_attr="Iwi---r-p-",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_attr{lv_attr="ewi---r---",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_attr{lv_attr="ewi---r-p-",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_attr{lv_attr="rwi---r-p-",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 # HELP lvm_lv_check_needed For thin pools and cache volumes, whether metadata check is needed # TYPE lvm_lv_check_needed gauge lvm_lv_check_needed{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 @@ -38,6 +70,22 @@ lvm_lv_check_needed{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 lvm_lv_check_needed{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 lvm_lv_check_needed{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 lvm_lv_check_needed{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_convert_lv For lvconvert, Name of temporary LV created by lvconvert +# TYPE lvm_lv_convert_lv gauge +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_convert_lv_uuid For lvconvert, UUID of temporary LV created by lvconvert +# TYPE lvm_lv_convert_lv_uuid gauge +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_converting Set if LV is being converted # TYPE lvm_lv_converting gauge lvm_lv_converting{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 @@ -46,6 +94,30 @@ lvm_lv_converting{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 lvm_lv_converting{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 lvm_lv_converting{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 lvm_lv_converting{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_data_lv For cache/thin/vdo pools, the LV holding the associated data +# TYPE lvm_lv_data_lv gauge +lvm_lv_data_lv{lv_data_lv="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_data_lv_uuid For cache/thin/vdo pools, the UUID of the LV holding the associated data +# TYPE lvm_lv_data_lv_uuid gauge +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_descendants LV descendants ignoring any stored history of the ancestry chain +# TYPE lvm_lv_descendants gauge +lvm_lv_descendants{lv_descendants="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_device_open Set if LV device is open # TYPE lvm_lv_device_open gauge lvm_lv_device_open{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 @@ -54,6 +126,14 @@ lvm_lv_device_open{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 lvm_lv_device_open{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 lvm_lv_device_open{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 lvm_lv_device_open{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_dm_path Internal device-mapper pathname for LV (in /dev/mapper directory) +# TYPE lvm_lv_dm_path gauge +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-data",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-mirrored",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-mirrored_rimage_0",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-mirrored_rimage_1",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-mirrored_rmeta_0",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-mirrored_rmeta_1",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 # HELP lvm_lv_fixed_minor Set if LV has fixed minor number assigned # TYPE lvm_lv_fixed_minor gauge lvm_lv_fixed_minor{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 @@ -62,6 +142,30 @@ lvm_lv_fixed_minor{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 lvm_lv_fixed_minor{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 lvm_lv_fixed_minor{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 lvm_lv_fixed_minor{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_full_ancestors LV ancestors including stored history of the ancestry chain +# TYPE lvm_lv_full_ancestors gauge +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_full_descendants LV descendants including stored history of the ancestry chain +# TYPE lvm_lv_full_descendants gauge +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_health_status LV health status +# TYPE lvm_lv_health_status gauge +lvm_lv_health_status{lv_health_status="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_health_status{lv_health_status="partial",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_health_status{lv_health_status="partial",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_health_status{lv_health_status="partial",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 # HELP lvm_lv_historical Set if the LV is historical # TYPE lvm_lv_historical gauge lvm_lv_historical{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 @@ -70,6 +174,14 @@ lvm_lv_historical{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 lvm_lv_historical{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 lvm_lv_historical{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 lvm_lv_historical{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_host Creation host of the LV, if known +# TYPE lvm_lv_host gauge +lvm_lv_host{lv_host="buster",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_image_synced Set if mirror/RAID image is synchronized # TYPE lvm_lv_image_synced gauge lvm_lv_image_synced{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 @@ -88,12 +200,12 @@ lvm_lv_inactive_table{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 lvm_lv_inactive_table{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 # HELP lvm_lv_info # TYPE lvm_lv_info gauge -lvm_lv_info{lv_active="",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="-wi-------",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-data",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/data",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="-1",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="data",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="/dev/vgaaa/data",lv_permissions="unknown",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="public",lv_tags="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="Iwi---r---",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-mirrored_rimage_0",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/mirrored_rimage_0",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="-1",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[mirrored_rimage_0]",lv_origin="",lv_origin_uuid="",lv_parent="mirrored",lv_path="",lv_permissions="unknown",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private,raid,image",lv_tags="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="Iwi---r-p-",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-mirrored_rimage_1",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/mirrored_rimage_1",lv_health_status="partial",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="-1",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[mirrored_rimage_1]",lv_origin="",lv_origin_uuid="",lv_parent="mirrored",lv_path="",lv_permissions="unknown",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private,raid,image",lv_tags="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="ewi---r---",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-mirrored_rmeta_0",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/mirrored_rmeta_0",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="-1",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[mirrored_rmeta_0]",lv_origin="",lv_origin_uuid="",lv_parent="mirrored",lv_path="",lv_permissions="unknown",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private,raid,metadata",lv_tags="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="ewi---r-p-",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-mirrored_rmeta_1",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/mirrored_rmeta_1",lv_health_status="partial",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="-1",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[mirrored_rmeta_1]",lv_origin="",lv_origin_uuid="",lv_parent="mirrored",lv_path="",lv_permissions="unknown",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private,raid,metadata",lv_tags="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="rwi---r-p-",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-mirrored",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/mirrored",lv_health_status="partial",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="-1",lv_layout="raid,raid1",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="raid",lv_move_pv="",lv_move_pv_uuid="",lv_name="mirrored",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="/dev/vgaaa/mirrored",lv_permissions="unknown",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="public",lv_tags="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_full_name="vgaaa/data",lv_name="data",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_info{lv_full_name="vgaaa/mirrored",lv_name="mirrored",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_info{lv_full_name="vgaaa/mirrored_rimage_0",lv_name="[mirrored_rimage_0]",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_info{lv_full_name="vgaaa/mirrored_rimage_1",lv_name="[mirrored_rimage_1]",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_info{lv_full_name="vgaaa/mirrored_rmeta_0",lv_name="[mirrored_rmeta_0]",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_info{lv_full_name="vgaaa/mirrored_rmeta_1",lv_name="[mirrored_rmeta_1]",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 # HELP lvm_lv_initial_image_sync Set if mirror/RAID images underwent initial resynchronization # TYPE lvm_lv_initial_image_sync gauge lvm_lv_initial_image_sync{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 @@ -102,6 +214,30 @@ lvm_lv_initial_image_sync{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 lvm_lv_initial_image_sync{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 lvm_lv_initial_image_sync{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 lvm_lv_initial_image_sync{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_kernel_cache_policy Cache policy used in kernel +# TYPE lvm_lv_kernel_cache_policy gauge +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_kernel_cache_settings Cache settings/parameters as set in kernel, including default values (cached segments only) +# TYPE lvm_lv_kernel_cache_settings gauge +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_kernel_discards For thin pools, how discards are handled in kernel +# TYPE lvm_lv_kernel_discards gauge +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_kernel_major Currently assigned major number or -1 if LV is not active # TYPE lvm_lv_kernel_major gauge lvm_lv_kernel_major{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 @@ -110,6 +246,14 @@ lvm_lv_kernel_major{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 lvm_lv_kernel_major{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 lvm_lv_kernel_major{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 lvm_lv_kernel_major{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_kernel_metadata_format Cache metadata format used in kernel +# TYPE lvm_lv_kernel_metadata_format gauge +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_kernel_minor Currently assigned minor number or -1 if LV is not active # TYPE lvm_lv_kernel_minor gauge lvm_lv_kernel_minor{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 @@ -118,6 +262,22 @@ lvm_lv_kernel_minor{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 lvm_lv_kernel_minor{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 lvm_lv_kernel_minor{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 lvm_lv_kernel_minor{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_kernel_read_ahead_bytes Currently-in-use read ahead setting +# TYPE lvm_lv_kernel_read_ahead_bytes gauge +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="-1",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="-1",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="-1",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="-1",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="-1",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="-1",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_layout LV layout +# TYPE lvm_lv_layout gauge +lvm_lv_layout{lv_layout="linear",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_layout{lv_layout="raid,raid1",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 # HELP lvm_lv_live_table Set if LV has live table present # TYPE lvm_lv_live_table gauge lvm_lv_live_table{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 @@ -126,6 +286,14 @@ lvm_lv_live_table{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 lvm_lv_live_table{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 lvm_lv_live_table{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 lvm_lv_live_table{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_lockargs Lock args of the LV used by lvmlockd +# TYPE lvm_lv_lockargs gauge +lvm_lv_lockargs{lv_lockargs="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_major Persistent major number or -1 if not persistent # TYPE lvm_lv_major gauge lvm_lv_major{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 @@ -150,6 +318,22 @@ lvm_lv_merging{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 lvm_lv_merging{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 lvm_lv_merging{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 lvm_lv_merging{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_metadata_lv For cache/thin pools, the LV holding the associated metadata +# TYPE lvm_lv_metadata_lv gauge +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_metadata_lv_uuid For cache/thin pools, the UUID of the LV holding the associated metadata +# TYPE lvm_lv_metadata_lv_uuid gauge +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_minor Persistent minor number or -1 if not persistent # TYPE lvm_lv_minor gauge lvm_lv_minor{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 @@ -158,6 +342,110 @@ lvm_lv_minor{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 lvm_lv_minor{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 lvm_lv_minor{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 lvm_lv_minor{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_mirror_log For mirrors, the LV holding the synchronisation log +# TYPE lvm_lv_mirror_log gauge +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_mirror_log_uuid For mirrors, the UUID of the LV holding the synchronisation log +# TYPE lvm_lv_mirror_log_uuid gauge +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_modules Kernel device-mapper modules required for this LV +# TYPE lvm_lv_modules gauge +lvm_lv_modules{lv_modules="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_modules{lv_modules="raid",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +# HELP lvm_lv_move_pv For pvmove, Source PV of temporary LV created by pvmove +# TYPE lvm_lv_move_pv gauge +lvm_lv_move_pv{lv_move_pv="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_move_pv_uuid For pvmove, the UUID of Source PV of temporary LV created by pvmove +# TYPE lvm_lv_move_pv_uuid gauge +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_origin For snapshots and thins, the origin device of this LV +# TYPE lvm_lv_origin gauge +lvm_lv_origin{lv_origin="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_origin_uuid For snapshots and thins, the UUID of origin device of this LV +# TYPE lvm_lv_origin_uuid gauge +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_parent For LVs that are components of another LV, the parent LV +# TYPE lvm_lv_parent gauge +lvm_lv_parent{lv_parent="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_parent{lv_parent="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_parent{lv_parent="mirrored",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_parent{lv_parent="mirrored",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_parent{lv_parent="mirrored",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_parent{lv_parent="mirrored",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +# HELP lvm_lv_path Full pathname for LV. Blank for internal LVs +# TYPE lvm_lv_path gauge +lvm_lv_path{lv_path="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_path{lv_path="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_path{lv_path="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_path{lv_path="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_path{lv_path="/dev/vgaaa/data",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_path{lv_path="/dev/vgaaa/mirrored",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +# HELP lvm_lv_permissions LV permissions +# TYPE lvm_lv_permissions gauge +lvm_lv_permissions{lv_permissions="unknown",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_permissions{lv_permissions="unknown",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_permissions{lv_permissions="unknown",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_permissions{lv_permissions="unknown",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_permissions{lv_permissions="unknown",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_permissions{lv_permissions="unknown",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_pool_lv For cache/thin/vdo volumes, the cache/thin/vdo pool LV for this volume +# TYPE lvm_lv_pool_lv gauge +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_pool_lv_uuid For cache/thin/vdo volumes, the UUID of the cache/thin/vdo pool LV for this volume +# TYPE lvm_lv_pool_lv_uuid gauge +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_raid_sync_action For RAID, the current synchronization action being performed +# TYPE lvm_lv_raid_sync_action gauge +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_read_ahead_bytes Read ahead setting # TYPE lvm_lv_read_ahead_bytes gauge lvm_lv_read_ahead_bytes{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 @@ -166,6 +454,14 @@ lvm_lv_read_ahead_bytes{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 lvm_lv_read_ahead_bytes{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 lvm_lv_read_ahead_bytes{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 lvm_lv_read_ahead_bytes{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_role LV role +# TYPE lvm_lv_role gauge +lvm_lv_role{lv_role="private,raid,image",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_role{lv_role="private,raid,image",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_role{lv_role="private,raid,metadata",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_role{lv_role="private,raid,metadata",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_role{lv_role="public",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_role{lv_role="public",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_seg_count Number of segments in LV # TYPE lvm_lv_seg_count gauge lvm_lv_seg_count{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 @@ -206,6 +502,14 @@ lvm_lv_suspended{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 lvm_lv_suspended{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 lvm_lv_suspended{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 lvm_lv_suspended{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_tags Tags, if any +# TYPE lvm_lv_tags gauge +lvm_lv_tags{lv_tags="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_time Creation time of the LV, if known # TYPE lvm_lv_time gauge lvm_lv_time{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1.628538429e+09 @@ -214,10 +518,22 @@ lvm_lv_time{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1.628538429e+09 lvm_lv_time{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1.628538429e+09 lvm_lv_time{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1.628538429e+09 lvm_lv_time{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1.628424605e+09 +# HELP lvm_lv_when_full For thin pools, behavior when full +# TYPE lvm_lv_when_full gauge +lvm_lv_when_full{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu",lv_when_full=""} 1 # HELP lvm_pv_allocatable Set if this device can be used for allocation # TYPE lvm_pv_allocatable gauge lvm_pv_allocatable{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 lvm_pv_allocatable{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_attr +# TYPE lvm_pv_attr gauge +lvm_pv_attr{pv_attr="a--",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +lvm_pv_attr{pv_attr="a-m",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 # HELP lvm_pv_ba_size_bytes Size of PV Bootloader Area # TYPE lvm_pv_ba_size_bytes gauge lvm_pv_ba_size_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 @@ -241,6 +557,10 @@ lvm_pv_exported{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 0 # HELP lvm_pv_ext_vsn PV header extension version # TYPE lvm_pv_ext_vsn gauge lvm_pv_ext_vsn{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 2 +# HELP lvm_pv_fmt Type of metadata +# TYPE lvm_pv_fmt gauge +lvm_pv_fmt{pv_fmt="lvm2",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_fmt{pv_fmt="lvm2",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 # HELP lvm_pv_free_bytes Total amount of unallocated space # TYPE lvm_pv_free_bytes gauge lvm_pv_free_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1.010827264e+09 @@ -251,8 +571,8 @@ lvm_pv_in_use{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 lvm_pv_in_use{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 # HELP lvm_pv_info # TYPE lvm_pv_info gauge -lvm_pv_info{pv_attr="a--",pv_fmt="lvm2",pv_name="/dev/loop0",pv_tags="",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 -lvm_pv_info{pv_attr="a-m",pv_fmt="lvm2",pv_name="[unknown]",pv_tags="",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_info{pv_name="/dev/loop0",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +lvm_pv_info{pv_name="[unknown]",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 # HELP lvm_pv_major Device major number # TYPE lvm_pv_major gauge lvm_pv_major{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 @@ -297,6 +617,10 @@ lvm_pv_pe_start{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1.048576e+06 # TYPE lvm_pv_size_bytes gauge lvm_pv_size_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1.044381696e+09 lvm_pv_size_bytes{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1.044381696e+09 +# HELP lvm_pv_tags +# TYPE lvm_pv_tags gauge +lvm_pv_tags{pv_tags="",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_tags{pv_tags="",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 # HELP lvm_pv_used Total amount of allocated space # TYPE lvm_pv_used gauge lvm_pv_used{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 3.3554432e+07 @@ -309,6 +633,12 @@ lvm_unknown_field_count{details="",group="vg"} 0 # HELP lvm_up Whether scrape was successful # TYPE lvm_up gauge lvm_up{status=""} 1 +# HELP lvm_vg_allocation_policy +# TYPE lvm_vg_allocation_policy gauge +lvm_vg_allocation_policy{vg_allocation_policy="normal",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_attr +# TYPE lvm_vg_attr gauge +lvm_vg_attr{vg_attr="wz-pn-",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 # HELP lvm_vg_clustered Set if VG is clustered # TYPE lvm_vg_clustered gauge lvm_vg_clustered{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 @@ -324,6 +654,9 @@ lvm_vg_extent_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 498 # HELP lvm_vg_extent_size_bytes Size of Physical Extents # TYPE lvm_vg_extent_size_bytes gauge lvm_vg_extent_size_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 4.194304e+06 +# HELP lvm_vg_fmt Type of metadata +# TYPE lvm_vg_fmt gauge +lvm_vg_fmt{vg_fmt="lvm2",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 # HELP lvm_vg_free_bytes Total amount of free space in bytes # TYPE lvm_vg_free_bytes gauge lvm_vg_free_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 2.017460224e+09 @@ -332,7 +665,13 @@ lvm_vg_free_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 2.017460224e lvm_vg_free_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 481 # HELP lvm_vg_info # TYPE lvm_vg_info gauge -lvm_vg_info{vg_allocation_policy="normal",vg_attr="wz-pn-",vg_fmt="lvm2",vg_lock_args="",vg_lock_type="",vg_name="vgaaa",vg_permissions="writeable",vg_systemid="",vg_tags="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_info{vg_name="vgaaa",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_lock_args +# TYPE lvm_vg_lock_args gauge +lvm_vg_lock_args{vg_lock_args="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_lock_type +# TYPE lvm_vg_lock_type gauge +lvm_vg_lock_type{vg_lock_type="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 # HELP lvm_vg_lv_count Number of LVs # TYPE lvm_vg_lv_count gauge lvm_vg_lv_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 2 @@ -363,6 +702,9 @@ lvm_vg_missing_pv_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 # HELP lvm_vg_partial Set if VG is partial # TYPE lvm_vg_partial gauge lvm_vg_partial{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_permissions +# TYPE lvm_vg_permissions gauge +lvm_vg_permissions{vg_permissions="writeable",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 # HELP lvm_vg_pv_count Number of PVs in VG # TYPE lvm_vg_pv_count gauge lvm_vg_pv_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 2 @@ -378,3 +720,9 @@ lvm_vg_size_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 2.088763392e # HELP lvm_vg_snap_count Number of snapshots # TYPE lvm_vg_snap_count gauge lvm_vg_snap_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +# HELP lvm_vg_systemid +# TYPE lvm_vg_systemid gauge +lvm_vg_systemid{vg_systemid="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_tags +# TYPE lvm_vg_tags gauge +lvm_vg_tags{vg_tags="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 diff --git a/testdata/mirrored.golden b/testdata/mirrored.golden index 7bbb11c..14878d2 100644 --- a/testdata/mirrored.golden +++ b/testdata/mirrored.golden @@ -1,3 +1,11 @@ +# HELP lvm_lv_active Active state of the LV +# TYPE lvm_lv_active gauge +lvm_lv_active{lv_active="active",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_active{lv_active="active",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_active{lv_active="active",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_active{lv_active="active",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_active{lv_active="active",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_active{lv_active="active",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_active_exclusively Set if the LV is active exclusively # TYPE lvm_lv_active_exclusively gauge lvm_lv_active_exclusively{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 @@ -30,6 +38,30 @@ lvm_lv_allocation_locked{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 lvm_lv_allocation_locked{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 lvm_lv_allocation_locked{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 lvm_lv_allocation_locked{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_allocation_policy LV allocation policy +# TYPE lvm_lv_allocation_policy gauge +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_ancestors LV ancestors ignoring any stored history of the ancestry chain +# TYPE lvm_lv_ancestors gauge +lvm_lv_ancestors{lv_ancestors="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_attr Various attributes +# TYPE lvm_lv_attr gauge +lvm_lv_attr{lv_attr="-wi-a-----",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_attr{lv_attr="ewi-aor---",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_attr{lv_attr="ewi-aor---",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_attr{lv_attr="iwi-aor---",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_attr{lv_attr="iwi-aor---",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_attr{lv_attr="rwi-a-r---",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 # HELP lvm_lv_check_needed For thin pools and cache volumes, whether metadata check is needed # TYPE lvm_lv_check_needed gauge lvm_lv_check_needed{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 @@ -38,6 +70,22 @@ lvm_lv_check_needed{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 lvm_lv_check_needed{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 lvm_lv_check_needed{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 lvm_lv_check_needed{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_convert_lv For lvconvert, Name of temporary LV created by lvconvert +# TYPE lvm_lv_convert_lv gauge +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_convert_lv_uuid For lvconvert, UUID of temporary LV created by lvconvert +# TYPE lvm_lv_convert_lv_uuid gauge +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_converting Set if LV is being converted # TYPE lvm_lv_converting gauge lvm_lv_converting{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 @@ -49,6 +97,30 @@ lvm_lv_converting{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 # HELP lvm_lv_copy_percent For Cache, RAID, mirrors and pvmove, current percentage in-sync # TYPE lvm_lv_copy_percent gauge lvm_lv_copy_percent{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 100 +# HELP lvm_lv_data_lv For cache/thin/vdo pools, the LV holding the associated data +# TYPE lvm_lv_data_lv gauge +lvm_lv_data_lv{lv_data_lv="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_data_lv_uuid For cache/thin/vdo pools, the UUID of the LV holding the associated data +# TYPE lvm_lv_data_lv_uuid gauge +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_descendants LV descendants ignoring any stored history of the ancestry chain +# TYPE lvm_lv_descendants gauge +lvm_lv_descendants{lv_descendants="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_device_open Set if LV device is open # TYPE lvm_lv_device_open gauge lvm_lv_device_open{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 @@ -57,6 +129,14 @@ lvm_lv_device_open{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 lvm_lv_device_open{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 lvm_lv_device_open{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 lvm_lv_device_open{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_dm_path Internal device-mapper pathname for LV (in /dev/mapper directory) +# TYPE lvm_lv_dm_path gauge +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-data",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-mirrored",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-mirrored_rimage_0",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-mirrored_rimage_1",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-mirrored_rmeta_0",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-mirrored_rmeta_1",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 # HELP lvm_lv_fixed_minor Set if LV has fixed minor number assigned # TYPE lvm_lv_fixed_minor gauge lvm_lv_fixed_minor{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 @@ -65,6 +145,30 @@ lvm_lv_fixed_minor{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 lvm_lv_fixed_minor{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 lvm_lv_fixed_minor{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 lvm_lv_fixed_minor{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_full_ancestors LV ancestors including stored history of the ancestry chain +# TYPE lvm_lv_full_ancestors gauge +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_full_descendants LV descendants including stored history of the ancestry chain +# TYPE lvm_lv_full_descendants gauge +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_health_status LV health status +# TYPE lvm_lv_health_status gauge +lvm_lv_health_status{lv_health_status="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_historical Set if the LV is historical # TYPE lvm_lv_historical gauge lvm_lv_historical{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 @@ -73,6 +177,14 @@ lvm_lv_historical{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 lvm_lv_historical{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 lvm_lv_historical{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 lvm_lv_historical{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_host Creation host of the LV, if known +# TYPE lvm_lv_host gauge +lvm_lv_host{lv_host="buster",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_image_synced Set if mirror/RAID image is synchronized # TYPE lvm_lv_image_synced gauge lvm_lv_image_synced{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 @@ -91,12 +203,12 @@ lvm_lv_inactive_table{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 lvm_lv_inactive_table{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 # HELP lvm_lv_info # TYPE lvm_lv_info gauge -lvm_lv_info{lv_active="active",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="-wi-a-----",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-data",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/data",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="131072",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="data",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="/dev/vgaaa/data",lv_permissions="writeable",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="public",lv_tags="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="active",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="ewi-aor---",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-mirrored_rmeta_0",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/mirrored_rmeta_0",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="131072",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[mirrored_rmeta_0]",lv_origin="",lv_origin_uuid="",lv_parent="mirrored",lv_path="",lv_permissions="writeable",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private,raid,metadata",lv_tags="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="active",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="ewi-aor---",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-mirrored_rmeta_1",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/mirrored_rmeta_1",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="131072",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[mirrored_rmeta_1]",lv_origin="",lv_origin_uuid="",lv_parent="mirrored",lv_path="",lv_permissions="writeable",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private,raid,metadata",lv_tags="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="active",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="iwi-aor---",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-mirrored_rimage_0",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/mirrored_rimage_0",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="131072",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[mirrored_rimage_0]",lv_origin="",lv_origin_uuid="",lv_parent="mirrored",lv_path="",lv_permissions="writeable",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private,raid,image",lv_tags="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="active",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="iwi-aor---",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-mirrored_rimage_1",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/mirrored_rimage_1",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="131072",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[mirrored_rimage_1]",lv_origin="",lv_origin_uuid="",lv_parent="mirrored",lv_path="",lv_permissions="writeable",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private,raid,image",lv_tags="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="active",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="rwi-a-r---",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-mirrored",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/mirrored",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="131072",lv_layout="raid,raid1",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="raid",lv_move_pv="",lv_move_pv_uuid="",lv_name="mirrored",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="/dev/vgaaa/mirrored",lv_permissions="writeable",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="idle",lv_raidintegritymode="",lv_role="public",lv_tags="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_full_name="vgaaa/data",lv_name="data",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_info{lv_full_name="vgaaa/mirrored",lv_name="mirrored",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_info{lv_full_name="vgaaa/mirrored_rimage_0",lv_name="[mirrored_rimage_0]",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_info{lv_full_name="vgaaa/mirrored_rimage_1",lv_name="[mirrored_rimage_1]",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_info{lv_full_name="vgaaa/mirrored_rmeta_0",lv_name="[mirrored_rmeta_0]",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_info{lv_full_name="vgaaa/mirrored_rmeta_1",lv_name="[mirrored_rmeta_1]",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 # HELP lvm_lv_initial_image_sync Set if mirror/RAID images underwent initial resynchronization # TYPE lvm_lv_initial_image_sync gauge lvm_lv_initial_image_sync{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 0 @@ -105,6 +217,30 @@ lvm_lv_initial_image_sync{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 lvm_lv_initial_image_sync{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 lvm_lv_initial_image_sync{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 lvm_lv_initial_image_sync{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_kernel_cache_policy Cache policy used in kernel +# TYPE lvm_lv_kernel_cache_policy gauge +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_kernel_cache_settings Cache settings/parameters as set in kernel, including default values (cached segments only) +# TYPE lvm_lv_kernel_cache_settings gauge +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_kernel_discards For thin pools, how discards are handled in kernel +# TYPE lvm_lv_kernel_discards gauge +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_kernel_major Currently assigned major number or -1 if LV is not active # TYPE lvm_lv_kernel_major gauge lvm_lv_kernel_major{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 253 @@ -113,6 +249,14 @@ lvm_lv_kernel_major{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 253 lvm_lv_kernel_major{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 253 lvm_lv_kernel_major{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 253 lvm_lv_kernel_major{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 253 +# HELP lvm_lv_kernel_metadata_format Cache metadata format used in kernel +# TYPE lvm_lv_kernel_metadata_format gauge +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_kernel_minor Currently assigned minor number or -1 if LV is not active # TYPE lvm_lv_kernel_minor gauge lvm_lv_kernel_minor{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 3 @@ -121,6 +265,22 @@ lvm_lv_kernel_minor{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 4 lvm_lv_kernel_minor{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 5 lvm_lv_kernel_minor{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 lvm_lv_kernel_minor{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_kernel_read_ahead_bytes Currently-in-use read ahead setting +# TYPE lvm_lv_kernel_read_ahead_bytes gauge +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="131072",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="131072",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="131072",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="131072",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="131072",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="131072",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_layout LV layout +# TYPE lvm_lv_layout gauge +lvm_lv_layout{lv_layout="linear",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_layout{lv_layout="raid,raid1",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 # HELP lvm_lv_live_table Set if LV has live table present # TYPE lvm_lv_live_table gauge lvm_lv_live_table{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 @@ -129,6 +289,14 @@ lvm_lv_live_table{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 lvm_lv_live_table{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 lvm_lv_live_table{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 lvm_lv_live_table{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_lockargs Lock args of the LV used by lvmlockd +# TYPE lvm_lv_lockargs gauge +lvm_lv_lockargs{lv_lockargs="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_major Persistent major number or -1 if not persistent # TYPE lvm_lv_major gauge lvm_lv_major{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 @@ -153,6 +321,22 @@ lvm_lv_merging{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 0 lvm_lv_merging{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 lvm_lv_merging{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 0 lvm_lv_merging{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_metadata_lv For cache/thin pools, the LV holding the associated metadata +# TYPE lvm_lv_metadata_lv gauge +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_metadata_lv_uuid For cache/thin pools, the UUID of the LV holding the associated metadata +# TYPE lvm_lv_metadata_lv_uuid gauge +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_minor Persistent minor number or -1 if not persistent # TYPE lvm_lv_minor gauge lvm_lv_minor{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 @@ -161,9 +345,113 @@ lvm_lv_minor{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 lvm_lv_minor{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 lvm_lv_minor{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 lvm_lv_minor{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_mirror_log For mirrors, the LV holding the synchronisation log +# TYPE lvm_lv_mirror_log gauge +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_mirror_log_uuid For mirrors, the UUID of the LV holding the synchronisation log +# TYPE lvm_lv_mirror_log_uuid gauge +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_modules Kernel device-mapper modules required for this LV +# TYPE lvm_lv_modules gauge +lvm_lv_modules{lv_modules="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_modules{lv_modules="raid",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +# HELP lvm_lv_move_pv For pvmove, Source PV of temporary LV created by pvmove +# TYPE lvm_lv_move_pv gauge +lvm_lv_move_pv{lv_move_pv="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_move_pv_uuid For pvmove, the UUID of Source PV of temporary LV created by pvmove +# TYPE lvm_lv_move_pv_uuid gauge +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_origin For snapshots and thins, the origin device of this LV +# TYPE lvm_lv_origin gauge +lvm_lv_origin{lv_origin="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_origin_uuid For snapshots and thins, the UUID of origin device of this LV +# TYPE lvm_lv_origin_uuid gauge +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_parent For LVs that are components of another LV, the parent LV +# TYPE lvm_lv_parent gauge +lvm_lv_parent{lv_parent="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_parent{lv_parent="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_parent{lv_parent="mirrored",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_parent{lv_parent="mirrored",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_parent{lv_parent="mirrored",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_parent{lv_parent="mirrored",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +# HELP lvm_lv_path Full pathname for LV. Blank for internal LVs +# TYPE lvm_lv_path gauge +lvm_lv_path{lv_path="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_path{lv_path="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_path{lv_path="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_path{lv_path="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_path{lv_path="/dev/vgaaa/data",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_path{lv_path="/dev/vgaaa/mirrored",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +# HELP lvm_lv_permissions LV permissions +# TYPE lvm_lv_permissions gauge +lvm_lv_permissions{lv_permissions="writeable",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_permissions{lv_permissions="writeable",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_permissions{lv_permissions="writeable",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_permissions{lv_permissions="writeable",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_permissions{lv_permissions="writeable",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_permissions{lv_permissions="writeable",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_pool_lv For cache/thin/vdo volumes, the cache/thin/vdo pool LV for this volume +# TYPE lvm_lv_pool_lv gauge +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_pool_lv_uuid For cache/thin/vdo volumes, the UUID of the cache/thin/vdo pool LV for this volume +# TYPE lvm_lv_pool_lv_uuid gauge +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_raid_mismatch_count For RAID, number of mismatches found or repaired # TYPE lvm_lv_raid_mismatch_count gauge lvm_lv_raid_mismatch_count{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 0 +# HELP lvm_lv_raid_sync_action For RAID, the current synchronization action being performed +# TYPE lvm_lv_raid_sync_action gauge +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="idle",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 # HELP lvm_lv_read_ahead_bytes Read ahead setting # TYPE lvm_lv_read_ahead_bytes gauge lvm_lv_read_ahead_bytes{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} -1 @@ -172,6 +460,14 @@ lvm_lv_read_ahead_bytes{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} -1 lvm_lv_read_ahead_bytes{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} -1 lvm_lv_read_ahead_bytes{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} -1 lvm_lv_read_ahead_bytes{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_role LV role +# TYPE lvm_lv_role gauge +lvm_lv_role{lv_role="private,raid,image",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_role{lv_role="private,raid,image",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_role{lv_role="private,raid,metadata",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_role{lv_role="private,raid,metadata",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_role{lv_role="public",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_role{lv_role="public",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_seg_count Number of segments in LV # TYPE lvm_lv_seg_count gauge lvm_lv_seg_count{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 @@ -215,6 +511,14 @@ lvm_lv_suspended{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 # HELP lvm_lv_sync_percent For Cache, RAID, mirrors and pvmove, current percentage in-sync # TYPE lvm_lv_sync_percent gauge lvm_lv_sync_percent{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 100 +# HELP lvm_lv_tags Tags, if any +# TYPE lvm_lv_tags gauge +lvm_lv_tags{lv_tags="",lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_time Creation time of the LV, if known # TYPE lvm_lv_time gauge lvm_lv_time{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1"} 1.628538429e+09 @@ -223,10 +527,22 @@ lvm_lv_time{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234"} 1.628538429e+09 lvm_lv_time{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq"} 1.628538429e+09 lvm_lv_time{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP"} 1.628538429e+09 lvm_lv_time{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1.628424605e+09 +# HELP lvm_lv_when_full For thin pools, behavior when full +# TYPE lvm_lv_when_full gauge +lvm_lv_when_full{lv_uuid="Egw38P-CT81-ZnK0-vBC3-iEnY-11XL-mz23e1",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="LlZ3Rq-bBXT-f36k-oPQn-WdcR-OQ2I-KzVfIh",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="O8BdUR-sp9G-y52K-kdc7-wyP0-aMqR-6Ls234",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="X5tkZ2-pzPA-Aumf-lCF1-eKI8-AuPk-lf1VHq",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="gLHiHN-1hen-1gy2-asXt-26ZT-UCrh-Va08BP",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu",lv_when_full=""} 1 # HELP lvm_pv_allocatable Set if this device can be used for allocation # TYPE lvm_pv_allocatable gauge lvm_pv_allocatable{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 lvm_pv_allocatable{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_attr +# TYPE lvm_pv_attr gauge +lvm_pv_attr{pv_attr="a--",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_attr{pv_attr="a--",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 # HELP lvm_pv_ba_size_bytes Size of PV Bootloader Area # TYPE lvm_pv_ba_size_bytes gauge lvm_pv_ba_size_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 @@ -251,6 +567,10 @@ lvm_pv_exported{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 0 # TYPE lvm_pv_ext_vsn gauge lvm_pv_ext_vsn{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 2 lvm_pv_ext_vsn{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 2 +# HELP lvm_pv_fmt Type of metadata +# TYPE lvm_pv_fmt gauge +lvm_pv_fmt{pv_fmt="lvm2",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_fmt{pv_fmt="lvm2",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 # HELP lvm_pv_free_bytes Total amount of unallocated space # TYPE lvm_pv_free_bytes gauge lvm_pv_free_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1.010827264e+09 @@ -261,8 +581,8 @@ lvm_pv_in_use{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 lvm_pv_in_use{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 # HELP lvm_pv_info # TYPE lvm_pv_info gauge -lvm_pv_info{pv_attr="a--",pv_fmt="lvm2",pv_name="/dev/loop0",pv_tags="",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 -lvm_pv_info{pv_attr="a--",pv_fmt="lvm2",pv_name="/dev/loop1",pv_tags="",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +lvm_pv_info{pv_name="/dev/loop0",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_info{pv_name="/dev/loop1",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 # HELP lvm_pv_major Device major number # TYPE lvm_pv_major gauge lvm_pv_major{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 7 @@ -307,6 +627,10 @@ lvm_pv_pe_start{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1.048576e+06 # TYPE lvm_pv_size_bytes gauge lvm_pv_size_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1.044381696e+09 lvm_pv_size_bytes{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1.044381696e+09 +# HELP lvm_pv_tags +# TYPE lvm_pv_tags gauge +lvm_pv_tags{pv_tags="",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_tags{pv_tags="",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 # HELP lvm_pv_used Total amount of allocated space # TYPE lvm_pv_used gauge lvm_pv_used{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 3.3554432e+07 @@ -319,6 +643,12 @@ lvm_unknown_field_count{details="",group="vg"} 0 # HELP lvm_up Whether scrape was successful # TYPE lvm_up gauge lvm_up{status=""} 1 +# HELP lvm_vg_allocation_policy +# TYPE lvm_vg_allocation_policy gauge +lvm_vg_allocation_policy{vg_allocation_policy="normal",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_attr +# TYPE lvm_vg_attr gauge +lvm_vg_attr{vg_attr="wz--n-",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 # HELP lvm_vg_clustered Set if VG is clustered # TYPE lvm_vg_clustered gauge lvm_vg_clustered{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 @@ -334,6 +664,9 @@ lvm_vg_extent_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 498 # HELP lvm_vg_extent_size_bytes Size of Physical Extents # TYPE lvm_vg_extent_size_bytes gauge lvm_vg_extent_size_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 4.194304e+06 +# HELP lvm_vg_fmt Type of metadata +# TYPE lvm_vg_fmt gauge +lvm_vg_fmt{vg_fmt="lvm2",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 # HELP lvm_vg_free_bytes Total amount of free space in bytes # TYPE lvm_vg_free_bytes gauge lvm_vg_free_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 2.017460224e+09 @@ -342,7 +675,13 @@ lvm_vg_free_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 2.017460224e lvm_vg_free_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 481 # HELP lvm_vg_info # TYPE lvm_vg_info gauge -lvm_vg_info{vg_allocation_policy="normal",vg_attr="wz--n-",vg_fmt="lvm2",vg_lock_args="",vg_lock_type="",vg_name="vgaaa",vg_permissions="writeable",vg_systemid="",vg_tags="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_info{vg_name="vgaaa",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_lock_args +# TYPE lvm_vg_lock_args gauge +lvm_vg_lock_args{vg_lock_args="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_lock_type +# TYPE lvm_vg_lock_type gauge +lvm_vg_lock_type{vg_lock_type="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 # HELP lvm_vg_lv_count Number of LVs # TYPE lvm_vg_lv_count gauge lvm_vg_lv_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 2 @@ -373,6 +712,9 @@ lvm_vg_missing_pv_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 # HELP lvm_vg_partial Set if VG is partial # TYPE lvm_vg_partial gauge lvm_vg_partial{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +# HELP lvm_vg_permissions +# TYPE lvm_vg_permissions gauge +lvm_vg_permissions{vg_permissions="writeable",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 # HELP lvm_vg_pv_count Number of PVs in VG # TYPE lvm_vg_pv_count gauge lvm_vg_pv_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 2 @@ -388,3 +730,9 @@ lvm_vg_size_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 2.088763392e # HELP lvm_vg_snap_count Number of snapshots # TYPE lvm_vg_snap_count gauge lvm_vg_snap_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +# HELP lvm_vg_systemid +# TYPE lvm_vg_systemid gauge +lvm_vg_systemid{vg_systemid="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +# HELP lvm_vg_tags +# TYPE lvm_vg_tags gauge +lvm_vg_tags{vg_tags="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 diff --git a/testdata/multivg-legacy.golden b/testdata/multivg-legacy.golden new file mode 100644 index 0000000..38f5bc4 --- /dev/null +++ b/testdata/multivg-legacy.golden @@ -0,0 +1,496 @@ +# HELP lvm_lv_active Active state of the LV +# TYPE lvm_lv_active gauge +lvm_lv_active{lv_active="active",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_active{lv_active="active",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_active_exclusively Set if the LV is active exclusively +# TYPE lvm_lv_active_exclusively gauge +lvm_lv_active_exclusively{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_active_exclusively{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_active_locally Set if the LV is active locally +# TYPE lvm_lv_active_locally gauge +lvm_lv_active_locally{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_active_locally{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_active_remotely Set if the LV is active remotely +# TYPE lvm_lv_active_remotely gauge +lvm_lv_active_remotely{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 0 +lvm_lv_active_remotely{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_allocation_locked Set if LV is locked against allocation changes +# TYPE lvm_lv_allocation_locked gauge +lvm_lv_allocation_locked{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 0 +lvm_lv_allocation_locked{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_allocation_policy LV allocation policy +# TYPE lvm_lv_allocation_policy gauge +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_ancestors LV ancestors ignoring any stored history of the ancestry chain +# TYPE lvm_lv_ancestors gauge +lvm_lv_ancestors{lv_ancestors="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_attr Various attributes +# TYPE lvm_lv_attr gauge +lvm_lv_attr{lv_attr="-wi-a-----",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_attr{lv_attr="-wi-a-----",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_check_needed For thin pools and cache volumes, whether metadata check is needed +# TYPE lvm_lv_check_needed gauge +lvm_lv_check_needed{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} -1 +lvm_lv_check_needed{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_convert_lv For lvconvert, Name of temporary LV created by lvconvert +# TYPE lvm_lv_convert_lv gauge +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_convert_lv_uuid For lvconvert, UUID of temporary LV created by lvconvert +# TYPE lvm_lv_convert_lv_uuid gauge +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_converting Set if LV is being converted +# TYPE lvm_lv_converting gauge +lvm_lv_converting{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 0 +lvm_lv_converting{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_data_lv For cache/thin/vdo pools, the LV holding the associated data +# TYPE lvm_lv_data_lv gauge +lvm_lv_data_lv{lv_data_lv="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_data_lv_uuid For cache/thin/vdo pools, the UUID of the LV holding the associated data +# TYPE lvm_lv_data_lv_uuid gauge +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_descendants LV descendants ignoring any stored history of the ancestry chain +# TYPE lvm_lv_descendants gauge +lvm_lv_descendants{lv_descendants="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_device_open Set if LV device is open +# TYPE lvm_lv_device_open gauge +lvm_lv_device_open{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 0 +lvm_lv_device_open{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_dm_path Internal device-mapper pathname for LV (in /dev/mapper directory) +# TYPE lvm_lv_dm_path gauge +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-data",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgbbb-other",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +# HELP lvm_lv_fixed_minor Set if LV has fixed minor number assigned +# TYPE lvm_lv_fixed_minor gauge +lvm_lv_fixed_minor{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 0 +lvm_lv_fixed_minor{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_full_ancestors LV ancestors including stored history of the ancestry chain +# TYPE lvm_lv_full_ancestors gauge +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_full_descendants LV descendants including stored history of the ancestry chain +# TYPE lvm_lv_full_descendants gauge +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_health_status LV health status +# TYPE lvm_lv_health_status gauge +lvm_lv_health_status{lv_health_status="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_historical Set if the LV is historical +# TYPE lvm_lv_historical gauge +lvm_lv_historical{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 0 +lvm_lv_historical{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_host Creation host of the LV, if known +# TYPE lvm_lv_host gauge +lvm_lv_host{lv_host="buster",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_image_synced Set if mirror/RAID image is synchronized +# TYPE lvm_lv_image_synced gauge +lvm_lv_image_synced{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 0 +lvm_lv_image_synced{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_inactive_table Set if LV has inactive table present +# TYPE lvm_lv_inactive_table gauge +lvm_lv_inactive_table{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 0 +lvm_lv_inactive_table{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_info +# TYPE lvm_lv_info gauge +lvm_lv_info{lv_active="active",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="-wi-a-----",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-data",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/data",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="131072",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="data",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="/dev/vgaaa/data",lv_permissions="writeable",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="public",lv_tags="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="active",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="-wi-a-----",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgbbb-other",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgbbb/other",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="131072",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="other",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="/dev/vgbbb/other",lv_permissions="writeable",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="public",lv_tags="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +# HELP lvm_lv_initial_image_sync Set if mirror/RAID images underwent initial resynchronization +# TYPE lvm_lv_initial_image_sync gauge +lvm_lv_initial_image_sync{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 0 +lvm_lv_initial_image_sync{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_kernel_cache_policy Cache policy used in kernel +# TYPE lvm_lv_kernel_cache_policy gauge +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_kernel_cache_settings Cache settings/parameters as set in kernel, including default values (cached segments only) +# TYPE lvm_lv_kernel_cache_settings gauge +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_kernel_discards For thin pools, how discards are handled in kernel +# TYPE lvm_lv_kernel_discards gauge +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_kernel_major Currently assigned major number or -1 if LV is not active +# TYPE lvm_lv_kernel_major gauge +lvm_lv_kernel_major{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 253 +lvm_lv_kernel_major{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 253 +# HELP lvm_lv_kernel_metadata_format Cache metadata format used in kernel +# TYPE lvm_lv_kernel_metadata_format gauge +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_kernel_minor Currently assigned minor number or -1 if LV is not active +# TYPE lvm_lv_kernel_minor gauge +lvm_lv_kernel_minor{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_kernel_minor{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_kernel_read_ahead_bytes Currently-in-use read ahead setting +# TYPE lvm_lv_kernel_read_ahead_bytes gauge +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="131072",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="131072",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_layout LV layout +# TYPE lvm_lv_layout gauge +lvm_lv_layout{lv_layout="linear",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_live_table Set if LV has live table present +# TYPE lvm_lv_live_table gauge +lvm_lv_live_table{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_live_table{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_lockargs Lock args of the LV used by lvmlockd +# TYPE lvm_lv_lockargs gauge +lvm_lv_lockargs{lv_lockargs="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_major Persistent major number or -1 if not persistent +# TYPE lvm_lv_major gauge +lvm_lv_major{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} -1 +lvm_lv_major{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_merge_failed Set if snapshot merge failed +# TYPE lvm_lv_merge_failed gauge +lvm_lv_merge_failed{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} -1 +lvm_lv_merge_failed{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_merging Set if snapshot LV is being merged to origin +# TYPE lvm_lv_merging gauge +lvm_lv_merging{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 0 +lvm_lv_merging{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_metadata_lv For cache/thin pools, the LV holding the associated metadata +# TYPE lvm_lv_metadata_lv gauge +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_metadata_lv_uuid For cache/thin pools, the UUID of the LV holding the associated metadata +# TYPE lvm_lv_metadata_lv_uuid gauge +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_minor Persistent minor number or -1 if not persistent +# TYPE lvm_lv_minor gauge +lvm_lv_minor{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} -1 +lvm_lv_minor{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_mirror_log For mirrors, the LV holding the synchronisation log +# TYPE lvm_lv_mirror_log gauge +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_mirror_log_uuid For mirrors, the UUID of the LV holding the synchronisation log +# TYPE lvm_lv_mirror_log_uuid gauge +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_modules Kernel device-mapper modules required for this LV +# TYPE lvm_lv_modules gauge +lvm_lv_modules{lv_modules="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_move_pv For pvmove, Source PV of temporary LV created by pvmove +# TYPE lvm_lv_move_pv gauge +lvm_lv_move_pv{lv_move_pv="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_move_pv_uuid For pvmove, the UUID of Source PV of temporary LV created by pvmove +# TYPE lvm_lv_move_pv_uuid gauge +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_origin For snapshots and thins, the origin device of this LV +# TYPE lvm_lv_origin gauge +lvm_lv_origin{lv_origin="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_origin_uuid For snapshots and thins, the UUID of origin device of this LV +# TYPE lvm_lv_origin_uuid gauge +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_parent For LVs that are components of another LV, the parent LV +# TYPE lvm_lv_parent gauge +lvm_lv_parent{lv_parent="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_parent{lv_parent="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_path Full pathname for LV. Blank for internal LVs +# TYPE lvm_lv_path gauge +lvm_lv_path{lv_path="/dev/vgaaa/data",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_path{lv_path="/dev/vgbbb/other",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +# HELP lvm_lv_permissions LV permissions +# TYPE lvm_lv_permissions gauge +lvm_lv_permissions{lv_permissions="writeable",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_permissions{lv_permissions="writeable",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_pool_lv For cache/thin/vdo volumes, the cache/thin/vdo pool LV for this volume +# TYPE lvm_lv_pool_lv gauge +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_pool_lv_uuid For cache/thin/vdo volumes, the UUID of the cache/thin/vdo pool LV for this volume +# TYPE lvm_lv_pool_lv_uuid gauge +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_raid_sync_action For RAID, the current synchronization action being performed +# TYPE lvm_lv_raid_sync_action gauge +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_read_ahead_bytes Read ahead setting +# TYPE lvm_lv_read_ahead_bytes gauge +lvm_lv_read_ahead_bytes{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} -1 +lvm_lv_read_ahead_bytes{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_role LV role +# TYPE lvm_lv_role gauge +lvm_lv_role{lv_role="public",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_role{lv_role="public",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_seg_count Number of segments in LV +# TYPE lvm_lv_seg_count gauge +lvm_lv_seg_count{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_seg_count{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_size_bytes Size of LV +# TYPE lvm_lv_size_bytes gauge +lvm_lv_size_bytes{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1.30023424e+08 +lvm_lv_size_bytes{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 4.194304e+06 +# HELP lvm_lv_skip_activation Set if LV is skipped on activation +# TYPE lvm_lv_skip_activation gauge +lvm_lv_skip_activation{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 0 +lvm_lv_skip_activation{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_snapshot_invalid Set if snapshot LV is invalid +# TYPE lvm_lv_snapshot_invalid gauge +lvm_lv_snapshot_invalid{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} -1 +lvm_lv_snapshot_invalid{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_suspended Set if LV is suspended +# TYPE lvm_lv_suspended gauge +lvm_lv_suspended{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 0 +lvm_lv_suspended{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_tags Tags, if any +# TYPE lvm_lv_tags gauge +lvm_lv_tags{lv_tags="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_time Creation time of the LV, if known +# TYPE lvm_lv_time gauge +lvm_lv_time{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1.628424615e+09 +lvm_lv_time{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1.628424605e+09 +# HELP lvm_lv_when_full For thin pools, behavior when full +# TYPE lvm_lv_when_full gauge +lvm_lv_when_full{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu",lv_when_full=""} 1 +# HELP lvm_pv_allocatable Set if this device can be used for allocation +# TYPE lvm_pv_allocatable gauge +lvm_pv_allocatable{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_allocatable{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_attr +# TYPE lvm_pv_attr gauge +lvm_pv_attr{pv_attr="a--",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_attr{pv_attr="a--",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_ba_size_bytes Size of PV Bootloader Area +# TYPE lvm_pv_ba_size_bytes gauge +lvm_pv_ba_size_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 +lvm_pv_ba_size_bytes{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 0 +# HELP lvm_pv_ba_start Offset to the start of PV Bootloader Area on the underlying device +# TYPE lvm_pv_ba_start gauge +lvm_pv_ba_start{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 +lvm_pv_ba_start{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 0 +# HELP lvm_pv_dev_size_bytes Size of underlying device +# TYPE lvm_pv_dev_size_bytes gauge +lvm_pv_dev_size_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1.048576e+09 +lvm_pv_dev_size_bytes{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1.048576e+09 +# HELP lvm_pv_duplicate Set if PV is an unchosen duplicate +# TYPE lvm_pv_duplicate gauge +lvm_pv_duplicate{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 +lvm_pv_duplicate{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 0 +# HELP lvm_pv_exported Set if this device is exported +# TYPE lvm_pv_exported gauge +lvm_pv_exported{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 +lvm_pv_exported{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 0 +# HELP lvm_pv_ext_vsn PV header extension version +# TYPE lvm_pv_ext_vsn gauge +lvm_pv_ext_vsn{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 2 +lvm_pv_ext_vsn{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 2 +# HELP lvm_pv_fmt Type of metadata +# TYPE lvm_pv_fmt gauge +lvm_pv_fmt{pv_fmt="lvm2",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_fmt{pv_fmt="lvm2",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_free_bytes Total amount of unallocated space +# TYPE lvm_pv_free_bytes gauge +lvm_pv_free_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 9.14358272e+08 +lvm_pv_free_bytes{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1.040187392e+09 +# HELP lvm_pv_in_use Set if PV is used +# TYPE lvm_pv_in_use gauge +lvm_pv_in_use{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_in_use{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_info +# TYPE lvm_pv_info gauge +lvm_pv_info{pv_attr="a--",pv_fmt="lvm2",pv_name="/dev/loop0",pv_tags="",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +lvm_pv_info{pv_attr="a--",pv_fmt="lvm2",pv_name="/dev/loop1",pv_tags="",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +# HELP lvm_pv_major Device major number +# TYPE lvm_pv_major gauge +lvm_pv_major{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 7 +lvm_pv_major{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 7 +# HELP lvm_pv_mda_count Number of metadata areas +# TYPE lvm_pv_mda_count gauge +lvm_pv_mda_count{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_mda_count{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_mda_free_bytes Free metadata area space +# TYPE lvm_pv_mda_free_bytes gauge +lvm_pv_mda_free_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 520192 +lvm_pv_mda_free_bytes{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 520192 +# HELP lvm_pv_mda_size_bytes Size of smallest metadata area +# TYPE lvm_pv_mda_size_bytes gauge +lvm_pv_mda_size_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1.04448e+06 +lvm_pv_mda_size_bytes{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1.04448e+06 +# HELP lvm_pv_mda_used_count Number of metadata areas in use +# TYPE lvm_pv_mda_used_count gauge +lvm_pv_mda_used_count{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_mda_used_count{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_minor Device minor number +# TYPE lvm_pv_minor gauge +lvm_pv_minor{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_minor{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 0 +# HELP lvm_pv_missing Set if this device is missing in system +# TYPE lvm_pv_missing gauge +lvm_pv_missing{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 +lvm_pv_missing{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 0 +# HELP lvm_pv_pe_alloc_count Total number of allocated Physical Extents +# TYPE lvm_pv_pe_alloc_count gauge +lvm_pv_pe_alloc_count{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 31 +lvm_pv_pe_alloc_count{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_pe_count Total number of Physical Extents +# TYPE lvm_pv_pe_count gauge +lvm_pv_pe_count{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 249 +lvm_pv_pe_count{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 249 +# HELP lvm_pv_pe_start Offset to the start of data on the underlying device +# TYPE lvm_pv_pe_start gauge +lvm_pv_pe_start{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1.048576e+06 +lvm_pv_pe_start{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1.048576e+06 +# HELP lvm_pv_size_bytes Size of PV +# TYPE lvm_pv_size_bytes gauge +lvm_pv_size_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1.044381696e+09 +lvm_pv_size_bytes{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1.044381696e+09 +# HELP lvm_pv_tags +# TYPE lvm_pv_tags gauge +lvm_pv_tags{pv_tags="",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_tags{pv_tags="",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_used Total amount of allocated space +# TYPE lvm_pv_used gauge +lvm_pv_used{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1.30023424e+08 +lvm_pv_used{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 4.194304e+06 +# HELP lvm_unknown_field_count Fields reported by LVM not recognized by exporter +# TYPE lvm_unknown_field_count gauge +lvm_unknown_field_count{details="",group="lv"} 0 +lvm_unknown_field_count{details="",group="pv"} 0 +lvm_unknown_field_count{details="",group="vg"} 0 +# HELP lvm_up Whether scrape was successful +# TYPE lvm_up gauge +lvm_up{status=""} 1 +# HELP lvm_vg_allocation_policy +# TYPE lvm_vg_allocation_policy gauge +lvm_vg_allocation_policy{vg_allocation_policy="normal",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_allocation_policy{vg_allocation_policy="normal",vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1 +# HELP lvm_vg_attr +# TYPE lvm_vg_attr gauge +lvm_vg_attr{vg_attr="wz--n-",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_attr{vg_attr="wz--n-",vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1 +# HELP lvm_vg_clustered Set if VG is clustered +# TYPE lvm_vg_clustered gauge +lvm_vg_clustered{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +lvm_vg_clustered{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 0 +# HELP lvm_vg_exported Set if VG is exported +# TYPE lvm_vg_exported gauge +lvm_vg_exported{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +lvm_vg_exported{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 0 +# HELP lvm_vg_extendable Set if VG is extendable +# TYPE lvm_vg_extendable gauge +lvm_vg_extendable{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_extendable{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1 +# HELP lvm_vg_extent_count Total number of Physical Extents +# TYPE lvm_vg_extent_count gauge +lvm_vg_extent_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 249 +lvm_vg_extent_count{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 249 +# HELP lvm_vg_extent_size_bytes Size of Physical Extents +# TYPE lvm_vg_extent_size_bytes gauge +lvm_vg_extent_size_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 4.194304e+06 +lvm_vg_extent_size_bytes{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 4.194304e+06 +# HELP lvm_vg_fmt Type of metadata +# TYPE lvm_vg_fmt gauge +lvm_vg_fmt{vg_fmt="lvm2",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_fmt{vg_fmt="lvm2",vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1 +# HELP lvm_vg_free_bytes Total amount of free space in bytes +# TYPE lvm_vg_free_bytes gauge +lvm_vg_free_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1.040187392e+09 +lvm_vg_free_bytes{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 9.14358272e+08 +# HELP lvm_vg_free_count Total number of unallocated Physical Extents +# TYPE lvm_vg_free_count gauge +lvm_vg_free_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 248 +lvm_vg_free_count{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 218 +# HELP lvm_vg_info +# TYPE lvm_vg_info gauge +lvm_vg_info{vg_allocation_policy="normal",vg_attr="wz--n-",vg_fmt="lvm2",vg_lock_args="",vg_lock_type="",vg_name="vgaaa",vg_permissions="writeable",vg_systemid="",vg_tags="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_info{vg_allocation_policy="normal",vg_attr="wz--n-",vg_fmt="lvm2",vg_lock_args="",vg_lock_type="",vg_name="vgbbb",vg_permissions="writeable",vg_systemid="",vg_tags="",vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1 +# HELP lvm_vg_lock_args +# TYPE lvm_vg_lock_args gauge +lvm_vg_lock_args{vg_lock_args="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_lock_args{vg_lock_args="",vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1 +# HELP lvm_vg_lock_type +# TYPE lvm_vg_lock_type gauge +lvm_vg_lock_type{vg_lock_type="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_lock_type{vg_lock_type="",vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1 +# HELP lvm_vg_lv_count Number of LVs +# TYPE lvm_vg_lv_count gauge +lvm_vg_lv_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_lv_count{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1 +# HELP lvm_vg_max_lv Maximum number of LVs allowed in VG or 0 if unlimited +# TYPE lvm_vg_max_lv gauge +lvm_vg_max_lv{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +lvm_vg_max_lv{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 0 +# HELP lvm_vg_max_pv Maximum number of PVs allowed in VG or 0 if unlimited +# TYPE lvm_vg_max_pv gauge +lvm_vg_max_pv{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +lvm_vg_max_pv{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 0 +# HELP lvm_vg_mda_copies Target number of in use metadata areas in the VG +# TYPE lvm_vg_mda_copies gauge +lvm_vg_mda_copies{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +lvm_vg_mda_copies{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 0 +# HELP lvm_vg_mda_count Number of metadata areas +# TYPE lvm_vg_mda_count gauge +lvm_vg_mda_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_mda_count{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1 +# HELP lvm_vg_mda_free_bytes Free metadata area space for this VG +# TYPE lvm_vg_mda_free_bytes gauge +lvm_vg_mda_free_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 520192 +lvm_vg_mda_free_bytes{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 520192 +# HELP lvm_vg_mda_size_bytes Size of smallest metadata area for this VG +# TYPE lvm_vg_mda_size_bytes gauge +lvm_vg_mda_size_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1.04448e+06 +lvm_vg_mda_size_bytes{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1.04448e+06 +# HELP lvm_vg_mda_used_count Number of metadata areas in use on this VG +# TYPE lvm_vg_mda_used_count gauge +lvm_vg_mda_used_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_mda_used_count{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1 +# HELP lvm_vg_missing_pv_count Number of PVs in VG which are missing +# TYPE lvm_vg_missing_pv_count gauge +lvm_vg_missing_pv_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +lvm_vg_missing_pv_count{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 0 +# HELP lvm_vg_partial Set if VG is partial +# TYPE lvm_vg_partial gauge +lvm_vg_partial{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +lvm_vg_partial{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 0 +# HELP lvm_vg_permissions +# TYPE lvm_vg_permissions gauge +lvm_vg_permissions{vg_permissions="writeable",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_permissions{vg_permissions="writeable",vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1 +# HELP lvm_vg_pv_count Number of PVs in VG +# TYPE lvm_vg_pv_count gauge +lvm_vg_pv_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_pv_count{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1 +# HELP lvm_vg_seqno Revision number of internal metadata +# TYPE lvm_vg_seqno gauge +lvm_vg_seqno{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 2 +lvm_vg_seqno{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 2 +# HELP lvm_vg_shared Set if VG is shared +# TYPE lvm_vg_shared gauge +lvm_vg_shared{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +lvm_vg_shared{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 0 +# HELP lvm_vg_size_bytes Total size of VG in bytes +# TYPE lvm_vg_size_bytes gauge +lvm_vg_size_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1.044381696e+09 +lvm_vg_size_bytes{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1.044381696e+09 +# HELP lvm_vg_snap_count Number of snapshots +# TYPE lvm_vg_snap_count gauge +lvm_vg_snap_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 +lvm_vg_snap_count{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 0 +# HELP lvm_vg_systemid +# TYPE lvm_vg_systemid gauge +lvm_vg_systemid{vg_systemid="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_systemid{vg_systemid="",vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1 +# HELP lvm_vg_tags +# TYPE lvm_vg_tags gauge +lvm_vg_tags{vg_tags="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_tags{vg_tags="",vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1 diff --git a/testdata/multivg.golden b/testdata/multivg.golden index 65edb7c..12106fb 100644 --- a/testdata/multivg.golden +++ b/testdata/multivg.golden @@ -1,3 +1,7 @@ +# HELP lvm_lv_active Active state of the LV +# TYPE lvm_lv_active gauge +lvm_lv_active{lv_active="active",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_active{lv_active="active",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_active_exclusively Set if the LV is active exclusively # TYPE lvm_lv_active_exclusively gauge lvm_lv_active_exclusively{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 @@ -14,26 +18,78 @@ lvm_lv_active_remotely{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 # TYPE lvm_lv_allocation_locked gauge lvm_lv_allocation_locked{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 0 lvm_lv_allocation_locked{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_allocation_policy LV allocation policy +# TYPE lvm_lv_allocation_policy gauge +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_ancestors LV ancestors ignoring any stored history of the ancestry chain +# TYPE lvm_lv_ancestors gauge +lvm_lv_ancestors{lv_ancestors="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_attr Various attributes +# TYPE lvm_lv_attr gauge +lvm_lv_attr{lv_attr="-wi-a-----",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_attr{lv_attr="-wi-a-----",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_check_needed For thin pools and cache volumes, whether metadata check is needed # TYPE lvm_lv_check_needed gauge lvm_lv_check_needed{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} -1 lvm_lv_check_needed{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_convert_lv For lvconvert, Name of temporary LV created by lvconvert +# TYPE lvm_lv_convert_lv gauge +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_convert_lv_uuid For lvconvert, UUID of temporary LV created by lvconvert +# TYPE lvm_lv_convert_lv_uuid gauge +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_converting Set if LV is being converted # TYPE lvm_lv_converting gauge lvm_lv_converting{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 0 lvm_lv_converting{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_data_lv For cache/thin/vdo pools, the LV holding the associated data +# TYPE lvm_lv_data_lv gauge +lvm_lv_data_lv{lv_data_lv="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_data_lv_uuid For cache/thin/vdo pools, the UUID of the LV holding the associated data +# TYPE lvm_lv_data_lv_uuid gauge +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_descendants LV descendants ignoring any stored history of the ancestry chain +# TYPE lvm_lv_descendants gauge +lvm_lv_descendants{lv_descendants="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_device_open Set if LV device is open # TYPE lvm_lv_device_open gauge lvm_lv_device_open{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 0 lvm_lv_device_open{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_dm_path Internal device-mapper pathname for LV (in /dev/mapper directory) +# TYPE lvm_lv_dm_path gauge +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgaaa-data",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgbbb-other",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 # HELP lvm_lv_fixed_minor Set if LV has fixed minor number assigned # TYPE lvm_lv_fixed_minor gauge lvm_lv_fixed_minor{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 0 lvm_lv_fixed_minor{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_full_ancestors LV ancestors including stored history of the ancestry chain +# TYPE lvm_lv_full_ancestors gauge +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_full_descendants LV descendants including stored history of the ancestry chain +# TYPE lvm_lv_full_descendants gauge +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_health_status LV health status +# TYPE lvm_lv_health_status gauge +lvm_lv_health_status{lv_health_status="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_historical Set if the LV is historical # TYPE lvm_lv_historical gauge lvm_lv_historical{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 0 lvm_lv_historical{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_host Creation host of the LV, if known +# TYPE lvm_lv_host gauge +lvm_lv_host{lv_host="buster",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_image_synced Set if mirror/RAID image is synchronized # TYPE lvm_lv_image_synced gauge lvm_lv_image_synced{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 0 @@ -44,24 +100,52 @@ lvm_lv_inactive_table{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 0 lvm_lv_inactive_table{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 # HELP lvm_lv_info # TYPE lvm_lv_info gauge -lvm_lv_info{lv_active="active",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="-wi-a-----",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgaaa-data",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgaaa/data",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="131072",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="data",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="/dev/vgaaa/data",lv_permissions="writeable",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="public",lv_tags="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="active",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="-wi-a-----",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgbbb-other",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgbbb/other",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="131072",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="other",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="/dev/vgbbb/other",lv_permissions="writeable",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="public",lv_tags="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_full_name="vgaaa/data",lv_name="data",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_info{lv_full_name="vgbbb/other",lv_name="other",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 # HELP lvm_lv_initial_image_sync Set if mirror/RAID images underwent initial resynchronization # TYPE lvm_lv_initial_image_sync gauge lvm_lv_initial_image_sync{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 0 lvm_lv_initial_image_sync{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_kernel_cache_policy Cache policy used in kernel +# TYPE lvm_lv_kernel_cache_policy gauge +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_kernel_cache_settings Cache settings/parameters as set in kernel, including default values (cached segments only) +# TYPE lvm_lv_kernel_cache_settings gauge +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_kernel_discards For thin pools, how discards are handled in kernel +# TYPE lvm_lv_kernel_discards gauge +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_kernel_major Currently assigned major number or -1 if LV is not active # TYPE lvm_lv_kernel_major gauge lvm_lv_kernel_major{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 253 lvm_lv_kernel_major{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 253 +# HELP lvm_lv_kernel_metadata_format Cache metadata format used in kernel +# TYPE lvm_lv_kernel_metadata_format gauge +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_kernel_minor Currently assigned minor number or -1 if LV is not active # TYPE lvm_lv_kernel_minor gauge lvm_lv_kernel_minor{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 lvm_lv_kernel_minor{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_kernel_read_ahead_bytes Currently-in-use read ahead setting +# TYPE lvm_lv_kernel_read_ahead_bytes gauge +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="131072",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="131072",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_layout LV layout +# TYPE lvm_lv_layout gauge +lvm_lv_layout{lv_layout="linear",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_live_table Set if LV has live table present # TYPE lvm_lv_live_table gauge lvm_lv_live_table{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 lvm_lv_live_table{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_lockargs Lock args of the LV used by lvmlockd +# TYPE lvm_lv_lockargs gauge +lvm_lv_lockargs{lv_lockargs="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_major Persistent major number or -1 if not persistent # TYPE lvm_lv_major gauge lvm_lv_major{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} -1 @@ -74,14 +158,78 @@ lvm_lv_merge_failed{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 # TYPE lvm_lv_merging gauge lvm_lv_merging{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 0 lvm_lv_merging{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_metadata_lv For cache/thin pools, the LV holding the associated metadata +# TYPE lvm_lv_metadata_lv gauge +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_metadata_lv_uuid For cache/thin pools, the UUID of the LV holding the associated metadata +# TYPE lvm_lv_metadata_lv_uuid gauge +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_minor Persistent minor number or -1 if not persistent # TYPE lvm_lv_minor gauge lvm_lv_minor{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} -1 lvm_lv_minor{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_mirror_log For mirrors, the LV holding the synchronisation log +# TYPE lvm_lv_mirror_log gauge +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_mirror_log_uuid For mirrors, the UUID of the LV holding the synchronisation log +# TYPE lvm_lv_mirror_log_uuid gauge +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_modules Kernel device-mapper modules required for this LV +# TYPE lvm_lv_modules gauge +lvm_lv_modules{lv_modules="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_move_pv For pvmove, Source PV of temporary LV created by pvmove +# TYPE lvm_lv_move_pv gauge +lvm_lv_move_pv{lv_move_pv="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_move_pv_uuid For pvmove, the UUID of Source PV of temporary LV created by pvmove +# TYPE lvm_lv_move_pv_uuid gauge +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_origin For snapshots and thins, the origin device of this LV +# TYPE lvm_lv_origin gauge +lvm_lv_origin{lv_origin="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_origin_uuid For snapshots and thins, the UUID of origin device of this LV +# TYPE lvm_lv_origin_uuid gauge +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_parent For LVs that are components of another LV, the parent LV +# TYPE lvm_lv_parent gauge +lvm_lv_parent{lv_parent="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_parent{lv_parent="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_path Full pathname for LV. Blank for internal LVs +# TYPE lvm_lv_path gauge +lvm_lv_path{lv_path="/dev/vgaaa/data",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +lvm_lv_path{lv_path="/dev/vgbbb/other",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +# HELP lvm_lv_permissions LV permissions +# TYPE lvm_lv_permissions gauge +lvm_lv_permissions{lv_permissions="writeable",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_permissions{lv_permissions="writeable",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_pool_lv For cache/thin/vdo volumes, the cache/thin/vdo pool LV for this volume +# TYPE lvm_lv_pool_lv gauge +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_pool_lv_uuid For cache/thin/vdo volumes, the UUID of the cache/thin/vdo pool LV for this volume +# TYPE lvm_lv_pool_lv_uuid gauge +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 +# HELP lvm_lv_raid_sync_action For RAID, the current synchronization action being performed +# TYPE lvm_lv_raid_sync_action gauge +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_read_ahead_bytes Read ahead setting # TYPE lvm_lv_read_ahead_bytes gauge lvm_lv_read_ahead_bytes{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} -1 lvm_lv_read_ahead_bytes{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 +# HELP lvm_lv_role LV role +# TYPE lvm_lv_role gauge +lvm_lv_role{lv_role="public",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_role{lv_role="public",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_seg_count Number of segments in LV # TYPE lvm_lv_seg_count gauge lvm_lv_seg_count{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 @@ -102,14 +250,26 @@ lvm_lv_snapshot_invalid{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} -1 # TYPE lvm_lv_suspended gauge lvm_lv_suspended{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 0 lvm_lv_suspended{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 0 +# HELP lvm_lv_tags Tags, if any +# TYPE lvm_lv_tags gauge +lvm_lv_tags{lv_tags="",lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1 # HELP lvm_lv_time Creation time of the LV, if known # TYPE lvm_lv_time gauge lvm_lv_time{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo"} 1.628424615e+09 lvm_lv_time{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu"} 1.628424605e+09 +# HELP lvm_lv_when_full For thin pools, behavior when full +# TYPE lvm_lv_when_full gauge +lvm_lv_when_full{lv_uuid="BUfEXc-saxE-kJyd-A1Jj-C8fw-GdtX-fBhepo",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="ijb7Yx-rXx5-uU9j-Gv5g-eZi4-yYX8-o3yNJu",lv_when_full=""} 1 # HELP lvm_pv_allocatable Set if this device can be used for allocation # TYPE lvm_pv_allocatable gauge lvm_pv_allocatable{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 lvm_pv_allocatable{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +# HELP lvm_pv_attr +# TYPE lvm_pv_attr gauge +lvm_pv_attr{pv_attr="a--",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_attr{pv_attr="a--",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 # HELP lvm_pv_ba_size_bytes Size of PV Bootloader Area # TYPE lvm_pv_ba_size_bytes gauge lvm_pv_ba_size_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 0 @@ -134,6 +294,10 @@ lvm_pv_exported{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 0 # TYPE lvm_pv_ext_vsn gauge lvm_pv_ext_vsn{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 2 lvm_pv_ext_vsn{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 2 +# HELP lvm_pv_fmt Type of metadata +# TYPE lvm_pv_fmt gauge +lvm_pv_fmt{pv_fmt="lvm2",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_fmt{pv_fmt="lvm2",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 # HELP lvm_pv_free_bytes Total amount of unallocated space # TYPE lvm_pv_free_bytes gauge lvm_pv_free_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 9.14358272e+08 @@ -144,8 +308,8 @@ lvm_pv_in_use{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 lvm_pv_in_use{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 # HELP lvm_pv_info # TYPE lvm_pv_info gauge -lvm_pv_info{pv_attr="a--",pv_fmt="lvm2",pv_name="/dev/loop0",pv_tags="",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 -lvm_pv_info{pv_attr="a--",pv_fmt="lvm2",pv_name="/dev/loop1",pv_tags="",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_info{pv_name="/dev/loop0",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 +lvm_pv_info{pv_name="/dev/loop1",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 # HELP lvm_pv_major Device major number # TYPE lvm_pv_major gauge lvm_pv_major{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 7 @@ -190,6 +354,10 @@ lvm_pv_pe_start{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1.048576e+06 # TYPE lvm_pv_size_bytes gauge lvm_pv_size_bytes{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1.044381696e+09 lvm_pv_size_bytes{pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1.044381696e+09 +# HELP lvm_pv_tags +# TYPE lvm_pv_tags gauge +lvm_pv_tags{pv_tags="",pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1 +lvm_pv_tags{pv_tags="",pv_uuid="yc1zVe-9eOY-3bsX-qwqN-Wkk0-eDze-Rgrmzh"} 1 # HELP lvm_pv_used Total amount of allocated space # TYPE lvm_pv_used gauge lvm_pv_used{pv_uuid="WVIH97-eRwc-thU9-mCj9-80zl-UDp6-VlhBOg"} 1.30023424e+08 @@ -202,6 +370,14 @@ lvm_unknown_field_count{details="",group="vg"} 0 # HELP lvm_up Whether scrape was successful # TYPE lvm_up gauge lvm_up{status=""} 1 +# HELP lvm_vg_allocation_policy +# TYPE lvm_vg_allocation_policy gauge +lvm_vg_allocation_policy{vg_allocation_policy="normal",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_allocation_policy{vg_allocation_policy="normal",vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1 +# HELP lvm_vg_attr +# TYPE lvm_vg_attr gauge +lvm_vg_attr{vg_attr="wz--n-",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_attr{vg_attr="wz--n-",vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1 # HELP lvm_vg_clustered Set if VG is clustered # TYPE lvm_vg_clustered gauge lvm_vg_clustered{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 @@ -222,6 +398,10 @@ lvm_vg_extent_count{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 249 # TYPE lvm_vg_extent_size_bytes gauge lvm_vg_extent_size_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 4.194304e+06 lvm_vg_extent_size_bytes{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 4.194304e+06 +# HELP lvm_vg_fmt Type of metadata +# TYPE lvm_vg_fmt gauge +lvm_vg_fmt{vg_fmt="lvm2",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_fmt{vg_fmt="lvm2",vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1 # HELP lvm_vg_free_bytes Total amount of free space in bytes # TYPE lvm_vg_free_bytes gauge lvm_vg_free_bytes{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1.040187392e+09 @@ -232,8 +412,16 @@ lvm_vg_free_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 248 lvm_vg_free_count{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 218 # HELP lvm_vg_info # TYPE lvm_vg_info gauge -lvm_vg_info{vg_allocation_policy="normal",vg_attr="wz--n-",vg_fmt="lvm2",vg_lock_args="",vg_lock_type="",vg_name="vgaaa",vg_permissions="writeable",vg_systemid="",vg_tags="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 -lvm_vg_info{vg_allocation_policy="normal",vg_attr="wz--n-",vg_fmt="lvm2",vg_lock_args="",vg_lock_type="",vg_name="vgbbb",vg_permissions="writeable",vg_systemid="",vg_tags="",vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1 +lvm_vg_info{vg_name="vgaaa",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_info{vg_name="vgbbb",vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1 +# HELP lvm_vg_lock_args +# TYPE lvm_vg_lock_args gauge +lvm_vg_lock_args{vg_lock_args="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_lock_args{vg_lock_args="",vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1 +# HELP lvm_vg_lock_type +# TYPE lvm_vg_lock_type gauge +lvm_vg_lock_type{vg_lock_type="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_lock_type{vg_lock_type="",vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1 # HELP lvm_vg_lv_count Number of LVs # TYPE lvm_vg_lv_count gauge lvm_vg_lv_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 @@ -274,6 +462,10 @@ lvm_vg_missing_pv_count{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 0 # TYPE lvm_vg_partial gauge lvm_vg_partial{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 lvm_vg_partial{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 0 +# HELP lvm_vg_permissions +# TYPE lvm_vg_permissions gauge +lvm_vg_permissions{vg_permissions="writeable",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_permissions{vg_permissions="writeable",vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1 # HELP lvm_vg_pv_count Number of PVs in VG # TYPE lvm_vg_pv_count gauge lvm_vg_pv_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 @@ -294,3 +486,11 @@ lvm_vg_size_bytes{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1.044381696e # TYPE lvm_vg_snap_count gauge lvm_vg_snap_count{vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 0 lvm_vg_snap_count{vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 0 +# HELP lvm_vg_systemid +# TYPE lvm_vg_systemid gauge +lvm_vg_systemid{vg_systemid="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_systemid{vg_systemid="",vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1 +# HELP lvm_vg_tags +# TYPE lvm_vg_tags gauge +lvm_vg_tags{vg_tags="",vg_uuid="Uq6z0j-D3zp-fNVa-frk9-s83o-81qH-8vfnWG"} 1 +lvm_vg_tags{vg_tags="",vg_uuid="mWV48V-DjUS-HkXL-Thmy-RTZD-kz8j-ottiqy"} 1 diff --git a/testdata/snapshot-legacy.golden b/testdata/snapshot-legacy.golden new file mode 100644 index 0000000..fb60fbe --- /dev/null +++ b/testdata/snapshot-legacy.golden @@ -0,0 +1,54 @@ +# HELP lvm_lv_ancestors LV ancestors ignoring any stored history of the ancestry chain +# TYPE lvm_lv_ancestors gauge +lvm_lv_ancestors{lv_ancestors="",lv_uuid="FNkhIS-Vozm-bmE7-dmHD-vjOM-103g-irxDIb"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="Il5cUA-BDjk-T5ZB-vTdr-EsJd-6bFa-zjuhgB"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="PucjXb-iwvM-Px3b-tfO8-xy43-F8B4-2uEyc0"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="VBJ3Ct-yDJ3-JPGS-Zyew-tCO5-7AvK-INt3g6"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="b3Wegf-3TOd-I5YS-ll0X-RZgI-QxAu-qv0fbc"} 1 +lvm_lv_ancestors{lv_ancestors="lv_home",lv_uuid="zqJxaj-K6iF-f1NV-4G35-8Pg7-hhpn-p77SMP"} 1 +# HELP lvm_lv_descendants LV descendants ignoring any stored history of the ancestry chain +# TYPE lvm_lv_descendants gauge +lvm_lv_descendants{lv_descendants="",lv_uuid="FNkhIS-Vozm-bmE7-dmHD-vjOM-103g-irxDIb"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="Il5cUA-BDjk-T5ZB-vTdr-EsJd-6bFa-zjuhgB"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="PucjXb-iwvM-Px3b-tfO8-xy43-F8B4-2uEyc0"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="VBJ3Ct-yDJ3-JPGS-Zyew-tCO5-7AvK-INt3g6"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="zqJxaj-K6iF-f1NV-4G35-8Pg7-hhpn-p77SMP"} 1 +lvm_lv_descendants{lv_descendants="lv_home_snapshot",lv_uuid="b3Wegf-3TOd-I5YS-ll0X-RZgI-QxAu-qv0fbc"} 1 +# HELP lvm_lv_full_ancestors LV ancestors including stored history of the ancestry chain +# TYPE lvm_lv_full_ancestors gauge +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="FNkhIS-Vozm-bmE7-dmHD-vjOM-103g-irxDIb"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="Il5cUA-BDjk-T5ZB-vTdr-EsJd-6bFa-zjuhgB"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="PucjXb-iwvM-Px3b-tfO8-xy43-F8B4-2uEyc0"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="VBJ3Ct-yDJ3-JPGS-Zyew-tCO5-7AvK-INt3g6"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="b3Wegf-3TOd-I5YS-ll0X-RZgI-QxAu-qv0fbc"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="lv_home",lv_uuid="zqJxaj-K6iF-f1NV-4G35-8Pg7-hhpn-p77SMP"} 1 +# HELP lvm_lv_full_descendants LV descendants including stored history of the ancestry chain +# TYPE lvm_lv_full_descendants gauge +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="FNkhIS-Vozm-bmE7-dmHD-vjOM-103g-irxDIb"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="Il5cUA-BDjk-T5ZB-vTdr-EsJd-6bFa-zjuhgB"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="PucjXb-iwvM-Px3b-tfO8-xy43-F8B4-2uEyc0"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="VBJ3Ct-yDJ3-JPGS-Zyew-tCO5-7AvK-INt3g6"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="zqJxaj-K6iF-f1NV-4G35-8Pg7-hhpn-p77SMP"} 1 +lvm_lv_full_descendants{lv_full_descendants="lv_home_snapshot",lv_uuid="b3Wegf-3TOd-I5YS-ll0X-RZgI-QxAu-qv0fbc"} 1 +# HELP lvm_lv_info +# TYPE lvm_lv_info gauge +lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="lv_csmeta",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="VBJ3Ct-yDJ3-JPGS-Zyew-tCO5-7AvK-INt3g6",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="lv_docker",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="FNkhIS-Vozm-bmE7-dmHD-vjOM-103g-irxDIb",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="lv_libvirt_images",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="PucjXb-iwvM-Px3b-tfO8-xy43-F8B4-2uEyc0",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="lv_root",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="Il5cUA-BDjk-T5ZB-vTdr-EsJd-6bFa-zjuhgB",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="lv_home_snapshot",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="lv_home_snapshot",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="lv_home",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="b3Wegf-3TOd-I5YS-ll0X-RZgI-QxAu-qv0fbc",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="lv_home",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="lv_home",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="lv_home_snapshot",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="zqJxaj-K6iF-f1NV-4G35-8Pg7-hhpn-p77SMP",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +# HELP lvm_pv_info +# TYPE lvm_pv_info gauge +lvm_pv_info{pv_attr="",pv_fmt="",pv_name="",pv_tags="",pv_uuid=""} 1 +# HELP lvm_unknown_field_count Fields reported by LVM not recognized by exporter +# TYPE lvm_unknown_field_count gauge +lvm_unknown_field_count{details="",group="lv"} 0 +lvm_unknown_field_count{details="",group="pv"} 0 +lvm_unknown_field_count{details="",group="vg"} 0 +# HELP lvm_up Whether scrape was successful +# TYPE lvm_up gauge +lvm_up{status=""} 1 +# HELP lvm_vg_info +# TYPE lvm_vg_info gauge +lvm_vg_info{vg_allocation_policy="",vg_attr="",vg_fmt="",vg_lock_args="",vg_lock_type="",vg_name="",vg_permissions="",vg_systemid="",vg_tags="",vg_uuid=""} 1 diff --git a/testdata/snapshot.golden b/testdata/snapshot.golden index b1f23bc..c81ccda 100644 --- a/testdata/snapshot.golden +++ b/testdata/snapshot.golden @@ -1,14 +1,46 @@ +# HELP lvm_lv_ancestors LV ancestors ignoring any stored history of the ancestry chain +# TYPE lvm_lv_ancestors gauge +lvm_lv_ancestors{lv_ancestors="",lv_uuid="FNkhIS-Vozm-bmE7-dmHD-vjOM-103g-irxDIb"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="Il5cUA-BDjk-T5ZB-vTdr-EsJd-6bFa-zjuhgB"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="PucjXb-iwvM-Px3b-tfO8-xy43-F8B4-2uEyc0"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="VBJ3Ct-yDJ3-JPGS-Zyew-tCO5-7AvK-INt3g6"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="b3Wegf-3TOd-I5YS-ll0X-RZgI-QxAu-qv0fbc"} 1 +lvm_lv_ancestors{lv_ancestors="lv_home",lv_uuid="zqJxaj-K6iF-f1NV-4G35-8Pg7-hhpn-p77SMP"} 1 +# HELP lvm_lv_descendants LV descendants ignoring any stored history of the ancestry chain +# TYPE lvm_lv_descendants gauge +lvm_lv_descendants{lv_descendants="",lv_uuid="FNkhIS-Vozm-bmE7-dmHD-vjOM-103g-irxDIb"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="Il5cUA-BDjk-T5ZB-vTdr-EsJd-6bFa-zjuhgB"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="PucjXb-iwvM-Px3b-tfO8-xy43-F8B4-2uEyc0"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="VBJ3Ct-yDJ3-JPGS-Zyew-tCO5-7AvK-INt3g6"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="zqJxaj-K6iF-f1NV-4G35-8Pg7-hhpn-p77SMP"} 1 +lvm_lv_descendants{lv_descendants="lv_home_snapshot",lv_uuid="b3Wegf-3TOd-I5YS-ll0X-RZgI-QxAu-qv0fbc"} 1 +# HELP lvm_lv_full_ancestors LV ancestors including stored history of the ancestry chain +# TYPE lvm_lv_full_ancestors gauge +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="FNkhIS-Vozm-bmE7-dmHD-vjOM-103g-irxDIb"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="Il5cUA-BDjk-T5ZB-vTdr-EsJd-6bFa-zjuhgB"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="PucjXb-iwvM-Px3b-tfO8-xy43-F8B4-2uEyc0"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="VBJ3Ct-yDJ3-JPGS-Zyew-tCO5-7AvK-INt3g6"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="b3Wegf-3TOd-I5YS-ll0X-RZgI-QxAu-qv0fbc"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="lv_home",lv_uuid="zqJxaj-K6iF-f1NV-4G35-8Pg7-hhpn-p77SMP"} 1 +# HELP lvm_lv_full_descendants LV descendants including stored history of the ancestry chain +# TYPE lvm_lv_full_descendants gauge +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="FNkhIS-Vozm-bmE7-dmHD-vjOM-103g-irxDIb"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="Il5cUA-BDjk-T5ZB-vTdr-EsJd-6bFa-zjuhgB"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="PucjXb-iwvM-Px3b-tfO8-xy43-F8B4-2uEyc0"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="VBJ3Ct-yDJ3-JPGS-Zyew-tCO5-7AvK-INt3g6"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="zqJxaj-K6iF-f1NV-4G35-8Pg7-hhpn-p77SMP"} 1 +lvm_lv_full_descendants{lv_full_descendants="lv_home_snapshot",lv_uuid="b3Wegf-3TOd-I5YS-ll0X-RZgI-QxAu-qv0fbc"} 1 # HELP lvm_lv_info # TYPE lvm_lv_info gauge -lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="lv_csmeta",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="VBJ3Ct-yDJ3-JPGS-Zyew-tCO5-7AvK-INt3g6",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="lv_docker",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="FNkhIS-Vozm-bmE7-dmHD-vjOM-103g-irxDIb",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="lv_libvirt_images",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="PucjXb-iwvM-Px3b-tfO8-xy43-F8B4-2uEyc0",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="lv_root",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="Il5cUA-BDjk-T5ZB-vTdr-EsJd-6bFa-zjuhgB",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="lv_home_snapshot",lv_dm_path="",lv_full_ancestors="",lv_full_descendants="lv_home_snapshot",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="lv_home",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="b3Wegf-3TOd-I5YS-ll0X-RZgI-QxAu-qv0fbc",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="",lv_allocation_policy="",lv_ancestors="lv_home",lv_attr="",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="",lv_full_ancestors="lv_home",lv_full_descendants="",lv_full_name="",lv_health_status="",lv_host="",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="",lv_layout="",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="lv_home_snapshot",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="",lv_tags="",lv_uuid="zqJxaj-K6iF-f1NV-4G35-8Pg7-hhpn-p77SMP",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_full_name="",lv_name="lv_csmeta",lv_uuid="VBJ3Ct-yDJ3-JPGS-Zyew-tCO5-7AvK-INt3g6"} 1 +lvm_lv_info{lv_full_name="",lv_name="lv_docker",lv_uuid="FNkhIS-Vozm-bmE7-dmHD-vjOM-103g-irxDIb"} 1 +lvm_lv_info{lv_full_name="",lv_name="lv_home",lv_uuid="b3Wegf-3TOd-I5YS-ll0X-RZgI-QxAu-qv0fbc"} 1 +lvm_lv_info{lv_full_name="",lv_name="lv_home_snapshot",lv_uuid="zqJxaj-K6iF-f1NV-4G35-8Pg7-hhpn-p77SMP"} 1 +lvm_lv_info{lv_full_name="",lv_name="lv_libvirt_images",lv_uuid="PucjXb-iwvM-Px3b-tfO8-xy43-F8B4-2uEyc0"} 1 +lvm_lv_info{lv_full_name="",lv_name="lv_root",lv_uuid="Il5cUA-BDjk-T5ZB-vTdr-EsJd-6bFa-zjuhgB"} 1 # HELP lvm_pv_info # TYPE lvm_pv_info gauge -lvm_pv_info{pv_attr="",pv_fmt="",pv_name="",pv_tags="",pv_uuid=""} 1 +lvm_pv_info{pv_name="",pv_uuid=""} 1 # HELP lvm_unknown_field_count Fields reported by LVM not recognized by exporter # TYPE lvm_unknown_field_count gauge lvm_unknown_field_count{details="",group="lv"} 0 @@ -19,4 +51,4 @@ lvm_unknown_field_count{details="",group="vg"} 0 lvm_up{status=""} 1 # HELP lvm_vg_info # TYPE lvm_vg_info gauge -lvm_vg_info{vg_allocation_policy="",vg_attr="",vg_fmt="",vg_lock_args="",vg_lock_type="",vg_name="",vg_permissions="",vg_systemid="",vg_tags="",vg_uuid=""} 1 +lvm_vg_info{vg_name="",vg_uuid=""} 1 diff --git a/testdata/vgdata-cached-legacy.golden b/testdata/vgdata-cached-legacy.golden new file mode 100644 index 0000000..bf3e624 --- /dev/null +++ b/testdata/vgdata-cached-legacy.golden @@ -0,0 +1,780 @@ +# HELP lvm_lv_active Active state of the LV +# TYPE lvm_lv_active gauge +lvm_lv_active{lv_active="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_active{lv_active="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_active{lv_active="active",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_active{lv_active="active",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_active{lv_active="active",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_active{lv_active="active",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +# HELP lvm_lv_active_exclusively Set if the LV is active exclusively +# TYPE lvm_lv_active_exclusively gauge +lvm_lv_active_exclusively{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_active_exclusively{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_active_exclusively{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_active_exclusively{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_active_exclusively{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 0 +lvm_lv_active_exclusively{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 0 +# HELP lvm_lv_active_locally Set if the LV is active locally +# TYPE lvm_lv_active_locally gauge +lvm_lv_active_locally{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_active_locally{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_active_locally{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_active_locally{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_active_locally{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 0 +lvm_lv_active_locally{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 0 +# HELP lvm_lv_active_remotely Set if the LV is active remotely +# TYPE lvm_lv_active_remotely gauge +lvm_lv_active_remotely{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 0 +lvm_lv_active_remotely{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 0 +lvm_lv_active_remotely{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 0 +lvm_lv_active_remotely{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 0 +lvm_lv_active_remotely{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 0 +lvm_lv_active_remotely{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 0 +# HELP lvm_lv_allocation_locked Set if LV is locked against allocation changes +# TYPE lvm_lv_allocation_locked gauge +lvm_lv_allocation_locked{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 0 +lvm_lv_allocation_locked{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 0 +lvm_lv_allocation_locked{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 0 +lvm_lv_allocation_locked{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 0 +lvm_lv_allocation_locked{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 0 +lvm_lv_allocation_locked{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 0 +# HELP lvm_lv_allocation_policy LV allocation policy +# TYPE lvm_lv_allocation_policy gauge +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_ancestors LV ancestors ignoring any stored history of the ancestry chain +# TYPE lvm_lv_ancestors gauge +lvm_lv_ancestors{lv_ancestors="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_attr Various attributes +# TYPE lvm_lv_attr gauge +lvm_lv_attr{lv_attr="Cwi---C---",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_attr{lv_attr="Cwi-a-C---",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_attr{lv_attr="Cwi-ao----",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_attr{lv_attr="ewi-------",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_attr{lv_attr="ewi-ao----",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_attr{lv_attr="owi-aoC---",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +# HELP lvm_lv_cache_dirty_blocks Dirty cache blocks +# TYPE lvm_lv_cache_dirty_blocks gauge +lvm_lv_cache_dirty_blocks{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 0 +lvm_lv_cache_dirty_blocks{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 0 +# HELP lvm_lv_cache_read_hits Cache read hits +# TYPE lvm_lv_cache_read_hits gauge +lvm_lv_cache_read_hits{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 239 +lvm_lv_cache_read_hits{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 239 +# HELP lvm_lv_cache_read_misses Cache read misses +# TYPE lvm_lv_cache_read_misses gauge +lvm_lv_cache_read_misses{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 92 +lvm_lv_cache_read_misses{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 92 +# HELP lvm_lv_cache_total_blocks Total cache blocks +# TYPE lvm_lv_cache_total_blocks gauge +lvm_lv_cache_total_blocks{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 832 +lvm_lv_cache_total_blocks{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 832 +# HELP lvm_lv_cache_used_blocks Used cache blocks +# TYPE lvm_lv_cache_used_blocks gauge +lvm_lv_cache_used_blocks{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 92 +lvm_lv_cache_used_blocks{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 92 +# HELP lvm_lv_cache_write_hits Cache write hits +# TYPE lvm_lv_cache_write_hits gauge +lvm_lv_cache_write_hits{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1057 +lvm_lv_cache_write_hits{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1057 +# HELP lvm_lv_cache_write_misses Cache write misses +# TYPE lvm_lv_cache_write_misses gauge +lvm_lv_cache_write_misses{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 63 +lvm_lv_cache_write_misses{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 63 +# HELP lvm_lv_check_needed For thin pools and cache volumes, whether metadata check is needed +# TYPE lvm_lv_check_needed gauge +lvm_lv_check_needed{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} -1 +lvm_lv_check_needed{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 0 +lvm_lv_check_needed{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} -1 +lvm_lv_check_needed{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} -1 +lvm_lv_check_needed{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} -1 +lvm_lv_check_needed{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} -1 +# HELP lvm_lv_convert_lv For lvconvert, Name of temporary LV created by lvconvert +# TYPE lvm_lv_convert_lv gauge +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_convert_lv_uuid For lvconvert, UUID of temporary LV created by lvconvert +# TYPE lvm_lv_convert_lv_uuid gauge +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_converting Set if LV is being converted +# TYPE lvm_lv_converting gauge +lvm_lv_converting{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 0 +lvm_lv_converting{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 0 +lvm_lv_converting{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 0 +lvm_lv_converting{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 0 +lvm_lv_converting{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 0 +lvm_lv_converting{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 0 +# HELP lvm_lv_copy_percent For Cache, RAID, mirrors and pvmove, current percentage in-sync +# TYPE lvm_lv_copy_percent gauge +lvm_lv_copy_percent{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 0 +lvm_lv_copy_percent{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 0 +# HELP lvm_lv_data_lv For cache/thin/vdo pools, the LV holding the associated data +# TYPE lvm_lv_data_lv gauge +lvm_lv_data_lv{lv_data_lv="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_data_lv{lv_data_lv="[fast_cdata]",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_data_lv_uuid For cache/thin/vdo pools, the UUID of the LV holding the associated data +# TYPE lvm_lv_data_lv_uuid gauge +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_data_percent For snapshot, cache and thin pools and volumes, the percentage full if LV is active +# TYPE lvm_lv_data_percent gauge +lvm_lv_data_percent{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 11.06 +lvm_lv_data_percent{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 11.06 +# HELP lvm_lv_descendants LV descendants ignoring any stored history of the ancestry chain +# TYPE lvm_lv_descendants gauge +lvm_lv_descendants{lv_descendants="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_device_open Set if LV device is open +# TYPE lvm_lv_device_open gauge +lvm_lv_device_open{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_device_open{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 0 +lvm_lv_device_open{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_device_open{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_device_open{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} -1 +lvm_lv_device_open{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} -1 +# HELP lvm_lv_dm_path Internal device-mapper pathname for LV (in /dev/mapper directory) +# TYPE lvm_lv_dm_path gauge +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgdata-cached",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgdata-cached_corig",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgdata-fast",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgdata-fast_cdata",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgdata-fast_cmeta",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgdata-lvol0_pmspare",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +# HELP lvm_lv_fixed_minor Set if LV has fixed minor number assigned +# TYPE lvm_lv_fixed_minor gauge +lvm_lv_fixed_minor{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 0 +lvm_lv_fixed_minor{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 0 +lvm_lv_fixed_minor{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 0 +lvm_lv_fixed_minor{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 0 +lvm_lv_fixed_minor{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 0 +lvm_lv_fixed_minor{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 0 +# HELP lvm_lv_full_ancestors LV ancestors including stored history of the ancestry chain +# TYPE lvm_lv_full_ancestors gauge +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_full_descendants LV descendants including stored history of the ancestry chain +# TYPE lvm_lv_full_descendants gauge +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_health_status LV health status +# TYPE lvm_lv_health_status gauge +lvm_lv_health_status{lv_health_status="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_historical Set if the LV is historical +# TYPE lvm_lv_historical gauge +lvm_lv_historical{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 0 +lvm_lv_historical{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 0 +lvm_lv_historical{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 0 +lvm_lv_historical{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 0 +lvm_lv_historical{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 0 +lvm_lv_historical{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 0 +# HELP lvm_lv_host Creation host of the LV, if known +# TYPE lvm_lv_host gauge +lvm_lv_host{lv_host="buster",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_image_synced Set if mirror/RAID image is synchronized +# TYPE lvm_lv_image_synced gauge +lvm_lv_image_synced{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 0 +lvm_lv_image_synced{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 0 +lvm_lv_image_synced{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 0 +lvm_lv_image_synced{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 0 +lvm_lv_image_synced{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 0 +lvm_lv_image_synced{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 0 +# HELP lvm_lv_inactive_table Set if LV has inactive table present +# TYPE lvm_lv_inactive_table gauge +lvm_lv_inactive_table{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 0 +lvm_lv_inactive_table{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 0 +lvm_lv_inactive_table{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 0 +lvm_lv_inactive_table{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 0 +lvm_lv_inactive_table{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} -1 +lvm_lv_inactive_table{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} -1 +# HELP lvm_lv_info +# TYPE lvm_lv_info gauge +lvm_lv_info{lv_active="",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="Cwi---C---",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="[fast_cdata]",lv_data_lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij",lv_descendants="",lv_dm_path="/dev/mapper/vgdata-fast",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgdata/fast",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="smq",lv_kernel_cache_settings="migration_threshold=2048",lv_kernel_discards="",lv_kernel_metadata_format="2",lv_kernel_read_ahead_bytes="-1",lv_layout="cache,pool",lv_lockargs="",lv_metadata_lv="[fast_cmeta]",lv_metadata_lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="cache",lv_move_pv="",lv_move_pv_uuid="",lv_name="[fast]",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="unknown",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private",lv_tags="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="ewi-------",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgdata-lvol0_pmspare",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgdata/lvol0_pmspare",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="-1",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[lvol0_pmspare]",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="unknown",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private,pool,spare",lv_tags="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="active",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="Cwi-a-C---",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgdata-cached",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgdata/cached",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="smq",lv_kernel_cache_settings="migration_threshold=2048",lv_kernel_discards="",lv_kernel_metadata_format="2",lv_kernel_read_ahead_bytes="131072",lv_layout="cache",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="cache",lv_move_pv="",lv_move_pv_uuid="",lv_name="cached",lv_origin="[cached_corig]",lv_origin_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd",lv_parent="",lv_path="/dev/vgdata/cached",lv_permissions="writeable",lv_pool_lv="[fast]",lv_pool_lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="public",lv_tags="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="active",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="Cwi-ao----",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgdata-fast_cdata",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgdata/fast_cdata",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="131072",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[fast_cdata]",lv_origin="",lv_origin_uuid="",lv_parent="[fast]",lv_path="",lv_permissions="writeable",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private,cache,pool,data",lv_tags="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="active",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="ewi-ao----",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgdata-fast_cmeta",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgdata/fast_cmeta",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="131072",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[fast_cmeta]",lv_origin="",lv_origin_uuid="",lv_parent="[fast]",lv_path="",lv_permissions="writeable",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private,cache,pool,metadata",lv_tags="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="active",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="owi-aoC---",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgdata-cached_corig",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgdata/cached_corig",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="131072",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[cached_corig]",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="writeable",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private,cache,origin,cacheorigin",lv_tags="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +# HELP lvm_lv_initial_image_sync Set if mirror/RAID images underwent initial resynchronization +# TYPE lvm_lv_initial_image_sync gauge +lvm_lv_initial_image_sync{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 0 +lvm_lv_initial_image_sync{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 0 +lvm_lv_initial_image_sync{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 0 +lvm_lv_initial_image_sync{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 0 +lvm_lv_initial_image_sync{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 0 +lvm_lv_initial_image_sync{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 0 +# HELP lvm_lv_kernel_cache_policy Cache policy used in kernel +# TYPE lvm_lv_kernel_cache_policy gauge +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="smq",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="smq",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_kernel_cache_settings Cache settings/parameters as set in kernel, including default values (cached segments only) +# TYPE lvm_lv_kernel_cache_settings gauge +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="migration_threshold=2048",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="migration_threshold=2048",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_kernel_discards For thin pools, how discards are handled in kernel +# TYPE lvm_lv_kernel_discards gauge +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_kernel_major Currently assigned major number or -1 if LV is not active +# TYPE lvm_lv_kernel_major gauge +lvm_lv_kernel_major{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 253 +lvm_lv_kernel_major{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 253 +lvm_lv_kernel_major{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 253 +lvm_lv_kernel_major{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 253 +lvm_lv_kernel_major{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} -1 +lvm_lv_kernel_major{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} -1 +# HELP lvm_lv_kernel_metadata_format Cache metadata format used in kernel +# TYPE lvm_lv_kernel_metadata_format gauge +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="2",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="2",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_kernel_minor Currently assigned minor number or -1 if LV is not active +# TYPE lvm_lv_kernel_minor gauge +lvm_lv_kernel_minor{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 2 +lvm_lv_kernel_minor{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 0 +lvm_lv_kernel_minor{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_kernel_minor{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 3 +lvm_lv_kernel_minor{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} -1 +lvm_lv_kernel_minor{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} -1 +# HELP lvm_lv_kernel_read_ahead_bytes Currently-in-use read ahead setting +# TYPE lvm_lv_kernel_read_ahead_bytes gauge +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="-1",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="-1",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="131072",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="131072",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="131072",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="131072",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +# HELP lvm_lv_layout LV layout +# TYPE lvm_lv_layout gauge +lvm_lv_layout{lv_layout="cache",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_layout{lv_layout="cache,pool",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +# HELP lvm_lv_live_table Set if LV has live table present +# TYPE lvm_lv_live_table gauge +lvm_lv_live_table{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_live_table{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_live_table{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_live_table{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_live_table{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} -1 +lvm_lv_live_table{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} -1 +# HELP lvm_lv_lockargs Lock args of the LV used by lvmlockd +# TYPE lvm_lv_lockargs gauge +lvm_lv_lockargs{lv_lockargs="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_major Persistent major number or -1 if not persistent +# TYPE lvm_lv_major gauge +lvm_lv_major{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} -1 +lvm_lv_major{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} -1 +lvm_lv_major{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} -1 +lvm_lv_major{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} -1 +lvm_lv_major{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} -1 +lvm_lv_major{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} -1 +# HELP lvm_lv_merge_failed Set if snapshot merge failed +# TYPE lvm_lv_merge_failed gauge +lvm_lv_merge_failed{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} -1 +lvm_lv_merge_failed{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} -1 +lvm_lv_merge_failed{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} -1 +lvm_lv_merge_failed{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} -1 +lvm_lv_merge_failed{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} -1 +lvm_lv_merge_failed{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} -1 +# HELP lvm_lv_merging Set if snapshot LV is being merged to origin +# TYPE lvm_lv_merging gauge +lvm_lv_merging{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 0 +lvm_lv_merging{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 0 +lvm_lv_merging{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 0 +lvm_lv_merging{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 0 +lvm_lv_merging{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 0 +lvm_lv_merging{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 0 +# HELP lvm_lv_metadata_lv For cache/thin pools, the LV holding the associated metadata +# TYPE lvm_lv_metadata_lv gauge +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="[fast_cmeta]",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_metadata_lv_uuid For cache/thin pools, the UUID of the LV holding the associated metadata +# TYPE lvm_lv_metadata_lv_uuid gauge +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_metadata_percent For cache and thin pools, the percentage of metadata full if LV is active +# TYPE lvm_lv_metadata_percent gauge +lvm_lv_metadata_percent{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 0.49 +lvm_lv_metadata_percent{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 0.49 +# HELP lvm_lv_metadata_size_bytes For thin and cache pools, the size of the LV that holds the metadata +# TYPE lvm_lv_metadata_size_bytes gauge +lvm_lv_metadata_size_bytes{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 8.388608e+06 +# HELP lvm_lv_minor Persistent minor number or -1 if not persistent +# TYPE lvm_lv_minor gauge +lvm_lv_minor{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} -1 +lvm_lv_minor{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} -1 +lvm_lv_minor{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} -1 +lvm_lv_minor{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} -1 +lvm_lv_minor{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} -1 +lvm_lv_minor{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} -1 +# HELP lvm_lv_mirror_log For mirrors, the LV holding the synchronisation log +# TYPE lvm_lv_mirror_log gauge +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_mirror_log_uuid For mirrors, the UUID of the LV holding the synchronisation log +# TYPE lvm_lv_mirror_log_uuid gauge +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_modules Kernel device-mapper modules required for this LV +# TYPE lvm_lv_modules gauge +lvm_lv_modules{lv_modules="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_modules{lv_modules="cache",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_modules{lv_modules="cache",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_move_pv For pvmove, Source PV of temporary LV created by pvmove +# TYPE lvm_lv_move_pv gauge +lvm_lv_move_pv{lv_move_pv="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_move_pv_uuid For pvmove, the UUID of Source PV of temporary LV created by pvmove +# TYPE lvm_lv_move_pv_uuid gauge +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_origin For snapshots and thins, the origin device of this LV +# TYPE lvm_lv_origin gauge +lvm_lv_origin{lv_origin="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_origin{lv_origin="[cached_corig]",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +# HELP lvm_lv_origin_uuid For snapshots and thins, the UUID of origin device of this LV +# TYPE lvm_lv_origin_uuid gauge +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +# HELP lvm_lv_parent For LVs that are components of another LV, the parent LV +# TYPE lvm_lv_parent gauge +lvm_lv_parent{lv_parent="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_parent{lv_parent="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_parent{lv_parent="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_parent{lv_parent="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_parent{lv_parent="[fast]",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_parent{lv_parent="[fast]",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +# HELP lvm_lv_path Full pathname for LV. Blank for internal LVs +# TYPE lvm_lv_path gauge +lvm_lv_path{lv_path="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_path{lv_path="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_path{lv_path="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_path{lv_path="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_path{lv_path="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_path{lv_path="/dev/vgdata/cached",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +# HELP lvm_lv_permissions LV permissions +# TYPE lvm_lv_permissions gauge +lvm_lv_permissions{lv_permissions="unknown",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_permissions{lv_permissions="unknown",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_permissions{lv_permissions="writeable",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_permissions{lv_permissions="writeable",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_permissions{lv_permissions="writeable",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_permissions{lv_permissions="writeable",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +# HELP lvm_lv_pool_lv For cache/thin/vdo volumes, the cache/thin/vdo pool LV for this volume +# TYPE lvm_lv_pool_lv gauge +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_pool_lv{lv_pool_lv="[fast]",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +# HELP lvm_lv_pool_lv_uuid For cache/thin/vdo volumes, the UUID of the cache/thin/vdo pool LV for this volume +# TYPE lvm_lv_pool_lv_uuid gauge +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +# HELP lvm_lv_raid_sync_action For RAID, the current synchronization action being performed +# TYPE lvm_lv_raid_sync_action gauge +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_read_ahead_bytes Read ahead setting +# TYPE lvm_lv_read_ahead_bytes gauge +lvm_lv_read_ahead_bytes{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} -1 +lvm_lv_read_ahead_bytes{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} -1 +lvm_lv_read_ahead_bytes{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} -1 +lvm_lv_read_ahead_bytes{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} -1 +lvm_lv_read_ahead_bytes{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} -1 +lvm_lv_read_ahead_bytes{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} -1 +# HELP lvm_lv_role LV role +# TYPE lvm_lv_role gauge +lvm_lv_role{lv_role="private",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_role{lv_role="private,cache,origin,cacheorigin",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_role{lv_role="private,cache,pool,data",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_role{lv_role="private,cache,pool,metadata",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_role{lv_role="private,pool,spare",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_role{lv_role="public",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +# HELP lvm_lv_seg_count Number of segments in LV +# TYPE lvm_lv_seg_count gauge +lvm_lv_seg_count{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_seg_count{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_seg_count{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_seg_count{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_seg_count{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_seg_count{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_size_bytes Size of LV +# TYPE lvm_lv_size_bytes gauge +lvm_lv_size_bytes{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 8.388608e+06 +lvm_lv_size_bytes{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1.048576e+08 +lvm_lv_size_bytes{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 5.4525952e+07 +lvm_lv_size_bytes{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1.048576e+08 +lvm_lv_size_bytes{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 8.388608e+06 +lvm_lv_size_bytes{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 5.4525952e+07 +# HELP lvm_lv_skip_activation Set if LV is skipped on activation +# TYPE lvm_lv_skip_activation gauge +lvm_lv_skip_activation{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 0 +lvm_lv_skip_activation{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 0 +lvm_lv_skip_activation{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 0 +lvm_lv_skip_activation{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 0 +lvm_lv_skip_activation{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 0 +lvm_lv_skip_activation{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 0 +# HELP lvm_lv_snap_percent For snapshots, the percentage full if LV is active +# TYPE lvm_lv_snap_percent gauge +lvm_lv_snap_percent{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 11.06 +lvm_lv_snap_percent{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 11.06 +# HELP lvm_lv_snapshot_invalid Set if snapshot LV is invalid +# TYPE lvm_lv_snapshot_invalid gauge +lvm_lv_snapshot_invalid{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} -1 +lvm_lv_snapshot_invalid{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} -1 +lvm_lv_snapshot_invalid{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} -1 +lvm_lv_snapshot_invalid{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} -1 +lvm_lv_snapshot_invalid{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} -1 +lvm_lv_snapshot_invalid{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} -1 +# HELP lvm_lv_suspended Set if LV is suspended +# TYPE lvm_lv_suspended gauge +lvm_lv_suspended{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 0 +lvm_lv_suspended{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 0 +lvm_lv_suspended{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 0 +lvm_lv_suspended{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 0 +lvm_lv_suspended{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} -1 +lvm_lv_suspended{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} -1 +# HELP lvm_lv_sync_percent For Cache, RAID, mirrors and pvmove, current percentage in-sync +# TYPE lvm_lv_sync_percent gauge +lvm_lv_sync_percent{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 0 +lvm_lv_sync_percent{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 0 +# HELP lvm_lv_tags Tags, if any +# TYPE lvm_lv_tags gauge +lvm_lv_tags{lv_tags="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_time Creation time of the LV, if known +# TYPE lvm_lv_time gauge +lvm_lv_time{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1.628112843e+09 +lvm_lv_time{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1.628112799e+09 +lvm_lv_time{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1.628112819e+09 +lvm_lv_time{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1.628112844e+09 +lvm_lv_time{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1.628112844e+09 +lvm_lv_time{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1.628112844e+09 +# HELP lvm_lv_when_full For thin pools, behavior when full +# TYPE lvm_lv_when_full gauge +lvm_lv_when_full{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ",lv_when_full=""} 1 +# HELP lvm_pv_allocatable Set if this device can be used for allocation +# TYPE lvm_pv_allocatable gauge +lvm_pv_allocatable{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 +lvm_pv_allocatable{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 +# HELP lvm_pv_attr +# TYPE lvm_pv_attr gauge +lvm_pv_attr{pv_attr="a--",pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 +lvm_pv_attr{pv_attr="a--",pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 +# HELP lvm_pv_ba_size_bytes Size of PV Bootloader Area +# TYPE lvm_pv_ba_size_bytes gauge +lvm_pv_ba_size_bytes{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 0 +lvm_pv_ba_size_bytes{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 0 +# HELP lvm_pv_ba_start Offset to the start of PV Bootloader Area on the underlying device +# TYPE lvm_pv_ba_start gauge +lvm_pv_ba_start{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 0 +lvm_pv_ba_start{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 0 +# HELP lvm_pv_dev_size_bytes Size of underlying device +# TYPE lvm_pv_dev_size_bytes gauge +lvm_pv_dev_size_bytes{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1.048576e+09 +lvm_pv_dev_size_bytes{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 2.097152e+08 +# HELP lvm_pv_duplicate Set if PV is an unchosen duplicate +# TYPE lvm_pv_duplicate gauge +lvm_pv_duplicate{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 0 +lvm_pv_duplicate{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 0 +# HELP lvm_pv_exported Set if this device is exported +# TYPE lvm_pv_exported gauge +lvm_pv_exported{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 0 +lvm_pv_exported{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 0 +# HELP lvm_pv_ext_vsn PV header extension version +# TYPE lvm_pv_ext_vsn gauge +lvm_pv_ext_vsn{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 2 +lvm_pv_ext_vsn{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 2 +# HELP lvm_pv_fmt Type of metadata +# TYPE lvm_pv_fmt gauge +lvm_pv_fmt{pv_fmt="lvm2",pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 +lvm_pv_fmt{pv_fmt="lvm2",pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 +# HELP lvm_pv_free_bytes Total amount of unallocated space +# TYPE lvm_pv_free_bytes gauge +lvm_pv_free_bytes{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 9.73078528e+08 +lvm_pv_free_bytes{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1.00663296e+08 +# HELP lvm_pv_in_use Set if PV is used +# TYPE lvm_pv_in_use gauge +lvm_pv_in_use{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 +lvm_pv_in_use{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 +# HELP lvm_pv_info +# TYPE lvm_pv_info gauge +lvm_pv_info{pv_attr="a--",pv_fmt="lvm2",pv_name="/dev/loop0",pv_tags="",pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 +lvm_pv_info{pv_attr="a--",pv_fmt="lvm2",pv_name="/dev/loop1",pv_tags="",pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 +# HELP lvm_pv_major Device major number +# TYPE lvm_pv_major gauge +lvm_pv_major{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 7 +lvm_pv_major{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 7 +# HELP lvm_pv_mda_count Number of metadata areas +# TYPE lvm_pv_mda_count gauge +lvm_pv_mda_count{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 +lvm_pv_mda_count{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 +# HELP lvm_pv_mda_free_bytes Free metadata area space +# TYPE lvm_pv_mda_free_bytes gauge +lvm_pv_mda_free_bytes{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 518656 +lvm_pv_mda_free_bytes{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 518656 +# HELP lvm_pv_mda_size_bytes Size of smallest metadata area +# TYPE lvm_pv_mda_size_bytes gauge +lvm_pv_mda_size_bytes{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1.04448e+06 +lvm_pv_mda_size_bytes{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1.04448e+06 +# HELP lvm_pv_mda_used_count Number of metadata areas in use +# TYPE lvm_pv_mda_used_count gauge +lvm_pv_mda_used_count{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 +lvm_pv_mda_used_count{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 +# HELP lvm_pv_minor Device minor number +# TYPE lvm_pv_minor gauge +lvm_pv_minor{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 0 +lvm_pv_minor{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 +# HELP lvm_pv_missing Set if this device is missing in system +# TYPE lvm_pv_missing gauge +lvm_pv_missing{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 0 +lvm_pv_missing{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 0 +# HELP lvm_pv_pe_alloc_count Total number of allocated Physical Extents +# TYPE lvm_pv_pe_alloc_count gauge +lvm_pv_pe_alloc_count{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 17 +lvm_pv_pe_alloc_count{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 25 +# HELP lvm_pv_pe_count Total number of Physical Extents +# TYPE lvm_pv_pe_count gauge +lvm_pv_pe_count{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 249 +lvm_pv_pe_count{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 49 +# HELP lvm_pv_pe_start Offset to the start of data on the underlying device +# TYPE lvm_pv_pe_start gauge +lvm_pv_pe_start{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1.048576e+06 +lvm_pv_pe_start{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1.048576e+06 +# HELP lvm_pv_size_bytes Size of PV +# TYPE lvm_pv_size_bytes gauge +lvm_pv_size_bytes{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1.044381696e+09 +lvm_pv_size_bytes{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 2.05520896e+08 +# HELP lvm_pv_tags +# TYPE lvm_pv_tags gauge +lvm_pv_tags{pv_tags="",pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 +lvm_pv_tags{pv_tags="",pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 +# HELP lvm_pv_used Total amount of allocated space +# TYPE lvm_pv_used gauge +lvm_pv_used{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 7.1303168e+07 +lvm_pv_used{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1.048576e+08 +# HELP lvm_unknown_field_count Fields reported by LVM not recognized by exporter +# TYPE lvm_unknown_field_count gauge +lvm_unknown_field_count{details="",group="lv"} 0 +lvm_unknown_field_count{details="",group="pv"} 0 +lvm_unknown_field_count{details="",group="vg"} 0 +# HELP lvm_up Whether scrape was successful +# TYPE lvm_up gauge +lvm_up{status=""} 1 +# HELP lvm_vg_allocation_policy +# TYPE lvm_vg_allocation_policy gauge +lvm_vg_allocation_policy{vg_allocation_policy="normal",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_attr +# TYPE lvm_vg_attr gauge +lvm_vg_attr{vg_attr="wz--n-",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_clustered Set if VG is clustered +# TYPE lvm_vg_clustered gauge +lvm_vg_clustered{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 +# HELP lvm_vg_exported Set if VG is exported +# TYPE lvm_vg_exported gauge +lvm_vg_exported{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 +# HELP lvm_vg_extendable Set if VG is extendable +# TYPE lvm_vg_extendable gauge +lvm_vg_extendable{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_extent_count Total number of Physical Extents +# TYPE lvm_vg_extent_count gauge +lvm_vg_extent_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 298 +# HELP lvm_vg_extent_size_bytes Size of Physical Extents +# TYPE lvm_vg_extent_size_bytes gauge +lvm_vg_extent_size_bytes{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 4.194304e+06 +# HELP lvm_vg_fmt Type of metadata +# TYPE lvm_vg_fmt gauge +lvm_vg_fmt{vg_fmt="lvm2",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_free_bytes Total amount of free space in bytes +# TYPE lvm_vg_free_bytes gauge +lvm_vg_free_bytes{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1.073741824e+09 +# HELP lvm_vg_free_count Total number of unallocated Physical Extents +# TYPE lvm_vg_free_count gauge +lvm_vg_free_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 256 +# HELP lvm_vg_info +# TYPE lvm_vg_info gauge +lvm_vg_info{vg_allocation_policy="normal",vg_attr="wz--n-",vg_fmt="lvm2",vg_lock_args="",vg_lock_type="",vg_name="vgdata",vg_permissions="writeable",vg_systemid="",vg_tags="",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_lock_args +# TYPE lvm_vg_lock_args gauge +lvm_vg_lock_args{vg_lock_args="",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_lock_type +# TYPE lvm_vg_lock_type gauge +lvm_vg_lock_type{vg_lock_type="",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_lv_count Number of LVs +# TYPE lvm_vg_lv_count gauge +lvm_vg_lv_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_max_lv Maximum number of LVs allowed in VG or 0 if unlimited +# TYPE lvm_vg_max_lv gauge +lvm_vg_max_lv{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 +# HELP lvm_vg_max_pv Maximum number of PVs allowed in VG or 0 if unlimited +# TYPE lvm_vg_max_pv gauge +lvm_vg_max_pv{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 +# HELP lvm_vg_mda_copies Target number of in use metadata areas in the VG +# TYPE lvm_vg_mda_copies gauge +lvm_vg_mda_copies{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 +# HELP lvm_vg_mda_count Number of metadata areas +# TYPE lvm_vg_mda_count gauge +lvm_vg_mda_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 2 +# HELP lvm_vg_mda_free_bytes Free metadata area space for this VG +# TYPE lvm_vg_mda_free_bytes gauge +lvm_vg_mda_free_bytes{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 518656 +# HELP lvm_vg_mda_size_bytes Size of smallest metadata area for this VG +# TYPE lvm_vg_mda_size_bytes gauge +lvm_vg_mda_size_bytes{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1.04448e+06 +# HELP lvm_vg_mda_used_count Number of metadata areas in use on this VG +# TYPE lvm_vg_mda_used_count gauge +lvm_vg_mda_used_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 2 +# HELP lvm_vg_missing_pv_count Number of PVs in VG which are missing +# TYPE lvm_vg_missing_pv_count gauge +lvm_vg_missing_pv_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 +# HELP lvm_vg_partial Set if VG is partial +# TYPE lvm_vg_partial gauge +lvm_vg_partial{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 +# HELP lvm_vg_permissions +# TYPE lvm_vg_permissions gauge +lvm_vg_permissions{vg_permissions="writeable",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_pv_count Number of PVs in VG +# TYPE lvm_vg_pv_count gauge +lvm_vg_pv_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 2 +# HELP lvm_vg_seqno Revision number of internal metadata +# TYPE lvm_vg_seqno gauge +lvm_vg_seqno{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 11 +# HELP lvm_vg_shared Set if VG is shared +# TYPE lvm_vg_shared gauge +lvm_vg_shared{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 +# HELP lvm_vg_size_bytes Total size of VG in bytes +# TYPE lvm_vg_size_bytes gauge +lvm_vg_size_bytes{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1.249902592e+09 +# HELP lvm_vg_snap_count Number of snapshots +# TYPE lvm_vg_snap_count gauge +lvm_vg_snap_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 +# HELP lvm_vg_systemid +# TYPE lvm_vg_systemid gauge +lvm_vg_systemid{vg_systemid="",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_tags +# TYPE lvm_vg_tags gauge +lvm_vg_tags{vg_tags="",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 diff --git a/testdata/vgdata-cached.golden b/testdata/vgdata-cached.golden index 15d56e6..b862fe8 100644 --- a/testdata/vgdata-cached.golden +++ b/testdata/vgdata-cached.golden @@ -1,3 +1,11 @@ +# HELP lvm_lv_active Active state of the LV +# TYPE lvm_lv_active gauge +lvm_lv_active{lv_active="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_active{lv_active="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_active{lv_active="active",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_active{lv_active="active",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_active{lv_active="active",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_active{lv_active="active",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 # HELP lvm_lv_active_exclusively Set if the LV is active exclusively # TYPE lvm_lv_active_exclusively gauge lvm_lv_active_exclusively{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 @@ -30,6 +38,30 @@ lvm_lv_allocation_locked{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 0 lvm_lv_allocation_locked{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 0 lvm_lv_allocation_locked{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 0 lvm_lv_allocation_locked{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 0 +# HELP lvm_lv_allocation_policy LV allocation policy +# TYPE lvm_lv_allocation_policy gauge +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_ancestors LV ancestors ignoring any stored history of the ancestry chain +# TYPE lvm_lv_ancestors gauge +lvm_lv_ancestors{lv_ancestors="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_attr Various attributes +# TYPE lvm_lv_attr gauge +lvm_lv_attr{lv_attr="Cwi---C---",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_attr{lv_attr="Cwi-a-C---",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_attr{lv_attr="Cwi-ao----",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_attr{lv_attr="ewi-------",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_attr{lv_attr="ewi-ao----",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_attr{lv_attr="owi-aoC---",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 # HELP lvm_lv_cache_dirty_blocks Dirty cache blocks # TYPE lvm_lv_cache_dirty_blocks gauge lvm_lv_cache_dirty_blocks{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 0 @@ -66,6 +98,22 @@ lvm_lv_check_needed{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} -1 lvm_lv_check_needed{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} -1 lvm_lv_check_needed{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} -1 lvm_lv_check_needed{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} -1 +# HELP lvm_lv_convert_lv For lvconvert, Name of temporary LV created by lvconvert +# TYPE lvm_lv_convert_lv gauge +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_convert_lv_uuid For lvconvert, UUID of temporary LV created by lvconvert +# TYPE lvm_lv_convert_lv_uuid gauge +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 # HELP lvm_lv_converting Set if LV is being converted # TYPE lvm_lv_converting gauge lvm_lv_converting{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 0 @@ -78,10 +126,34 @@ lvm_lv_converting{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 0 # TYPE lvm_lv_copy_percent gauge lvm_lv_copy_percent{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 0 lvm_lv_copy_percent{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 0 +# HELP lvm_lv_data_lv For cache/thin/vdo pools, the LV holding the associated data +# TYPE lvm_lv_data_lv gauge +lvm_lv_data_lv{lv_data_lv="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_data_lv{lv_data_lv="[fast_cdata]",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_data_lv_uuid For cache/thin/vdo pools, the UUID of the LV holding the associated data +# TYPE lvm_lv_data_lv_uuid gauge +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 # HELP lvm_lv_data_percent For snapshot, cache and thin pools and volumes, the percentage full if LV is active # TYPE lvm_lv_data_percent gauge lvm_lv_data_percent{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 11.06 lvm_lv_data_percent{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 11.06 +# HELP lvm_lv_descendants LV descendants ignoring any stored history of the ancestry chain +# TYPE lvm_lv_descendants gauge +lvm_lv_descendants{lv_descendants="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 # HELP lvm_lv_device_open Set if LV device is open # TYPE lvm_lv_device_open gauge lvm_lv_device_open{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 @@ -90,6 +162,14 @@ lvm_lv_device_open{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 lvm_lv_device_open{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 lvm_lv_device_open{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} -1 lvm_lv_device_open{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} -1 +# HELP lvm_lv_dm_path Internal device-mapper pathname for LV (in /dev/mapper directory) +# TYPE lvm_lv_dm_path gauge +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgdata-cached",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgdata-cached_corig",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgdata-fast",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgdata-fast_cdata",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgdata-fast_cmeta",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgdata-lvol0_pmspare",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 # HELP lvm_lv_fixed_minor Set if LV has fixed minor number assigned # TYPE lvm_lv_fixed_minor gauge lvm_lv_fixed_minor{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 0 @@ -98,6 +178,30 @@ lvm_lv_fixed_minor{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 0 lvm_lv_fixed_minor{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 0 lvm_lv_fixed_minor{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 0 lvm_lv_fixed_minor{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 0 +# HELP lvm_lv_full_ancestors LV ancestors including stored history of the ancestry chain +# TYPE lvm_lv_full_ancestors gauge +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_full_descendants LV descendants including stored history of the ancestry chain +# TYPE lvm_lv_full_descendants gauge +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_health_status LV health status +# TYPE lvm_lv_health_status gauge +lvm_lv_health_status{lv_health_status="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 # HELP lvm_lv_historical Set if the LV is historical # TYPE lvm_lv_historical gauge lvm_lv_historical{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 0 @@ -106,6 +210,14 @@ lvm_lv_historical{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 0 lvm_lv_historical{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 0 lvm_lv_historical{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 0 lvm_lv_historical{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 0 +# HELP lvm_lv_host Creation host of the LV, if known +# TYPE lvm_lv_host gauge +lvm_lv_host{lv_host="buster",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 # HELP lvm_lv_image_synced Set if mirror/RAID image is synchronized # TYPE lvm_lv_image_synced gauge lvm_lv_image_synced{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 0 @@ -124,12 +236,12 @@ lvm_lv_inactive_table{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} -1 lvm_lv_inactive_table{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} -1 # HELP lvm_lv_info # TYPE lvm_lv_info gauge -lvm_lv_info{lv_active="",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="Cwi---C---",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="[fast_cdata]",lv_data_lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij",lv_descendants="",lv_dm_path="/dev/mapper/vgdata-fast",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgdata/fast",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="smq",lv_kernel_cache_settings="migration_threshold=2048",lv_kernel_discards="",lv_kernel_metadata_format="2",lv_kernel_read_ahead_bytes="-1",lv_layout="cache,pool",lv_lockargs="",lv_metadata_lv="[fast_cmeta]",lv_metadata_lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="cache",lv_move_pv="",lv_move_pv_uuid="",lv_name="[fast]",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="unknown",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private",lv_tags="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="ewi-------",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgdata-lvol0_pmspare",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgdata/lvol0_pmspare",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="-1",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[lvol0_pmspare]",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="unknown",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private,pool,spare",lv_tags="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="active",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="Cwi-a-C---",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgdata-cached",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgdata/cached",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="smq",lv_kernel_cache_settings="migration_threshold=2048",lv_kernel_discards="",lv_kernel_metadata_format="2",lv_kernel_read_ahead_bytes="131072",lv_layout="cache",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="cache",lv_move_pv="",lv_move_pv_uuid="",lv_name="cached",lv_origin="[cached_corig]",lv_origin_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd",lv_parent="",lv_path="/dev/vgdata/cached",lv_permissions="writeable",lv_pool_lv="[fast]",lv_pool_lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="public",lv_tags="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="active",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="Cwi-ao----",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgdata-fast_cdata",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgdata/fast_cdata",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="131072",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[fast_cdata]",lv_origin="",lv_origin_uuid="",lv_parent="[fast]",lv_path="",lv_permissions="writeable",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private,cache,pool,data",lv_tags="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="active",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="ewi-ao----",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgdata-fast_cmeta",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgdata/fast_cmeta",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="131072",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[fast_cmeta]",lv_origin="",lv_origin_uuid="",lv_parent="[fast]",lv_path="",lv_permissions="writeable",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private,cache,pool,metadata",lv_tags="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="active",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="owi-aoC---",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgdata-cached_corig",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgdata/cached_corig",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="131072",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="[cached_corig]",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="",lv_permissions="writeable",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="private,cache,origin,cacheorigin",lv_tags="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_full_name="vgdata/cached",lv_name="cached",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_info{lv_full_name="vgdata/cached_corig",lv_name="[cached_corig]",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_info{lv_full_name="vgdata/fast",lv_name="[fast]",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_info{lv_full_name="vgdata/fast_cdata",lv_name="[fast_cdata]",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_info{lv_full_name="vgdata/fast_cmeta",lv_name="[fast_cmeta]",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_info{lv_full_name="vgdata/lvol0_pmspare",lv_name="[lvol0_pmspare]",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 # HELP lvm_lv_initial_image_sync Set if mirror/RAID images underwent initial resynchronization # TYPE lvm_lv_initial_image_sync gauge lvm_lv_initial_image_sync{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 0 @@ -138,6 +250,30 @@ lvm_lv_initial_image_sync{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 0 lvm_lv_initial_image_sync{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 0 lvm_lv_initial_image_sync{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 0 lvm_lv_initial_image_sync{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 0 +# HELP lvm_lv_kernel_cache_policy Cache policy used in kernel +# TYPE lvm_lv_kernel_cache_policy gauge +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="smq",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="smq",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_kernel_cache_settings Cache settings/parameters as set in kernel, including default values (cached segments only) +# TYPE lvm_lv_kernel_cache_settings gauge +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="migration_threshold=2048",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="migration_threshold=2048",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_kernel_discards For thin pools, how discards are handled in kernel +# TYPE lvm_lv_kernel_discards gauge +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 # HELP lvm_lv_kernel_major Currently assigned major number or -1 if LV is not active # TYPE lvm_lv_kernel_major gauge lvm_lv_kernel_major{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 253 @@ -146,6 +282,14 @@ lvm_lv_kernel_major{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 253 lvm_lv_kernel_major{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 253 lvm_lv_kernel_major{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} -1 lvm_lv_kernel_major{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} -1 +# HELP lvm_lv_kernel_metadata_format Cache metadata format used in kernel +# TYPE lvm_lv_kernel_metadata_format gauge +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="2",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="2",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 # HELP lvm_lv_kernel_minor Currently assigned minor number or -1 if LV is not active # TYPE lvm_lv_kernel_minor gauge lvm_lv_kernel_minor{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 2 @@ -154,6 +298,22 @@ lvm_lv_kernel_minor{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 lvm_lv_kernel_minor{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 3 lvm_lv_kernel_minor{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} -1 lvm_lv_kernel_minor{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} -1 +# HELP lvm_lv_kernel_read_ahead_bytes Currently-in-use read ahead setting +# TYPE lvm_lv_kernel_read_ahead_bytes gauge +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="-1",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="-1",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="131072",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="131072",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="131072",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="131072",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +# HELP lvm_lv_layout LV layout +# TYPE lvm_lv_layout gauge +lvm_lv_layout{lv_layout="cache",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_layout{lv_layout="cache,pool",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 # HELP lvm_lv_live_table Set if LV has live table present # TYPE lvm_lv_live_table gauge lvm_lv_live_table{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 @@ -162,6 +322,14 @@ lvm_lv_live_table{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 lvm_lv_live_table{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 lvm_lv_live_table{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} -1 lvm_lv_live_table{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} -1 +# HELP lvm_lv_lockargs Lock args of the LV used by lvmlockd +# TYPE lvm_lv_lockargs gauge +lvm_lv_lockargs{lv_lockargs="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 # HELP lvm_lv_major Persistent major number or -1 if not persistent # TYPE lvm_lv_major gauge lvm_lv_major{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} -1 @@ -186,6 +354,22 @@ lvm_lv_merging{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 0 lvm_lv_merging{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 0 lvm_lv_merging{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 0 lvm_lv_merging{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 0 +# HELP lvm_lv_metadata_lv For cache/thin pools, the LV holding the associated metadata +# TYPE lvm_lv_metadata_lv gauge +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="[fast_cmeta]",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_metadata_lv_uuid For cache/thin pools, the UUID of the LV holding the associated metadata +# TYPE lvm_lv_metadata_lv_uuid gauge +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 # HELP lvm_lv_metadata_percent For cache and thin pools, the percentage of metadata full if LV is active # TYPE lvm_lv_metadata_percent gauge lvm_lv_metadata_percent{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 0.49 @@ -201,6 +385,110 @@ lvm_lv_minor{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} -1 lvm_lv_minor{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} -1 lvm_lv_minor{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} -1 lvm_lv_minor{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} -1 +# HELP lvm_lv_mirror_log For mirrors, the LV holding the synchronisation log +# TYPE lvm_lv_mirror_log gauge +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_mirror_log_uuid For mirrors, the UUID of the LV holding the synchronisation log +# TYPE lvm_lv_mirror_log_uuid gauge +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_modules Kernel device-mapper modules required for this LV +# TYPE lvm_lv_modules gauge +lvm_lv_modules{lv_modules="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_modules{lv_modules="cache",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_modules{lv_modules="cache",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_move_pv For pvmove, Source PV of temporary LV created by pvmove +# TYPE lvm_lv_move_pv gauge +lvm_lv_move_pv{lv_move_pv="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_move_pv_uuid For pvmove, the UUID of Source PV of temporary LV created by pvmove +# TYPE lvm_lv_move_pv_uuid gauge +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +# HELP lvm_lv_origin For snapshots and thins, the origin device of this LV +# TYPE lvm_lv_origin gauge +lvm_lv_origin{lv_origin="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_origin{lv_origin="[cached_corig]",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +# HELP lvm_lv_origin_uuid For snapshots and thins, the UUID of origin device of this LV +# TYPE lvm_lv_origin_uuid gauge +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +# HELP lvm_lv_parent For LVs that are components of another LV, the parent LV +# TYPE lvm_lv_parent gauge +lvm_lv_parent{lv_parent="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_parent{lv_parent="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_parent{lv_parent="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_parent{lv_parent="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_parent{lv_parent="[fast]",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_parent{lv_parent="[fast]",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +# HELP lvm_lv_path Full pathname for LV. Blank for internal LVs +# TYPE lvm_lv_path gauge +lvm_lv_path{lv_path="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_path{lv_path="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_path{lv_path="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_path{lv_path="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_path{lv_path="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_path{lv_path="/dev/vgdata/cached",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +# HELP lvm_lv_permissions LV permissions +# TYPE lvm_lv_permissions gauge +lvm_lv_permissions{lv_permissions="unknown",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_permissions{lv_permissions="unknown",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_permissions{lv_permissions="writeable",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_permissions{lv_permissions="writeable",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_permissions{lv_permissions="writeable",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_permissions{lv_permissions="writeable",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +# HELP lvm_lv_pool_lv For cache/thin/vdo volumes, the cache/thin/vdo pool LV for this volume +# TYPE lvm_lv_pool_lv gauge +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_pool_lv{lv_pool_lv="[fast]",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +# HELP lvm_lv_pool_lv_uuid For cache/thin/vdo volumes, the UUID of the cache/thin/vdo pool LV for this volume +# TYPE lvm_lv_pool_lv_uuid gauge +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +# HELP lvm_lv_raid_sync_action For RAID, the current synchronization action being performed +# TYPE lvm_lv_raid_sync_action gauge +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 # HELP lvm_lv_read_ahead_bytes Read ahead setting # TYPE lvm_lv_read_ahead_bytes gauge lvm_lv_read_ahead_bytes{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} -1 @@ -209,6 +497,14 @@ lvm_lv_read_ahead_bytes{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} -1 lvm_lv_read_ahead_bytes{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} -1 lvm_lv_read_ahead_bytes{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} -1 lvm_lv_read_ahead_bytes{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} -1 +# HELP lvm_lv_role LV role +# TYPE lvm_lv_role gauge +lvm_lv_role{lv_role="private",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 +lvm_lv_role{lv_role="private,cache,origin,cacheorigin",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_role{lv_role="private,cache,pool,data",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_role{lv_role="private,cache,pool,metadata",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_role{lv_role="private,pool,spare",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_role{lv_role="public",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 # HELP lvm_lv_seg_count Number of segments in LV # TYPE lvm_lv_seg_count gauge lvm_lv_seg_count{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 @@ -257,6 +553,14 @@ lvm_lv_suspended{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} -1 # TYPE lvm_lv_sync_percent gauge lvm_lv_sync_percent{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 0 lvm_lv_sync_percent{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 0 +# HELP lvm_lv_tags Tags, if any +# TYPE lvm_lv_tags gauge +lvm_lv_tags{lv_tags="",lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1 # HELP lvm_lv_time Creation time of the LV, if known # TYPE lvm_lv_time gauge lvm_lv_time{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0"} 1.628112843e+09 @@ -265,10 +569,22 @@ lvm_lv_time{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij"} 1.628112819e+09 lvm_lv_time{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd"} 1.628112844e+09 lvm_lv_time{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop"} 1.628112844e+09 lvm_lv_time{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ"} 1.628112844e+09 +# HELP lvm_lv_when_full For thin pools, behavior when full +# TYPE lvm_lv_when_full gauge +lvm_lv_when_full{lv_uuid="6nDiR2-rlXW-IN0z-HsGH-7UUY-eTZJ-TJPiH0",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="GgXmtF-MFKw-Rqal-cffB-c3xj-9sJf-Rm7t9S",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="NmOksX-BefX-Inky-H625-uOYO-I2iR-REM2ij",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="ecsqFI-XwKp-2nnY-DxMG-6ezh-wI2g-jo0tgd",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="i3KUcx-M3FS-wgi2-xKDp-4YGW-Zuvj-OGjRop",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="nadEsV-P4Qp-2zh2-5trW-36R0-QdoM-cwG2hJ",lv_when_full=""} 1 # HELP lvm_pv_allocatable Set if this device can be used for allocation # TYPE lvm_pv_allocatable gauge lvm_pv_allocatable{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 lvm_pv_allocatable{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 +# HELP lvm_pv_attr +# TYPE lvm_pv_attr gauge +lvm_pv_attr{pv_attr="a--",pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 +lvm_pv_attr{pv_attr="a--",pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 # HELP lvm_pv_ba_size_bytes Size of PV Bootloader Area # TYPE lvm_pv_ba_size_bytes gauge lvm_pv_ba_size_bytes{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 0 @@ -293,6 +609,10 @@ lvm_pv_exported{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 0 # TYPE lvm_pv_ext_vsn gauge lvm_pv_ext_vsn{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 2 lvm_pv_ext_vsn{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 2 +# HELP lvm_pv_fmt Type of metadata +# TYPE lvm_pv_fmt gauge +lvm_pv_fmt{pv_fmt="lvm2",pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 +lvm_pv_fmt{pv_fmt="lvm2",pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 # HELP lvm_pv_free_bytes Total amount of unallocated space # TYPE lvm_pv_free_bytes gauge lvm_pv_free_bytes{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 9.73078528e+08 @@ -303,8 +623,8 @@ lvm_pv_in_use{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 lvm_pv_in_use{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 # HELP lvm_pv_info # TYPE lvm_pv_info gauge -lvm_pv_info{pv_attr="a--",pv_fmt="lvm2",pv_name="/dev/loop0",pv_tags="",pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 -lvm_pv_info{pv_attr="a--",pv_fmt="lvm2",pv_name="/dev/loop1",pv_tags="",pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 +lvm_pv_info{pv_name="/dev/loop0",pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 +lvm_pv_info{pv_name="/dev/loop1",pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 # HELP lvm_pv_major Device major number # TYPE lvm_pv_major gauge lvm_pv_major{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 7 @@ -349,6 +669,10 @@ lvm_pv_pe_start{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1.048576e+06 # TYPE lvm_pv_size_bytes gauge lvm_pv_size_bytes{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1.044381696e+09 lvm_pv_size_bytes{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 2.05520896e+08 +# HELP lvm_pv_tags +# TYPE lvm_pv_tags gauge +lvm_pv_tags{pv_tags="",pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 +lvm_pv_tags{pv_tags="",pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 # HELP lvm_pv_used Total amount of allocated space # TYPE lvm_pv_used gauge lvm_pv_used{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 7.1303168e+07 @@ -361,6 +685,12 @@ lvm_unknown_field_count{details="",group="vg"} 0 # HELP lvm_up Whether scrape was successful # TYPE lvm_up gauge lvm_up{status=""} 1 +# HELP lvm_vg_allocation_policy +# TYPE lvm_vg_allocation_policy gauge +lvm_vg_allocation_policy{vg_allocation_policy="normal",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_attr +# TYPE lvm_vg_attr gauge +lvm_vg_attr{vg_attr="wz--n-",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 # HELP lvm_vg_clustered Set if VG is clustered # TYPE lvm_vg_clustered gauge lvm_vg_clustered{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 @@ -376,6 +706,9 @@ lvm_vg_extent_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 298 # HELP lvm_vg_extent_size_bytes Size of Physical Extents # TYPE lvm_vg_extent_size_bytes gauge lvm_vg_extent_size_bytes{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 4.194304e+06 +# HELP lvm_vg_fmt Type of metadata +# TYPE lvm_vg_fmt gauge +lvm_vg_fmt{vg_fmt="lvm2",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 # HELP lvm_vg_free_bytes Total amount of free space in bytes # TYPE lvm_vg_free_bytes gauge lvm_vg_free_bytes{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1.073741824e+09 @@ -384,7 +717,13 @@ lvm_vg_free_bytes{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1.073741824e lvm_vg_free_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 256 # HELP lvm_vg_info # TYPE lvm_vg_info gauge -lvm_vg_info{vg_allocation_policy="normal",vg_attr="wz--n-",vg_fmt="lvm2",vg_lock_args="",vg_lock_type="",vg_name="vgdata",vg_permissions="writeable",vg_systemid="",vg_tags="",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +lvm_vg_info{vg_name="vgdata",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_lock_args +# TYPE lvm_vg_lock_args gauge +lvm_vg_lock_args{vg_lock_args="",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_lock_type +# TYPE lvm_vg_lock_type gauge +lvm_vg_lock_type{vg_lock_type="",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 # HELP lvm_vg_lv_count Number of LVs # TYPE lvm_vg_lv_count gauge lvm_vg_lv_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 @@ -415,6 +754,9 @@ lvm_vg_missing_pv_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 # HELP lvm_vg_partial Set if VG is partial # TYPE lvm_vg_partial gauge lvm_vg_partial{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 +# HELP lvm_vg_permissions +# TYPE lvm_vg_permissions gauge +lvm_vg_permissions{vg_permissions="writeable",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 # HELP lvm_vg_pv_count Number of PVs in VG # TYPE lvm_vg_pv_count gauge lvm_vg_pv_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 2 @@ -430,3 +772,9 @@ lvm_vg_size_bytes{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1.249902592e # HELP lvm_vg_snap_count Number of snapshots # TYPE lvm_vg_snap_count gauge lvm_vg_snap_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 +# HELP lvm_vg_systemid +# TYPE lvm_vg_systemid gauge +lvm_vg_systemid{vg_systemid="",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_tags +# TYPE lvm_vg_tags gauge +lvm_vg_tags{vg_tags="",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 diff --git a/testdata/vgdata-loop-legacy.golden b/testdata/vgdata-loop-legacy.golden new file mode 100644 index 0000000..d3f1ed1 --- /dev/null +++ b/testdata/vgdata-loop-legacy.golden @@ -0,0 +1,465 @@ +# HELP lvm_lv_active Active state of the LV +# TYPE lvm_lv_active gauge +lvm_lv_active{lv_active="unknown",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_active{lv_active="unknown",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_active_exclusively Set if the LV is active exclusively +# TYPE lvm_lv_active_exclusively gauge +lvm_lv_active_exclusively{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 +lvm_lv_active_exclusively{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 +# HELP lvm_lv_active_locally Set if the LV is active locally +# TYPE lvm_lv_active_locally gauge +lvm_lv_active_locally{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 +lvm_lv_active_locally{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 +# HELP lvm_lv_active_remotely Set if the LV is active remotely +# TYPE lvm_lv_active_remotely gauge +lvm_lv_active_remotely{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 +lvm_lv_active_remotely{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 +# HELP lvm_lv_allocation_locked Set if LV is locked against allocation changes +# TYPE lvm_lv_allocation_locked gauge +lvm_lv_allocation_locked{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 0 +lvm_lv_allocation_locked{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 0 +# HELP lvm_lv_allocation_policy LV allocation policy +# TYPE lvm_lv_allocation_policy gauge +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_ancestors LV ancestors ignoring any stored history of the ancestry chain +# TYPE lvm_lv_ancestors gauge +lvm_lv_ancestors{lv_ancestors="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_attr Various attributes +# TYPE lvm_lv_attr gauge +lvm_lv_attr{lv_attr="-wi-XX----",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_attr{lv_attr="-wi-XX----",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_check_needed For thin pools and cache volumes, whether metadata check is needed +# TYPE lvm_lv_check_needed gauge +lvm_lv_check_needed{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 +lvm_lv_check_needed{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 +# HELP lvm_lv_convert_lv For lvconvert, Name of temporary LV created by lvconvert +# TYPE lvm_lv_convert_lv gauge +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_convert_lv_uuid For lvconvert, UUID of temporary LV created by lvconvert +# TYPE lvm_lv_convert_lv_uuid gauge +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_converting Set if LV is being converted +# TYPE lvm_lv_converting gauge +lvm_lv_converting{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 0 +lvm_lv_converting{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 0 +# HELP lvm_lv_data_lv For cache/thin/vdo pools, the LV holding the associated data +# TYPE lvm_lv_data_lv gauge +lvm_lv_data_lv{lv_data_lv="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_data_lv_uuid For cache/thin/vdo pools, the UUID of the LV holding the associated data +# TYPE lvm_lv_data_lv_uuid gauge +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_descendants LV descendants ignoring any stored history of the ancestry chain +# TYPE lvm_lv_descendants gauge +lvm_lv_descendants{lv_descendants="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_device_open Set if LV device is open +# TYPE lvm_lv_device_open gauge +lvm_lv_device_open{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 +lvm_lv_device_open{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 +# HELP lvm_lv_dm_path Internal device-mapper pathname for LV (in /dev/mapper directory) +# TYPE lvm_lv_dm_path gauge +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgdata-home",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgdata-tmp",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_fixed_minor Set if LV has fixed minor number assigned +# TYPE lvm_lv_fixed_minor gauge +lvm_lv_fixed_minor{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 0 +lvm_lv_fixed_minor{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 0 +# HELP lvm_lv_full_ancestors LV ancestors including stored history of the ancestry chain +# TYPE lvm_lv_full_ancestors gauge +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_full_descendants LV descendants including stored history of the ancestry chain +# TYPE lvm_lv_full_descendants gauge +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_health_status LV health status +# TYPE lvm_lv_health_status gauge +lvm_lv_health_status{lv_health_status="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_historical Set if the LV is historical +# TYPE lvm_lv_historical gauge +lvm_lv_historical{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 0 +lvm_lv_historical{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 0 +# HELP lvm_lv_host Creation host of the LV, if known +# TYPE lvm_lv_host gauge +lvm_lv_host{lv_host="buster",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_image_synced Set if mirror/RAID image is synchronized +# TYPE lvm_lv_image_synced gauge +lvm_lv_image_synced{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 0 +lvm_lv_image_synced{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 0 +# HELP lvm_lv_inactive_table Set if LV has inactive table present +# TYPE lvm_lv_inactive_table gauge +lvm_lv_inactive_table{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 +lvm_lv_inactive_table{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 +# HELP lvm_lv_info +# TYPE lvm_lv_info gauge +lvm_lv_info{lv_active="unknown",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="-wi-XX----",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgdata-home",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgdata/home",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="-1",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="home",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="/dev/vgdata/home",lv_permissions="unknown",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="public",lv_tags="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_active="unknown",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="-wi-XX----",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgdata-tmp",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgdata/tmp",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="-1",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="tmp",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="/dev/vgdata/tmp",lv_permissions="unknown",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="public",lv_tags="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +# HELP lvm_lv_initial_image_sync Set if mirror/RAID images underwent initial resynchronization +# TYPE lvm_lv_initial_image_sync gauge +lvm_lv_initial_image_sync{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 0 +lvm_lv_initial_image_sync{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 0 +# HELP lvm_lv_kernel_cache_policy Cache policy used in kernel +# TYPE lvm_lv_kernel_cache_policy gauge +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_kernel_cache_settings Cache settings/parameters as set in kernel, including default values (cached segments only) +# TYPE lvm_lv_kernel_cache_settings gauge +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_kernel_discards For thin pools, how discards are handled in kernel +# TYPE lvm_lv_kernel_discards gauge +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_kernel_major Currently assigned major number or -1 if LV is not active +# TYPE lvm_lv_kernel_major gauge +lvm_lv_kernel_major{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 +lvm_lv_kernel_major{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 +# HELP lvm_lv_kernel_metadata_format Cache metadata format used in kernel +# TYPE lvm_lv_kernel_metadata_format gauge +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_kernel_minor Currently assigned minor number or -1 if LV is not active +# TYPE lvm_lv_kernel_minor gauge +lvm_lv_kernel_minor{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 +lvm_lv_kernel_minor{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 +# HELP lvm_lv_kernel_read_ahead_bytes Currently-in-use read ahead setting +# TYPE lvm_lv_kernel_read_ahead_bytes gauge +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="-1",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="-1",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_layout LV layout +# TYPE lvm_lv_layout gauge +lvm_lv_layout{lv_layout="linear",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_live_table Set if LV has live table present +# TYPE lvm_lv_live_table gauge +lvm_lv_live_table{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 +lvm_lv_live_table{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 +# HELP lvm_lv_lockargs Lock args of the LV used by lvmlockd +# TYPE lvm_lv_lockargs gauge +lvm_lv_lockargs{lv_lockargs="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_major Persistent major number or -1 if not persistent +# TYPE lvm_lv_major gauge +lvm_lv_major{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 +lvm_lv_major{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 +# HELP lvm_lv_merge_failed Set if snapshot merge failed +# TYPE lvm_lv_merge_failed gauge +lvm_lv_merge_failed{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 +lvm_lv_merge_failed{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 +# HELP lvm_lv_merging Set if snapshot LV is being merged to origin +# TYPE lvm_lv_merging gauge +lvm_lv_merging{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 0 +lvm_lv_merging{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 0 +# HELP lvm_lv_metadata_lv For cache/thin pools, the LV holding the associated metadata +# TYPE lvm_lv_metadata_lv gauge +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_metadata_lv_uuid For cache/thin pools, the UUID of the LV holding the associated metadata +# TYPE lvm_lv_metadata_lv_uuid gauge +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_minor Persistent minor number or -1 if not persistent +# TYPE lvm_lv_minor gauge +lvm_lv_minor{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 +lvm_lv_minor{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 +# HELP lvm_lv_mirror_log For mirrors, the LV holding the synchronisation log +# TYPE lvm_lv_mirror_log gauge +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_mirror_log_uuid For mirrors, the UUID of the LV holding the synchronisation log +# TYPE lvm_lv_mirror_log_uuid gauge +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_modules Kernel device-mapper modules required for this LV +# TYPE lvm_lv_modules gauge +lvm_lv_modules{lv_modules="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_move_pv For pvmove, Source PV of temporary LV created by pvmove +# TYPE lvm_lv_move_pv gauge +lvm_lv_move_pv{lv_move_pv="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_move_pv_uuid For pvmove, the UUID of Source PV of temporary LV created by pvmove +# TYPE lvm_lv_move_pv_uuid gauge +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_origin For snapshots and thins, the origin device of this LV +# TYPE lvm_lv_origin gauge +lvm_lv_origin{lv_origin="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_origin_uuid For snapshots and thins, the UUID of origin device of this LV +# TYPE lvm_lv_origin_uuid gauge +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_parent For LVs that are components of another LV, the parent LV +# TYPE lvm_lv_parent gauge +lvm_lv_parent{lv_parent="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_parent{lv_parent="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_path Full pathname for LV. Blank for internal LVs +# TYPE lvm_lv_path gauge +lvm_lv_path{lv_path="/dev/vgdata/home",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_path{lv_path="/dev/vgdata/tmp",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_permissions LV permissions +# TYPE lvm_lv_permissions gauge +lvm_lv_permissions{lv_permissions="unknown",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_permissions{lv_permissions="unknown",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_pool_lv For cache/thin/vdo volumes, the cache/thin/vdo pool LV for this volume +# TYPE lvm_lv_pool_lv gauge +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_pool_lv_uuid For cache/thin/vdo volumes, the UUID of the cache/thin/vdo pool LV for this volume +# TYPE lvm_lv_pool_lv_uuid gauge +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_raid_sync_action For RAID, the current synchronization action being performed +# TYPE lvm_lv_raid_sync_action gauge +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_read_ahead_bytes Read ahead setting +# TYPE lvm_lv_read_ahead_bytes gauge +lvm_lv_read_ahead_bytes{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 +lvm_lv_read_ahead_bytes{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 +# HELP lvm_lv_role LV role +# TYPE lvm_lv_role gauge +lvm_lv_role{lv_role="public",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_role{lv_role="public",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_seg_count Number of segments in LV +# TYPE lvm_lv_seg_count gauge +lvm_lv_seg_count{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_seg_count{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_size_bytes Size of LV +# TYPE lvm_lv_size_bytes gauge +lvm_lv_size_bytes{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1.048576e+08 +lvm_lv_size_bytes{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 3.145728e+08 +# HELP lvm_lv_skip_activation Set if LV is skipped on activation +# TYPE lvm_lv_skip_activation gauge +lvm_lv_skip_activation{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 0 +lvm_lv_skip_activation{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 0 +# HELP lvm_lv_snapshot_invalid Set if snapshot LV is invalid +# TYPE lvm_lv_snapshot_invalid gauge +lvm_lv_snapshot_invalid{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 +lvm_lv_snapshot_invalid{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 +# HELP lvm_lv_suspended Set if LV is suspended +# TYPE lvm_lv_suspended gauge +lvm_lv_suspended{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 +lvm_lv_suspended{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 +# HELP lvm_lv_tags Tags, if any +# TYPE lvm_lv_tags gauge +lvm_lv_tags{lv_tags="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_time Creation time of the LV, if known +# TYPE lvm_lv_time gauge +lvm_lv_time{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1.627742685e+09 +lvm_lv_time{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1.627742692e+09 +# HELP lvm_lv_when_full For thin pools, behavior when full +# TYPE lvm_lv_when_full gauge +lvm_lv_when_full{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K",lv_when_full=""} 1 +# HELP lvm_pv_allocatable Set if this device can be used for allocation +# TYPE lvm_pv_allocatable gauge +lvm_pv_allocatable{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 +lvm_pv_allocatable{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 +# HELP lvm_pv_attr +# TYPE lvm_pv_attr gauge +lvm_pv_attr{pv_attr="a--",pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 +lvm_pv_attr{pv_attr="a--",pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 +# HELP lvm_pv_ba_size_bytes Size of PV Bootloader Area +# TYPE lvm_pv_ba_size_bytes gauge +lvm_pv_ba_size_bytes{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 0 +lvm_pv_ba_size_bytes{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 0 +# HELP lvm_pv_ba_start Offset to the start of PV Bootloader Area on the underlying device +# TYPE lvm_pv_ba_start gauge +lvm_pv_ba_start{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 0 +lvm_pv_ba_start{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 0 +# HELP lvm_pv_dev_size_bytes Size of underlying device +# TYPE lvm_pv_dev_size_bytes gauge +lvm_pv_dev_size_bytes{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1.048576e+09 +lvm_pv_dev_size_bytes{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 2.097152e+08 +# HELP lvm_pv_duplicate Set if PV is an unchosen duplicate +# TYPE lvm_pv_duplicate gauge +lvm_pv_duplicate{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 0 +lvm_pv_duplicate{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 0 +# HELP lvm_pv_exported Set if this device is exported +# TYPE lvm_pv_exported gauge +lvm_pv_exported{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 0 +lvm_pv_exported{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 0 +# HELP lvm_pv_ext_vsn PV header extension version +# TYPE lvm_pv_ext_vsn gauge +lvm_pv_ext_vsn{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 2 +lvm_pv_ext_vsn{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 2 +# HELP lvm_pv_fmt Type of metadata +# TYPE lvm_pv_fmt gauge +lvm_pv_fmt{pv_fmt="lvm2",pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 +lvm_pv_fmt{pv_fmt="lvm2",pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 +# HELP lvm_pv_free_bytes Total amount of unallocated space +# TYPE lvm_pv_free_bytes gauge +lvm_pv_free_bytes{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 6.24951296e+08 +lvm_pv_free_bytes{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 2.05520896e+08 +# HELP lvm_pv_in_use Set if PV is used +# TYPE lvm_pv_in_use gauge +lvm_pv_in_use{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 +lvm_pv_in_use{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 +# HELP lvm_pv_info +# TYPE lvm_pv_info gauge +lvm_pv_info{pv_attr="a--",pv_fmt="lvm2",pv_name="/dev/loop0",pv_tags="",pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 +lvm_pv_info{pv_attr="a--",pv_fmt="lvm2",pv_name="/dev/loop1",pv_tags="",pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 +# HELP lvm_pv_major Device major number +# TYPE lvm_pv_major gauge +lvm_pv_major{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 7 +lvm_pv_major{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 7 +# HELP lvm_pv_mda_count Number of metadata areas +# TYPE lvm_pv_mda_count gauge +lvm_pv_mda_count{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 +lvm_pv_mda_count{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 +# HELP lvm_pv_mda_free_bytes Free metadata area space +# TYPE lvm_pv_mda_free_bytes gauge +lvm_pv_mda_free_bytes{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 519680 +lvm_pv_mda_free_bytes{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 519680 +# HELP lvm_pv_mda_size_bytes Size of smallest metadata area +# TYPE lvm_pv_mda_size_bytes gauge +lvm_pv_mda_size_bytes{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1.04448e+06 +lvm_pv_mda_size_bytes{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1.04448e+06 +# HELP lvm_pv_mda_used_count Number of metadata areas in use +# TYPE lvm_pv_mda_used_count gauge +lvm_pv_mda_used_count{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 +lvm_pv_mda_used_count{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 +# HELP lvm_pv_minor Device minor number +# TYPE lvm_pv_minor gauge +lvm_pv_minor{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 0 +lvm_pv_minor{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 +# HELP lvm_pv_missing Set if this device is missing in system +# TYPE lvm_pv_missing gauge +lvm_pv_missing{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 0 +lvm_pv_missing{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 0 +# HELP lvm_pv_pe_alloc_count Total number of allocated Physical Extents +# TYPE lvm_pv_pe_alloc_count gauge +lvm_pv_pe_alloc_count{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 100 +lvm_pv_pe_alloc_count{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 0 +# HELP lvm_pv_pe_count Total number of Physical Extents +# TYPE lvm_pv_pe_count gauge +lvm_pv_pe_count{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 249 +lvm_pv_pe_count{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 49 +# HELP lvm_pv_pe_start Offset to the start of data on the underlying device +# TYPE lvm_pv_pe_start gauge +lvm_pv_pe_start{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1.048576e+06 +lvm_pv_pe_start{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1.048576e+06 +# HELP lvm_pv_size_bytes Size of PV +# TYPE lvm_pv_size_bytes gauge +lvm_pv_size_bytes{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1.044381696e+09 +lvm_pv_size_bytes{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 2.05520896e+08 +# HELP lvm_pv_tags +# TYPE lvm_pv_tags gauge +lvm_pv_tags{pv_tags="",pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 +lvm_pv_tags{pv_tags="",pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 +# HELP lvm_pv_used Total amount of allocated space +# TYPE lvm_pv_used gauge +lvm_pv_used{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 4.194304e+08 +lvm_pv_used{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 0 +# HELP lvm_unknown_field_count Fields reported by LVM not recognized by exporter +# TYPE lvm_unknown_field_count gauge +lvm_unknown_field_count{details="",group="lv"} 0 +lvm_unknown_field_count{details="",group="pv"} 0 +lvm_unknown_field_count{details="",group="vg"} 0 +# HELP lvm_up Whether scrape was successful +# TYPE lvm_up gauge +lvm_up{status=""} 1 +# HELP lvm_vg_allocation_policy +# TYPE lvm_vg_allocation_policy gauge +lvm_vg_allocation_policy{vg_allocation_policy="normal",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_attr +# TYPE lvm_vg_attr gauge +lvm_vg_attr{vg_attr="wz--n-",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_clustered Set if VG is clustered +# TYPE lvm_vg_clustered gauge +lvm_vg_clustered{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 +# HELP lvm_vg_exported Set if VG is exported +# TYPE lvm_vg_exported gauge +lvm_vg_exported{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 +# HELP lvm_vg_extendable Set if VG is extendable +# TYPE lvm_vg_extendable gauge +lvm_vg_extendable{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_extent_count Total number of Physical Extents +# TYPE lvm_vg_extent_count gauge +lvm_vg_extent_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 298 +# HELP lvm_vg_extent_size_bytes Size of Physical Extents +# TYPE lvm_vg_extent_size_bytes gauge +lvm_vg_extent_size_bytes{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 4.194304e+06 +# HELP lvm_vg_fmt Type of metadata +# TYPE lvm_vg_fmt gauge +lvm_vg_fmt{vg_fmt="lvm2",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_free_bytes Total amount of free space in bytes +# TYPE lvm_vg_free_bytes gauge +lvm_vg_free_bytes{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 8.30472192e+08 +# HELP lvm_vg_free_count Total number of unallocated Physical Extents +# TYPE lvm_vg_free_count gauge +lvm_vg_free_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 198 +# HELP lvm_vg_info +# TYPE lvm_vg_info gauge +lvm_vg_info{vg_allocation_policy="normal",vg_attr="wz--n-",vg_fmt="lvm2",vg_lock_args="",vg_lock_type="",vg_name="vgdata",vg_permissions="writeable",vg_systemid="",vg_tags="",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_lock_args +# TYPE lvm_vg_lock_args gauge +lvm_vg_lock_args{vg_lock_args="",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_lock_type +# TYPE lvm_vg_lock_type gauge +lvm_vg_lock_type{vg_lock_type="",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_lv_count Number of LVs +# TYPE lvm_vg_lv_count gauge +lvm_vg_lv_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 2 +# HELP lvm_vg_max_lv Maximum number of LVs allowed in VG or 0 if unlimited +# TYPE lvm_vg_max_lv gauge +lvm_vg_max_lv{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 +# HELP lvm_vg_max_pv Maximum number of PVs allowed in VG or 0 if unlimited +# TYPE lvm_vg_max_pv gauge +lvm_vg_max_pv{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 +# HELP lvm_vg_mda_copies Target number of in use metadata areas in the VG +# TYPE lvm_vg_mda_copies gauge +lvm_vg_mda_copies{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 +# HELP lvm_vg_mda_count Number of metadata areas +# TYPE lvm_vg_mda_count gauge +lvm_vg_mda_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 2 +# HELP lvm_vg_mda_free_bytes Free metadata area space for this VG +# TYPE lvm_vg_mda_free_bytes gauge +lvm_vg_mda_free_bytes{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 519680 +# HELP lvm_vg_mda_size_bytes Size of smallest metadata area for this VG +# TYPE lvm_vg_mda_size_bytes gauge +lvm_vg_mda_size_bytes{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1.04448e+06 +# HELP lvm_vg_mda_used_count Number of metadata areas in use on this VG +# TYPE lvm_vg_mda_used_count gauge +lvm_vg_mda_used_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 2 +# HELP lvm_vg_missing_pv_count Number of PVs in VG which are missing +# TYPE lvm_vg_missing_pv_count gauge +lvm_vg_missing_pv_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 +# HELP lvm_vg_partial Set if VG is partial +# TYPE lvm_vg_partial gauge +lvm_vg_partial{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 +# HELP lvm_vg_permissions +# TYPE lvm_vg_permissions gauge +lvm_vg_permissions{vg_permissions="writeable",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_pv_count Number of PVs in VG +# TYPE lvm_vg_pv_count gauge +lvm_vg_pv_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 2 +# HELP lvm_vg_seqno Revision number of internal metadata +# TYPE lvm_vg_seqno gauge +lvm_vg_seqno{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 3 +# HELP lvm_vg_shared Set if VG is shared +# TYPE lvm_vg_shared gauge +lvm_vg_shared{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 +# HELP lvm_vg_size_bytes Total size of VG in bytes +# TYPE lvm_vg_size_bytes gauge +lvm_vg_size_bytes{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1.249902592e+09 +# HELP lvm_vg_snap_count Number of snapshots +# TYPE lvm_vg_snap_count gauge +lvm_vg_snap_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 +# HELP lvm_vg_systemid +# TYPE lvm_vg_systemid gauge +lvm_vg_systemid{vg_systemid="",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_tags +# TYPE lvm_vg_tags gauge +lvm_vg_tags{vg_tags="",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 diff --git a/testdata/vgdata-loop.golden b/testdata/vgdata-loop.golden index 75859d6..9578127 100644 --- a/testdata/vgdata-loop.golden +++ b/testdata/vgdata-loop.golden @@ -1,3 +1,7 @@ +# HELP lvm_lv_active Active state of the LV +# TYPE lvm_lv_active gauge +lvm_lv_active{lv_active="unknown",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_active{lv_active="unknown",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 # HELP lvm_lv_active_exclusively Set if the LV is active exclusively # TYPE lvm_lv_active_exclusively gauge lvm_lv_active_exclusively{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 @@ -14,26 +18,78 @@ lvm_lv_active_remotely{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 # TYPE lvm_lv_allocation_locked gauge lvm_lv_allocation_locked{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 0 lvm_lv_allocation_locked{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 0 +# HELP lvm_lv_allocation_policy LV allocation policy +# TYPE lvm_lv_allocation_policy gauge +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_allocation_policy{lv_allocation_policy="inherit",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_ancestors LV ancestors ignoring any stored history of the ancestry chain +# TYPE lvm_lv_ancestors gauge +lvm_lv_ancestors{lv_ancestors="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_ancestors{lv_ancestors="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_attr Various attributes +# TYPE lvm_lv_attr gauge +lvm_lv_attr{lv_attr="-wi-XX----",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_attr{lv_attr="-wi-XX----",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 # HELP lvm_lv_check_needed For thin pools and cache volumes, whether metadata check is needed # TYPE lvm_lv_check_needed gauge lvm_lv_check_needed{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 lvm_lv_check_needed{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 +# HELP lvm_lv_convert_lv For lvconvert, Name of temporary LV created by lvconvert +# TYPE lvm_lv_convert_lv gauge +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_convert_lv{lv_convert_lv="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_convert_lv_uuid For lvconvert, UUID of temporary LV created by lvconvert +# TYPE lvm_lv_convert_lv_uuid gauge +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_convert_lv_uuid{lv_convert_lv_uuid="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 # HELP lvm_lv_converting Set if LV is being converted # TYPE lvm_lv_converting gauge lvm_lv_converting{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 0 lvm_lv_converting{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 0 +# HELP lvm_lv_data_lv For cache/thin/vdo pools, the LV holding the associated data +# TYPE lvm_lv_data_lv gauge +lvm_lv_data_lv{lv_data_lv="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_data_lv{lv_data_lv="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_data_lv_uuid For cache/thin/vdo pools, the UUID of the LV holding the associated data +# TYPE lvm_lv_data_lv_uuid gauge +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_data_lv_uuid{lv_data_lv_uuid="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_descendants LV descendants ignoring any stored history of the ancestry chain +# TYPE lvm_lv_descendants gauge +lvm_lv_descendants{lv_descendants="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_descendants{lv_descendants="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 # HELP lvm_lv_device_open Set if LV device is open # TYPE lvm_lv_device_open gauge lvm_lv_device_open{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 lvm_lv_device_open{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 +# HELP lvm_lv_dm_path Internal device-mapper pathname for LV (in /dev/mapper directory) +# TYPE lvm_lv_dm_path gauge +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgdata-home",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_dm_path{lv_dm_path="/dev/mapper/vgdata-tmp",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 # HELP lvm_lv_fixed_minor Set if LV has fixed minor number assigned # TYPE lvm_lv_fixed_minor gauge lvm_lv_fixed_minor{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 0 lvm_lv_fixed_minor{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 0 +# HELP lvm_lv_full_ancestors LV ancestors including stored history of the ancestry chain +# TYPE lvm_lv_full_ancestors gauge +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_full_ancestors{lv_full_ancestors="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_full_descendants LV descendants including stored history of the ancestry chain +# TYPE lvm_lv_full_descendants gauge +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_full_descendants{lv_full_descendants="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_health_status LV health status +# TYPE lvm_lv_health_status gauge +lvm_lv_health_status{lv_health_status="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_health_status{lv_health_status="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 # HELP lvm_lv_historical Set if the LV is historical # TYPE lvm_lv_historical gauge lvm_lv_historical{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 0 lvm_lv_historical{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 0 +# HELP lvm_lv_host Creation host of the LV, if known +# TYPE lvm_lv_host gauge +lvm_lv_host{lv_host="buster",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_host{lv_host="buster",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 # HELP lvm_lv_image_synced Set if mirror/RAID image is synchronized # TYPE lvm_lv_image_synced gauge lvm_lv_image_synced{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 0 @@ -44,24 +100,52 @@ lvm_lv_inactive_table{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 lvm_lv_inactive_table{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 # HELP lvm_lv_info # TYPE lvm_lv_info gauge -lvm_lv_info{lv_active="unknown",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="-wi-XX----",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgdata-home",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgdata/home",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="-1",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="home",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="/dev/vgdata/home",lv_permissions="unknown",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="public",lv_tags="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 -lvm_lv_info{lv_active="unknown",lv_allocation_policy="inherit",lv_ancestors="",lv_attr="-wi-XX----",lv_convert_lv="",lv_convert_lv_uuid="",lv_data_lv="",lv_data_lv_uuid="",lv_descendants="",lv_dm_path="/dev/mapper/vgdata-tmp",lv_full_ancestors="",lv_full_descendants="",lv_full_name="vgdata/tmp",lv_health_status="",lv_host="buster",lv_kernel_cache_policy="",lv_kernel_cache_settings="",lv_kernel_discards="",lv_kernel_metadata_format="",lv_kernel_read_ahead_bytes="-1",lv_layout="linear",lv_lockargs="",lv_metadata_lv="",lv_metadata_lv_uuid="",lv_mirror_log="",lv_mirror_log_uuid="",lv_modules="",lv_move_pv="",lv_move_pv_uuid="",lv_name="tmp",lv_origin="",lv_origin_uuid="",lv_parent="",lv_path="/dev/vgdata/tmp",lv_permissions="unknown",lv_pool_lv="",lv_pool_lv_uuid="",lv_raid_sync_action="",lv_raidintegritymode="",lv_role="public",lv_tags="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K",lv_vdo_compression_state="",lv_vdo_index_state="",lv_vdo_operating_mode="",lv_when_full=""} 1 +lvm_lv_info{lv_full_name="vgdata/home",lv_name="home",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_info{lv_full_name="vgdata/tmp",lv_name="tmp",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 # HELP lvm_lv_initial_image_sync Set if mirror/RAID images underwent initial resynchronization # TYPE lvm_lv_initial_image_sync gauge lvm_lv_initial_image_sync{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 0 lvm_lv_initial_image_sync{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 0 +# HELP lvm_lv_kernel_cache_policy Cache policy used in kernel +# TYPE lvm_lv_kernel_cache_policy gauge +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_kernel_cache_policy{lv_kernel_cache_policy="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_kernel_cache_settings Cache settings/parameters as set in kernel, including default values (cached segments only) +# TYPE lvm_lv_kernel_cache_settings gauge +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_kernel_cache_settings{lv_kernel_cache_settings="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_kernel_discards For thin pools, how discards are handled in kernel +# TYPE lvm_lv_kernel_discards gauge +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_kernel_discards{lv_kernel_discards="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 # HELP lvm_lv_kernel_major Currently assigned major number or -1 if LV is not active # TYPE lvm_lv_kernel_major gauge lvm_lv_kernel_major{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 lvm_lv_kernel_major{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 +# HELP lvm_lv_kernel_metadata_format Cache metadata format used in kernel +# TYPE lvm_lv_kernel_metadata_format gauge +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_kernel_metadata_format{lv_kernel_metadata_format="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 # HELP lvm_lv_kernel_minor Currently assigned minor number or -1 if LV is not active # TYPE lvm_lv_kernel_minor gauge lvm_lv_kernel_minor{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 lvm_lv_kernel_minor{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 +# HELP lvm_lv_kernel_read_ahead_bytes Currently-in-use read ahead setting +# TYPE lvm_lv_kernel_read_ahead_bytes gauge +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="-1",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_kernel_read_ahead_bytes{lv_kernel_read_ahead_bytes="-1",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_layout LV layout +# TYPE lvm_lv_layout gauge +lvm_lv_layout{lv_layout="linear",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_layout{lv_layout="linear",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 # HELP lvm_lv_live_table Set if LV has live table present # TYPE lvm_lv_live_table gauge lvm_lv_live_table{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 lvm_lv_live_table{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 +# HELP lvm_lv_lockargs Lock args of the LV used by lvmlockd +# TYPE lvm_lv_lockargs gauge +lvm_lv_lockargs{lv_lockargs="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_lockargs{lv_lockargs="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 # HELP lvm_lv_major Persistent major number or -1 if not persistent # TYPE lvm_lv_major gauge lvm_lv_major{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 @@ -74,14 +158,78 @@ lvm_lv_merge_failed{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 # TYPE lvm_lv_merging gauge lvm_lv_merging{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 0 lvm_lv_merging{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 0 +# HELP lvm_lv_metadata_lv For cache/thin pools, the LV holding the associated metadata +# TYPE lvm_lv_metadata_lv gauge +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_metadata_lv{lv_metadata_lv="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_metadata_lv_uuid For cache/thin pools, the UUID of the LV holding the associated metadata +# TYPE lvm_lv_metadata_lv_uuid gauge +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_metadata_lv_uuid{lv_metadata_lv_uuid="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 # HELP lvm_lv_minor Persistent minor number or -1 if not persistent # TYPE lvm_lv_minor gauge lvm_lv_minor{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 lvm_lv_minor{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 +# HELP lvm_lv_mirror_log For mirrors, the LV holding the synchronisation log +# TYPE lvm_lv_mirror_log gauge +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_mirror_log{lv_mirror_log="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_mirror_log_uuid For mirrors, the UUID of the LV holding the synchronisation log +# TYPE lvm_lv_mirror_log_uuid gauge +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_mirror_log_uuid{lv_mirror_log_uuid="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_modules Kernel device-mapper modules required for this LV +# TYPE lvm_lv_modules gauge +lvm_lv_modules{lv_modules="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_modules{lv_modules="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_move_pv For pvmove, Source PV of temporary LV created by pvmove +# TYPE lvm_lv_move_pv gauge +lvm_lv_move_pv{lv_move_pv="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_move_pv{lv_move_pv="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_move_pv_uuid For pvmove, the UUID of Source PV of temporary LV created by pvmove +# TYPE lvm_lv_move_pv_uuid gauge +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_move_pv_uuid{lv_move_pv_uuid="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_origin For snapshots and thins, the origin device of this LV +# TYPE lvm_lv_origin gauge +lvm_lv_origin{lv_origin="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_origin{lv_origin="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_origin_uuid For snapshots and thins, the UUID of origin device of this LV +# TYPE lvm_lv_origin_uuid gauge +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_origin_uuid{lv_origin_uuid="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_parent For LVs that are components of another LV, the parent LV +# TYPE lvm_lv_parent gauge +lvm_lv_parent{lv_parent="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_parent{lv_parent="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_path Full pathname for LV. Blank for internal LVs +# TYPE lvm_lv_path gauge +lvm_lv_path{lv_path="/dev/vgdata/home",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_path{lv_path="/dev/vgdata/tmp",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_permissions LV permissions +# TYPE lvm_lv_permissions gauge +lvm_lv_permissions{lv_permissions="unknown",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_permissions{lv_permissions="unknown",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_pool_lv For cache/thin/vdo volumes, the cache/thin/vdo pool LV for this volume +# TYPE lvm_lv_pool_lv gauge +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_pool_lv{lv_pool_lv="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_pool_lv_uuid For cache/thin/vdo volumes, the UUID of the cache/thin/vdo pool LV for this volume +# TYPE lvm_lv_pool_lv_uuid gauge +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_pool_lv_uuid{lv_pool_lv_uuid="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 +# HELP lvm_lv_raid_sync_action For RAID, the current synchronization action being performed +# TYPE lvm_lv_raid_sync_action gauge +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_raid_sync_action{lv_raid_sync_action="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 # HELP lvm_lv_read_ahead_bytes Read ahead setting # TYPE lvm_lv_read_ahead_bytes gauge lvm_lv_read_ahead_bytes{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 lvm_lv_read_ahead_bytes{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 +# HELP lvm_lv_role LV role +# TYPE lvm_lv_role gauge +lvm_lv_role{lv_role="public",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_role{lv_role="public",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 # HELP lvm_lv_seg_count Number of segments in LV # TYPE lvm_lv_seg_count gauge lvm_lv_seg_count{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 @@ -102,14 +250,26 @@ lvm_lv_snapshot_invalid{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 # TYPE lvm_lv_suspended gauge lvm_lv_suspended{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} -1 lvm_lv_suspended{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} -1 +# HELP lvm_lv_tags Tags, if any +# TYPE lvm_lv_tags gauge +lvm_lv_tags{lv_tags="",lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1 +lvm_lv_tags{lv_tags="",lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1 # HELP lvm_lv_time Creation time of the LV, if known # TYPE lvm_lv_time gauge lvm_lv_time{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B"} 1.627742685e+09 lvm_lv_time{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K"} 1.627742692e+09 +# HELP lvm_lv_when_full For thin pools, behavior when full +# TYPE lvm_lv_when_full gauge +lvm_lv_when_full{lv_uuid="U3cZuX-dPzH-Pz0e-UzHP-twnG-EzbU-EWn81B",lv_when_full=""} 1 +lvm_lv_when_full{lv_uuid="rG0ue9-Kw1s-beAJ-shyy-AnID-6NRY-rtcN8K",lv_when_full=""} 1 # HELP lvm_pv_allocatable Set if this device can be used for allocation # TYPE lvm_pv_allocatable gauge lvm_pv_allocatable{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 lvm_pv_allocatable{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 +# HELP lvm_pv_attr +# TYPE lvm_pv_attr gauge +lvm_pv_attr{pv_attr="a--",pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 +lvm_pv_attr{pv_attr="a--",pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 # HELP lvm_pv_ba_size_bytes Size of PV Bootloader Area # TYPE lvm_pv_ba_size_bytes gauge lvm_pv_ba_size_bytes{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 0 @@ -134,6 +294,10 @@ lvm_pv_exported{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 0 # TYPE lvm_pv_ext_vsn gauge lvm_pv_ext_vsn{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 2 lvm_pv_ext_vsn{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 2 +# HELP lvm_pv_fmt Type of metadata +# TYPE lvm_pv_fmt gauge +lvm_pv_fmt{pv_fmt="lvm2",pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 +lvm_pv_fmt{pv_fmt="lvm2",pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 # HELP lvm_pv_free_bytes Total amount of unallocated space # TYPE lvm_pv_free_bytes gauge lvm_pv_free_bytes{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 6.24951296e+08 @@ -144,8 +308,8 @@ lvm_pv_in_use{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 lvm_pv_in_use{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 # HELP lvm_pv_info # TYPE lvm_pv_info gauge -lvm_pv_info{pv_attr="a--",pv_fmt="lvm2",pv_name="/dev/loop0",pv_tags="",pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 -lvm_pv_info{pv_attr="a--",pv_fmt="lvm2",pv_name="/dev/loop1",pv_tags="",pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 +lvm_pv_info{pv_name="/dev/loop0",pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 +lvm_pv_info{pv_name="/dev/loop1",pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 # HELP lvm_pv_major Device major number # TYPE lvm_pv_major gauge lvm_pv_major{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 7 @@ -190,6 +354,10 @@ lvm_pv_pe_start{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1.048576e+06 # TYPE lvm_pv_size_bytes gauge lvm_pv_size_bytes{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1.044381696e+09 lvm_pv_size_bytes{pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 2.05520896e+08 +# HELP lvm_pv_tags +# TYPE lvm_pv_tags gauge +lvm_pv_tags{pv_tags="",pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 1 +lvm_pv_tags{pv_tags="",pv_uuid="lMenN6-bGnN-5B5o-MW7n-2ef2-VWuk-E27yru"} 1 # HELP lvm_pv_used Total amount of allocated space # TYPE lvm_pv_used gauge lvm_pv_used{pv_uuid="hHVkeX-XRdB-hAGU-MHza-yTY4-P3xJ-oij0yI"} 4.194304e+08 @@ -202,6 +370,12 @@ lvm_unknown_field_count{details="",group="vg"} 0 # HELP lvm_up Whether scrape was successful # TYPE lvm_up gauge lvm_up{status=""} 1 +# HELP lvm_vg_allocation_policy +# TYPE lvm_vg_allocation_policy gauge +lvm_vg_allocation_policy{vg_allocation_policy="normal",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_attr +# TYPE lvm_vg_attr gauge +lvm_vg_attr{vg_attr="wz--n-",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 # HELP lvm_vg_clustered Set if VG is clustered # TYPE lvm_vg_clustered gauge lvm_vg_clustered{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 @@ -217,6 +391,9 @@ lvm_vg_extent_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 298 # HELP lvm_vg_extent_size_bytes Size of Physical Extents # TYPE lvm_vg_extent_size_bytes gauge lvm_vg_extent_size_bytes{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 4.194304e+06 +# HELP lvm_vg_fmt Type of metadata +# TYPE lvm_vg_fmt gauge +lvm_vg_fmt{vg_fmt="lvm2",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 # HELP lvm_vg_free_bytes Total amount of free space in bytes # TYPE lvm_vg_free_bytes gauge lvm_vg_free_bytes{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 8.30472192e+08 @@ -225,7 +402,13 @@ lvm_vg_free_bytes{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 8.30472192e+ lvm_vg_free_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 198 # HELP lvm_vg_info # TYPE lvm_vg_info gauge -lvm_vg_info{vg_allocation_policy="normal",vg_attr="wz--n-",vg_fmt="lvm2",vg_lock_args="",vg_lock_type="",vg_name="vgdata",vg_permissions="writeable",vg_systemid="",vg_tags="",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +lvm_vg_info{vg_name="vgdata",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_lock_args +# TYPE lvm_vg_lock_args gauge +lvm_vg_lock_args{vg_lock_args="",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_lock_type +# TYPE lvm_vg_lock_type gauge +lvm_vg_lock_type{vg_lock_type="",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 # HELP lvm_vg_lv_count Number of LVs # TYPE lvm_vg_lv_count gauge lvm_vg_lv_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 2 @@ -256,6 +439,9 @@ lvm_vg_missing_pv_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 # HELP lvm_vg_partial Set if VG is partial # TYPE lvm_vg_partial gauge lvm_vg_partial{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 +# HELP lvm_vg_permissions +# TYPE lvm_vg_permissions gauge +lvm_vg_permissions{vg_permissions="writeable",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 # HELP lvm_vg_pv_count Number of PVs in VG # TYPE lvm_vg_pv_count gauge lvm_vg_pv_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 2 @@ -271,3 +457,9 @@ lvm_vg_size_bytes{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1.249902592e # HELP lvm_vg_snap_count Number of snapshots # TYPE lvm_vg_snap_count gauge lvm_vg_snap_count{vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 0 +# HELP lvm_vg_systemid +# TYPE lvm_vg_systemid gauge +lvm_vg_systemid{vg_systemid="",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 +# HELP lvm_vg_tags +# TYPE lvm_vg_tags gauge +lvm_vg_tags{vg_tags="",vg_uuid="qeSEXL-5Pkg-Tjqz-Ra2g-z49g-z7FM-qY2hDs"} 1 diff --git a/value.go b/value.go deleted file mode 100644 index 6036c84..0000000 --- a/value.go +++ /dev/null @@ -1,11 +0,0 @@ -package main - -import ( - "strconv" -) - -type metricValueFunc func(string) (float64, error) - -func fromNumeric(value string) (float64, error) { - return strconv.ParseFloat(value, 64) -} diff --git a/vg.go b/vg.go index f5ec746..ad81d9d 100644 --- a/vg.go +++ b/vg.go @@ -6,21 +6,26 @@ var vgGroup = &group{ name: lvmreport.VG, infoMetricName: "vg_info", - keyFields: []*descriptor{ + keyFields: []*textField{ {fieldName: "vg_uuid", metricName: "vg_uuid", desc: "Unique identifier"}, }, - infoFields: []*descriptor{ + textFields: []*textField{ {fieldName: "vg_allocation_policy", metricName: "vg_allocation_policy"}, {fieldName: "vg_attr", metricName: "vg_attr"}, {fieldName: "vg_fmt", metricName: "vg_fmt", desc: "Type of metadata"}, {fieldName: "vg_lock_args", metricName: "vg_lock_args"}, {fieldName: "vg_lock_type", metricName: "vg_lock_type"}, - {fieldName: "vg_name", metricName: "vg_name", desc: "Name"}, + { + fieldName: "vg_name", + metricName: "vg_name", + flags: asInfoLabel, + desc: "Name", + }, {fieldName: "vg_permissions", metricName: "vg_permissions"}, {fieldName: "vg_systemid", metricName: "vg_systemid"}, {fieldName: "vg_tags", metricName: "vg_tags"}, }, - metricFields: []*descriptor{ + numericFields: []*numericField{ { fieldName: "lv_count", metricName: "vg_lv_count",