elastic-apm 4.7.2 → 4.8.0

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 (78) hide show
  1. checksums.yaml +4 -4
  2. data/.ci/.exclude.yml +21 -82
  3. data/.ci/.framework.yml +1 -4
  4. data/.ci/.ruby.yml +1 -1
  5. data/.ci/updatecli/values.d/apm-data-spec.yml +1 -0
  6. data/.ci/updatecli/values.d/apm-gherkin.yml +1 -0
  7. data/.ci/updatecli/values.d/apm-json-specs.yml +1 -0
  8. data/.ci/updatecli/values.d/scm.yml +10 -0
  9. data/.ci/updatecli/values.d/update-compose.yml +3 -0
  10. data/.github/PULL_REQUEST_TEMPLATE.md +2 -2
  11. data/.github/dependabot.yml +24 -19
  12. data/.github/workflows/README.md +1 -2
  13. data/.github/workflows/addToProject.yml +19 -2
  14. data/.github/workflows/ci.yml +6 -6
  15. data/.github/workflows/docs-build.yml +19 -0
  16. data/.github/workflows/docs-cleanup.yml +14 -0
  17. data/.github/workflows/github-commands-comment.yml +38 -0
  18. data/.github/workflows/labeler.yml +5 -0
  19. data/.github/workflows/microbenchmark.yml +7 -24
  20. data/.github/workflows/release.yml +39 -24
  21. data/.github/workflows/run-matrix.yml +24 -12
  22. data/.github/workflows/test-reporter.yml +4 -3
  23. data/.github/workflows/updatecli.yml +45 -12
  24. data/Gemfile +13 -0
  25. data/bin/dev +2 -2
  26. data/docs/docset.yml +9 -0
  27. data/docs/reference/advanced-topics.md +12 -0
  28. data/docs/reference/api-reference.md +422 -0
  29. data/docs/reference/configuration.md +734 -0
  30. data/docs/{context.asciidoc → reference/context.md} +21 -21
  31. data/docs/reference/custom-instrumentation.md +72 -0
  32. data/docs/{getting-started-rack.asciidoc → reference/getting-started-rack.md} +20 -29
  33. data/docs/reference/getting-started-rails.md +27 -0
  34. data/docs/reference/graphql.md +21 -0
  35. data/docs/reference/index.md +24 -0
  36. data/docs/{logs.asciidoc → reference/logs.md} +38 -56
  37. data/docs/reference/metrics.md +199 -0
  38. data/docs/reference/opentracing-api.md +70 -0
  39. data/docs/reference/performance-tuning.md +71 -0
  40. data/docs/reference/set-up-apm-ruby-agent.md +16 -0
  41. data/docs/reference/supported-technologies.md +128 -0
  42. data/docs/reference/toc.yml +22 -0
  43. data/docs/reference/upgrading.md +19 -0
  44. data/docs/release-notes/index.md +166 -0
  45. data/docs/release-notes/known-issues.md +24 -0
  46. data/docs/release-notes/toc.yml +3 -0
  47. data/lib/elastic_apm/context_builder.rb +11 -6
  48. data/lib/elastic_apm/spies/sidekiq.rb +2 -1
  49. data/lib/elastic_apm/stacktrace_builder.rb +3 -3
  50. data/lib/elastic_apm/version.rb +1 -1
  51. data/updatecli-compose.yaml +23 -0
  52. metadata +37 -35
  53. data/.ci/snapshoty.yml +0 -33
  54. data/.ci/updatecli.d/update-gherkin-specs.yml +0 -126
  55. data/.ci/updatecli.d/update-json-specs.yml +0 -130
  56. data/.ci/updatecli.d/update-specs.yml +0 -118
  57. data/.github/workflows/coverage-reporter.yml +0 -34
  58. data/.github/workflows/opentelemetry.yml +0 -27
  59. data/.github/workflows/snapshoty.yml +0 -35
  60. data/CHANGELOG.asciidoc +0 -983
  61. data/docs/advanced.asciidoc +0 -14
  62. data/docs/api.asciidoc +0 -487
  63. data/docs/configuration.asciidoc +0 -889
  64. data/docs/custom-instrumentation.asciidoc +0 -80
  65. data/docs/debugging.asciidoc +0 -44
  66. data/docs/getting-started-rails.asciidoc +0 -30
  67. data/docs/graphql.asciidoc +0 -23
  68. data/docs/index.asciidoc +0 -38
  69. data/docs/introduction.asciidoc +0 -36
  70. data/docs/metrics.asciidoc +0 -235
  71. data/docs/opentracing.asciidoc +0 -94
  72. data/docs/performance-tuning.asciidoc +0 -106
  73. data/docs/redirects.asciidoc +0 -9
  74. data/docs/release-notes.asciidoc +0 -15
  75. data/docs/set-up.asciidoc +0 -19
  76. data/docs/supported-technologies.asciidoc +0 -157
  77. data/docs/upgrading.asciidoc +0 -18
  78. /data/docs/{images → reference/images}/dynamic-config.svg +0 -0
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elastic-apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.7.2
4
+ version: 4.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikkel Malmberg
8
8
  - Emily Stolfo
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-01-23 00:00:00.000000000 Z
12
+ date: 2025-05-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: concurrent-ruby
@@ -53,7 +53,7 @@ dependencies:
53
53
  - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
- description:
56
+ description:
57
57
  email:
58
58
  - info@elastic.co
59
59
  executables: []
@@ -75,10 +75,11 @@ files:
75
75
  - ".ci/docker/jruby/test.sh"
76
76
  - ".ci/scripts/bench.sh"
77
77
  - ".ci/scripts/install-build-system.sh"
78
- - ".ci/snapshoty.yml"
79
- - ".ci/updatecli.d/update-gherkin-specs.yml"
80
- - ".ci/updatecli.d/update-json-specs.yml"
81
- - ".ci/updatecli.d/update-specs.yml"
78
+ - ".ci/updatecli/values.d/apm-data-spec.yml"
79
+ - ".ci/updatecli/values.d/apm-gherkin.yml"
80
+ - ".ci/updatecli/values.d/apm-json-specs.yml"
81
+ - ".ci/updatecli/values.d/scm.yml"
82
+ - ".ci/updatecli/values.d/update-compose.yml"
82
83
  - ".github/ISSUE_TEMPLATE/Bug_report.md"
83
84
  - ".github/ISSUE_TEMPLATE/Feature_request.md"
84
85
  - ".github/PULL_REQUEST_TEMPLATE.md"
@@ -88,20 +89,19 @@ files:
88
89
  - ".github/workflows/addToProject.yml"
89
90
  - ".github/workflows/ci-docs.yml"
90
91
  - ".github/workflows/ci.yml"
91
- - ".github/workflows/coverage-reporter.yml"
92
+ - ".github/workflows/docs-build.yml"
93
+ - ".github/workflows/docs-cleanup.yml"
94
+ - ".github/workflows/github-commands-comment.yml"
92
95
  - ".github/workflows/labeler.yml"
93
96
  - ".github/workflows/microbenchmark.yml"
94
- - ".github/workflows/opentelemetry.yml"
95
97
  - ".github/workflows/release.yml"
96
98
  - ".github/workflows/run-matrix.yml"
97
- - ".github/workflows/snapshoty.yml"
98
99
  - ".github/workflows/test-reporter.yml"
99
100
  - ".github/workflows/updatecli.yml"
100
101
  - ".gitignore"
101
102
  - ".pre-commit-config.yaml"
102
103
  - ".rspec"
103
104
  - ".rubocop.yml"
104
- - CHANGELOG.asciidoc
105
105
  - CODE_OF_CONDUCT.md
106
106
  - CONTRIBUTING.md
107
107
  - Dockerfile
@@ -126,27 +126,28 @@ files:
126
126
  - bin/setup
127
127
  - bin/with_framework
128
128
  - docker-compose.yml
129
- - docs/advanced.asciidoc
130
- - docs/api.asciidoc
131
- - docs/configuration.asciidoc
132
- - docs/context.asciidoc
133
- - docs/custom-instrumentation.asciidoc
134
- - docs/debugging.asciidoc
135
- - docs/getting-started-rack.asciidoc
136
- - docs/getting-started-rails.asciidoc
137
- - docs/graphql.asciidoc
138
- - docs/images/dynamic-config.svg
139
- - docs/index.asciidoc
140
- - docs/introduction.asciidoc
141
- - docs/logs.asciidoc
142
- - docs/metrics.asciidoc
143
- - docs/opentracing.asciidoc
144
- - docs/performance-tuning.asciidoc
145
- - docs/redirects.asciidoc
146
- - docs/release-notes.asciidoc
147
- - docs/set-up.asciidoc
148
- - docs/supported-technologies.asciidoc
149
- - docs/upgrading.asciidoc
129
+ - docs/docset.yml
130
+ - docs/reference/advanced-topics.md
131
+ - docs/reference/api-reference.md
132
+ - docs/reference/configuration.md
133
+ - docs/reference/context.md
134
+ - docs/reference/custom-instrumentation.md
135
+ - docs/reference/getting-started-rack.md
136
+ - docs/reference/getting-started-rails.md
137
+ - docs/reference/graphql.md
138
+ - docs/reference/images/dynamic-config.svg
139
+ - docs/reference/index.md
140
+ - docs/reference/logs.md
141
+ - docs/reference/metrics.md
142
+ - docs/reference/opentracing-api.md
143
+ - docs/reference/performance-tuning.md
144
+ - docs/reference/set-up-apm-ruby-agent.md
145
+ - docs/reference/supported-technologies.md
146
+ - docs/reference/toc.yml
147
+ - docs/reference/upgrading.md
148
+ - docs/release-notes/index.md
149
+ - docs/release-notes/known-issues.md
150
+ - docs/release-notes/toc.yml
150
151
  - elastic-apm.gemspec
151
152
  - lib/elastic-apm.rb
152
153
  - lib/elastic_apm.rb
@@ -282,12 +283,13 @@ files:
282
283
  - lib/elastic_apm/util/precision_validator.rb
283
284
  - lib/elastic_apm/util/throttle.rb
284
285
  - lib/elastic_apm/version.rb
286
+ - updatecli-compose.yaml
285
287
  homepage: https://github.com/elastic/apm-agent-ruby
286
288
  licenses:
287
289
  - Apache-2.0
288
290
  metadata:
289
291
  source_code_uri: https://github.com/elastic/apm-agent-ruby
290
- post_install_message:
292
+ post_install_message:
291
293
  rdoc_options: []
292
294
  require_paths:
293
295
  - lib
@@ -303,7 +305,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
303
305
  version: '0'
304
306
  requirements: []
305
307
  rubygems_version: 3.0.3.1
306
- signing_key:
308
+ signing_key:
307
309
  specification_version: 4
308
310
  summary: The official Elastic APM agent for Ruby
309
311
  test_files: []
data/.ci/snapshoty.yml DELETED
@@ -1,33 +0,0 @@
1
- ---
2
-
3
- # Version of configuration to use
4
- version: '1.0'
5
-
6
- # You can define a Google Cloud Account to use
7
- account:
8
- # Project id of the service account
9
- project: '${GCS_PROJECT}'
10
- # Private key id of the service account
11
- private_key_id: '${GCS_PRIVATE_KEY_ID}'
12
- # Private key of the service account
13
- private_key: '${GCS_PRIVATE_KEY}'
14
- # Email of the service account
15
- client_email: '${GCS_CLIENT_EMAIL}'
16
- # URI token
17
- token_uri: 'https://oauth2.googleapis.com/token'
18
-
19
- # List of artifacts
20
- artifacts:
21
- # Path to use for artifacts discovery
22
- - path: './pkg'
23
- # Files pattern to match
24
- files_pattern: 'elastic-apm-(?P<app_version>\d+\.\d+\.\d+)\.gem'
25
- # File layout on GCS bucket
26
- output_pattern: '{project}/{github_branch_name}/elastic-apm-ruby-{app_version}-{github_sha_short}.gem'
27
- # List of metadata processors to use.
28
- metadata:
29
- # Define static custom metadata
30
- - name: 'custom'
31
- data:
32
- project: 'apm-agent-ruby'
33
- - name: 'github_actions'
@@ -1,126 +0,0 @@
1
- name: update-gherkin-specs
2
- pipelineid: update-gherkin-specs
3
- title: synchronize gherkin 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/commit/main.patch'
22
- matchpattern: "^From\\s([0-9a-f]{40})\\s"
23
- transformers:
24
- - findsubmatch:
25
- pattern: "[0-9a-f]{40}"
26
- pull_request:
27
- kind: shell
28
- dependson:
29
- - sha
30
- spec:
31
- command: gh api /repos/elastic/apm/commits/{{ source "sha" }}/pulls --jq '.[].html_url'
32
- environments:
33
- - name: GITHUB_TOKEN
34
- - name: PATH
35
- api_key.feature:
36
- kind: file
37
- spec:
38
- file: https://raw.githubusercontent.com/elastic/apm/main/tests/agents/gherkin-specs/api_key.feature
39
- azure_app_service_metadata.feature:
40
- kind: file
41
- spec:
42
- file: https://raw.githubusercontent.com/elastic/apm/main/tests/agents/gherkin-specs/azure_app_service_metadata.feature
43
- azure_functions_metadata.feature:
44
- kind: file
45
- spec:
46
- file: https://raw.githubusercontent.com/elastic/apm/main/tests/agents/gherkin-specs/azure_functions_metadata.feature
47
- otel_bridge.feature:
48
- kind: file
49
- spec:
50
- file: https://raw.githubusercontent.com/elastic/apm/main/tests/agents/gherkin-specs/otel_bridge.feature
51
- outcome.feature:
52
- kind: file
53
- spec:
54
- file: https://raw.githubusercontent.com/elastic/apm/main/tests/agents/gherkin-specs/outcome.feature
55
- user_agent.feature:
56
- kind: file
57
- spec:
58
- file: https://raw.githubusercontent.com/elastic/apm/main/tests/agents/gherkin-specs/user_agent.feature
59
-
60
- actions:
61
- pr:
62
- kind: "github/pullrequest"
63
- scmid: default
64
- title: '[Automation] Update Gherkin specs'
65
- spec:
66
- automerge: false
67
- draft: false
68
- labels:
69
- - "automation"
70
- description: |-
71
- ### What
72
- APM agent Gherkin specs automatic sync
73
- ### Why
74
- *Changeset*
75
- * https://github.com/elastic/apm/commit/{{ source "sha" }}
76
- * {{ source "pull_request" }}
77
-
78
- targets:
79
- api_key.feature:
80
- name: api_key.feature
81
- scmid: default
82
- sourceid: api_key.feature
83
- kind: file
84
- spec:
85
- file: features/api_key.feature
86
- forcecreate: true
87
- azure_app_service_metadata.feature:
88
- name: azure_app_service_metadata.feature
89
- scmid: default
90
- sourceid: azure_app_service_metadata.feature
91
- kind: file
92
- spec:
93
- file: features/azure_app_service_metadata.feature
94
- forcecreate: true
95
- azure_functions_metadata.feature:
96
- name: azure_functions_metadata.feature
97
- scmid: default
98
- sourceid: azure_functions_metadata.feature
99
- kind: file
100
- spec:
101
- file: features/azure_functions_metadata.feature
102
- forcecreate: true
103
- otel_bridge.feature:
104
- name: otel_bridge.feature
105
- scmid: default
106
- sourceid: otel_bridge.feature
107
- kind: file
108
- spec:
109
- file: features/otel_bridge.feature
110
- forcecreate: true
111
- outcome.feature:
112
- name: outcome.feature
113
- scmid: default
114
- sourceid: outcome.feature
115
- kind: file
116
- spec:
117
- file: features/outcome.feature
118
- forcecreate: true
119
- user_agent.feature:
120
- name: user_agent.feature
121
- scmid: default
122
- sourceid: user_agent.feature
123
- kind: file
124
- spec:
125
- file: features/user_agent.feature
126
- forcecreate: true
@@ -1,130 +0,0 @@
1
- name: update-json-specs
2
- pipelineid: update-json-specs
3
- title: synchronize json 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/commit/main.patch'
22
- matchpattern: "^From\\s([0-9a-f]{40})\\s"
23
- transformers:
24
- - findsubmatch:
25
- pattern: "[0-9a-f]{40}"
26
- pull_request:
27
- kind: shell
28
- dependson:
29
- - sha
30
- spec:
31
- command: gh api /repos/elastic/apm/commits/{{ source "sha" }}/pulls --jq '.[].html_url'
32
- environments:
33
- - name: GITHUB_TOKEN
34
- - name: PATH
35
- container_metadata_discovery.json:
36
- kind: file
37
- spec:
38
- file: https://raw.githubusercontent.com/elastic/apm/main/tests/agents/json-specs/container_metadata_discovery.json
39
- service_resource_inference.json:
40
- kind: file
41
- spec:
42
- file: https://raw.githubusercontent.com/elastic/apm/main/tests/agents/json-specs/service_resource_inference.json
43
- span_types.json:
44
- kind: file
45
- spec:
46
- file: https://raw.githubusercontent.com/elastic/apm/main/tests/agents/json-specs/span_types.json
47
- sql_signature_examples.json:
48
- kind: file
49
- spec:
50
- file: https://raw.githubusercontent.com/elastic/apm/main/tests/agents/json-specs/sql_signature_examples.json
51
- sql_token_examples.json:
52
- kind: file
53
- spec:
54
- file: https://raw.githubusercontent.com/elastic/apm/main/tests/agents/json-specs/sql_token_examples.json
55
- w3c_distributed_tracing.json:
56
- kind: file
57
- spec:
58
- file: https://raw.githubusercontent.com/elastic/apm/main/tests/agents/json-specs/w3c_distributed_tracing.json
59
- wildcard_matcher_tests.json:
60
- kind: file
61
- spec:
62
- file: https://raw.githubusercontent.com/elastic/apm/main/tests/agents/json-specs/wildcard_matcher_tests.json
63
- actions:
64
- pr:
65
- kind: "github/pullrequest"
66
- scmid: default
67
- title: '[Automation] Update JSON specs'
68
- spec:
69
- automerge: false
70
- draft: false
71
- labels:
72
- - "automation"
73
- description: |-
74
- ### What
75
- APM agent specs automatic sync
76
- ### Why
77
- *Changeset*
78
- * https://github.com/elastic/apm/commit/{{ source "sha" }}
79
- * {{ source "pull_request" }}
80
-
81
- targets:
82
- container_metadata_discovery.json:
83
- name: container_metadata_discovery.json
84
- scmid: default
85
- sourceid: container_metadata_discovery.json
86
- kind: file
87
- spec:
88
- file: spec/fixtures/container_metadata_discovery.json
89
- service_resource_inference.json:
90
- name: service_resource_inference.json
91
- scmid: default
92
- sourceid: service_resource_inference.json
93
- kind: file
94
- spec:
95
- file: spec/fixtures/service_resource_inference.json
96
- span_types.json:
97
- name: span_types.json
98
- scmid: default
99
- sourceid: span_types.json
100
- kind: file
101
- spec:
102
- file: spec/fixtures/span_types.json
103
- sql_signature_examples.json:
104
- name: sql_signature_examples.json
105
- scmid: default
106
- sourceid: sql_signature_examples.json
107
- kind: file
108
- spec:
109
- file: spec/fixtures/sql_signature_examples.json
110
- sql_token_examples.json:
111
- name: sql_token_examples.json
112
- scmid: default
113
- sourceid: sql_token_examples.json
114
- kind: file
115
- spec:
116
- file: spec/fixtures/sql_token_examples.json
117
- w3c_distributed_tracing.json:
118
- name: w3c_distributed_tracing.json
119
- scmid: default
120
- sourceid: w3c_distributed_tracing.json
121
- kind: file
122
- spec:
123
- file: spec/fixtures/w3c_distributed_tracing.json
124
- wildcard_matcher_tests.json:
125
- name: wildcard_matcher_tests.json
126
- scmid: default
127
- sourceid: wildcard_matcher_tests.json
128
- kind: file
129
- spec:
130
- file: spec/fixtures/wildcard_matcher_tests.json
@@ -1,118 +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
- pull_request:
27
- kind: shell
28
- dependson:
29
- - sha
30
- spec:
31
- command: gh api /repos/elastic/apm-data/commits/{{ source "sha" }}/pulls --jq '.[].html_url'
32
- environments:
33
- - name: GITHUB_TOKEN
34
- - name: PATH
35
- error.json:
36
- kind: file
37
- spec:
38
- file: https://raw.githubusercontent.com/elastic/apm-data/main/input/elasticapm/docs/spec/v2/error.json
39
- metadata.json:
40
- kind: file
41
- spec:
42
- file: https://raw.githubusercontent.com/elastic/apm-data/main/input/elasticapm/docs/spec/v2/metadata.json
43
- metricset.json:
44
- kind: file
45
- spec:
46
- file: https://raw.githubusercontent.com/elastic/apm-data/main/input/elasticapm/docs/spec/v2/metricset.json
47
- span.json:
48
- kind: file
49
- spec:
50
- file: https://raw.githubusercontent.com/elastic/apm-data/main/input/elasticapm/docs/spec/v2/span.json
51
- transaction.json:
52
- kind: file
53
- spec:
54
- file: https://raw.githubusercontent.com/elastic/apm-data/main/input/elasticapm/docs/spec/v2/transaction.json
55
-
56
-
57
-
58
-
59
-
60
- actions:
61
- pr:
62
- kind: "github/pullrequest"
63
- scmid: default
64
- sourceid: sha
65
- spec:
66
- automerge: false
67
- draft: false
68
- labels:
69
- - "automation"
70
- description: |-
71
- ### What
72
- APM agent json schema automatic sync
73
- ### Why
74
- *Changeset*
75
- * https://github.com/elastic/apm-data/commit/{{ source "sha" }}
76
- * {{ source "pull_request" }}
77
-
78
- targets:
79
- error.json:
80
- name: error.json
81
- scmid: default
82
- sourceid: error.json
83
- kind: file
84
- spec:
85
- file: spec/fixtures/error.json
86
- forcecreate: true
87
- metadata.json:
88
- name: metadata.json
89
- scmid: default
90
- sourceid: metadata.json
91
- kind: file
92
- spec:
93
- file: spec/fixtures/metadata.json
94
- forcecreate: true
95
- metricset.json:
96
- name: metricset.json
97
- scmid: default
98
- sourceid: metricset.json
99
- kind: file
100
- spec:
101
- file: spec/fixtures/metricset.json
102
- forcecreate: true
103
- span.json:
104
- name: span.json
105
- scmid: default
106
- sourceid: span.json
107
- kind: file
108
- spec:
109
- file: spec/fixtures/span.json
110
- forcecreate: true
111
- transaction.json:
112
- name: transaction.json
113
- scmid: default
114
- sourceid: transaction.json
115
- kind: file
116
- spec:
117
- file: spec/fixtures/transaction.json
118
- forcecreate: true
@@ -1,34 +0,0 @@
1
- ---
2
- ## Workflow to process coverage report
3
- ## For now the coverage is not reported. This workflow is just here as preparation for
4
- ## https://github.com/elastic/observability-robots/issues/1546
5
- name: coverage-reporter
6
- on:
7
- workflow_run:
8
- workflows:
9
- - test
10
- types:
11
- - completed
12
-
13
- permissions:
14
- contents: read
15
-
16
- jobs:
17
- report:
18
- runs-on: ubuntu-latest
19
- steps:
20
- - uses: actions/checkout@v3
21
- - name: Download artifacts
22
- run: >
23
- gh run download ${{ github.event.workflow_run.id }}
24
- --name coverage
25
- --repo "${GITHUB_REPOSITORY}"
26
- --dir coverage
27
- env:
28
- GH_TOKEN: ${{ github.token }}
29
- - run: ls -l coverage/matrix_results
30
- # - run: ./spec/scripts/coverage_converge.sh
31
- # - uses: actions/upload-artifact@v3
32
- # with:
33
- # name: coverage-report
34
- # path: coverage/coverage.xml
@@ -1,27 +0,0 @@
1
- ---
2
- name: OpenTelemetry Export Trace
3
-
4
- on:
5
- workflow_run:
6
- workflows:
7
- - Auto Assign to Project(s)
8
- - Issue Labeler
9
- - ci
10
- - coverage-reporter
11
- - microbenchmark
12
- - release
13
- - run-matrix
14
- - snapshoty
15
- - test-reporter
16
- - updatecli
17
- types: [completed]
18
-
19
- jobs:
20
- otel-export-trace:
21
- runs-on: ubuntu-latest
22
- steps:
23
- - uses: elastic/apm-pipeline-library/.github/actions/opentelemetry@current
24
- with:
25
- vaultUrl: ${{ secrets.VAULT_ADDR }}
26
- vaultRoleId: ${{ secrets.VAULT_ROLE_ID }}
27
- vaultSecretId: ${{ secrets.VAULT_SECRET_ID }}
@@ -1,35 +0,0 @@
1
- name: snapshoty
2
-
3
- on:
4
- workflow_run:
5
- workflows:
6
- - ci
7
- types:
8
- - completed
9
- branches:
10
- - main
11
-
12
- permissions:
13
- contents: read
14
-
15
- jobs:
16
- publish:
17
- if: ${{ github.event.workflow_run.conclusion == 'success' }}
18
- runs-on: ubuntu-latest
19
- steps:
20
- - uses: actions/checkout@v3
21
- - name: Download artifacts
22
- run: >
23
- gh run download ${{ github.event.workflow_run.id }}
24
- --name package
25
- --repo "${GITHUB_REPOSITORY}"
26
- --dir pkg
27
- env:
28
- GH_TOKEN: ${{ github.token }}
29
- - name: Publish snapshot
30
- uses: elastic/apm-pipeline-library/.github/actions/snapshoty-simple@current
31
- with:
32
- config: '.ci/snapshoty.yml'
33
- vaultUrl: ${{ secrets.VAULT_ADDR }}
34
- vaultRoleId: ${{ secrets.VAULT_ROLE_ID }}
35
- vaultSecretId: ${{ secrets.VAULT_SECRET_ID }}