Skip to content

Commit

Permalink
feat(backend): mysql 监控指标裁剪正则调整 TencentBlueKing#7327
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhw8 authored and iSecloud committed Oct 14, 2024
1 parent 7d613c4 commit 6ea6a27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"metric_relabel_configs": [{
"source_labels": ["__name__"],
"action": "drop",
"regex": "^mysql_global_variables_[a-lnp-su-z]|^mysql_global_status_tokudb|^mysql_global_status_mysqlx"
"regex": "^mysql_global_variables_[a-lnp-su-z].*|^mysql_global_status_tokudb.*|^mysql_global_status_mysqlx.*"
}],
"params": {
"collector": {
Expand Down Expand Up @@ -58,7 +58,7 @@
"plugin_id": "dbm_mysqld_exporter"
},
"db_type": "mysql",
"version": 17,
"version": 19,
"machine_types": [],
"plugin_id": "dbm_mysqld_exporter"
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"metric_relabel_configs": [{
"source_labels": ["__name__"],
"action": "drop",
"regex": "^mysql_global_variables_[a-lnp-su-z]"
"regex": "^mysql_global_variables_[a-lnp-su-z].*|^mysql_global_status_tokudb.*|^mysql_global_status_mysqlx.*"
}],
"params": {
"plugin": {
Expand Down Expand Up @@ -57,7 +57,7 @@
"plugin_id": "dbm_mysqld_exporter"
},
"db_type": "mysql",
"version": 18,
"version": 20,
"machine_types": [
"spider"
],
Expand Down

0 comments on commit 6ea6a27

Please sign in to comment.