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

Include more details to the mysql.commands metric. #34806

Open
bran1501 opened this issue Aug 22, 2024 · 4 comments
Open

Include more details to the mysql.commands metric. #34806

bran1501 opened this issue Aug 22, 2024 · 4 comments
Labels
enhancement New feature or request receiver/mysql

Comments

@bran1501
Copy link

Component(s)

receiver/mysql

Is your feature request related to a problem? Please describe.

When I enable the mysql.commands metric, it provides general use of the commands select, insert, update and delete. However, it has to provide more insight on User activity. i.e mysql.commands.alter_table, mysql.commands.drop_table, mysql.commands.rename_table, etc

Describe the solution you'd like

Provide more attributes to this metric so it could monitor more specific activity from the users.

Describe alternatives you've considered

sql_exporter and create a Query and export all this data.

Additional context

Here is an example of multiple metrics that could be included.
https://docs.splunk.com/observability/en/gdi/monitors-databases/mysql.html#metrics

@bran1501 bran1501 added enhancement New feature or request needs triage New item requiring triage labels Aug 22, 2024
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@atoulme
Copy link
Contributor

atoulme commented Oct 12, 2024

@djaglowski what do you think?

Copy link
Contributor

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@djaglowski
Copy link
Member

mysql.commands.alter_table, mysql.commands.drop_table, mysql.commands.rename_table

These seem like reasonable additions.

Provide more attributes to this metric so it could monitor more specific activity from the users.

Are there any others besides the three mentioned above?

@djaglowski djaglowski removed the Stale label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request receiver/mysql
Projects
None yet
Development

No branches or pull requests

3 participants