elastic-apm 4.6.0 → 4.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ci/.exclude.yml +193 -0
- data/.ci/.main_framework.yml +4 -0
- data/.ci/.ruby.yml +10 -0
- data/.ci/docker/jruby/11-jdk/Dockerfile +8 -3
- data/.ci/docker/jruby/12-jdk/Dockerfile +5 -2
- data/.ci/docker/jruby/13-jdk/Dockerfile +5 -2
- data/.ci/docker/jruby/7-jdk/Dockerfile +6 -3
- data/.ci/docker/jruby/8-jdk/Dockerfile +8 -3
- data/.ci/docker/jruby/README.md +1 -1
- data/.ci/docker/jruby/run.sh +33 -9
- data/.ci/docker/jruby/test.sh +17 -2
- data/.ci/scripts/bench.sh +52 -0
- data/.ci/scripts/install-build-system.sh +5 -0
- data/.ci/snapshoty.yml +33 -0
- data/.ci/updatecli.d/update-gherkin-specs.yml +117 -0
- data/.ci/updatecli.d/update-json-specs.yml +121 -0
- data/.ci/updatecli.d/update-specs.yml +108 -0
- data/.github/workflows/ci-docs.yml +20 -0
- data/.github/workflows/ci.yml +70 -0
- data/.github/workflows/coverage-reporter.yml +34 -0
- data/.github/workflows/microbenchmark.yml +48 -0
- data/.github/workflows/opentelemetry.yml +27 -0
- data/.github/workflows/release.yml +71 -0
- data/.github/workflows/run-matrix.yml +56 -0
- data/.github/workflows/snapshoty.yml +35 -0
- data/.github/workflows/test-reporter.yml +24 -0
- data/.github/workflows/updatecli.yml +28 -0
- data/.pre-commit-config.yaml +0 -2
- data/CHANGELOG.asciidoc +29 -1
- data/CONTRIBUTING.md +1 -1
- data/Gemfile +8 -2
- data/README.md +1 -1
- data/Rakefile +2 -2
- data/bench/rubyprof.rb +1 -0
- data/bin/run-tests +10 -1
- data/docker-compose.yml +10 -1
- data/docs/configuration.asciidoc +6 -5
- data/docs/index.asciidoc +2 -2
- data/docs/{log-correlation.asciidoc → logs.asciidoc} +29 -2
- data/docs/opentracing.asciidoc +1 -1
- data/docs/redirects.asciidoc +9 -0
- data/lib/elastic_apm/context_builder.rb +3 -3
- data/lib/elastic_apm/metrics.rb +24 -20
- data/lib/elastic_apm/span_helpers.rb +6 -6
- data/lib/elastic_apm/spies/faraday.rb +13 -4
- data/lib/elastic_apm/trace_context/tracestate.rb +3 -1
- data/lib/elastic_apm/transport/connection/http.rb +9 -3
- data/lib/elastic_apm/version.rb +1 -1
- metadata +25 -17
- data/.ci/.jenkins_exclude.yml +0 -191
- data/.ci/.jenkins_main_framework.yml +0 -4
- data/.ci/.jenkins_ruby.yml +0 -10
- data/.ci/.jenkins_ruby_benchmarks.yml +0 -6
- data/.ci/Jenkinsfile +0 -419
- data/.ci/jobs/apm-agent-ruby-downstream.yml +0 -38
- data/.ci/jobs/apm-agent-ruby-linting-mbp.yml +0 -39
- data/.ci/jobs/apm-agent-ruby-mbp.yml +0 -43
- data/.ci/jobs/apm-agent-ruby.yml +0 -4
- data/.ci/jobs/defaults.yml +0 -24
- data/.ci/linting.groovy +0 -32
- data/.ci/packer_cache.sh +0 -16
- /data/.ci/{.jenkins_codecov.yml → .codecov.yml} +0 -0
- /data/.ci/{.jenkins_framework.yml → .framework.yml} +0 -0
@@ -1,39 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- job:
|
3
|
-
name: apm-agent-ruby/apm-agent-ruby-linting-mbp
|
4
|
-
display-name: APM Agent Ruby Linting
|
5
|
-
description: APM Agent Ruby Linting
|
6
|
-
script-path: .ci/linting.groovy
|
7
|
-
scm:
|
8
|
-
- github:
|
9
|
-
branch-discovery: no-pr
|
10
|
-
discover-pr-forks-strategy: merge-current
|
11
|
-
discover-pr-forks-trust: permission
|
12
|
-
discover-pr-origin: merge-current
|
13
|
-
discover-tags: false
|
14
|
-
notification-context: 'apm-ci/linting'
|
15
|
-
head-filter-regex: '^PR-.*$'
|
16
|
-
repo: apm-agent-ruby
|
17
|
-
repo-owner: elastic
|
18
|
-
credentials-id: 2a9602aa-ab9f-4e52-baf3-b71ca88469c7-UserAndToken
|
19
|
-
ssh-checkout:
|
20
|
-
credentials: f6c7695a-671e-4f4f-a331-acdce44ff9ba
|
21
|
-
build-strategies:
|
22
|
-
- change-request:
|
23
|
-
ignore-target-only-changes: false
|
24
|
-
clean:
|
25
|
-
after: true
|
26
|
-
before: true
|
27
|
-
prune: true
|
28
|
-
shallow-clone: true
|
29
|
-
depth: 3
|
30
|
-
do-not-fetch-tags: true
|
31
|
-
submodule:
|
32
|
-
disable: false
|
33
|
-
recursive: true
|
34
|
-
parent-credentials: true
|
35
|
-
timeout: 100
|
36
|
-
reference-repo: /var/lib/jenkins/.git-references/apm-agent-ruby.git
|
37
|
-
timeout: '15'
|
38
|
-
use-author: true
|
39
|
-
wipe-workspace: 'True'
|
@@ -1,43 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- job:
|
3
|
-
name: apm-agent-ruby/apm-agent-ruby-mbp
|
4
|
-
display-name: APM Agent Ruby
|
5
|
-
description: APM Agent Ruby
|
6
|
-
script-path: .ci/Jenkinsfile
|
7
|
-
scm:
|
8
|
-
- github:
|
9
|
-
branch-discovery: no-pr
|
10
|
-
discover-pr-forks-strategy: merge-current
|
11
|
-
discover-pr-forks-trust: permission
|
12
|
-
discover-pr-origin: merge-current
|
13
|
-
discover-tags: true
|
14
|
-
notification-context: 'apm-ci'
|
15
|
-
repo: apm-agent-ruby
|
16
|
-
repo-owner: elastic
|
17
|
-
credentials-id: 2a9602aa-ab9f-4e52-baf3-b71ca88469c7-UserAndToken
|
18
|
-
head-filter-regex: '^(main|PR-.*|[3-9]\.x|v4\.[5-9]+.*|v[5-9]+.*)$'
|
19
|
-
ssh-checkout:
|
20
|
-
credentials: f6c7695a-671e-4f4f-a331-acdce44ff9ba
|
21
|
-
build-strategies:
|
22
|
-
- tags:
|
23
|
-
ignore-tags-older-than: -1
|
24
|
-
ignore-tags-newer-than: -1
|
25
|
-
- regular-branches: true
|
26
|
-
- change-request:
|
27
|
-
ignore-target-only-changes: false
|
28
|
-
clean:
|
29
|
-
after: true
|
30
|
-
before: true
|
31
|
-
prune: true
|
32
|
-
shallow-clone: true
|
33
|
-
depth: 3
|
34
|
-
do-not-fetch-tags: true
|
35
|
-
submodule:
|
36
|
-
disable: false
|
37
|
-
recursive: true
|
38
|
-
parent-credentials: true
|
39
|
-
timeout: 100
|
40
|
-
reference-repo: /var/lib/jenkins/.git-references/apm-agent-ruby.git
|
41
|
-
timeout: '15'
|
42
|
-
use-author: true
|
43
|
-
wipe-workspace: 'True'
|
data/.ci/jobs/apm-agent-ruby.yml
DELETED
data/.ci/jobs/defaults.yml
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
---
|
2
|
-
|
3
|
-
##### GLOBAL METADATA
|
4
|
-
|
5
|
-
- meta:
|
6
|
-
cluster: apm-ci
|
7
|
-
|
8
|
-
##### JOB DEFAULTS
|
9
|
-
|
10
|
-
- job:
|
11
|
-
view: APM-CI
|
12
|
-
project-type: multibranch
|
13
|
-
logrotate:
|
14
|
-
daysToKeep: 30
|
15
|
-
numToKeep: 300
|
16
|
-
number-to-keep: '100'
|
17
|
-
days-to-keep: '30'
|
18
|
-
concurrent: true
|
19
|
-
node: linux
|
20
|
-
periodic-folder-trigger: 1w
|
21
|
-
prune-dead-branches: true
|
22
|
-
publishers:
|
23
|
-
- email:
|
24
|
-
recipients: infra-root+build@elastic.co
|
data/.ci/linting.groovy
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
#!/usr/bin/env groovy
|
2
|
-
@Library('apm@current') _
|
3
|
-
|
4
|
-
pipeline {
|
5
|
-
agent { label 'docker && linux && immutable' }
|
6
|
-
options {
|
7
|
-
buildDiscarder(logRotator(numToKeepStr: '20', artifactNumToKeepStr: '20', daysToKeepStr: '30'))
|
8
|
-
timestamps()
|
9
|
-
ansiColor('xterm')
|
10
|
-
disableResume()
|
11
|
-
durabilityHint('PERFORMANCE_OPTIMIZED')
|
12
|
-
rateLimitBuilds(throttle: [count: 60, durationName: 'hour', userBoost: true])
|
13
|
-
quietPeriod(10)
|
14
|
-
}
|
15
|
-
triggers {
|
16
|
-
issueCommentTrigger('(?i).*(?:jenkins\\W+)?run\\W+(?:the\\W+)?linters(?:\\W+please)?.*')
|
17
|
-
}
|
18
|
-
stages {
|
19
|
-
stage('Sanity checks') {
|
20
|
-
environment {
|
21
|
-
HOME = "${env.WORKSPACE}"
|
22
|
-
PATH = "${env.WORKSPACE}/bin:${env.PATH}"
|
23
|
-
}
|
24
|
-
steps {
|
25
|
-
script {
|
26
|
-
def sha = getGitCommitSha()
|
27
|
-
preCommit(commit: "${sha}", junit: true)
|
28
|
-
}
|
29
|
-
}
|
30
|
-
}
|
31
|
-
}
|
32
|
-
}
|
data/.ci/packer_cache.sh
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
#!/usr/bin/env bash
|
2
|
-
|
3
|
-
source /usr/local/bin/bash_standard_lib.sh
|
4
|
-
|
5
|
-
if [ -x "$(command -v docker)" ]; then
|
6
|
-
grep "-" .ci/.jenkins_ruby.yml | grep -v 'observability-ci' | cut -d'-' -f2- | \
|
7
|
-
while read -r version;
|
8
|
-
do
|
9
|
-
transformedName=${version/:/-}
|
10
|
-
transformedVersion=$(echo "${version}" | cut -d":" -f2)
|
11
|
-
imageName="apm-agent-ruby"
|
12
|
-
registryImageName="docker.elastic.co/observability-ci/${imageName}:${transformedName}"
|
13
|
-
(retry 2 docker pull "${registryImageName}")
|
14
|
-
docker tag "${registryImageName}" "${imageName}:${transformedVersion}"
|
15
|
-
done
|
16
|
-
fi
|
File without changes
|
File without changes
|