Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update NDB branch #5

Open
wants to merge 351 commits into
base: ndb
Choose a base branch
from
Open

Update NDB branch #5

wants to merge 351 commits into from

Conversation

olapiv
Copy link

@olapiv olapiv commented Sep 2, 2024

No description provided.

prombot and others added 30 commits March 17, 2021 00:01
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Synchronize common files from prometheus/prometheus
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Signed-off-by: Ben Kochie <superq@gmail.com>
Synchronize common files from prometheus/prometheus
* determine column name for innodb_metrics before
querying
adds support more mariadb 10.4+, fixes 494

Signed-off-by: Mike <maemigh@gmail.com>
Signed-off-by: Jon Tirsen <jontirsen@squareup.com>
Signed-off-by: Piotr Ziółkowski <pioziol@gmail.com>
* Drop /vendor dir.
* Simplify mixin build steps.
* Bump Go modules.

Signed-off-by: Ben Kochie <superq@gmail.com>
BREAKING CHANGES:

Changes related to `replication_group_member_stats` collector:
* metric "transaction_in_queue" was Counter instead of Gauge
* renamed 3 metrics starting with `mysql_perf_schema_transaction_` to start with `mysql_perf_schema_transactions_` to be consistent with column names
* exposing only server's own stats by matching MEMBER_ID with @@server_uuid resulting "member_id" label to be dropped.

Changes:

* [CHANGE] Switch to go-kit for logs. #433
* [FEATURE] Add `tls.insecure-skip-verify` flag to ignore tls verification errors #417
* [FEATURE] Add collector for AWS Aurora information_schema.replica_host_status #435
* [FEATURE] Add collector for `replication_group_members` #459
* [FEATURE] Add new metrics to `replication_group_member_stats` collector to support MySQL 8.x. #462
* [FEATURE] Add collector for `performance_schema.memory_summary_global_by_event_name` #515
* [FEATURE] Support authenticating using mTLS client cert and no password #539
* [ENHANCEMENT] Support heartbeats in UTC #471
* [BUGFIX] Fix binlog metrics on mysql 8.x #419
* [BUGFIX] Fix output value of wsrep_cluster_status #473
* [BUGFIX] Fix collect.info_schema.innodb_metrics for new field names (mariadb 10.5+) #494
* [BUGFIX] Fix log output of collect[] params #505
* [BUGFIX] Fix collect.info_schema.innodb_tablespaces for new table names #516
* [BUGFIX] Fix innodb_metrics for mariadb 10.5+ #523
* [BUGFIX] Allow perf_schema.memory summary current_bytes to be negative #517

Signed-off-by: Ben Kochie <superq@gmail.com>
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
Signed-off-by: prombot <prometheus-team@googlegroups.com>
* Always lowercase strings to improve matching.
* Add match for "disabled" as false.

Fixes: #547

Signed-off-by: Ben Kochie <superq@gmail.com>
Add TLS and basic authentication
BREAKING CHANGES:

Changes related to `replication_group_member_stats` collector:
* metric "transaction_in_queue" was Counter instead of Gauge
* renamed 3 metrics starting with `mysql_perf_schema_transaction_` to start with `mysql_perf_schema_transactions_` to be consistent with column names
* exposing only server's own stats by matching MEMBER_ID with @@server_uuid resulting "member_id" label to be dropped.

Changes:

* [CHANGE] Switch to go-kit for logs. #433
* [FEATURE] Add `tls.insecure-skip-verify` flag to ignore tls verification errors #417
* [FEATURE] Add collector for AWS Aurora information_schema.replica_host_status #435
* [FEATURE] Add collector for `replication_group_members` #459
* [FEATURE] Add new metrics to `replication_group_member_stats` collector to support MySQL 8.x. #462
* [FEATURE] Add collector for `performance_schema.memory_summary_global_by_event_name` #515
* [FEATURE] Support authenticating using mTLS client cert and no password #539
* [FEATURE] Add TLS and basic authentication #522
* [ENHANCEMENT] Support heartbeats in UTC #471
* [ENHANCEMENT] Improve parsing of boolean strings #548
* [BUGFIX] Fix binlog metrics on mysql 8.x #419
* [BUGFIX] Fix output value of wsrep_cluster_status #473
* [BUGFIX] Fix collect.info_schema.innodb_metrics for new field names (mariadb 10.5+) #494
* [BUGFIX] Fix log output of collect[] params #505
* [BUGFIX] Fix collect.info_schema.innodb_tablespaces for new table names #516
* [BUGFIX] Fix innodb_metrics for mariadb 10.5+ #523
* [BUGFIX] Allow perf_schema.memory summary current_bytes to be negative #517

Signed-off-by: Ben Kochie <superq@gmail.com>
Signed-off-by: mamiller <mamiller@rosettastone.com>
Signed-off-by: mamiller <mamiller@rosettastone.com>
Signed-off-by: mamiller <mamiller@rosettastone.com>
This was introduced in 73160d9

Signed-off-by: Michael Kopinsky <Michael.Kopinsky@pennmedicine.upenn.edu>
Signed-off-by: mamiller <mamiller@rosettastone.com>
allow exporting dates as timestamps grom GLOBAL STATUS
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Synchronize common files from prometheus/prometheus
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Synchronize common files from prometheus/prometheus
The "show slave hosts" command on mysql 5.5 and mariadb 10.5 returns neither a "Slave_UUID" nor a "Rpl_recovery_rank" column. Set the slave_uuid metric label to "" in this case.

Signed-off-by: Felix Hamme <felix.hamme@ionos.com>
fix mysql_slave_hosts_info for mysql 5.5 and mariadb 10.5, add unit test
Signed-off-by: Ryan J. Geyer <me@ryangeyer.com>
Signed-off-by: Ryan J. Geyer <me@ryangeyer.com>
prombot and others added 30 commits December 29, 2024 19:18
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Bumps [github.com/prometheus/exporter-toolkit](https://github.com/prometheus/exporter-toolkit) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/prometheus/exporter-toolkit/releases)
- [Changelog](https://github.com/prometheus/exporter-toolkit/blob/master/CHANGELOG.md)
- [Commits](prometheus/exporter-toolkit@v0.13.1...v0.13.2)

---
updated-dependencies:
- dependency-name: github.com/prometheus/exporter-toolkit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Fix issue introduced in #862

Only query SUM_LOCK_TIME and SUM_CPU_TIME when using MySQL >= 8.0.28.

Fixes #905

Signed-off-by: Cristian Greco <cristian@regolo.cc>
This was reported by the mixtool lint:
  mixtool lint mixin.libsonnet
  [uneditable-dashboard] 'MySQL': Dashboard 'MySQL' is editable, it should be set to 'editable: false'

Signed-off-by: Daniel Black <daniel@mariadb.org>
This must be a typo in the README only.

There is no other occurence when doing `git grep locahost` for this
value.

Signed-off-by: Benedikt Heine <bebe@bebehei.de>
Co-authored-by: Ben Kochie <superq@gmail.com>
Signed-off-by: Jason Ng <oblitorum@gmail.com>
Co-authored-by: Cristian Greco <cristian@regolo.cc>
Signed-off-by: Cristian Greco <cristian@regolo.cc>
Fix #905: use SUM_LOCK_TIME and SUM_CPU_TIME with mysql >= 8.0.28
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.61.0 to 0.62.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md)
- [Commits](prometheus/common@v0.61.0...v0.62.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Addresses issue 815:
#815

Like the author of the issue, I also used the example in the README file
to setup scraping with Prometheus only to discover that by default the
/metrics end-point is scraped instead.

Signed-off-by: Thomas Venieris <thomas.venieris@gmail.com>
Update changelog for 0.17.0.

Signed-off-by: Cristian Greco <cristian@regolo.cc>
Signed-off-by: Cristian Greco <cristian@regolo.cc>
Followup of #916,
where I wrongly deleted query params formatting.

Signed-off-by: Cristian Greco <cristian@regolo.cc>
…ry-printf

Fix query on perf_schema.events_statements_summary_by_digest
Signed-off-by: Cristian Greco <cristian@regolo.cc>
Followup of #916 and #920. These columns are not available in MariaDB.

Signed-off-by: Cristian Greco <cristian@regolo.cc>
Signed-off-by: Cristian Greco <cristian@regolo.cc>
Use QUANTILE columns only with mysql >= 8.0.28
Signed-off-by: Cristian Greco <cristian@regolo.cc>
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](google/go-cmp@v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.20.5 to 1.21.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](prometheus/client_golang@v1.20.5...v1.21.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.8.1 to 1.9.0.
- [Release notes](https://github.com/go-sql-driver/mysql/releases)
- [Changelog](https://github.com/go-sql-driver/mysql/blob/master/CHANGELOG.md)
- [Commits](go-sql-driver/mysql@v1.8.1...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/go-sql-driver/mysql
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Signed-off-by: Vladimir Buyanov <b.vladimir@clickadu.com>
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.