pmm-agent: killed when --max-query-length <= 3

Description

User impact:

pmm-agent restarting and monitoring stopped

Steps to reproduce:

Add a service to monitoring with --max-query-length set to 3 or less

Actual result:

Expected result:

 

Workaround:

 

Details:

 

How to test

1. Add MySQL with perfschema and set flag max-query-length to 2
2. Let pmm-agent collect some buckets (it will take around 1 minute)
3. See perfschema is running (in inventory) without error specified in this ticket.

How to document

None

Activity

Show:

Former user November 11, 2022 at 3:38 PM

Done

Details

Assignee

Reporter

Priority

Components

Needs QA

Yes

Needs Doc

No

Planned Version/s

Fix versions

Story Points

Affects versions

Smart Checklist

Created November 7, 2022 at 11:26 AM
Updated March 6, 2023 at 11:44 AM
Resolved November 16, 2022 at 8:39 AM