Issues

Select view

Select search mode

 
50 of 50

No client_host data in pmm.metrics table from clickhouse(mysql_slowlog_agent)

Incomplete

Description

Hi,

I want to query data from clickhouse,

but it seems that pmm doesn't collect the client_host data from mysql_slowlog_agent.

It will be nice to impove this,thanks.

 

my query sql:

SELECT period_start,queryid,service_name,schema,cluster,client_host,
fingerprint,example,username,service_type,node_name,
num_queries,m_query_time_sum,m_query_time_max,m_rows_examined_max,m_rows_sent_max,m_lock_time_sum
FROM pmm.metrics
where service_type='mysql'
and period_start>'2020-08-09 00:50:00'
and period_start<'2020-08-09 01:00:00'
order by period_start;

How to test

None

How to document

None

Smart Checklist

Details

Assignee

Reporter

Priority

Components

Affects versions

Smart Checklist

Created August 11, 2020 at 10:57 AM
Updated November 13, 2024 at 8:29 AM
Resolved October 8, 2020 at 8:57 AM

Activity

Show:

Jira Bot October 8, 2020 at 8:57 AM

Hello ,
It's been 52 days since this issue went into Incomplete and we haven't heard
from you on this.

At this point, our policy is to Close this issue, to keep things from getting
too cluttered. If you have more information about this issue and wish to
reopen it, please reply with a comment containing "jira-bot=reopen".

Jira Bot September 30, 2020 at 8:57 AM

Hello ,
It's jira-bot again. Your bug report is important to us, but we haven't heard
from you since the previous notification. If we don't hear from you on
this in 7 days, the issue will be automatically closed.

Jira Bot September 15, 2020 at 8:56 AM

Hello ,
I'm jira-bot, Percona's automated helper script. Your bug report is important
to us but we've been unable to reproduce it, and asked you for more
information. If we haven't heard from you on this in 3 more weeks, the issue
will be automatically closed.

Lalit Choudhary August 17, 2020 at 8:19 AM

Hi

Thank you for the report.

Cant reproduce described behavior with percona server/ mysql 5.7 and pmm 2.9.1

With PMM 2.9.1  test, I can see client_host and slow query data.

Please upgrade to pmm 2.9.1 and check again, if you still see the same error check pmm-agent log for any errors.

 

My Test:

 

 

Adding mysql 5.7.31  into pmm monitoring 

 

clickhouse query result after adding mysql instance to pmm monitoring. 

 

 

 

Lalit Choudhary August 14, 2020 at 2:35 PM
Edited

 

Test: PS 5.7.30 + slow query log and I can see client_host in click house query output

 

 

Loading...