View Agent (pmm-agent, exporters, QAN agents) logs in "real time"

Description

The problem: when I'm troubleshooting some problems with monitoring it's hard to see this from the PMM server side. 

 

Proposed solution: 

In Inventory Table add an additional "models window/ page " where  user can see some last logs from the server with some refresh 

(Logs streaming will be cool but not required )

 

Docs:
1/ Mention this feature in the docs
2/ Mention it in the Troubleshooting Guide

 

How to test

None

How to document

None

Attachments

2

Smart Checklist

Activity

Show:

Ihor Cherkasov August 16, 2022 at 6:47 PM

Verified on FB: https://github.com/Percona-Lab/pmm-submodules/pull/2699#issuecomment-1215882689

 

Yaroslav Podorvanov August 15, 2022 at 9:20 PM
Edited

done, ready in FB

Ihor Cherkasov August 15, 2022 at 8:49 PM

I think we don't need \n symbols at the end of each log line as we return logs as array. Let's cleanup this. 

Iaroslavna Soloveva August 15, 2022 at 11:16 AM

Perhaps it's better to wait for   or ask   to provide us with the design solution?

Iaroslavna Soloveva August 15, 2022 at 10:53 AM

I can't give feedback on the api, because I still don't know what we should display.  How many columns do I need to display? What will they be called? Is each element of the logs array = separate string in the table?

What should I do if the logs array element is too long? should we display it in its full version? What should it looks like?

Done

Details

Assignee

Reporter

Priority

Components

Needs QA

Yes

Needs Doc

Yes

Planned Version/s

Fix versions

Story Points

Smart Checklist

Created July 15, 2020 at 9:41 PM
Updated November 13, 2024 at 9:49 AM
Resolved August 16, 2022 at 7:22 PM