|
1 |
| -// Copyright 2018 The Prometheus Authors |
| 1 | +// Copyright 2023 The Prometheus Authors |
2 | 2 | // Licensed under the Apache License, Version 2.0 (the "License");
|
3 | 3 | // you may not use this file except in compliance with the License.
|
4 | 4 | // You may obtain a copy of the License at
|
@@ -41,15 +41,15 @@ var (
|
41 | 41 | // Metric descriptors.
|
42 | 42 | var (
|
43 | 43 | nRowsDesc = prometheus.NewDesc(
|
44 |
| - prometheus.BuildFQName(namespace, mysql, "innodb_table_stats_n_rows"), |
| 44 | + prometheus.BuildFQName(namespace, innodb, "innodb_table_stats_n_rows"), |
45 | 45 | "Number of rows in the table.",
|
46 | 46 | tableStatLabelNames, nil)
|
47 | 47 | 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"), |
49 | 49 | "The size of the primary index, in pages.",
|
50 | 50 | tableStatLabelNames, nil)
|
51 | 51 | 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"), |
53 | 53 | "The total size of other (non-primary) indexes, in pages.",
|
54 | 54 | tableStatLabelNames, nil)
|
55 | 55 | )
|
|
0 commit comments