You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running pganalyze-collector --dry-run-logs I don't see any JSON data printed.
I only get the following messages:
2020/03/31 14:25:28 I [server1] Testing log collection (local)...
2020/03/31 14:25:34 I [server1] Local log test successful
The --dry-run option does only print the stats and activity snapshots data. Nothing for logs.
Here's however what the --debug-logs option returns:
2020/03/31 14:23:35 I [server1] Would have sent log state:
log lines: 9, query samples: 0
6 x STATEMENT_LOG
1 x PGA_COLLECTOR_IDENTIFY
2020/03/31 14:24:08 I [server1] Would have sent log state:
log lines: 1, query samples: 0
1 x STATEMENT_LOG
2020/03/31 14:24:11 I [server1] Would have sent log state:
log lines: 1, query samples: 0
1 x STATEMENT_LOG
Am I missing something?
The text was updated successfully, but these errors were encountered:
It depends a bit what your test scenario is - AFAIK --dry-run-logs only works for cases where the collector downloads the log files (e.g. from an API of a cloud provider), not for local files.
You might want to look at the --analyze-logfile option for local testing.
Also, assuming that you are looking at this in the context of PEV2, happy to chat more by email (see my GitHub profile)
When running
pganalyze-collector --dry-run-logs
I don't see any JSON data printed.I only get the following messages:
The
--dry-run
option does only print the stats and activity snapshots data. Nothing for logs.Here's however what the
--debug-logs
option returns:Am I missing something?
The text was updated successfully, but these errors were encountered: