Skip to content

Commit

Permalink
[Metricbeat][MySQL] Performance metricset does not working with MySQL…
Browse files Browse the repository at this point in the history
… 5.7 (#38710)

* fix mysql metricbeat module failure for version 5.7

* add entry to CHANGELOG.next.asciidoc

* update changelog entry

* Update CHANGELOG.next.asciidoc

Co-authored-by: subham sarkar <[email protected]>

---------

Co-authored-by: subham sarkar <[email protected]>
Co-authored-by: subham sarkar <[email protected]>
  • Loading branch information
3 people committed May 16, 2024
1 parent 9b338cd commit fab441b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff]
- rabbitmq/queue - Change the mapping type of `rabbitmq.queue.consumers.utilisation.pct` to `scaled_float` from `long` because the values fall within the range of `[0.0, 1.0]`. Previously, conversion to integer resulted in reporting either `0` or `1`.
- Fix timeout caused by the retrival of which indices are hidden {pull}39165[39165]
- Fix Azure Monitor support for multiple aggregation types {issue}39192[39192] {pull}39204[39204]
- Fix for MySQL/Performance - Query failure for MySQL versions below v8.0.1, for performance metric `quantile_95`. {pull}38710[38710]

*Osquerybeat*

Expand Down
8 changes: 4 additions & 4 deletions metricbeat/module/mysql/performance/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ input:
namespace: performance
queries:
- query: >
SELECT digest_text, count_star, avg_timer_wait, max_timer_wait, last_seen, quantile_95
FROM performance_schema.events_statements_summary_by_digest
ORDER BY avg_timer_wait DESC
LIMIT 10
SELECT digest_text, count_star, avg_timer_wait, max_timer_wait, last_seen /*!80001 ,quantile_95 */
FROM performance_schema.events_statements_summary_by_digest
ORDER BY avg_timer_wait DESC
LIMIT 10;
query_namespace: events_statements
response_format: table
replace_underscores: true
Expand Down

0 comments on commit fab441b

Please sign in to comment.