scout_apm-sampling 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: b2000ae48898a1059fcff618aa1bbdf9efafbad5b6d381da4843dfb8206a7d1d
4
+ data.tar.gz: cbf36741b8657fcc8d6d4aaee33c44776fd0ab533806ad0961a146d27181dd34
5
+ SHA512:
6
+ metadata.gz: 2aa3d4db4827e5005b202ad25760ec124c74f0a188fdab6780375ef9045af033dcda6f04d7fd97050b65b363d4806a69ae1a998fcf79236adb16aa5baefb0d62
7
+ data.tar.gz: 7eed0c8b5081959f25ff6299f84f586f3c3396ca3ae885c6b00c9139950cd8a95352ed4826aba7fcfd531317350e04c5b9dd74ae59489635a08f27ea65b63a75
@@ -0,0 +1,18 @@
1
+ name: Ruby
2
+
3
+ on: [push, pull_request]
4
+
5
+ jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v2
10
+ - name: Set up Ruby
11
+ uses: ruby/setup-ruby@v1
12
+ with:
13
+ ruby-version: 2.7.2
14
+ - name: Run the default task
15
+ run: |
16
+ gem install bundler
17
+ bundle install
18
+ bundle exec rake
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.rubocop-*
3
+ /.yardoc
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rubocop.yml ADDED
@@ -0,0 +1,6 @@
1
+ inherit_from:
2
+ - https://raw.githubusercontent.com/cookpad/global-style-guides/main/.rubocop.ruby.yml
3
+
4
+ AllCops:
5
+ NewCops: enable
6
+ SuggestExtensions: false
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at s@sikac.hu. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec
4
+
5
+ gem "rubocop", "~> 1.7"
data/Gemfile.lock ADDED
@@ -0,0 +1,102 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ scout_apm-sampling (1.0.0)
5
+ actionpack (>= 6.0)
6
+ activejob (>= 6.0)
7
+ scout_apm (~> 4.0)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ actionpack (6.1.3)
13
+ actionview (= 6.1.3)
14
+ activesupport (= 6.1.3)
15
+ rack (~> 2.0, >= 2.0.9)
16
+ rack-test (>= 0.6.3)
17
+ rails-dom-testing (~> 2.0)
18
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
19
+ actionview (6.1.3)
20
+ activesupport (= 6.1.3)
21
+ builder (~> 3.1)
22
+ erubi (~> 1.4)
23
+ rails-dom-testing (~> 2.0)
24
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
25
+ activejob (6.1.3)
26
+ activesupport (= 6.1.3)
27
+ globalid (>= 0.3.6)
28
+ activesupport (6.1.3)
29
+ concurrent-ruby (~> 1.0, >= 1.0.2)
30
+ i18n (>= 1.6, < 2)
31
+ minitest (>= 5.1)
32
+ tzinfo (~> 2.0)
33
+ zeitwerk (~> 2.3)
34
+ ansi (1.5.0)
35
+ ast (2.4.2)
36
+ builder (3.2.4)
37
+ concurrent-ruby (1.1.8)
38
+ crass (1.0.6)
39
+ erubi (1.10.0)
40
+ globalid (0.4.2)
41
+ activesupport (>= 4.2.0)
42
+ i18n (1.8.9)
43
+ concurrent-ruby (~> 1.0)
44
+ loofah (2.9.0)
45
+ crass (~> 1.0.2)
46
+ nokogiri (>= 1.5.9)
47
+ minitest (5.14.4)
48
+ minitest-reporters (1.4.3)
49
+ ansi
50
+ builder
51
+ minitest (>= 5.0)
52
+ ruby-progressbar
53
+ mocha (1.12.0)
54
+ nokogiri (1.11.1-x86_64-darwin)
55
+ racc (~> 1.4)
56
+ parallel (1.20.1)
57
+ parser (3.0.0.0)
58
+ ast (~> 2.4.1)
59
+ racc (1.5.2)
60
+ rack (2.2.3)
61
+ rack-test (1.1.0)
62
+ rack (>= 1.0, < 3)
63
+ rails-dom-testing (2.0.3)
64
+ activesupport (>= 4.2.0)
65
+ nokogiri (>= 1.6)
66
+ rails-html-sanitizer (1.3.0)
67
+ loofah (~> 2.3)
68
+ rainbow (3.0.0)
69
+ rake (13.0.3)
70
+ regexp_parser (2.1.1)
71
+ rexml (3.2.4)
72
+ rubocop (1.10.0)
73
+ parallel (~> 1.10)
74
+ parser (>= 3.0.0.0)
75
+ rainbow (>= 2.2.2, < 4.0)
76
+ regexp_parser (>= 1.8, < 3.0)
77
+ rexml
78
+ rubocop-ast (>= 1.2.0, < 2.0)
79
+ ruby-progressbar (~> 1.7)
80
+ unicode-display_width (>= 1.4.0, < 3.0)
81
+ rubocop-ast (1.4.1)
82
+ parser (>= 2.7.1.5)
83
+ ruby-progressbar (1.11.0)
84
+ scout_apm (4.0.4)
85
+ parser
86
+ tzinfo (2.0.4)
87
+ concurrent-ruby (~> 1.0)
88
+ unicode-display_width (2.0.0)
89
+ zeitwerk (2.4.2)
90
+
91
+ PLATFORMS
92
+ x86_64-darwin-19
93
+
94
+ DEPENDENCIES
95
+ minitest-reporters
96
+ mocha
97
+ rake (~> 13.0)
98
+ rubocop (~> 1.7)
99
+ scout_apm-sampling!
100
+
101
+ BUNDLED WITH
102
+ 2.2.11
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 Prem Sichanugrist
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,75 @@
1
+ # Scout APM Sampling
2
+
3
+ This gem adds sampling feature to [scout\_apm][1] gem
4
+ base on the recommendations in [Scout APM's documentation][2].
5
+
6
+ [1]: https://github.com/scoutapp/scout_apm_ruby
7
+ [2]: https://docs.scoutapm.com/#sampling-web-requests
8
+
9
+ ## How does this work?
10
+
11
+ This gem is designed to work with a Ruby on Rails application.
12
+
13
+ Once installed, this gem will add `before_action` and `before_perform` callbacks
14
+ to `ActionController:Base` and `ActiveJob::Base` which calculates probability
15
+ and make Scout ignore current transaction if it falls under the threshold.
16
+
17
+ ## Installation
18
+
19
+ Add this line to your application's Gemfile:
20
+
21
+ gem "scout_apm-sampling"
22
+
23
+ And then execute:
24
+
25
+ $ bundle install
26
+
27
+ ## Configuration
28
+
29
+ You can set a sampling rate using `SCOUT_APM_SAMPLING_RATE` environment variable.
30
+ This value will be used as the default sampling rate in your application.
31
+
32
+ export SCOUT_APM_SAMPLING_RATE=0.01 # Sample only 1% of the requests
33
+
34
+ Note that sampling rate should be a decimal ranging from 0-1:
35
+
36
+ * 0: captures no requests
37
+ * 0.75: captures 75% of the requests
38
+ * 1: captures all requests
39
+
40
+ By default, this gem sets `SCOUT_APM_SAMPLING_RATE` to `1` to capture all of
41
+ the requests.
42
+
43
+ ## Development
44
+
45
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run
46
+ `rake test` to run the tests.
47
+
48
+ To install this gem onto your local machine, run `bundle exec rake install`. To
49
+ release a new version, update the version number in `version.rb`, and then run
50
+ `bundle exec rake release`, which will create a git tag for the version, push
51
+ git commits and the created tag, and push the `.gem` file to
52
+ [rubygems.org](https://rubygems.org).
53
+
54
+ ## Contributing
55
+
56
+ Bug reports and pull requests are welcome on
57
+ [GitHub](https://github.com/sikachu/scout_apm-sampling). This project is
58
+ intended to be a safe, welcoming space for collaboration, and contributors are
59
+ expected to adhere to the
60
+ [code of conduct](https://github.com/sikachu/scout_apm-sampling/blob/main/CODE_OF_CONDUCT.md).
61
+
62
+ ## License
63
+
64
+ The gem is available as open source under the terms of the
65
+ [MIT License](https://opensource.org/licenses/MIT).
66
+
67
+ Please note that this gem is created and maintained by third parties and not
68
+ affiliated with Scout APM or Zimuth, Inc. All product names and trademarks
69
+ referred to are the property of their respective owners.
70
+
71
+ ## Code of Conduct
72
+
73
+ Everyone interacting in the this project's codebases, issue
74
+ trackers, chat rooms and mailing lists is expected to follow the
75
+ [code of conduct](https://github.com/sikachu/scout_apm-sampling/blob/main/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,14 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList["test/**/*_test.rb"]
8
+ end
9
+
10
+ require "rubocop/rake_task"
11
+
12
+ RuboCop::RakeTask.new
13
+
14
+ task default: %i(test)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,3 @@
1
+ require_relative "sampling/version"
2
+
3
+ require "scout_apm/sampling/railtie" if defined?(Rails::Railtie)
@@ -0,0 +1,27 @@
1
+ require "scout_apm/transaction"
2
+
3
+ module ScoutApm
4
+ module Sampling
5
+ module Callbacks
6
+ DEFAULT_SCOUT_APM_SAMPLING_RATE = 1.0
7
+
8
+ private
9
+
10
+ def sample_requests_for_scout
11
+ if rand >= scout_apm_sampling_rate
12
+ ScoutApm::Transaction.ignore!
13
+ end
14
+ end
15
+
16
+ def scout_apm_sampling_rate
17
+ sampling_rate = ENV["SCOUT_APM_SAMPLING_RATE"]
18
+
19
+ if sampling_rate.to_s =~ /\A0?\.?[0-9]+\z/
20
+ sampling_rate.to_f
21
+ else
22
+ DEFAULT_SCOUT_APM_SAMPLING_RATE
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,13 @@
1
+ require_relative "callbacks"
2
+
3
+ module ScoutApm
4
+ module Sampling
5
+ module Controller
6
+ include Callbacks
7
+
8
+ def self.included(parent)
9
+ parent.before_action :sample_requests_for_scout
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,18 @@
1
+ require_relative "controller"
2
+ require_relative "worker"
3
+
4
+ module ScoutApm
5
+ module Sampling
6
+ class Railtie < Rails::Railtie
7
+ initializer "scout_apm_sampling.set_configs" do
8
+ ActiveSupport.on_load(:action_controller) do
9
+ include ScoutApm::Sampling::Controller
10
+ end
11
+
12
+ ActiveSupport.on_load(:active_job) do
13
+ include ScoutApm::Sampling::Worker
14
+ end
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,5 @@
1
+ module ScoutApm
2
+ module Sampling
3
+ VERSION = "1.0.0".freeze
4
+ end
5
+ end
@@ -0,0 +1,13 @@
1
+ require_relative "callbacks"
2
+
3
+ module ScoutApm
4
+ module Sampling
5
+ module Worker
6
+ include Callbacks
7
+
8
+ def self.included(parent)
9
+ parent.before_perform :sample_requests_for_scout
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,31 @@
1
+ require_relative "lib/scout_apm/sampling/version"
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "scout_apm-sampling"
5
+ spec.version = ScoutApm::Sampling::VERSION
6
+ spec.authors = ["Prem Sichanugrist"]
7
+ spec.email = ["s@sikac.hu"]
8
+
9
+ spec.summary = "Providing an out-of-the-box sampling feature to scout_apm gem"
10
+ spec.homepage = "https://github.com/sikachu/scout_apm-sampling"
11
+ spec.license = "MIT"
12
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
13
+
14
+ spec.metadata["homepage_uri"] = spec.homepage
15
+ spec.metadata["source_code_uri"] = spec.homepage
16
+
17
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
18
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
19
+ end
20
+ spec.bindir = "exe"
21
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
22
+ spec.require_paths = ["lib"]
23
+
24
+ spec.add_dependency "actionpack", ">= 6.0"
25
+ spec.add_dependency "activejob", ">= 6.0"
26
+ spec.add_dependency "scout_apm", "~> 4.0"
27
+
28
+ spec.add_development_dependency "minitest-reporters"
29
+ spec.add_development_dependency "mocha"
30
+ spec.add_development_dependency "rake", "~> 13.0"
31
+ end
metadata ADDED
@@ -0,0 +1,146 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: scout_apm-sampling
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Prem Sichanugrist
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2021-03-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: actionpack
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '6.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '6.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: activejob
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '6.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '6.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: scout_apm
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '4.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '4.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: minitest-reporters
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: mocha
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '13.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '13.0'
97
+ description:
98
+ email:
99
+ - s@sikac.hu
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - ".github/workflows/main.yml"
105
+ - ".gitignore"
106
+ - ".rubocop.yml"
107
+ - CODE_OF_CONDUCT.md
108
+ - Gemfile
109
+ - Gemfile.lock
110
+ - LICENSE.txt
111
+ - README.md
112
+ - Rakefile
113
+ - bin/setup
114
+ - lib/scout_apm/sampling.rb
115
+ - lib/scout_apm/sampling/callbacks.rb
116
+ - lib/scout_apm/sampling/controller.rb
117
+ - lib/scout_apm/sampling/railtie.rb
118
+ - lib/scout_apm/sampling/version.rb
119
+ - lib/scout_apm/sampling/worker.rb
120
+ - scout_apm-sampling.gemspec
121
+ homepage: https://github.com/sikachu/scout_apm-sampling
122
+ licenses:
123
+ - MIT
124
+ metadata:
125
+ homepage_uri: https://github.com/sikachu/scout_apm-sampling
126
+ source_code_uri: https://github.com/sikachu/scout_apm-sampling
127
+ post_install_message:
128
+ rdoc_options: []
129
+ require_paths:
130
+ - lib
131
+ required_ruby_version: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ version: 2.4.0
136
+ required_rubygems_version: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - ">="
139
+ - !ruby/object:Gem::Version
140
+ version: '0'
141
+ requirements: []
142
+ rubygems_version: 3.1.4
143
+ signing_key:
144
+ specification_version: 4
145
+ summary: Providing an out-of-the-box sampling feature to scout_apm gem
146
+ test_files: []