Skip to content

Commit 44d07be

Browse files
authored
Merge pull request #6052 from wind39/develop
Lasso Release 4.17.0
2 parents 30829e9 + fc2d16d commit 44d07be

File tree

6 files changed

+99
-12
lines changed

6 files changed

+99
-12
lines changed

product_docs/docs/lasso/4/configuration.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Configuration
33
---
44

5-
Besides being mandatory for the customer `id` and `token`, the Lasso
5+
Besides being mandatory for the customer `id`, the Lasso
66
configuration file also allows you to omit most of the command line
77
options that your environment might require. (You can see a list of all
88
the command-line options in [Usage](usage).)
@@ -27,9 +27,12 @@ A template file for the configuration file looks like this:
2727
; the "Company code" from the customer page in the EDB Portal
2828
id=
2929
; the "Token" from the customer page in the EDB Portal
30+
; since Lasso 4.17.0, the token is no longer mandatory.
3031
token=
3132
; the depth of the Lasso report. Must be one between: surface, shallow and deep
3233
depth=deep
34+
; the environment of the server. Can be any string
35+
environment=
3336
3437
[postgresql]
3538
; Lasso uses the following connection string parameters to connect to your

product_docs/docs/lasso/4/describe.mdx

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2690,3 +2690,42 @@ Collect the location of the Barman Python modules.
26902690

26912691
**Security impact:** Low —
26922692
No known security impact.
2693+
2694+
### Databases checksums (`postgresql_databases_checksums`)
2695+
2696+
List of checksum failures in the PostgreSQL node
2697+
2698+
**Report output:**
2699+
2700+
* File `postgresql/databases_checksums.out`
2701+
2702+
**Depth:** Surface
2703+
2704+
**Security impact:** Low —
2705+
No known security impact.
2706+
2707+
### Blocking locks (`postgresql_blocking_locks`)
2708+
2709+
List of blocking locks
2710+
2711+
**Report output:**
2712+
2713+
* File `postgresql/blocking_locks.out`
2714+
2715+
**Depth:** Surface
2716+
2717+
**Security Impact:** Low —
2718+
No known security impact.
2719+
2720+
### BDR worker_errors (`postgresql_db_bdr_worker_errors`)
2721+
2722+
List all `bdr.worker_errors` entries in `error_time ASC` order
2723+
2724+
**Report output:**
2725+
2726+
* File `bdr/worker_errors.data`
2727+
2728+
**Depth:** Surface
2729+
2730+
**Security Impact:** Low —
2731+
No known security impact.

product_docs/docs/lasso/4/install.mdx

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ title: Installing Lasso
44

55
EDB distributes the application through the
66
[EDB website](https://www.enterprisedb.com/software-downloads-postgres)
7-
and grants usage to customers using a *company token* as a means of
8-
authentication.
7+
and grants usage to customers using a *company ID*.
98

109

1110
## Linux
@@ -97,19 +96,16 @@ The minimum configuration file looks like this:
9796
```
9897
[customer]
9998
id=XXXXX
100-
token=YYYYYYYYY
10199
```
102100

103-
Replace the `id` and `token` value with the information found in your
101+
Replace the `id` value with the information found in your
104102
company page in the Support Portal. (In the left menu bar, select
105103
**Company info > Company**.) Enter the **Company code** value from this page
106-
in the `id` field in the configuration file. Enter the
107-
**Token** value in the `token` field in the
108-
configuration file.
104+
in the `id` field in the configuration file.
109105

110106
!!! Important
111107
A configuration file for Lasso is mandatory and must contain at least
112-
the customer id and token.
108+
the customer id.
113109
!!!
114110

115111
For more details about the Lasso configuration, see

product_docs/docs/lasso/4/release-notes.mdx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22
title: Release notes
33
---
44

5+
## Lasso - Version 4.17.0
6+
7+
Released: 12 Sep 2024
8+
9+
Lasso Version 4.17.0 includes the following enhancements and bug fixes:
10+
11+
| Type | Description | Addresses |
12+
|------------------------|-------------|-----------|
13+
| Feature | Support for Patroni | |
14+
| Feature | New argument `--command-timeout` | DC-874 |
15+
| Feature | New optional setting customer `environment` | DC-1013 |
16+
| Feature | Add collection of `checksum_failures` and `checksum_last_failure` timestamp from `pg_stat_database` | DC-1014 |
17+
| Feature | Gather blocking locks | DC-422 |
18+
| Feature | Show symbolic link target in `linux/pg_links.data` | DC-967 |
19+
| Bug Fixes | Make BDR's `worker_errors` output sorted by error timestamp | DC-150 |
20+
| Bug Fixes | Fix bdr sequences query to prevent duplicate rows | DC-69 |
21+
| Deprecation Notes | Customer `token` is now optional in the configuration | DC-1013 |
22+
23+
524
## Lasso - Version 4.16.0
625

726
Released: 04 Jun 2024

product_docs/docs/lasso/4/report-types.mdx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,27 @@ We recommend this approach, as it guarantees Lasso will use
250250
the correct EFM configuration file instead of trying to find it.
251251

252252

253+
## Patroni report
254+
255+
Lasso can run on systems where Patroni is installed. In that
256+
case, it gathers Patroni-related information.
257+
258+
In general, if you installed Patroni using EDB-certified RPM and DEB
259+
packages, all you need to do is execute Lasso.
260+
261+
### How Lasso finds the Patroni configuration file
262+
263+
Lasso uses the following approach while trying to identify the Patroni
264+
configuration file. It uses the first one it finds.
265+
266+
1. Use the one provided to the `--patroni-configuration` option, if given.
267+
2. Check the paths provided by packages. For DEB packages, the configuration
268+
file is usually `/etc/patroni/config.yml`, while for RPM packages, the
269+
configuration file is usually `/etc/patroni/patroni.yml`.
270+
3. Check the running processes. If there is any `patroni` processes running,
271+
then the configuration file is passed as the last argument.
272+
273+
253274
## Replication Server (xDB) report
254275

255276
Lasso can run on systems where xDB is installed. In that

product_docs/docs/lasso/4/usage.mdx

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ usage: lasso [-h] [-H HOST_NAME] [-p PORT] [--password PASSWORD]
1515
[--lock-timeout LOCK_TIMEOUT]
1616
[--statement-timeout STATEMENT_TIMEOUT]
1717
[--sampling-start SAMPLING_START] [--sampling-end SAMPLING_END]
18-
[--local-size-limit LOCAL_SIZE_LIMIT] [--bindir BINDIR]
18+
[--local-size-limit LOCAL_SIZE_LIMIT]
19+
[--command-timeout COMMAND_TIMEOUT]
20+
[--bindir BINDIR]
1921
[--depth [{surface,shallow,deep}]]
2022
[--describe [{short,json,full}]] [--version] [--info]
2123
[--latest-version] [--system-only | --barman]
@@ -27,8 +29,9 @@ usage: lasso [-h] [-H HOST_NAME] [-p PORT] [--password PASSWORD]
2729
[--pgbouncer-configuration PGBOUNCER_CONFIGURATION]
2830
[--harp-configuration HARP_CONFIGURATION]
2931
[--etcd-configuration ETCD_CONFIGURATION]
30-
[--pgd-proxy-configuration PGD_PROXY_CONFIGURATION] [--upload]
31-
[--keep-report] [--is-latest-version]
32+
[--pgd-proxy-configuration PGD_PROXY_CONFIGURATION]
33+
[--patroni-configuration PATRONI_CONFIGURATION]
34+
[--upload] [--keep-report] [--is-latest-version]
3235
[dbname] [user]
3336
3437
EDB Lasso (for 2ndquadrant)
@@ -57,6 +60,9 @@ optional arguments:
5760
--local-size-limit LOCAL_SIZE_LIMIT
5861
Size limit, in bytes, of each file inside the tarball
5962
(minimum 1024, default 524288000)
63+
--command-timeout COMMAND_TIMEOUT
64+
Timeout for each linux command execution (example
65+
'120s','2m',etc. default: No timeout)
6066
--bindir BINDIR PostgreSQL binaries directory (autodetect by default)
6167
--depth [{surface,shallow,deep}]
6268
Depth of the report (default deep)
@@ -101,6 +107,9 @@ optional arguments:
101107
--pgd-proxy-configuration PGD_PROXY_CONFIGURATION
102108
Path to the pgd-proxy-config.yml file, if using a non-
103109
default path
110+
--patroni-configuration PATRONI_CONFIGURATION
111+
Path to the Patroni YAML file, if using a non-default
112+
path
104113
--upload Report tarball file is sent to EDB at the end of the
105114
execution. The file will be removed if successfully
106115
uploaded unless --keep-report is specified

0 commit comments

Comments
 (0)