Skip to content

Commit

Permalink
Change subsystem from mysql to innodb. Update copyright date.
Browse files Browse the repository at this point in the history
Signed-off-by: Phil Porada <[email protected]>
  • Loading branch information
pgporada committed Jan 19, 2023
1 parent 0919169 commit 1f55bc3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions collector/mysql_innodb_table_stats.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018 The Prometheus Authors
// Copyright 2023 The Prometheus Authors
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
Expand Down Expand Up @@ -41,15 +41,15 @@ var (
// Metric descriptors.
var (
nRowsDesc = prometheus.NewDesc(
prometheus.BuildFQName(namespace, mysql, "innodb_table_stats_n_rows"),
prometheus.BuildFQName(namespace, innodb, "innodb_table_stats_n_rows"),
"Number of rows in the table.",
tableStatLabelNames, nil)
clusteredIndexSizeDesc = prometheus.NewDesc(
prometheus.BuildFQName(namespace, mysql, "innodb_table_stats_clustered_index_size"),
prometheus.BuildFQName(namespace, innodb, "innodb_table_stats_clustered_index_size"),
"The size of the primary index, in pages.",
tableStatLabelNames, nil)
sumOfOtherIndexSizesDesc = prometheus.NewDesc(
prometheus.BuildFQName(namespace, mysql, "innodb_table_stats_sum_of_other_index_sizes"),
prometheus.BuildFQName(namespace, innodb, "innodb_table_stats_sum_of_other_index_sizes"),
"The total size of other (non-primary) indexes, in pages.",
tableStatLabelNames, nil)
)
Expand Down

0 comments on commit 1f55bc3

Please sign in to comment.