pghero 2.8.3 → 3.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +47 -0
- data/LICENSE.txt +1 -1
- data/app/assets/javascripts/pghero/Chart.bundle.js +23379 -19766
- data/app/assets/javascripts/pghero/application.js +13 -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 +8 -2
- data/app/assets/stylesheets/pghero/nouislider.css +4 -10
- data/app/controllers/pg_hero/home_controller.rb +103 -37
- data/app/helpers/pg_hero/home_helper.rb +2 -2
- data/app/views/layouts/pg_hero/application.html.erb +4 -2
- data/app/views/pg_hero/home/_query_stats_slider.html.erb +6 -6
- data/app/views/pg_hero/home/connections.html.erb +6 -6
- data/app/views/pg_hero/home/explain.html.erb +4 -2
- data/app/views/pg_hero/home/index.html.erb +3 -1
- data/app/views/pg_hero/home/queries.html.erb +4 -2
- data/app/views/pg_hero/home/relation_space.html.erb +1 -1
- data/app/views/pg_hero/home/show_query.html.erb +17 -13
- data/app/views/pg_hero/home/space.html.erb +44 -40
- data/app/views/pg_hero/home/system.html.erb +6 -6
- data/lib/generators/pghero/query_stats_generator.rb +1 -0
- data/lib/generators/pghero/space_stats_generator.rb +1 -0
- data/lib/generators/pghero/templates/config.yml.tt +6 -0
- data/lib/pghero/database.rb +0 -7
- data/lib/pghero/engine.rb +1 -1
- data/lib/pghero/methods/basic.rb +6 -9
- data/lib/pghero/methods/connections.rb +5 -5
- data/lib/pghero/methods/constraints.rb +1 -1
- data/lib/pghero/methods/explain.rb +34 -0
- data/lib/pghero/methods/indexes.rb +8 -8
- data/lib/pghero/methods/kill.rb +1 -1
- data/lib/pghero/methods/maintenance.rb +4 -4
- data/lib/pghero/methods/queries.rb +2 -2
- data/lib/pghero/methods/query_stats.rb +28 -29
- data/lib/pghero/methods/replication.rb +2 -2
- data/lib/pghero/methods/sequences.rb +3 -3
- data/lib/pghero/methods/settings.rb +1 -1
- data/lib/pghero/methods/space.rb +20 -14
- data/lib/pghero/methods/suggested_indexes.rb +40 -110
- data/lib/pghero/methods/system.rb +16 -16
- data/lib/pghero/methods/tables.rb +4 -5
- data/lib/pghero/methods/users.rb +12 -4
- data/lib/pghero/version.rb +1 -1
- data/lib/pghero.rb +90 -65
- 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 +9 -8
- 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: '002087a8cb8c6db43d1f084fd773aa4c8320c6fe77be3d4f42b6ca55ff91d39d'
|
4
|
+
data.tar.gz: fd4cb80b991e10232d7628604049e25685ae3723c53c7dd3231288b369015976
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42a29de1135ce51d59423e0aedafff5261ffea8e93740a40aa80d472a48d01a799349ea9c48f78c027f86d493e342901698707894156b149236ca7e8f101a0a1
|
7
|
+
data.tar.gz: 68e636a77b47b825803c04ef90005827a66ae6abc0dab5f60bde8877f0c0d4aa580daa60c7959042bb0f9f0bb374eda3e885e0903069247a00c7a9a8779945a2
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,50 @@
|
|
1
|
+
## 3.3.3 (2023-04-18)
|
2
|
+
|
3
|
+
- Fixed error with system stats for Azure Database
|
4
|
+
|
5
|
+
## 3.3.2 (2023-04-12)
|
6
|
+
|
7
|
+
- Fixed error with suggested indexes and empty statements
|
8
|
+
|
9
|
+
## 3.3.1 (2023-03-15)
|
10
|
+
|
11
|
+
- Fixed error with Uglifier
|
12
|
+
|
13
|
+
## 3.3.0 (2023-03-11)
|
14
|
+
|
15
|
+
- Improved handling of lock timeouts
|
16
|
+
- Improved syntax highlighting
|
17
|
+
|
18
|
+
## 3.2.0 (2023-02-21)
|
19
|
+
|
20
|
+
- Added support for pg_query 4
|
21
|
+
- Added `pghero:clean_space_stats` rake task
|
22
|
+
- Added support for specifying retention period with `clean_query_stats` and `clean_space_stats`
|
23
|
+
- Removed reset button when historical query stats are enabled
|
24
|
+
|
25
|
+
## 3.1.0 (2023-01-04)
|
26
|
+
|
27
|
+
- Fixed explain error message leaking data - [more info](https://github.com/ankane/pghero/issues/439)
|
28
|
+
- Explain analyze is now opt-in - [more info](https://github.com/ankane/pghero/issues/438)
|
29
|
+
- Added support for disabling explain and explain analyze
|
30
|
+
- Added support for visualize without explain analyze
|
31
|
+
- Added `explain_v2` method
|
32
|
+
|
33
|
+
## 3.0.1 (2022-10-09)
|
34
|
+
|
35
|
+
- Fixed message when database user does not have permission to reset query stats
|
36
|
+
|
37
|
+
## 3.0.0 (2022-09-13)
|
38
|
+
|
39
|
+
- Changed `capture_query_stats` to only reset stats for current database in Postgres 12+
|
40
|
+
- Changed `reset_query_stats` to only reset stats for current database (use `reset_instance_query_stats` to reset stats for entire instance)
|
41
|
+
- Added `visualize_url` option to config
|
42
|
+
- Removed `access_key_id`, `secret_access_key`, `region`, and `db_instance_identifier` methods (use `aws_` prefixed methods instead)
|
43
|
+
- Dropped support for Linux packages for EOL versions
|
44
|
+
- Dropped support for Ruby < 2.7 and Rails < 6
|
45
|
+
- Dropped support for pg_query < 2
|
46
|
+
- Dropped support for aws-sdk < 2
|
47
|
+
|
1
48
|
## 2.8.3 (2022-05-01)
|
2
49
|
|
3
50
|
- Added support for `google-apis-monitoring_v3`
|
data/LICENSE.txt
CHANGED