Add option --skip-mysql or --system-only for pt-stalk

Description

Currently, pt-stalk supports the option --mysql-only that allows skipping system data collection. But sometimes we need the opposite option: --system-only or --skip-mysql to collect only operating system data. Otherwise, if the tool is called, for example, on a host that is running PostgreSQL server, it refuses to start. Workaround is to install minimal MySQL server that is weird.

Environment

None

Smart Checklist

Activity

Done

Details

Assignee

Reporter

Priority

Components

Affects versions

Fix versions

Needs Review

Yes

Needs Doc

Yes

Story Points

Smart Checklist

Created January 10, 2022 at 9:26 PM
Updated February 29, 2024 at 8:48 PM
Resolved March 1, 2022 at 2:29 PM