elastic-apm 4.6.2 → 4.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/.ci/.exclude.yml +193 -0
  3. data/.ci/.ruby.yml +10 -0
  4. data/.ci/scripts/bench.sh +52 -0
  5. data/.ci/scripts/install-build-system.sh +5 -0
  6. data/.ci/snapshoty.yml +2 -3
  7. data/.ci/updatecli/updatecli.d/update-gherkin-specs.yml +84 -0
  8. data/.ci/updatecli/updatecli.d/update-json-specs.yml +84 -0
  9. data/.ci/updatecli/updatecli.d/update-specs.yml +86 -0
  10. data/.ci/updatecli/values.yml +14 -0
  11. data/.github/dependabot.yml +17 -1
  12. data/.github/workflows/README.md +58 -0
  13. data/.github/workflows/addToProject.yml +3 -0
  14. data/.github/workflows/ci-docs.yml +20 -0
  15. data/.github/workflows/ci.yml +70 -0
  16. data/.github/workflows/coverage-reporter.yml +34 -0
  17. data/.github/workflows/labeler.yml +5 -0
  18. data/.github/workflows/microbenchmark.yml +48 -0
  19. data/.github/workflows/opentelemetry.yml +22 -0
  20. data/.github/workflows/release.yml +71 -0
  21. data/.github/workflows/run-matrix.yml +59 -0
  22. data/.github/workflows/snapshoty.yml +35 -0
  23. data/.github/workflows/test-reporter.yml +24 -0
  24. data/.github/workflows/{update-specs.yml → updatecli.yml} +3 -4
  25. data/.pre-commit-config.yaml +0 -2
  26. data/CHANGELOG.asciidoc +39 -0
  27. data/Gemfile +16 -3
  28. data/README.md +1 -1
  29. data/bench/rubyprof.rb +1 -0
  30. data/bin/run-tests +10 -1
  31. data/docker-compose.yml +4 -1
  32. data/docs/configuration.asciidoc +6 -5
  33. data/docs/index.asciidoc +2 -2
  34. data/docs/{log-correlation.asciidoc → logs.asciidoc} +29 -2
  35. data/docs/opentracing.asciidoc +1 -1
  36. data/docs/redirects.asciidoc +9 -0
  37. data/lib/elastic_apm/context_builder.rb +10 -5
  38. data/lib/elastic_apm/metadata/cloud_info.rb +9 -7
  39. data/lib/elastic_apm/metrics.rb +24 -20
  40. data/lib/elastic_apm/span_helpers.rb +6 -6
  41. data/lib/elastic_apm/spies/action_dispatch.rb +11 -3
  42. data/lib/elastic_apm/spies/faraday.rb +8 -1
  43. data/lib/elastic_apm/version.rb +1 -1
  44. metadata +26 -19
  45. data/.ci/.jenkins_exclude.yml +0 -191
  46. data/.ci/.jenkins_ruby.yml +0 -10
  47. data/.ci/.jenkins_ruby_benchmarks.yml +0 -6
  48. data/.ci/Jenkinsfile +0 -450
  49. data/.ci/jobs/apm-agent-ruby-downstream.yml +0 -38
  50. data/.ci/jobs/apm-agent-ruby-linting-mbp.yml +0 -39
  51. data/.ci/jobs/apm-agent-ruby-mbp.yml +0 -43
  52. data/.ci/jobs/apm-agent-ruby.yml +0 -4
  53. data/.ci/jobs/defaults.yml +0 -24
  54. data/.ci/linting.groovy +0 -32
  55. data/.ci/packer_cache.sh +0 -16
  56. data/.ci/update-specs.yml +0 -108
  57. /data/.ci/{.jenkins_codecov.yml → .codecov.yml} +0 -0
  58. /data/.ci/{.jenkins_framework.yml → .framework.yml} +0 -0
  59. /data/.ci/{.jenkins_main_framework.yml → .main_framework.yml} +0 -0
data/.ci/update-specs.yml DELETED
@@ -1,108 +0,0 @@
1
- name: update-specs
2
-
3
- title: synchronize schema specs
4
-
5
- scms:
6
- default:
7
- kind: github
8
- spec:
9
- user: '{{ requiredEnv "GIT_USER" }}'
10
- email: '{{ requiredEnv "GIT_EMAIL" }}'
11
- owner: elastic
12
- repository: apm-agent-ruby
13
- token: '{{ requiredEnv "GITHUB_TOKEN" }}'
14
- username: '{{ requiredEnv "GIT_USER" }}'
15
- branch: main
16
-
17
- sources:
18
- sha:
19
- kind: file
20
- spec:
21
- file: 'https://github.com/elastic/apm-data/commit/main.patch'
22
- matchpattern: "^From\\s([0-9a-f]{40})\\s"
23
- transformers:
24
- - findsubmatch:
25
- pattern: "[0-9a-f]{40}"
26
- error.json:
27
- kind: file
28
- spec:
29
- file: https://raw.githubusercontent.com/elastic/apm-data/main/input/elasticapm/docs/spec/v2/error.json
30
- metadata.json:
31
- kind: file
32
- spec:
33
- file: https://raw.githubusercontent.com/elastic/apm-data/main/input/elasticapm/docs/spec/v2/metadata.json
34
- metricset.json:
35
- kind: file
36
- spec:
37
- file: https://raw.githubusercontent.com/elastic/apm-data/main/input/elasticapm/docs/spec/v2/metricset.json
38
- span.json:
39
- kind: file
40
- spec:
41
- file: https://raw.githubusercontent.com/elastic/apm-data/main/input/elasticapm/docs/spec/v2/span.json
42
- transaction.json:
43
- kind: file
44
- spec:
45
- file: https://raw.githubusercontent.com/elastic/apm-data/main/input/elasticapm/docs/spec/v2/transaction.json
46
-
47
-
48
-
49
-
50
-
51
- actions:
52
- pr:
53
- kind: "github/pullrequest"
54
- scmid: default
55
- sourceid: sha
56
- spec:
57
- automerge: false
58
- draft: false
59
- labels:
60
- - "automation"
61
- description: |-
62
- ### What
63
- APM agent json schema automatic sync
64
- ### Why
65
- *Changeset*
66
- * https://github.com/elastic/apm-data/commit/{{ source "sha" }}
67
-
68
- targets:
69
- error.json:
70
- name: error.json
71
- scmid: default
72
- sourceid: error.json
73
- kind: file
74
- spec:
75
- file: spec/fixtures/error.json
76
- forcecreate: true
77
- metadata.json:
78
- name: metadata.json
79
- scmid: default
80
- sourceid: metadata.json
81
- kind: file
82
- spec:
83
- file: spec/fixtures/metadata.json
84
- forcecreate: true
85
- metricset.json:
86
- name: metricset.json
87
- scmid: default
88
- sourceid: metricset.json
89
- kind: file
90
- spec:
91
- file: spec/fixtures/metricset.json
92
- forcecreate: true
93
- span.json:
94
- name: span.json
95
- scmid: default
96
- sourceid: span.json
97
- kind: file
98
- spec:
99
- file: spec/fixtures/span.json
100
- forcecreate: true
101
- transaction.json:
102
- name: transaction.json
103
- scmid: default
104
- sourceid: transaction.json
105
- kind: file
106
- spec:
107
- file: spec/fixtures/transaction.json
108
- forcecreate: true
File without changes
File without changes