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

[O11y][MYSQL] Add schemaname field in the performance data stream #10749

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/mysql/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: 1.25.0
changes:
- description: Add `schemaname` field in the performance data stream.
type: enhancement
link: https://github.com/elastic/integrations/pull/10749
- version: 1.24.0
changes:
- description: Add replica_status data stream.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ processors:
ctx.mysql.performance.events_statements.query = digest.text;

- fingerprint:
fields: ["mysql.performance.events_statements.query"]
fields:
- mysql.performance.events_statements.query
- mysql.performance.events_statements.schemaname
target_field: mysql.performance.events_statements.query_id
ignore_failure: true
ignore_missing: true
Expand Down
4 changes: 4 additions & 0 deletions packages/mysql/data_stream/performance/fields/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
- name: events_statements
type: group
fields:
- name: schemaname
anil-elastic marked this conversation as resolved.
Show resolved Hide resolved
harnish-elastic marked this conversation as resolved.
Show resolved Hide resolved
type: keyword
dimension: true
description: Alias for the database name within certain SQL statements.
- name: query_id
type: keyword
# Reason to add as a dimension field: shows results based on queries.
Expand Down
4 changes: 2 additions & 2 deletions packages/mysql/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
format_version: "3.0.2"
name: mysql
title: MySQL
version: "1.24.0"
version: "1.25.0"
description: Collect logs and metrics from MySQL servers with Elastic Agent.
type: integration
categories:
- datastore
- observability
conditions:
kibana:
version: "^8.14.0"
version: "^8.15.0"
gpop63 marked this conversation as resolved.
Show resolved Hide resolved
elastic:
subscription: basic
screenshots:
Expand Down