pghero 3.1.0 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +78 -1
- data/LICENSE.txt +1 -1
- data/README.md +2 -2
- data/app/assets/javascripts/pghero/Chart.bundle.js +23379 -19766
- data/app/assets/javascripts/pghero/application.js +27 -12
- data/app/assets/javascripts/pghero/chartkick.js +834 -764
- data/app/assets/javascripts/pghero/highlight.min.js +440 -0
- data/app/assets/javascripts/pghero/jquery.js +318 -197
- data/app/assets/javascripts/pghero/nouislider.js +676 -1066
- data/app/assets/stylesheets/pghero/application.css +108 -2
- data/app/assets/stylesheets/pghero/nouislider.css +4 -10
- data/app/controllers/pg_hero/home_controller.rb +53 -16
- data/app/helpers/pg_hero/home_helper.rb +3 -3
- data/app/views/layouts/pg_hero/application.html.erb +3 -3
- data/app/views/pg_hero/home/_connections_table.html.erb +1 -1
- data/app/views/pg_hero/home/_live_queries_table.html.erb +8 -8
- data/app/views/pg_hero/home/_queries_table.html.erb +5 -5
- data/app/views/pg_hero/home/_query_stats_slider.html.erb +8 -8
- data/app/views/pg_hero/home/_suggested_index.html.erb +6 -5
- data/app/views/pg_hero/home/connections.html.erb +12 -12
- data/app/views/pg_hero/home/explain.html.erb +2 -2
- data/app/views/pg_hero/home/index.html.erb +22 -20
- data/app/views/pg_hero/home/index_bloat.html.erb +6 -6
- data/app/views/pg_hero/home/maintenance.html.erb +3 -3
- data/app/views/pg_hero/home/queries.html.erb +7 -5
- data/app/views/pg_hero/home/relation_space.html.erb +4 -4
- data/app/views/pg_hero/home/show_query.html.erb +35 -31
- data/app/views/pg_hero/home/space.html.erb +50 -46
- data/app/views/pg_hero/home/system.html.erb +18 -18
- data/app/views/pg_hero/home/tune.html.erb +2 -2
- data/lib/generators/pghero/query_stats_generator.rb +1 -0
- data/lib/generators/pghero/space_stats_generator.rb +1 -0
- data/lib/pghero/database.rb +2 -2
- data/lib/pghero/engine.rb +4 -3
- data/lib/pghero/methods/basic.rb +26 -31
- data/lib/pghero/methods/connections.rb +4 -4
- data/lib/pghero/methods/constraints.rb +1 -1
- data/lib/pghero/methods/explain.rb +4 -3
- data/lib/pghero/methods/indexes.rb +8 -8
- data/lib/pghero/methods/kill.rb +1 -1
- data/lib/pghero/methods/maintenance.rb +3 -3
- data/lib/pghero/methods/queries.rb +2 -2
- data/lib/pghero/methods/query_stats.rb +34 -24
- data/lib/pghero/methods/replication.rb +2 -2
- data/lib/pghero/methods/sequences.rb +10 -5
- data/lib/pghero/methods/settings.rb +8 -1
- data/lib/pghero/methods/space.rb +20 -14
- data/lib/pghero/methods/suggested_indexes.rb +14 -7
- data/lib/pghero/methods/system.rb +12 -6
- data/lib/pghero/methods/tables.rb +4 -5
- data/lib/pghero/version.rb +1 -1
- data/lib/pghero.rb +35 -36
- data/lib/tasks/pghero.rake +11 -1
- data/licenses/LICENSE-chart.js.txt +1 -1
- data/licenses/LICENSE-date-fns.txt +21 -20
- data/licenses/LICENSE-kurkle-color.txt +9 -0
- metadata +8 -11
- data/app/assets/javascripts/pghero/highlight.pack.js +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d8718118d2ebc63b25c38aa1942e09eb01816ab034161803258321c3bf31964
|
4
|
+
data.tar.gz: eb64a910c289fb3aeec9675ee1737ccba0e553ca0234b67483888f6323e58c97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3728a465d113849d4de04f979f44ef770c77bc35b10a730b8018e8e9e13e7cccfac3e99aa44ce14763368e288540ecbe601ad0bde8f546da60754e7ed0ae743
|
7
|
+
data.tar.gz: 8a0cc6584bc5b6e64b0ad5bf830c476d8b5857fcf5ec486b99e211d07d598bc895c8b0eb2ebda4348ede890fab9fe92a8c0de452c69713ef7e863637bc2c1c73
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,66 @@
|
|
1
|
+
## 3.7.0 (2025-05-26)
|
2
|
+
|
3
|
+
- Dropped support for Linux package for Ubuntu 20.04
|
4
|
+
- Dropped support for Ruby < 3.2 and Rails < 7.1
|
5
|
+
|
6
|
+
## 3.6.2 (2025-03-21)
|
7
|
+
|
8
|
+
- Improved query in `sequences` method
|
9
|
+
|
10
|
+
## 3.6.1 (2024-10-14)
|
11
|
+
|
12
|
+
- Fixed error when Propshaft is installed but not used
|
13
|
+
|
14
|
+
## 3.6.0 (2024-07-10)
|
15
|
+
|
16
|
+
- Improved CSP support
|
17
|
+
- Dropped support for Linux packages for Ubuntu 18.04, CentOS 7, and SLES 12
|
18
|
+
- Dropped support for Ruby < 3.1 and Rails < 6.1
|
19
|
+
|
20
|
+
## 3.5.0 (2024-05-21)
|
21
|
+
|
22
|
+
- Added materialized views to space page and `relation_sizes` method
|
23
|
+
- Added Linux package for Debian 12
|
24
|
+
- Fixed error with `slow_queries` method
|
25
|
+
|
26
|
+
## 3.4.1 (2024-02-07)
|
27
|
+
|
28
|
+
- Added current stats to query details page
|
29
|
+
- Improved tune page for latest PgTune
|
30
|
+
|
31
|
+
## 3.4.0 (2023-11-28)
|
32
|
+
|
33
|
+
- Added support for explaining normalized queries with Postgres 16
|
34
|
+
- Added Docker image for `linux/arm64`
|
35
|
+
|
36
|
+
## 3.3.4 (2023-09-05)
|
37
|
+
|
38
|
+
- Fixed support for aliases in config file
|
39
|
+
|
40
|
+
## 3.3.3 (2023-04-18)
|
41
|
+
|
42
|
+
- Fixed error with system stats for Azure Database
|
43
|
+
|
44
|
+
## 3.3.2 (2023-04-12)
|
45
|
+
|
46
|
+
- Fixed error with suggested indexes and empty statements
|
47
|
+
|
48
|
+
## 3.3.1 (2023-03-15)
|
49
|
+
|
50
|
+
- Fixed error with Uglifier
|
51
|
+
|
52
|
+
## 3.3.0 (2023-03-11)
|
53
|
+
|
54
|
+
- Improved handling of lock timeouts
|
55
|
+
- Improved syntax highlighting
|
56
|
+
|
57
|
+
## 3.2.0 (2023-02-21)
|
58
|
+
|
59
|
+
- Added support for pg_query 4
|
60
|
+
- Added `pghero:clean_space_stats` rake task
|
61
|
+
- Added support for specifying retention period with `clean_query_stats` and `clean_space_stats`
|
62
|
+
- Removed reset button when historical query stats are enabled
|
63
|
+
|
1
64
|
## 3.1.0 (2023-01-04)
|
2
65
|
|
3
66
|
- Fixed explain error message leaking data - [more info](https://github.com/ankane/pghero/issues/439)
|
@@ -437,4 +500,18 @@ PgHero.with(:database2) { PgHero.running_queries }
|
|
437
500
|
|
438
501
|
## 0.1.0 (2014-07-23)
|
439
502
|
|
440
|
-
-
|
503
|
+
- Improved explanations
|
504
|
+
- Updated design
|
505
|
+
|
506
|
+
## 0.0.3 (2014-07-22)
|
507
|
+
|
508
|
+
- Fixed `missing_indexes` method
|
509
|
+
|
510
|
+
## 0.0.2 (2014-07-21)
|
511
|
+
|
512
|
+
- Added `unused_tables` method
|
513
|
+
- Added `database_size` method
|
514
|
+
|
515
|
+
## 0.0.1 (2014-07-21)
|
516
|
+
|
517
|
+
- First release
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -4,11 +4,11 @@ A performance dashboard for Postgres
|
|
4
4
|
|
5
5
|
[See it in action](https://pghero.dokkuapp.com/)
|
6
6
|
|
7
|
-
[](https://pghero.dokkuapp.com/)
|
8
8
|
|
9
9
|
:tangerine: Battle-tested at [Instacart](https://www.instacart.com/opensource)
|
10
10
|
|
11
|
-
[](https://github.com/ankane/pghero/actions)
|
12
12
|
|
13
13
|
## Documentation
|
14
14
|
|