postgres-vacuum-monitor 0.13.0 → 0.13.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ecacd2083b9dce976f90581b45fafec47c1afb85a3eb90745214967b93e91283
4
- data.tar.gz: 528c6c23d08af83294307b0e4a1348ebdf34c39ad0dad71a9b4e4bd1264bad8c
3
+ metadata.gz: '082c2f8346ce9818ec9d1d1ba966a555c9a0a9704bba9feb8741edeb607c4c07'
4
+ data.tar.gz: 4440a8332d14afbf101a9a60f952c675b0b33d9a05aecea5032dcb9239452312
5
5
  SHA512:
6
- metadata.gz: 53623252efd07a01b6b2516f2409f7cf78d5fac48e911276098dfbe8f7d304b9e2ff8ad8221b6f246c9574850061200838272aaca6916915831729d5540162db
7
- data.tar.gz: 10dfced23c37359a58dad1b89065cbe84c24bb25f6ce7ef44f5255225123d2a696f080010817cadac6a35201e1ab9b4bceb8546663793750e2750bc2045a1611
6
+ metadata.gz: 9995a564229b3ab86783208f918d6fc8e81f549fb6a4a48101badf6d2910c56166de583582ce527683dde9c936b5da731ac4ec5687beb6d7055fe52d958f1383
7
+ data.tar.gz: 2b3b73d7f5958d7f1309cb8b0e0ff1318538b7ac94fc3df8bc1c2d4e9006e70291f45db36f2e39f7151603ab803694fe0ca286a8a7c1dfc6f5fd7b9b056c3990
data/.circleci/config.yml CHANGED
@@ -31,9 +31,11 @@ jobs:
31
31
  type: string
32
32
  ruby_version:
33
33
  type: string
34
+ postgres_version:
35
+ type: string
34
36
  docker:
35
37
  - image: salsify/ruby_ci:<< parameters.ruby_version >>
36
- - image: circleci/postgres:12.9
38
+ - image: cimg/postgres:<< parameters.postgres_version >>
37
39
  environment:
38
40
  POSTGRES_USER: "circleci"
39
41
  POSTGRES_DB: "circle_test"
@@ -92,3 +94,6 @@ workflows:
92
94
  - "3.0.5"
93
95
  - "3.1.3"
94
96
  - "3.2.0"
97
+ postgres_version:
98
+ - "12.9"
99
+ - "14.7"
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # postgres-vacuum-monitor
2
2
 
3
+ ## v0.13.1
4
+ - Fix epoch reporting in Postgres 14
5
+
3
6
  ## v0.13.0
4
7
  - Add support for ruby 3.2 and Rails 7.0
5
8
  - Drop support for ruby < 2.7 and Rails < 6.0.
@@ -31,7 +34,7 @@
31
34
  - Add `wait_event_type`, `transaction_id` and `min_transaction_id` to `LongTransactions` events.
32
35
 
33
36
  ## v.0.5.0
34
- - Renamed `LongQueries` event to `LongTransactions`.
37
+ - Renamed `LongQueries` event to `LongTransactions`.
35
38
  - Renamed `LongTransactions.query` to `LongTransactions.most_recent_query` and added a
36
39
  transaction `state` attribute.
37
40
 
@@ -43,4 +46,3 @@
43
46
 
44
47
  ## v.0.3.1
45
48
  - Relax pg requirements
46
-
@@ -18,7 +18,7 @@ module Postgres
18
18
  LONG_TRANSACTIONS,
19
19
  database_name: name,
20
20
  start_time: row['xact_start'],
21
- running_time: row['seconds'],
21
+ running_time: row['seconds'].to_i,
22
22
  application_name: row['application_name'],
23
23
  most_recent_query: row['query'],
24
24
  state: row['state'],
@@ -65,9 +65,9 @@ module Postgres
65
65
  reporter_class.report_event(
66
66
  CONNECTION_IDLE_TIME,
67
67
  database_name: name,
68
- max: row['max'],
69
- median: row['median'],
70
- percentile_90: row['percentile_90']
68
+ max: row['max'].to_i,
69
+ median: row['median'].to_i,
70
+ percentile_90: row['percentile_90'].to_i
71
71
  )
72
72
  end
73
73
  end
@@ -3,7 +3,7 @@
3
3
  module Postgres
4
4
  module Vacuum
5
5
  module Monitor
6
- VERSION = '0.13.0'
6
+ VERSION = '0.13.1'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postgres-vacuum-monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernando Garces
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-12 00:00:00.000000000 Z
11
+ date: 2023-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: appraisal