Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Label action #2

Closed
wants to merge 625 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
625 commits
Select commit Hold shift + click to select a range
6592885
[Automation] Update elastic stack version to 8.0.0-68ee0bbd for testi…
apmmachine May 31, 2021
16618f2
translate otel messaging.* to ecs (#5334)
stuartnelson3 May 31, 2021
0744428
Add support for histograms to metrics intake (#5360)
axw Jun 1, 2021
a6b7a75
Fixes TestUnpackConfig/overwrite_default (#5356)
Mpdreamz Jun 1, 2021
b0c4307
Tidy up beater/config (#5376)
axw Jun 1, 2021
59ee2f0
add apm-server url to handlebars tmpl (#5332)
stuartnelson3 Jun 1, 2021
7289af3
tests/system: update metricset test (#5390)
axw Jun 1, 2021
76df320
docs: 7.13.1 release notes (#5368)
bmorelli25 Jun 1, 2021
c144612
Update to elastic/beats@27e76c567711 (#5382)
axw Jun 2, 2021
31371a1
docs: update Jaeger integration (#5398)
bmorelli25 Jun 2, 2021
9980296
fix direct agent configuration (#5380)
stuartnelson3 Jun 3, 2021
fedc1db
Add units to metric duration fields (#5395)
jalvz Jun 3, 2021
044573c
Make process title dynamic (#5401)
jalvz Jun 3, 2021
1876181
apmpackage: remove version directory (#5414)
axw Jun 8, 2021
f32bb45
Add additional logging when starting with data_streams.enabled (#5351)
Mpdreamz Jun 8, 2021
7f55bc8
Update go.opentelemetry.io/collector to v0.28.0 (#5425)
axw Jun 10, 2021
e18957c
systemtest: use known fleet-server TLS certs (#5427)
axw Jun 10, 2021
05cde22
authorization: introduce anonymous + agent/service-specific auth (#5422)
axw Jun 10, 2021
e480976
systemtest: add rate limiting test (#5430)
axw Jun 10, 2021
7f0fafe
Hardcode troughput settings for cloud environment (#5402)
jalvz Jun 10, 2021
301caed
systemtest: fix apm-server binary injection (#5440)
axw Jun 14, 2021
f7c7b0c
docs: 7.13.2 release notes (#5447)
bmorelli25 Jun 14, 2021
5b750f6
Move stream-level error handling out of processor/stream (#5453)
axw Jun 15, 2021
4a77407
Override healthcheck for the package-registry (#5458)
v1v Jun 15, 2021
6344c98
Remove the service from the dataset for all events except application…
jalvz Jun 15, 2021
1a93a25
processor/otel: adjust timestamps for mobile (#5433)
axw Jun 16, 2021
1c09eed
[cloud] default to medium compression (#5446)
simitt Jun 16, 2021
01a12f2
Add system network fields (#5436)
jalvz Jun 16, 2021
1860de4
Update to elastic/beats@2871d29be93a (#5454)
simitt Jun 16, 2021
fc60576
Introduce `apm-server.auth.*` config (#5457)
axw Jun 17, 2021
b459a0b
[Fleet] Fix the agent template to support multi variables (#5469)
nchaulet Jun 17, 2021
74e8422
magefile: use beats/go.mod for TestPackages (#5471)
axw Jun 17, 2021
2998f7f
[Automation] Update elastic stack version to 8.0.0-943ef2c0 for testi…
apmmachine Jun 17, 2021
476d223
processor/otel: add debug logging of payloads (#5474)
axw Jun 17, 2021
7b86cb7
deprecate span destination name and type fields (#5468)
jalvz Jun 17, 2021
17166cd
[fleet integration] Support apm-server config options and adapt defau…
simitt Jun 18, 2021
f5664d8
Move rate limiting and service name restrictions out of processor/str…
axw Jun 19, 2021
ab082c3
docker-compose: fleet-server depends on kibana (#5496)
axw Jun 21, 2021
d577ec8
beater: even more refactoring (#5502)
axw Jun 21, 2021
bd52909
Fix UBI source URL (#5506)
jmlrt Jun 22, 2021
9f7d9b6
systemtest: remove TestDataStream*, fix Fleet test (#5503)
axw Jun 22, 2021
92335c5
Introduce shared gRPC authorization interceptor (#5515)
axw Jun 23, 2021
97a6f9b
beater/api/intake: fix rate limiting (#5518)
axw Jun 23, 2021
9453fe2
Service specific source maps (#5410)
stuartnelson3 Jun 23, 2021
1920f95
Send APM Server config to Kibana (#5424)
stuartnelson3 Jun 23, 2021
b12f43b
remove sourcemap es api key (#5528)
stuartnelson3 Jun 23, 2021
9c8ad8e
Introduce rate limit gRPC interceptor (#5525)
axw Jun 24, 2021
9cf78f5
update api endpoint and body format (#5536)
stuartnelson3 Jun 24, 2021
92f0452
add java attacher config (#5483)
stuartnelson3 Jun 24, 2021
f32bbfc
Copy sourcemap Python tests to Go (#5522)
jalvz Jun 28, 2021
224822f
[automation] update elastic stack version for testing 8.0.0-49bc2dec …
apmmachine Jun 28, 2021
9081652
config is now rooted under "schema" key (#5544)
stuartnelson3 Jun 28, 2021
f6a39fd
Lift HTTP span fields 1 level (#5396)
jalvz Jun 28, 2021
135a7c1
systemtest: fix approvals (#5556)
axw Jun 29, 2021
535c407
record per-agent config status (#5481)
stuartnelson3 Jun 29, 2021
f6e38eb
[cloud] Set config settings for continuous cloud sizes (#5551)
simitt Jun 29, 2021
e82ac6a
systemtest: disable profiling tests (#5559)
axw Jun 29, 2021
3122786
agentcfg: fix flaky test (#5565)
axw Jun 29, 2021
63c673a
[cloud] Remove cloud defaults from user settings sent to Kibana (#5569)
simitt Jun 29, 2021
ecc831e
disable TestFetchTimeout (#5572)
stuartnelson3 Jun 29, 2021
cbaee26
Update secure-communication-agents.asciidoc (#5379)
predogma Jun 29, 2021
846116b
fix flaky test (#5574)
stuartnelson3 Jun 29, 2021
9843651
[Automation] Update elastic stack version to 8.0.0-e1177df4 for testi…
apmmachine Jun 30, 2021
0a985aa
sampling/pubsub: minor fixes (#5568)
axw Jun 30, 2021
062cb9c
sourcemap: fix flaky test (#5581)
axw Jun 30, 2021
41c316f
[Automation] Update elastic stack version to 8.0.0-6a0cf37e for testi…
apmmachine Jun 30, 2021
247382a
[Automation] Update elastic stack version to 8.0.0-abbf7c2f for testi…
apmmachine Jul 1, 2021
a880fc7
Update mergify with 7.15 backport rule (#5601)
axw Jul 5, 2021
1e4b02a
[Automation] Update elastic stack version to 8.0.0-08d745df for testi…
apmmachine Jul 5, 2021
0a23eff
docs: fix typo (#5600)
axw Jul 5, 2021
b742bbf
Separate authentication from authorization (#5545)
axw Jul 6, 2021
b696025
Add missing RUM vars to apmpackage manifest (#5615)
simitt Jul 6, 2021
435a514
update location of index_pattern.json (#5611)
stuartnelson3 Jul 6, 2021
c6863b1
docs: add 7.13.3 release notes (#5596)
bmorelli25 Jul 6, 2021
e949bf7
docs: add 6.8.17 release notes (#5597)
bmorelli25 Jul 6, 2021
0661ad0
model: introduce APMEvent; Batch is now []model.APMEvent (#5613)
axw Jul 7, 2021
c159d83
update release doc (#5610)
stuartnelson3 Jul 8, 2021
1498fb2
Stop running python system tests on Windows (#5637)
axw Jul 9, 2021
2fc3b95
tests/system: remove test_requests.py (#5638)
axw Jul 9, 2021
a8c2955
systemtest: use new auth config (#5636)
axw Jul 9, 2021
e6f801a
Java attacher command (#5540)
stuartnelson3 Jul 9, 2021
cd8b93e
Fleet decode sourcemap response (#5635)
stuartnelson3 Jul 9, 2021
06bea7c
Don't panic re-registering monitoring functions (#5670)
axw Jul 12, 2021
ac3dc27
Move source mapping to model processing (#5631)
axw Jul 12, 2021
aa11469
mergify: change backport trigger labels (#5676)
axw Jul 12, 2021
afd46a7
Fix rum rate limit default value (#5656)
simitt Jul 12, 2021
728d3b5
docs: free and open terminology (#5641)
bmorelli25 Jul 12, 2021
e820106
Update .backportrc.json
bmorelli25 Jul 12, 2021
6d1427e
[JJBB] for the update-beats (#5690)
v1v Jul 13, 2021
166ebbb
Bump integration to 0.4.0, use apm-server.auth config (#5691)
axw Jul 14, 2021
402ea9b
Update beats (#5693)
simitt Jul 14, 2021
7c95065
[Automation] Update elastic stack version to 8.0.0-2f008f4a for testi…
apmmachine Jul 14, 2021
fd6a8c0
Introduce config apm-server.auth.anonymous (#5623)
axw Jul 14, 2021
4ed2761
Move setting of destination.ip to ingest pipeline (#5695)
axw Jul 14, 2021
bd10c37
[CI] automate update-beats (#5692)
v1v Jul 14, 2021
4d6fb9c
Fix: remove unsupported rum rate limit key (#5699)
simitt Jul 14, 2021
7119820
Move breaking change to its section (#5527)
jalvz Jul 14, 2021
91fa576
chore: use withMageEnv step (#5624)
v1v Jul 14, 2021
a8c25c9
Document AWS Lambda OpenTelemetry support (#5674) (#5709)
bmorelli25 Jul 14, 2021
642a05b
model: make APMEvents 1:1 with beat.Events (#5700)
axw Jul 15, 2021
4264a2a
processor/otel: record array resource attributes (#5704)
axw Jul 15, 2021
ce483db
Move more code from model to model processors (#5687)
axw Jul 15, 2021
a6f3a70
beater/request: clear multpart.Form on reset (#5718)
axw Jul 15, 2021
2a69754
[Automation] Update elastic stack version to 8.0.0-52a5431f for testi…
apmmachine Jul 15, 2021
a63733b
Move Sourcemap from model to sourcemap handler (#5720)
axw Jul 15, 2021
61bf74d
processor/otel: handle net.host span attributes (#5719)
axw Jul 15, 2021
29cfed3
Move setting of data_stream fields to processor (#5717)
axw Jul 15, 2021
e63fd60
Remove package transform (#5729)
axw Jul 16, 2021
4ac8c60
Restructure model.Metricset (#5739)
axw Jul 16, 2021
aeafd43
Move grouping key calculation to model processor (#5741)
axw Jul 16, 2021
a758853
docs: add 7.13.4 cl (#5756)
bmorelli25 Jul 19, 2021
7b9201e
Improve OpenTelemetry docs, fix #5688 (#5748) (#5759)
bmorelli25 Jul 19, 2021
22b718f
docs: add iOS agent links (#5634)
bmorelli25 Jul 19, 2021
375aa84
model: de-pointer Transaction.Sampled (#5746)
axw Jul 20, 2021
3ee3355
update beats+go (#5754)
stuartnelson3 Jul 20, 2021
4f4dca2
ingest: introduce apm_data_stream_migration (#5768)
axw Jul 21, 2021
0b60ec6
[Automation] Update elastic stack version to 8.0.0-1e9bea0f for testi…
apmmachine Jul 21, 2021
46f214e
Consolidate model.HTTP and model.Http (#5764)
axw Jul 21, 2021
d0310d1
Support composite spans in the intake API
estolfo Jul 19, 2021
93332d2
Update documentation for new composite span fields in ES
estolfo Jul 19, 2021
598e573
Update approvals file
estolfo Jul 19, 2021
edaedcc
Update duration and composite sum fields to be more realistic
estolfo Jul 19, 2021
3429db6
Update changelog
estolfo Jul 19, 2021
b827b2b
Fix minor typo in composite.sum field
estolfo Jul 20, 2021
24284d8
Update description of span duration and composite sum
estolfo Jul 20, 2021
f65e583
Add note to Composite.Sum that it's in milliseconds
estolfo Jul 21, 2021
f831d2a
Merge pull request #5661 from estolfo/composite-spans
estolfo Jul 21, 2021
790536a
[Automation] Update elastic stack version to 8.0.0-a6334483 for testi…
apmmachine Jul 22, 2021
bcd5bb6
chore: update-beats goal to bump the go version (#5778)
v1v Jul 22, 2021
305286a
Document data streams migration limitations (#5771)
bmorelli25 Jul 22, 2021
6211be6
Move model value normalisation to modeldecoder (#5784)
axw Jul 23, 2021
3fe235c
Tidy up model to resembles ECS more closely (#5785)
axw Jul 23, 2021
3de7384
Update opentelemetry-collector to v0.30.0 (#5749)
axw Jul 23, 2021
1ae881b
[Automation] Update elastic stack version to 8.0.0-1aed0c4f for testi…
apmmachine Jul 23, 2021
742e4fa
[Automation] Update elastic stack version to 8.0.0-cdc598b1 for testi…
apmmachine Jul 26, 2021
31225a0
Bump github.com/tidwall/gjson from 1.6.0 to 1.6.5 in /approvaltest (#…
dependabot[bot] Jul 27, 2021
1c15c9c
docs: draft 8.0.0 alpha 1 rns (#5802)
bmorelli25 Jul 27, 2021
13c1d78
Upgrade go.elastic.co/apm (#5808)
axw Jul 27, 2021
f6bf798
correctly set etag when not defined (#5803)
stuartnelson3 Jul 27, 2021
7a5fc06
Create our own glog replacement (#5809)
axw Jul 28, 2021
29fbd5b
[Automation] Update elastic stack version to 8.0.0-571dad33 for testi…
apmmachine Jul 28, 2021
96d24d4
sammpling: refactor to read/write model.APMEvents (#5814)
axw Jul 29, 2021
5466b97
model/modeldecoder: decode events into model.Batch (#5818)
axw Jul 29, 2021
531e3c2
[Automation] Update elastic stack version to 8.0.0-ae1e1c3b for testi…
apmmachine Jul 29, 2021
2394ec7
processor/otel: prepare for APMEventgeddon (#5820)
axw Jul 30, 2021
ef57248
beater/api/profile: always record request metadata (#5819)
axw Jul 30, 2021
13d3ebb
[Automation] Update elastic stack version to 8.0.0-cf3e6139 for testi…
apmmachine Jul 30, 2021
212f099
[sourcemaps] Support multiple fleet addresses when requesting a sourc…
estolfo Jul 30, 2021
9d32ab9
Remove model.Metadata, fold into model.APMEvent (#5830)
axw Jul 31, 2021
fef190e
Move "tool" module dependencies to tools/go.mod (#5827)
axw Jul 31, 2021
2e1dc7b
update-beats: git add fields updates (#5835)
axw Aug 2, 2021
710d4ed
sourcemap: fix data race in test (#5842)
axw Aug 2, 2021
c041e85
Move labels and timestamp to model.APMEvent (#5840)
axw Aug 2, 2021
7ccc202
Remove sourcemap/test and elasticsearch/estest (#5854)
axw Aug 2, 2021
aa13b93
Move some tools back to top-level go.mod (#5852)
axw Aug 2, 2021
59a3429
docs: add 6.8.18 release notes (#5861)
bmorelli25 Aug 2, 2021
bf7b54d
Added AWS Lambda Node.js instructions (#5780) (#5867)
bmorelli25 Aug 3, 2021
ac5e2f0
docs: add 7.14 release notes (#5860)
bmorelli25 Aug 3, 2021
c8ea167
[Automation] Update elastic stack version to 8.0.0-93ecf1d0 for testi…
apmmachine Aug 3, 2021
f88edca
docs: update data streams naming (#5859)
bmorelli25 Aug 3, 2021
d56a864
Update .backportrc.json
bmorelli25 Aug 3, 2021
47eebc7
docs: update transaction metrics (#5875)
axw Aug 4, 2021
9686324
ingest/pipeline: fix compat with old Elasticsearch (#5876)
axw Aug 4, 2021
736a857
beater: implement reload.ReloadableList directly (#5884)
axw Aug 4, 2021
52cfec8
[Automation] Update elastic stack version to 8.0.0-0c340354 for testi…
apmmachine Aug 4, 2021
d1ebfd4
Update network connection fields (#5671)
axw Aug 4, 2021
792c7ec
model: move Event, Session, and URL up to APMEvent (#5872)
axw Aug 4, 2021
e39028c
Conditionally restart apm-server (#5892)
stuartnelson3 Aug 5, 2021
d65dde1
[Automation] Update elastic stack version to 8.0.0-4c35f443 for testi…
apmmachine Aug 5, 2021
64d89fe
[Automation] Update elastic stack version to 8.0.0-e8455215 for testi…
apmmachine Aug 6, 2021
b1bf67d
aggregation/spanmetrics: handle composite spans (#5896)
axw Aug 8, 2021
a78a6f9
[automation] update libbeat and beats packaging (#5902)
apmmachine Aug 9, 2021
1246afb
systemtest: test agent config (#5905)
axw Aug 9, 2021
5055040
Update to elastic/beats@9c57b1ec68c1 (#5908)
apmmachine Aug 9, 2021
a9025e6
Reuse port (#5911)
stuartnelson3 Aug 9, 2021
c418941
sampling/pubsub: fix flaky test (#5915)
axw Aug 10, 2021
44b684b
beater/api/mux: fix Fleet agent config enablement (#5917)
axw Aug 10, 2021
8271974
Move setting destination.ip back into apm-server (#5903)
axw Aug 10, 2021
cfc9d4c
fix output for elastic-agent (#5922)
stuartnelson3 Aug 11, 2021
114d7d6
Add `data_streams.wait_for_integration` (#5928)
axw Aug 11, 2021
7e7da2d
Wait for integration using Elasticsearch queries (#5934)
axw Aug 13, 2021
c581b5b
Update to elastic/beats@f144f63593df (#5940)
apmmachine Aug 13, 2021
04c5355
docs: Anonymous authentication (#5930)
bmorelli25 Aug 13, 2021
a8012e7
docs: add sourcemap upload notes (#5935)
bmorelli25 Aug 13, 2021
fe1b40a
[Automation] Update elastic stack version to 8.0.0-2e89a578 for testi…
apmmachine Aug 16, 2021
c60c8c5
Update to elastic/beats@84b4cea96755 (#5946)
apmmachine Aug 16, 2021
03d4907
apmpackage: copy full field hierarchy (#5947)
axw Aug 16, 2021
3708a02
[Automation] Update elastic stack version to 8.0.0-7e122dd9 for testi…
apmmachine Aug 18, 2021
9ea5e3b
model: add APMEvent.{Observer,ECSVersion} (#5958)
axw Aug 18, 2021
2c65c70
Update tail sampling to require data streams (#5952)
axw Aug 18, 2021
993bf33
[Automation] Update elastic stack version to 8.0.0-fa246295 for testi…
apmmachine Aug 19, 2021
0ded23d
Update mergify to 7.15 (#5972)
simitt Aug 19, 2021
cdae75c
Copy `error.log.message` or `error.exception.message` to `message` (#…
axw Aug 20, 2021
e24598b
[Automation] Update elastic stack version to 8.0.0-8ac8c039 for testi…
apmmachine Aug 20, 2021
30bb735
[Automation] Update elastic stack version to 8.0.0-56a61c29 for testi…
apmmachine Aug 23, 2021
ccf6509
[apmpackage] Remove duplicate input variable attributes (#5982)
simitt Aug 23, 2021
a9ca10a
[CI]: use setEnvVar instead of global env variable (#6012)
v1v Aug 23, 2021
102c343
docs: link to req’d privs (#5976)
bmorelli25 Aug 23, 2021
66c268d
docs: add rum response_headers (#5954)
bmorelli25 Aug 23, 2021
c2f496f
Update .backportrc.json
bmorelli25 Aug 23, 2021
008e8f0
docs: Change API key docs to Kibana UI (#5953)
bmorelli25 Aug 23, 2021
6754818
Introduce model.Trace (#5983)
axw Aug 24, 2021
6d15c01
systemtest: fix approval due to geoIP change (#6024)
axw Aug 24, 2021
cb6b2da
Introduce model.Processor (#5984)
axw Aug 24, 2021
3149fac
fail open if snapshot not available (#6011)
stuartnelson3 Aug 24, 2021
b58f57c
docs: remove tab widget code (#6038)
bmorelli25 Aug 25, 2021
a86fce3
docs: update agent server compat (#5923)
bmorelli25 Aug 25, 2021
5453de4
beater: create listener synchronously in Reload (#6054)
axw Aug 26, 2021
6919181
[Automation] Update elastic stack version to 8.0.0-1efff7fc for testi…
apmmachine Aug 30, 2021
3a77b94
modeldecoder/rumv3: drop standalone metricsets (#6065)
axw Aug 30, 2021
865559e
Migrate/remove some more Python system tests (#6072)
axw Aug 30, 2021
687f46f
model: move duration to Event.Duration (#6067)
axw Aug 30, 2021
ad6601d
Stop updating/checking Kibana index pattern (#6058)
axw Aug 31, 2021
41ddeb9
Removed backtick (#6076)
ba0708 Aug 31, 2021
bb861c5
[Automation] Update elastic stack version to 8.0.0-78724554 for testi…
apmmachine Aug 31, 2021
664120c
Remove `apm-server.mode` and experimental fields (#6086)
axw Aug 31, 2021
4cc2f58
docs: add 7.14.1 release notes (#6083)
bmorelli25 Aug 31, 2021
e9da5e5
Remove package tests (#6101)
axw Sep 1, 2021
12bf386
model: further align types with document structure (#6066)
axw Sep 1, 2021
d2ee2dd
magefile: fix Package target (#6109)
axw Sep 2, 2021
80057a4
Update to opentelemetry-collector v0.34.0 (#6106)
axw Sep 2, 2021
d37d372
Introduce dedicated fields for internal metrics (#6111)
axw Sep 3, 2021
31893d2
apmpackage: sort internal metrics data stream (#6116)
axw Sep 3, 2021
43e491f
Add dynamic_templates to app_metrics data stream (#6043)
axw Sep 3, 2021
6c9bfad
processor/otel: index span events as logs (#6122)
axw Sep 6, 2021
99cfee6
Remove package "convert" (#6125)
axw Sep 6, 2021
a052d00
add --download-agent-version flag to invocation (#6035)
stuartnelson3 Sep 7, 2021
b6d8d64
OTel: deprecate `service.version` span tag (#6131)
axw Sep 8, 2021
d4f070e
Update to elastic/beats@bf688235e1a7 (#6120)
axw Sep 8, 2021
089c4c7
apmpackage: mark package as GA (#6136)
axw Sep 9, 2021
6426b46
Add "waitReady" preconditions for Elasticsearch clients (#6130)
axw Sep 9, 2021
fb33e21
systemtest: test TLS client cert auth (#6141)
axw Sep 9, 2021
b080b45
Update to elastic/beats@6b417428d309 (#6150)
apmmachine Sep 10, 2021
0d06a2e
Add deprecation warnings about ES setup (#6145)
axw Sep 11, 2021
0fdd446
[automation] update elastic stack version for testing 8.0.0-c0c740b6 …
apmmachine Sep 13, 2021
3d20039
[Automation] Update elastic stack version to 8.0.0-6b488890 for testi…
apmmachine Sep 13, 2021
24eb112
Update to elastic/beats@13e34660f62a (#6157)
apmmachine Sep 13, 2021
0f0f1db
docs: promote jaeger & transaction metrics to GA (#6158)
axw Sep 13, 2021
39da55a
model: move HTTP to APMEvent, unify fields (#6147)
axw Sep 13, 2021
cc7c2e8
Add architecture markdown (#6148)
simitt Sep 13, 2021
a275ed9
Remove `http.request.socket` fields (#6152)
axw Sep 14, 2021
896f79d
[Automation] Update elastic stack version to 8.0.0-64718381 for testi…
apmmachine Sep 14, 2021
86bc645
model: remove Exception.Parent (#6164)
axw Sep 14, 2021
b48e713
document how ratelimit client.ip is derived (#6162)
stuartnelson3 Sep 14, 2021
64add19
docs: document internal metrics (#6173)
axw Sep 16, 2021
dfa40a8
WIP
axw Sep 16, 2021
3979afd
WIP
axw Sep 16, 2021
af91a0b
WIP
axw Sep 16, 2021
4c48792
WIP
axw Sep 16, 2021
6d41fb7
WI
axw Sep 16, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 4 additions & 2 deletions .backportrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"upstream": "elastic/apm-server",
"branches": [{ "name": "7.x", "checked": true }, "7.9", "7.8", "7.7", "7.6", "7.5", "7.4", "7.3", "7.2", "7.1", "7.0", "6.8"],
"labels": ["backport"]
"branches": [{ "name": "7.x", "checked": true },"7.15", "7.14", "6.8"],
"labels": ["backport"],
"autoMerge": true,
"autoMergeMethod": "squash"
}
16 changes: 16 additions & 0 deletions .ci/.jenkins-schema.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
agents:
- REPO: "apm-agent-dotnet"
SPEC_FILEPATH: "src/Elastic.Apm.Specification/specs"
- REPO: "apm-agent-go"
SPEC_FILEPATH: "internal/apmschema/jsonschema"
- REPO: "apm-agent-java"
SPEC_FILEPATH: "apm-agent-core/src/test/resources/apm-server-schema/current"
- REPO: "apm-agent-nodejs"
SPEC_FILEPATH: "test/integration/api-schema/apm-server-schema"
- REPO: "apm-agent-php"
SPEC_FILEPATH: "tests/APM_Server_intake_API_schema/latest_used"
- REPO: "apm-agent-python"
SPEC_FILEPATH: "tests/upstream/json-specs"
- REPO: "apm-agent-ruby"
SPEC_FILEPATH: "spec/fixtures"
41 changes: 41 additions & 0 deletions .ci/bump-stack-version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/usr/bin/env bash
#
# Given the stack version this script will bump the version.
#
# This script is executed by the automation we are putting in place
# and it requires the git add/commit commands.
#
# Parameters:
# $1 -> the version to be bumped. Mandatory.
# $2 -> whether to create a branch where to commit the changes to.
# this is required when reusing an existing Pull Request.
# Optional. Default true.
#
set -euo pipefail
MSG="parameter missing."
VERSION=${1:?$MSG}
CREATE_BRANCH=${2:-true}

OS=$(uname -s| tr '[:upper:]' '[:lower:]')

if [ "${OS}" == "darwin" ] ; then
SED="sed -i .bck"
else
SED="sed -i"
fi

echo "Update stack with version ${VERSION}"
${SED} -E -e "s#(image: docker\.elastic\.co/.*):[0-9]+\.[0-9]+\.[0-9]+(-[a-f0-9]{8})?#\1:${VERSION}#g" docker-compose.yml

echo "Commit changes"
if [ "$CREATE_BRANCH" = "true" ]; then
base=$(git rev-parse --abbrev-ref HEAD | sed 's#/#-#g')
git checkout -b "update-stack-version-$(date "+%Y%m%d%H%M%S")-${base}"
else
echo "Branch creation disabled."
fi
git add docker-compose.yml
git diff --staged --quiet || git commit -m "[Automation] Update elastic stack version to ${VERSION} for testing"
git --no-pager log -1

echo "You can now push and create a Pull Request"
2 changes: 1 addition & 1 deletion .ci/check-changelogs.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pipeline {
deleteDir()
unstash 'source'
dir("${BASE_DIR}"){
sh(label: 'Run check changelogs', script: './script/jenkins/check-changelogs.sh')
sh(label: 'Run check changelogs', script: './.ci/scripts/check-changelogs.sh')
}
}
}
Expand Down
50 changes: 35 additions & 15 deletions .ci/check-packages.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,12 @@ pipeline {
environment {
BASE_DIR = 'src'
PIPELINE_LOG_LEVEL = 'INFO'
URL_BASE = "${params.URL_BASE}"
VERSION = "${params.VERSION}"
HOME = "${WORKSPACE}"
// This limits ourselves to just the APM tests
ANSIBLE_EXTRA_FLAGS = "--tags apm-server"
// The build parameters
BEATS_URL_BASE = 'https://storage.googleapis.com/beats-ci-artifacts/snapshots'
APM_URL_BASE = 'https://storage.googleapis.com/apm-ci-artifacts/jobs/snapshots'
// BRANCH_NAME = 'master'
LANG = "C.UTF-8"
LC_ALL = "C.UTF-8"
PYTHONUTF8 = "1"
}
options {
timeout(time: 4, unit: 'HOURS')
Expand All @@ -28,14 +25,40 @@ pipeline {
rateLimitBuilds(throttle: [count: 60, durationName: 'hour', userBoost: true])
}
triggers {
cron '@weekly'
upstream("apm-server/apm-server-mbp/${env.JOB_BASE_NAME}")
}
parameters {
string(name: 'APM_URL_BASE', defaultValue: 'https://storage.googleapis.com/apm-ci-artifacts/jobs/snapshots', description: 'The location where the APM packages should be downloaded from')
string(name: 'VERSION', defaultValue: '8.0.0-SNAPSHOT', description: 'The package version to test (modify the job configuration to add a new version)')
}
stages {
stage('Checkout') {
options { skipDefaultCheckout() }
steps {
pipelineManager([ cancelPreviousRunningBuilds: [ when: 'PR' ] ])
deleteDir()
script {
if(isUpstreamTrigger()) {
try {
log(level: 'INFO', text: "Started by upstream pipeline. Read 'beats-tester.properties'.")
copyArtifacts(filter: 'beats-tester.properties',
flatten: true,
projectName: "apm-server/apm-server-mbp/${env.JOB_BASE_NAME}",
selector: upstream(fallbackToLastSuccessful: true))
def props = readProperties(file: 'beats-tester.properties')
setEnvVar('APM_URL_BASE', props.get('APM_URL_BASE', ''))
setEnvVar('VERSION', props.get('VERSION', '8.0.0-SNAPSHOT'))
} catch(err) {
log(level: 'WARN', text: "copyArtifacts failed. Fallback to the head of the branch as used to be.")
setEnvVar('APM_URL_BASE', params.get('APM_URL_BASE', 'https://storage.googleapis.com/apm-ci-artifacts/jobs/snapshots'))
setEnvVar('VERSION', params.get('VERSION', '8.0.0-SNAPSHOT'))
}
} else {
log(level: 'INFO', text: "No started by upstream pipeline. Fallback to the head of the branch as used to be.")
setEnvVar('APM_URL_BASE', params.get('APM_URL_BASE'))
setEnvVar('VERSION', params.get('VERSION'))
}
}
gitCheckout(basedir: "${BASE_DIR}", repo: '[email protected]:elastic/beats-tester.git', branch: 'master', credentialsId: 'f6c7695a-671e-4f4f-a331-acdce44ff9ba')
stash allowEmpty: true, name: 'source', useDefaultExcludes: false
}
Expand All @@ -44,7 +67,7 @@ pipeline {
matrix {
// TODO: when the infra is ready with the 'nested-virtualization' then we can use that label
// agent { label 'nested-virtualization' }
agent { label 'darwin' }
agent { label 'metal' }
axes {
axis {
name 'GROUPS'
Expand All @@ -57,16 +80,13 @@ pipeline {
stage('Test'){
options { skipDefaultCheckout() }
steps {
// See https://stackoverflow.com/questions/59269208/errorrootcode-for-hash-md5-was-not-found-when-using-any-hg-mercurial-command
sh(label: "Switching OpenSSL versions to fix Py2", script: "brew switch openssl 1.0.2s")
deleteDir()
unstash 'source'
dir("${BASE_DIR}"){
withGoEnv(){
withGoEnv(os: 'linux'){
sh(label: 'make batch',
script: """#!/bin/bash
echo "beats_url_base: ${BEATS_URL_BASE}" > run-settings-jenkins.yml
echo "apm_url_base: ${APM_URL_BASE}" >> run-settings-jenkins.yml
echo "apm_url_base: ${APM_URL_BASE}" > run-settings-jenkins.yml
echo "version: ${VERSION}" >> run-settings-jenkins.yml
RUN_SETTINGS=jenkins make batch""")
}
Expand All @@ -77,7 +97,7 @@ pipeline {
dir("${BASE_DIR}"){
junit(allowEmptyResults: true, keepLongStdio: true, testResults: "logs/*.xml")
archiveArtifacts(allowEmptyArchive: true, artifacts: 'logs/**')
withGoEnv(){
withGoEnv(os: 'linux'){
sh(label: 'make clean', script: 'make clean')
}
}
Expand All @@ -93,7 +113,7 @@ pipeline {
}
post {
cleanup {
notifyBuildResult(prComment: true)
notifyBuildResult(prComment: false)
}
}
}
64 changes: 0 additions & 64 deletions .ci/docker/Makefile

This file was deleted.

17 changes: 0 additions & 17 deletions .ci/docker/golang-mage/Dockerfile

This file was deleted.

13 changes: 0 additions & 13 deletions .ci/docker/tests/test_helpers.bash

This file was deleted.

37 changes: 0 additions & 37 deletions .ci/docker/tests/tests.bats

This file was deleted.

2 changes: 1 addition & 1 deletion .ci/jobs/apm-server-check-changelogs-mbp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
discover-pr-forks-trust: permission
discover-pr-origin: merge-current
discover-tags: false
head-filter-regex: '^(?!update-stack-version).*$'
notification-context: 'apm-ci'
property-strategies:
all-branches:
Expand All @@ -37,4 +38,3 @@
timeout: '15'
use-author: true
wipe-workspace: 'True'
periodic-folder-trigger: 1w
51 changes: 51 additions & 0 deletions .ci/jobs/apm-server-check-packages-mbp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
- job:
name: apm-server/apm-server-check-packages-mbp
display-name: APM Server Package Smoke Test MBP
description: Test package installation across supported platforms
project-type: multibranch
script-path: .ci/check-packages.groovy
scm:
- github:
branch-discovery: no-pr
discover-pr-forks-strategy: merge-current
discover-pr-forks-trust: permission
discover-pr-origin: merge-current
discover-tags: false
head-filter-regex: '(master|7\.1\d|8\.\d+)'
notification-context: 'beats-tester'
build-strategies:
- skip-initial-build: true
- named-branches:
- exact-name:
name: 'master'
case-sensitive: true
- regex-name:
regex: '7\.1\d'
case-sensitive: true
- regex-name:
regex: '8\.\d+'
case-sensitive: true
- change-request:
ignore-target-only-changes: true
repo: apm-server
repo-owner: elastic
credentials-id: 2a9602aa-ab9f-4e52-baf3-b71ca88469c7-UserAndToken
ssh-checkout:
credentials: f6c7695a-671e-4f4f-a331-acdce44ff9ba
clean:
after: true
before: true
prune: true
shallow-clone: true
depth: 3
do-not-fetch-tags: true
submodule:
disable: false
recursive: true
parent-credentials: true
timeout: 100
reference-repo: /var/lib/jenkins/.git-references/apm-server.git
timeout: '15'
use-author: true
wipe-workspace: 'True'
Loading