Skip to content

Commit 1f55bc3

Browse files
committed
Change subsystem from mysql to innodb. Update copyright date.
Signed-off-by: Phil Porada <[email protected]>
1 parent 0919169 commit 1f55bc3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

collector/mysql_innodb_table_stats.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2018 The Prometheus Authors
1+
// Copyright 2023 The Prometheus Authors
22
// Licensed under the Apache License, Version 2.0 (the "License");
33
// you may not use this file except in compliance with the License.
44
// You may obtain a copy of the License at
@@ -41,15 +41,15 @@ var (
4141
// Metric descriptors.
4242
var (
4343
nRowsDesc = prometheus.NewDesc(
44-
prometheus.BuildFQName(namespace, mysql, "innodb_table_stats_n_rows"),
44+
prometheus.BuildFQName(namespace, innodb, "innodb_table_stats_n_rows"),
4545
"Number of rows in the table.",
4646
tableStatLabelNames, nil)
4747
clusteredIndexSizeDesc = prometheus.NewDesc(
48-
prometheus.BuildFQName(namespace, mysql, "innodb_table_stats_clustered_index_size"),
48+
prometheus.BuildFQName(namespace, innodb, "innodb_table_stats_clustered_index_size"),
4949
"The size of the primary index, in pages.",
5050
tableStatLabelNames, nil)
5151
sumOfOtherIndexSizesDesc = prometheus.NewDesc(
52-
prometheus.BuildFQName(namespace, mysql, "innodb_table_stats_sum_of_other_index_sizes"),
52+
prometheus.BuildFQName(namespace, innodb, "innodb_table_stats_sum_of_other_index_sizes"),
5353
"The total size of other (non-primary) indexes, in pages.",
5454
tableStatLabelNames, nil)
5555
)

0 commit comments

Comments
 (0)