newrelic_rpm 9.2.2 → 9.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.build_ignore +21 -0
- data/CHANGELOG.md +55 -0
- data/README.md +4 -4
- data/lib/new_relic/agent/configuration/default_source.rb +77 -29
- data/lib/new_relic/agent/configuration/manager.rb +3 -2
- data/lib/new_relic/agent/configuration/yaml_source.rb +13 -0
- data/lib/new_relic/agent/instrumentation/active_record.rb +1 -1
- data/lib/new_relic/agent/instrumentation/active_record_notifications.rb +2 -1
- data/lib/new_relic/agent/instrumentation/concurrent_ruby/chain.rb +1 -1
- data/lib/new_relic/agent/instrumentation/concurrent_ruby/instrumentation.rb +1 -2
- data/lib/new_relic/agent/instrumentation/concurrent_ruby/prepend.rb +1 -1
- data/lib/new_relic/agent/instrumentation/fiber/chain.rb +10 -3
- data/lib/new_relic/agent/instrumentation/fiber/instrumentation.rb +1 -2
- data/lib/new_relic/agent/instrumentation/fiber/prepend.rb +10 -3
- data/lib/new_relic/agent/instrumentation/memcache/instrumentation.rb +3 -3
- data/lib/new_relic/agent/instrumentation/rails_notifications/action_cable.rb +1 -1
- data/lib/new_relic/agent/instrumentation/thread/chain.rb +1 -1
- data/lib/new_relic/agent/instrumentation/thread/instrumentation.rb +0 -1
- data/lib/new_relic/agent/instrumentation/thread/prepend.rb +1 -1
- data/lib/new_relic/agent/log_event_aggregator.rb +49 -2
- data/lib/new_relic/agent/log_event_attributes.rb +115 -0
- data/lib/new_relic/agent/logging.rb +4 -4
- data/lib/new_relic/agent/method_tracer_helpers.rb +26 -5
- data/lib/new_relic/agent/tracer.rb +2 -2
- data/lib/new_relic/agent.rb +37 -0
- data/lib/new_relic/dependency_detection.rb +6 -0
- data/lib/new_relic/latest_changes.rb +1 -1
- data/lib/new_relic/supportability_helper.rb +1 -0
- data/lib/new_relic/traced_thread.rb +2 -3
- data/lib/new_relic/version.rb +2 -2
- data/lib/sequel/extensions/new_relic_instrumentation.rb +1 -1
- data/lib/tasks/bump_version.rake +21 -0
- data/lib/tasks/helpers/newrelicyml.rb +144 -0
- data/lib/tasks/helpers/version_bump.rb +62 -0
- data/lib/tasks/multiverse.rb +0 -8
- data/lib/tasks/newrelicyml.rake +13 -0
- data/newrelic.yml +307 -266
- data/newrelic_rpm.gemspec +5 -4
- metadata +12 -22
- data/.gitignore +0 -43
- data/.project +0 -23
- data/.rubocop.yml +0 -1845
- data/.rubocop_todo.yml +0 -61
- data/.simplecov +0 -16
- data/.snyk +0 -11
- data/.yardopts +0 -27
- data/Brewfile +0 -13
- data/DOCKER.md +0 -167
- data/Dockerfile +0 -10
- data/Guardfile +0 -27
- data/config/database.yml +0 -5
- data/config.dot +0 -278
- data/docker-compose.yml +0 -107
- data/lefthook.yml +0 -9
- data/test/agent_helper.rb +0 -1027
data/docker-compose.yml
DELETED
@@ -1,107 +0,0 @@
|
|
1
|
-
version: "3.9"
|
2
|
-
services:
|
3
|
-
elasticsearch7:
|
4
|
-
image: elasticsearch:7.16.2
|
5
|
-
ports:
|
6
|
-
- "9200:9200"
|
7
|
-
environment:
|
8
|
-
- discovery.type=single-node
|
9
|
-
- bootstrap.memory_lock=true
|
10
|
-
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
11
|
-
mem_limit: 1g
|
12
|
-
elasticsearch8:
|
13
|
-
image: elasticsearch:8.4.2
|
14
|
-
ports:
|
15
|
-
- "9250:9250"
|
16
|
-
environment:
|
17
|
-
- discovery.type=single-node
|
18
|
-
- xpack.security.enabled=false
|
19
|
-
- http.port=9250
|
20
|
-
- bootstrap.memory_lock=true
|
21
|
-
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
22
|
-
mem_limit: 1g
|
23
|
-
mysql:
|
24
|
-
image: mysql:5.7
|
25
|
-
restart: always
|
26
|
-
environment:
|
27
|
-
MYSQL_ROOT_PASSWORD: mysql_root_password
|
28
|
-
MYSQL_DATABASE: app
|
29
|
-
expose:
|
30
|
-
- "3306"
|
31
|
-
volumes:
|
32
|
-
- mysql:/var/lib/mysql
|
33
|
-
rabbitmq:
|
34
|
-
image: rabbitmq:3.9.12
|
35
|
-
restart: always
|
36
|
-
environment:
|
37
|
-
RABBITMQ_NODENAME: rabbit
|
38
|
-
expose:
|
39
|
-
- "5672"
|
40
|
-
- "15672"
|
41
|
-
- "25672"
|
42
|
-
- "4369"
|
43
|
-
memcached:
|
44
|
-
image: memcached:1.6.12
|
45
|
-
restart: always
|
46
|
-
expose:
|
47
|
-
- "11211"
|
48
|
-
mongodb:
|
49
|
-
image: mongo:5.0.4
|
50
|
-
restart: always
|
51
|
-
volumes:
|
52
|
-
- /data/db
|
53
|
-
expose:
|
54
|
-
- "27017"
|
55
|
-
postgres:
|
56
|
-
image: postgres:14.2
|
57
|
-
restart: always
|
58
|
-
environment:
|
59
|
-
POSTGRES_USER: admin
|
60
|
-
POSTGRES_PASSWORD: postgres_password
|
61
|
-
volumes:
|
62
|
-
- postgres:/var/lib/postgresql/data
|
63
|
-
expose:
|
64
|
-
- "5432"
|
65
|
-
redis:
|
66
|
-
image: redis:6.2.6
|
67
|
-
restart: always
|
68
|
-
volumes:
|
69
|
-
- /var/lib/redis
|
70
|
-
expose:
|
71
|
-
- "6379"
|
72
|
-
app:
|
73
|
-
build:
|
74
|
-
context: .
|
75
|
-
args:
|
76
|
-
- ruby_version=${RUBY_VERSION:-3.1}
|
77
|
-
image: newrelic_rpm
|
78
|
-
tty: true
|
79
|
-
stdin_open: true
|
80
|
-
environment:
|
81
|
-
MYSQL_USERNAME: root
|
82
|
-
MYSQL_PASSWORD: mysql_root_password
|
83
|
-
DATABASE_NAME: app
|
84
|
-
MYSQL_HOST: mysql
|
85
|
-
POSTGRES_USERNAME: admin
|
86
|
-
POSTGRES_PASSWORD: postgres_password
|
87
|
-
command: ["irb"]
|
88
|
-
volumes:
|
89
|
-
- ".:/usr/src/app"
|
90
|
-
depends_on:
|
91
|
-
- elasticsearch7
|
92
|
-
- elasticsearch8
|
93
|
-
- mysql
|
94
|
-
- memcached
|
95
|
-
- mongodb
|
96
|
-
- postgres
|
97
|
-
- rabbitmq
|
98
|
-
- redis
|
99
|
-
sysctls:
|
100
|
-
- "net.ipv6.conf.all.disable_ipv6=0"
|
101
|
-
volumes:
|
102
|
-
mongodb:
|
103
|
-
driver: local
|
104
|
-
mysql:
|
105
|
-
driver: local
|
106
|
-
postgres:
|
107
|
-
driver: local
|
data/lefthook.yml
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
# Lefthook (https://github.com/evilmartians/lefthook) is a git hooks manager
|
2
|
-
# Install it on your machine by running `gem install lefthook`
|
3
|
-
pre-commit:
|
4
|
-
parallel: true
|
5
|
-
commands:
|
6
|
-
rubocop:
|
7
|
-
files: git diff --name-only --staged
|
8
|
-
glob: "*.rb"
|
9
|
-
run: rubocop --force-exclusion {files}
|