activeinsights 0.3.3 → 1.0.0

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: 84c15d655869c212ddd97854b4cf385873d9745d0fcab2c5483b0c68c8b78836
4
- data.tar.gz: 2b746db99134c6e4fb97201f7de350f35d98b2ebeea46497906a4b010f62360d
3
+ metadata.gz: e5f5b2bf3d3ddf98282ce8f6af1bf20c3031d4c6cb0c96aee19181a299c3188e
4
+ data.tar.gz: 9ba2322043de81074333f23d904d16db5f8e34eaecb550daf8181b4cddb5ff44
5
5
  SHA512:
6
- metadata.gz: 0f8f6afaa6032ba3aff5d34a972dd4a9c78adf9dfa76f3791a671aa6798a764ad03df41529aa129526eb9fddb7819bb0f558b20552a769f9189e170c1aa5324a
7
- data.tar.gz: 7740a575a4f4c5b23e61701e844abaeae1376c4a721fbdcd36b1f5c583d7a278286b4aad11c720557519d18c1529bbce1640d8236cacc5797c0fccd2fd3d70d0
6
+ metadata.gz: b6cd3afb0ea5820a67b8b8ffd751b23a33a4d6562ef10d7bbfe42b9eea4ece0949b4be4bf4b1cc13cbd2a5287b31c90316562fb81108e202d3fda1c408571828
7
+ data.tar.gz: 3c8c39842143851332bd71bf98c6bbffa74d95c883b39f163756e5892f105505630cfa2a33ac137f4ac49b3a24d7a3d844728acc1b0a9eab53048dd17b6836a6
data/README.md CHANGED
@@ -1,17 +1,21 @@
1
1
  # ActiveInsights
2
2
 
3
- One of the fundemental tools needed to take your Rails app to production is a
4
- way to track response times. Unfortunately, theres no free, easy,
3
+ One of the fundemental tools needed when taking your Rails app to production is
4
+ a way to track response times. Unfortunately, theres no free, easy,
5
5
  open source way to track them for small or medium apps. Skylight, Honeybadger,
6
- Sentry, and AppSignal are great, but they are are closed source and
6
+ Sentry, AppSignal, etc. are great, but they are are closed source and
7
7
  there should be an easy open source alternative where you control the data.
8
8
 
9
- ActiveInsights hooks into the ActiveSupport [instrumention](https://guides.rubyonrails.org/active_support_instrumentation.html#) baked directly into Rails. ActiveInsights tracks RPM, RPM per controller, and p50/p95/p99 response times and charts all those by the minute.
9
+ ActiveInsights hooks into the ActiveSupport [instrumention](https://guides.rubyonrails.org/active_support_instrumentation.html#)
10
+ baked directly into Rails. ActiveInsights tracks RPM, RPM per controller, and
11
+ p50/p95/p99 response times and charts all those by the minute. It also tracks
12
+ jobs per minute, their duration, and latency.
10
13
 
11
14
  ![screenshot 1](https://github.com/npezza93/activeinsights/blob/main/.github/screenshot1.png)
12
15
  ![screenshot 2](https://github.com/npezza93/activeinsights/blob/main/.github/screenshot2.png)
13
16
  ![screenshot 3](https://github.com/npezza93/activeinsights/blob/main/.github/screenshot3.png)
14
17
  ![screenshot 4](https://github.com/npezza93/activeinsights/blob/main/.github/screenshot4.png)
18
+ ![screenshot 5](https://github.com/npezza93/activeinsights/blob/main/.github/screenshot5.png)
15
19
 
16
20
  ## Installation
17
21
  Add this line to your application's Gemfile:
@@ -22,9 +22,9 @@ module ActiveInsights
22
22
  group("strftime('%Y-%m-%d %H:%M:00 UTC', " \
23
23
  "'#{table_name}'.'started_at')")
24
24
  when "Mysql2", "Mysql2Spatial", "Mysql2Rgeo", "Trilogy"
25
- group("CONVERT_TZ(DATE_FORMAT(`#{table_name.split('.').map do |arg|
26
- "`#{arg}`"
27
- end.join('.')}`.`started_at`" \
25
+ group("CONVERT_TZ(DATE_FORMAT(#{table_name.split('.').map do |arg|
26
+ "`#{arg}`"
27
+ end.join('.')}.`started_at`" \
28
28
  ", '%Y-%m-%d %H:%i:00'), 'Etc/UTC', '+00:00')")
29
29
  when "PostgreSQL"
30
30
  group("DATE_TRUNC('minute', \"#{table_name}\"." \
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveInsights
4
- VERSION = "0.3.3"
4
+ VERSION = "1.0.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeinsights
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Pezza
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-23 00:00:00.000000000 Z
11
+ date: 2024-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chartkick
@@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  - !ruby/object:Gem::Version
112
112
  version: '0'
113
113
  requirements: []
114
- rubygems_version: 3.5.3
114
+ rubygems_version: 3.5.5
115
115
  signing_key:
116
116
  specification_version: 4
117
117
  summary: Rails performance tracking