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

[v2] Merge main into feature-arch-v2 as of Nov 8 #1694

Merged
merged 204 commits into from
Nov 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
204 commits
Select commit Hold shift + click to select a range
fa82d1a
[Automation] Update elastic stack version to 8.4.0-40cff009 for testi…
apmmachine Jun 15, 2022
9e5bb15
[Automation] Update elastic stack version to 8.4.0-5e6770b1 for testi…
apmmachine Jun 16, 2022
5f66839
Fix regression and use comma separated values (#560)
ph Jun 16, 2022
06ee1dd
Change in Jenkinsfile will trigger k8s run (#568)
ph Jun 16, 2022
86ca6f7
[Automation] Update elastic stack version to 8.4.0-da5a1c6d for testi…
apmmachine Jun 17, 2022
7b29dbc
Add `@metadata.input_id` and `@metadata.stream_id` when injecting str…
rdner Jun 17, 2022
b728dfe
Add filemod times to contents of diagnostics collect command (#570)
michel-laterman Jun 17, 2022
7db7406
[Automation] Update elastic stack version to 8.4.0-b13123ee for testi…
apmmachine Jun 20, 2022
d77a91e
Fix Agent upgrade 8.2->8.3 (#578)
aleksmaus Jun 20, 2022
e043f36
Update containerd (#577)
michel-laterman Jun 21, 2022
86ea452
[Automation] Update elastic stack version to 8.4.0-4fe26f2a for testi…
apmmachine Jun 22, 2022
c876ac4
Set explicit ExitTimeOut for MacOS agent launchd plist (#594)
aleksmaus Jun 23, 2022
89802c6
[Automation] Update elastic stack version to 8.4.0-2e32a640 for testi…
apmmachine Jun 23, 2022
11ce214
ci: enable build notifications as GitHub issues (#595)
v1v Jun 23, 2022
09d924f
status identifies failing component, fleet gateway may report degrade…
michel-laterman Jun 23, 2022
daa5c5f
[Automation] Update elastic stack version to 8.4.0-722a7d79 for testi…
apmmachine Jun 24, 2022
90a1f58
ci: enable flaky test detector (#605)
v1v Jun 24, 2022
79bb67e
[Automation] Update elastic stack version to 8.4.0-210dd487 for testi…
apmmachine Jun 27, 2022
f69d5b1
mergify: remove backport automation for non active branches (#615)
v1v Jun 27, 2022
43ba98d
chore: use elastic-agent profile to run the E2E tests (#610)
mdelapenya Jun 27, 2022
662a07a
[Automation] Update elastic stack version to 8.4.0-a6aa9f3b for testi…
apmmachine Jun 28, 2022
5c16e08
add macros pointing to new agent's repo and fix old macro calls (#458)
AndersonQ Jun 29, 2022
eb6fa02
Add mount of /etc/machine-id for managed Agent in k8s (#530)
daniel-almeida Jun 29, 2022
5f60fd0
Set hostPID=true for managed agent in k8s (#528)
daniel-almeida Jun 29, 2022
7a4fa6b
[Automation] Update elastic stack version to 8.4.0-86cc80f3 for testi…
apmmachine Jun 30, 2022
e194fb3
Update elastic-agent-libs version: includes restriction on default Ve…
narph Jun 30, 2022
ed9d75e
redact sensitive information in diagnostics collect command (#566)
AndersonQ Jun 30, 2022
94975cc
Support Cloudbeat regex input type (#638)
ofiriro3 Jun 30, 2022
121a4ad
Disable flaky test download test (#641)
ph Jun 30, 2022
319ea0a
[Automation] Update elastic stack version to 8.4.0-3d206b5d for testi…
apmmachine Jul 1, 2022
fab95b8
[Automation] Update elastic stack version to 8.4.0-3ad82aa8 for testi…
apmmachine Jul 4, 2022
acc91fc
jjbb: exclude allowed branches, tags and PRs (#658)
v1v Jul 4, 2022
f8ca007
Update elastic-agent-project-board.yml (#649)
jlind23 Jul 4, 2022
42b1a96
ci: fix labels that clashes with the Orka workers (#659)
v1v Jul 4, 2022
f873f36
[Automation] Update elastic stack version to 8.4.0-03bd6f3f for testi…
apmmachine Jul 5, 2022
bbd93ff
[Automation] Update elastic stack version to 8.4.0-533f1e30 for testi…
apmmachine Jul 6, 2022
6c2d91a
Osquerybeat: Fix osquerybeat is not running with logstash output (#674)
aleksmaus Jul 6, 2022
a18cfad
[Automation] Update elastic stack version to 8.4.0-d0a4da44 for testi…
apmmachine Jul 7, 2022
fe78819
[Automation] Update elastic stack version to 8.4.0-dd98ded4 for testi…
apmmachine Jul 11, 2022
d1d56a9
[Automation] Update elastic stack version to 8.4.0-164d9a10 for testi…
apmmachine Jul 12, 2022
bda217d
Add missing license headers (#711)
michel-laterman Jul 12, 2022
be33239
[Automation] Update elastic stack version to 8.4.0-00048b66 for testi…
apmmachine Jul 13, 2022
28721eb
Allow - in eql variable names (#710)
michel-laterman Jul 13, 2022
0560b46
Fix transpiler to allow : in dynamic variables. (#680)
michel-laterman Jul 13, 2022
4dcc16b
Fix for the filebeat spec file picking up packetbeat inputs (#700)
cmacknz Jul 14, 2022
f4d2b48
[Automation] Update elastic stack version to 8.4.0-3cd57abb for testi…
apmmachine Jul 15, 2022
a5351f9
[Automation] Update elastic stack version to 8.4.0-a324b98b for testi…
apmmachine Jul 18, 2022
c6cdfc0
ci: run on MacOS12 (#696)
v1v Jul 18, 2022
21c4812
[Automation] Update elastic stack version to 8.4.0-31315ca3 for testi…
apmmachine Jul 19, 2022
78019a9
fix typo on package command (#734)
belimawr Jul 19, 2022
e34e0e7
Allow / to be used in variable names (#718)
michel-laterman Jul 19, 2022
8ef98f1
Fix Elastic Agent non-fleet broken upgrade between 8.3.x releases (#701)
aleksmaus Jul 19, 2022
394033d
[Automation] Update elastic stack version to 8.4.0-31269fd2 for testi…
apmmachine Jul 20, 2022
97e6597
wrap errors and fix some docs typo and convention (#743)
AndersonQ Jul 20, 2022
b0e9623
automate the ironbank docker context generation (#679)
v1v Jul 20, 2022
f26b0eb
Update README.md
pierrehilbert Jul 20, 2022
d84b957
fix flaky (#730)
narph Jul 21, 2022
be3c48e
Add filestream ID on standalone kubernetes manifest (#742)
belimawr Jul 22, 2022
83c4fa2
Alter github action to run on different OSs (#769)
michel-laterman Jul 22, 2022
c05ce63
[Automation] Update elastic stack version to 8.4.0-d058e92f for testi…
apmmachine Jul 25, 2022
623fe82
elastic-agent manifests: add comments; add cloudnative team as a code…
tetianakravchenko Jul 25, 2022
56f2216
[Elastic-Agent] Added source uri reloading (#686)
michalpristas Jul 26, 2022
3e87782
Update will cleanup unneeded artifacts. (#752)
michel-laterman Jul 26, 2022
87f3798
ci: propagate e2e-testing errors (#695)
v1v Jul 27, 2022
e878103
[Release] add-backport-next (#784)
elasticmachine Jul 27, 2022
317e031
Update main to 8.5.0 (#793)
ph Jul 27, 2022
51e5b0a
[Automation] Update go release version to 1.17.12 (#726)
apmmachine Jul 27, 2022
8170411
[Automation] Update elastic stack version to 8.4.0-60171339 for testi…
apmmachine Jul 28, 2022
7a88635
update dependency elastic/go-structform from v0.0.9 to v0.0.10 (#802)
florianl Jul 29, 2022
74ce2ba
Fix unpacking of artifact config (#776)
michalpristas Aug 1, 2022
32afc73
[Automation] Update elastic stack version to 8.5.0-c54c3404 for testi…
apmmachine Aug 2, 2022
bea990f
[Automation] Update elastic stack version to 8.5.0-7dbc10f8 for testi…
apmmachine Aug 2, 2022
12c7d15
Fix RPM/DEB clean install (#816)
aleksmaus Aug 2, 2022
ff8de85
fix path for auto generated spec file (#859)
florianl Aug 4, 2022
6d830e8
Reload downloader client on config change (#848)
michalpristas Aug 5, 2022
64cb5a0
Bundle elastic-agent.app for MacOS, needed to be able to enable the …
aleksmaus Aug 8, 2022
940a56c
crossbuild: add fix to set ulimit for debian images (#856)
florianl Aug 9, 2022
dc5b1a2
[Heartbeat] Cleanup docker install / always add playwright deps (#764)
andrewvc Aug 9, 2022
448b218
[Automation] Update elastic stack version to 8.5.0-41aadc32 for testi…
apmmachine Aug 10, 2022
56787a6
Fix/panic with composable renderer (#823)
ph Aug 10, 2022
4e08c7a
[Automation] Update go release version to 1.18.5 (#832)
apmmachine Aug 10, 2022
d7f1588
[Automation] Update elastic stack version to 8.5.0-60a4c029 for testi…
apmmachine Aug 11, 2022
689aee3
Add control-plane toleration to Agent K8S manifests. (#864)
yashtewari Aug 11, 2022
1ebffe9
install mage with go install (#936)
v1v Aug 17, 2022
d4f33d0
Cloudnative ci automation (#837)
gizas Aug 17, 2022
b27a907
Reduce memory footprint by reordering struct elements (#804)
florianl Aug 17, 2022
5316967
[Automation] Update elastic stack version to 8.5.0-6b9f92c0 for testi…
apmmachine Aug 18, 2022
4eff4f1
[Automation] Update elastic stack version to 8.5.0-0616acda for testi…
apmmachine Aug 22, 2022
4fffa70
Clarify that this repo is not only docs (#969)
pquentin Aug 22, 2022
c0367b9
Add Filebeat lumberjack input to spec (#959)
andrewkroh Aug 22, 2022
1632dd1
[Automation] Update elastic stack version to 8.5.0-dd6f2bb0 for testi…
apmmachine Aug 23, 2022
4fdc445
[Automation] Update elastic stack version to 8.5.0-feb644de for testi…
apmmachine Aug 24, 2022
010e15f
[Automation] Update elastic stack version to 8.5.0-7783a03c for testi…
apmmachine Aug 25, 2022
1f3f409
[Automation] Update elastic stack version to 8.5.0-17b8a62d for testi…
apmmachine Aug 26, 2022
91d4854
update ironbank image product name (#1009)
jmlrt Aug 26, 2022
9c0cb45
ci: add extended support for windows (#683)
v1v Aug 26, 2022
9298e01
[Automation] Update elastic stack version to 8.5.0-9aed3b11 for testi…
apmmachine Aug 29, 2022
3e89bfc
Cloudnative ci utomation (#1035)
gizas Aug 30, 2022
64f0c3c
[Automation] Update elastic stack version to 8.5.0-fedc3e60 for testi…
apmmachine Aug 31, 2022
f3852cf
Testing PR creation for 706 (#1049)
gizas Aug 31, 2022
2522be4
Fix lookup issues with inputs.d fragment yml (#840)
ph Aug 31, 2022
54f3697
[Automation] Update elastic stack version to 8.5.0-b5001a6d for testi…
apmmachine Sep 1, 2022
a0957c7
[Automation] Update elastic stack version to 8.5.0-1bd77fc1 for testi…
apmmachine Sep 5, 2022
25411d2
[Automation] Update elastic stack version to 8.5.0-167dfc80 for testi…
apmmachine Sep 6, 2022
ffc6c00
Adding support for v1.25.0 k8s (#1044)
gizas Sep 6, 2022
5ca0ae1
[Automation] Update elastic stack version to 8.5.0-6b7dda2d for testi…
apmmachine Sep 7, 2022
7a8aeb4
[Automation] Update elastic stack version to 8.5.0-4140365c for testi…
apmmachine Sep 8, 2022
3951c33
Remove experimental warning log in upgrade command (#1106)
joshdover Sep 8, 2022
802f27e
Update go.mod to Go 1.18, update notice. (#1120)
cmacknz Sep 8, 2022
6e2e06c
Remove the fleet reporter (#1130)
michel-laterman Sep 9, 2022
458c8ae
[Automation] Update elastic stack version to 8.5.0-589a4a10 for testi…
apmmachine Sep 12, 2022
d811ef3
Avoid reporting `Unhealthy` on fleet connectivity issues (#1152)
michalpristas Sep 12, 2022
c8c313d
ci: enable MacOS M1 stages (#1123)
v1v Sep 12, 2022
8a00e80
[Automation] Update go release version to 1.18.6 (#1143)
apmmachine Sep 12, 2022
2730049
[Automation] Update elastic stack version to 8.5.0-37418cf3 for testi…
apmmachine Sep 13, 2022
9b17473
Remove mage notice in favour of make notice (#1108)
belimawr Sep 13, 2022
6fb3a93
ci: run e2e-testing at the end (#1169)
v1v Sep 13, 2022
3fb21ea
ci: move macos to github actions (#1175)
v1v Sep 13, 2022
eb3a698
[Automation] Update elastic stack version to 8.5.0-fcf3d4c2 for testi…
apmmachine Sep 14, 2022
59f9ac4
Add support for hints' based autodiscovery in kubernetes provider (#698)
ChrsMark Sep 14, 2022
558380b
ci: increase timeout (#1190)
v1v Sep 14, 2022
332d08d
Fixing condition for PR creation (#1188)
gizas Sep 14, 2022
8b711f3
Fix leftover log level (#1194)
ChrsMark Sep 14, 2022
ae2c942
[automation] Publish kubernetes templates for elastic-agent (#1192)
elasticmachine Sep 14, 2022
a7c48ef
ci: force GO_VERSION (#1204)
v1v Sep 14, 2022
270295f
Fix whitespaces in vault_darwin.c (#1206)
aleksmaus Sep 14, 2022
5a0ba4d
Update kubernetes templates for elastic-agent [templates.d] (#1231)
elasticmachine Sep 19, 2022
a0620af
Use at least warning level for all status logs (#1218)
joshdover Sep 19, 2022
ec2816d
Update k8s manifests to leverage hints (#1202)
ChrsMark Sep 19, 2022
a0a3ed1
Add Go 1.18 upgrade to breaking changes section. (#1216)
cmacknz Sep 19, 2022
6b5e6d0
[Release] add-backport-next (#1254)
elasticmachine Sep 21, 2022
5989089
Bump version to 8.6.0. (#1259)
cmacknz Sep 21, 2022
7d21718
[Automation] Update elastic stack version to 8.5.0-7dc445a0 for testi…
apmmachine Sep 21, 2022
815382d
Fix: Endpoint collision between monitoring and regular beats (#1034)
michalpristas Sep 22, 2022
28fab94
internal/pkg/agent/cmd: don't format error message with nil errors (#…
efd6 Sep 23, 2022
7af8092
[Automation] Update elastic stack version to 8.6.0-21651da3 for testi…
apmmachine Sep 26, 2022
2b6cfdc
Fixed: source uri reload for download/verify components (#1252)
michalpristas Sep 26, 2022
717708a
Expand status reporter/controller interfaces to allow local reporters…
michel-laterman Sep 26, 2022
5225e54
Improve logging for agent upgrades. (#1287)
cmacknz Sep 26, 2022
6a0fd1b
[Automation] Update elastic stack version to 8.6.0-326f84b0 for testi…
apmmachine Sep 27, 2022
faf98e7
[Automation] Update elastic stack version to 8.6.0-df00693f for testi…
apmmachine Sep 28, 2022
e614321
Add success log message after previous checkin failures (#1327)
joshdover Sep 28, 2022
177b5fb
Fix status reporter initialization (#1341)
AndersonQ Sep 28, 2022
c35935d
[Automation] Update elastic stack version to 8.6.0-a2f4f140 for testi…
apmmachine Sep 29, 2022
4d7fae9
Added status message to CheckinRequest (#1369)
juliaElastic Sep 29, 2022
e184051
Fix failures when using npipe monitoring endpoints (#1371)
michalpristas Sep 29, 2022
c6a22d4
[Automation] Update elastic stack version to 8.6.0-158a13db for testi…
apmmachine Sep 30, 2022
90c2c00
Mount /etc directory in Kubernetes DaemonSet manifests. (#1382)
yashtewari Oct 3, 2022
6d40875
[Automation] Update elastic stack version to 8.6.0-aea1c645 for testi…
apmmachine Oct 4, 2022
7155492
[Automation] Update elastic stack version to 8.6.0-0fca2953 for testi…
apmmachine Oct 5, 2022
f4b8e2e
ci: 7.17 is not available for the daily run (#1417)
v1v Oct 5, 2022
166e7f6
[Automation] Update elastic stack version to 8.6.0-e4c15f15 for testi…
apmmachine Oct 6, 2022
bd06f46
[backport main] Fix: Agent failed to upgrade from 8.4.2 to 8.5.0 BC1 …
aleksmaus Oct 6, 2022
2223138
Fix docker provider add_fields processors (#1420)
belimawr Oct 6, 2022
d8c9939
[Automation] Update elastic stack version to 8.6.0-d939cfde for testi…
apmmachine Oct 7, 2022
b0a98e2
[Automation] Update elastic stack version to 8.6.0-7c9f25a9 for testi…
apmmachine Oct 10, 2022
a3ea750
Enable integration only when datastreams are not defined (#1456)
ChrsMark Oct 10, 2022
f772a3d
Add not dedoted k8s pod labels in autodiscover provider to be used fo…
MichaelKatsoulis Oct 10, 2022
0efbca6
[Automation] Update elastic stack version to 8.6.0-c49fac70 for testi…
apmmachine Oct 11, 2022
7f813fa
Add storageclass permissions in agent clusterrole (#1470)
MichaelKatsoulis Oct 11, 2022
6223273
Remote QA-labels automation (#1455)
jlind23 Oct 11, 2022
6c325d0
[Automation] Update go release version to 1.18.7 (#1444)
apmmachine Oct 11, 2022
070af5f
[Automation] Update elastic stack version to 8.6.0-5a8d757d for testi…
apmmachine Oct 12, 2022
cd6ad3d
Improve logging around agent checkins. (#1477)
cmacknz Oct 12, 2022
12c5553
[Automation] Update elastic stack version to 8.6.0-40086bc7 for testi…
apmmachine Oct 13, 2022
d5cfe6f
Fixing makefile check (#1490)
gizas Oct 13, 2022
259682d
action: validate changelog fragment (#1488)
v1v Oct 13, 2022
5505f58
Allign managed with standalone role (#1500)
gizas Oct 13, 2022
8904833
Fix k8s template link versioning (#1504)
ChrsMark Oct 13, 2022
7f5450b
Allighningmanifests (#1507)
gizas Oct 13, 2022
35f12d5
[Automation] Update elastic stack version to 8.6.0-233dc5d4 for testi…
apmmachine Oct 14, 2022
6eadeef
Convert CHANGELOG.next to fragments (#1244)
endorama Oct 14, 2022
9c6a43b
[Automation] Update elastic stack version to 8.6.0-54a302f0 for testi…
apmmachine Oct 17, 2022
e64ea9a
Update the linter configuration. (#1478)
cmacknz Oct 17, 2022
d2c780b
Elastic agent counterpart of https://github.com/elastic/beats/pull/33…
andrewvc Oct 17, 2022
edc1e85
[Automation] Update elastic stack version to 8.6.0-cae815eb for testi…
apmmachine Oct 18, 2022
33a5f7e
Fix admin permission check on localized windows (#1552)
michalpristas Oct 18, 2022
97b8834
[Automation] Update elastic stack version to 8.6.0-6545f2df for testi…
apmmachine Oct 19, 2022
f2ee0d3
[Heartbeat] Only support elasticsearch output for synthetics integrat…
andrewvc Oct 19, 2022
19f8222
make policy change handler try all fleet hosts before failing (#1329)
AndersonQ Oct 20, 2022
3bb1244
[Automation] Update elastic stack version to 8.6.0-baf193e8 for testi…
apmmachine Oct 21, 2022
b21324e
[Automation] Update elastic stack version to 8.6.0-22d60ec9 for testi…
apmmachine Oct 24, 2022
e636591
[automation] Publish kubernetes templates for elastic-agent (#1594)
elasticmachine Oct 24, 2022
a8ad2da
Fix: Windows Agent Left Unhealthy After Removing Endpoint Integration…
aleksmaus Oct 24, 2022
66b98de
[Automation] Update elastic stack version to 8.6.0-b8b35931 for testi…
apmmachine Oct 25, 2022
069d386
Create stale config (#1607)
jlind23 Oct 26, 2022
4af7f13
[Automation] Update elastic stack version to 8.6.0-a892f234 for testi…
apmmachine Oct 27, 2022
72a4f61
Improve shutdown logs (#1618)
AndersonQ Oct 27, 2022
cecb1ca
[Automation] Update elastic stack version to 8.6.0-89d224d2 for testi…
apmmachine Oct 28, 2022
5cf5daf
[Automation] Add GH action to add issues to ingest board (#1629)
kpollich Oct 28, 2022
275c113
[Automation] Update elastic stack version to 8.6.0-949a38d2 for testi…
apmmachine Oct 31, 2022
3abaece
Update node version to 18.12.0 on complete image (#1657)
andrewvc Oct 31, 2022
188688f
[Automation] Update elastic stack version to 8.6.0-26dc1164 for testi…
apmmachine Nov 1, 2022
c031be5
Generate the consolidated 8.5.0 changelog. (#1642) (#1670)
cmacknz Nov 1, 2022
887bac7
[Automation] Update elastic stack version to 8.6.0-4765d2b0 for testi…
apmmachine Nov 2, 2022
b394e2f
Disable creating GH issues for build failures. (#1677)
cmacknz Nov 2, 2022
d340207
[Automation] Update elastic stack version to 8.6.0-8a615646 for testi…
apmmachine Nov 3, 2022
68fd2db
[Automation] Update elastic stack version to 8.6.0-3f5f98b7 for testi…
apmmachine Nov 4, 2022
6130eba
Remove non-agent Dockerfile templates. (#1539)
cmacknz Nov 4, 2022
657f66d
[Automation] Update elastic stack version to 8.6.0-f20b7179 for testi…
apmmachine Nov 7, 2022
cc550b3
[Automation] Update go release version to 1.18.8 (#1691)
apmmachine Nov 8, 2022
5219bda
Merge branch 'main' into merge-main-nov-8
blakerouse Nov 8, 2022
d665e66
Cleanup merge.
blakerouse Nov 8, 2022
cecd776
Order the outputs in component model so result is always the same order.
blakerouse Nov 9, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ pipeline {
cleanup {
notifyBuildResult(prComment: true,
analyzeFlakey: !isTag(), jobName: getFlakyJobName(withBranch: (isPR() ? env.CHANGE_TARGET : env.BRANCH_NAME)),
githubIssue: isBranch() && currentBuild.currentResult != "SUCCESS",
githubIssue: false, // Disable creating gh issues for build failures while the E2E tests are stabilized.
githubLabels: 'Team:Elastic-Agent-Control-Plane')
}
}
Expand Down
91 changes: 91 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# Configuration for probot-stale - https://github.com/probot/stale

# Number of days of inactivity before an Issue or Pull Request becomes stale
daysUntilStale: 90

# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
daysUntilClose: 90

# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
onlyLabels: []

# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
exemptLabels:
- flaky-test

# Set to true to ignore issues in a project (defaults to false)
exemptProjects: false

# Set to true to ignore issues in a milestone (defaults to false)
exemptMilestones: true

# Set to true to ignore issues with an assignee (defaults to false)
exemptAssignees: true

# Label to use when marking as stale
staleLabel: Stalled

# Comment to post when marking as stale. Set to `false` to disable
markComment: >
Hi!

We just realized that we haven't looked into this issue in a while. We're
sorry!


We're labeling this issue as `Stale` to make it hit our filters and
make sure we get back to it as soon as possible. In the meantime, it'd
be extremely helpful if you could take a look at it as well and confirm its
relevance. A simple comment with a nice emoji will be enough `:+1`.

Thank you for your contribution!

# Comment to post when removing the stale label.
# unmarkComment: >
# Your comment here.

# Comment to post when closing a stale Issue or Pull Request.
# closeComment: >
# Your comment here.

# Limit the number of actions per hour, from 1-30. Default is 30
limitPerRun: 30

# Limit to only `issues` or `pulls`
# only: issues

# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
pulls:
daysUntilStale: 60
daysUntilClose: 30
markComment: >
Hi!

We just realized that we haven't looked into this PR in a while. We're
sorry!


We're labeling this issue as `Stale` to make it hit our filters and
make sure we get back to it as soon as possible. In the meantime, it'd
be extremely helpful if you could take a look at it as well and confirm its
relevance. A simple comment with a nice emoji will be enough `:+1`.

Thank you for your contribution!

closeComment: >
Hi!

This PR has been stale for a while and we're going to close it as part of
our cleanup procedure.

We appreciate your contribution and would like to apologize if we have not
been able to review it, due to the current heavy load of the team.

Feel free to re-open this PR if you think it should stay open and is worth rebasing.

Thank you for your contribution!

# issues:
# exemptLabels:
# - confirmed
53 changes: 53 additions & 0 deletions .github/workflows/add-issues-to-ingest-board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Add issue to Platform Ingest project

on:
issues:
types:
- labeled

env:
INGEST_PROJECT_ID: 'PVT_kwDOAGc3Zs4AEzn4'
DATA_PLANE_LABEL: 'Team:Elastic-Agent-Data-Plane'
CONTROL_PLANE_LABEL: 'Team:Elastic-Agent-Control-Plane'
ELASTIC_AGENT_LABEL: 'Team:Elastic-Agent'
AREA_FIELD_ID: 'PVTSSF_lADOAGc3Zs4AEzn4zgEgZSo'
ELASTIC_AGENT_OPTION_ID: 'c1e1a30a'

jobs:
add_to_ingest_project:
runs-on: ubuntu-latest
steps:
- uses: octokit/[email protected]
id: add_to_project
if: github.event.label.name == env.DATA_PLANE_LABEL || github.event.label.name == env.CONTROL_PLANE_LABEL || github.event.label.name == env.ELASTIC_AGENT_LABEL
with:
query: |
# Variables have to be snake cased because of https://github.com/octokit/graphql-action/issues/164
mutation AddToIngestProject($project_id: ID!, $content_id: ID!) {
addProjectV2ItemById(input: { projectId: $project_id, contentId: $content_id }) {
item {
id
}
}
}
project_id: ${{ env.INGEST_PROJECT_ID }}
content_id: ${{ github.event.issue.node_id }}
env:
GITHUB_TOKEN: ${{ secrets.PROJECT_ASSIGNER_TOKEN }}
- uses: octokit/[email protected]
id: set_elastic_agent_area
if: github.event.label.name == env.DATA_PLANE_LABEL || github.event.label.name == env.CONTROL_PLANE_LABEL || github.event.label.name == env.ELASTIC_AGENT_LABEL
with:
query: |
mutation updateIngestArea($item_id: ID!, $project_id: ID!, $area_field_id: ID!, $area_id: String) {
updateProjectV2ItemFieldValue(
input: { itemId: $item_id, projectId: $project_id, fieldId: $area_field_id, value: { singleSelectOptionId: $area_id } }) {
clientMutationId
}
}
item_id: ${{ fromJSON(steps.add_to_project.outputs.data).addProjectV2ItemById.item.id }}
project_id: ${{ env.INGEST_PROJECT_ID }}
area_field_id: ${{ env.AREA_FIELD_ID }}
area_id: ${{ env.ELASTIC_AGENT_OPTION_ID }}
env:
GITHUB_TOKEN: ${{ secrets.PROJECT_ASSIGNER_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ fleet.enc.lock
# Files generated with the bump version automations
*.bck


# agent
build/
elastic-agent
Expand Down
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.18.7
1.18.8
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,24 @@
The source files for the general Elastic Agent documentation are currently stored
in the [observability-docs](https://github.com/elastic/observability-docs) repo. The following docs are only focused on getting developers started building code for Elastic Agent.

### Changelog

The changelog for the Elastic Agent is generated and maintained using the [elastic-agent-changelog-tool](https://github.com/elastic/elastic-agent-changelog-tool). Read the [installation](https://github.com/elastic/elastic-agent-changelog-tool/blob/main/docs/install.md)
and [usage](https://github.com/elastic/elastic-agent-changelog-tool/blob/main/docs/usage.md#im-a-developer) instructions to get started.

The changelog tool produces fragement files that are consolidated to generate a changelog for each release. Each PR containing a change with user
impact (new feature, bug fix, etc.) must contain a changelog fragement describing the change. There is a GitHub action in CI that will fail
if a PR does not contain a changelog fragment. For PRs that should not have a changelog entry, use the "skip-changelog" label to bypass
this check.

A simple example of a changelog fragment is below for reference:

```yml
kind: bug-fix
summary: Fix a panic caused by a race condition when installing the Elastic Agent.
pr: https://github.com/elastic/elastic-agent/pull/823
```

## Testing

Prerequisites:
Expand All @@ -27,6 +45,13 @@ export COMPOSE_DOCKER_CLI_BUILD=0
export DOCKER_DEFAULT_PLATFORM=linux/amd64
```

If you are on a Mac with M1 chip, don't forget to export some docker variable to be able to build for AMD
```
export DOCKER_BUILDKIT=0
export COMPOSE_DOCKER_CLI_BUILD=0
export DOCKER_DEFAULT_PLATFORM=linux/amd64
```

In Linux operating systems that you can not run docker as a root user you need to follow [linux-postinstall steps](https://docs.docker.com/engine/install/linux-postinstall/)

### Testing docker container
Expand Down
129 changes: 129 additions & 0 deletions changelog/8.5.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
version: 8.5.0
entries:
- kind: bug-fix
summary: Fix a panic caused by a race condition when installing the Elastic Agent.
description: ""
component: ""
pr:
- https://github.com/elastic/elastic-agent/pull/823
issue:
- https://github.com/elastic/elastic-agent/issues/806
timestamp: 1660139385
file:
name: 1660139385-Fix-a-panic-caused-by-a-race-condition-when-installing-the-Elastic-Agent.yaml
checksum: be820e85b12290a895bfd37c2c2245bfae5a70c9
- kind: breaking-change
summary: Upgrade to Go 1.18. Certificates signed with SHA-1 are now rejected. See the Go 1.18 https//tip.golang.org/doc/go1.18#sha1[release notes] for details.
description: ""
component: ""
pr:
- https://github.com/elastic/elastic-agent/pull/832
issue: []
timestamp: 1660158319
file:
name: 1660158319-Upgrade-to-Go-118-Certificates-signed-with-SHA-1-are-now-rejected-See-the-Go-118.yaml
checksum: 2b304d75a687ec7384f3011a55f243fef66e447b
- kind: feature
summary: Add `lumberjack` input type to the Filebeat spec.
description: ""
component: ""
pr:
- https://github.com/elastic/elastic-agent/pull/959
issue: []
timestamp: 1661188787
file:
name: 1661188787-Add-lumberjack-input-type-to-the-Filebeat-spec.yaml
checksum: ab7e3af045affbda1522c029cc56a9c5403340c3
- kind: feature
summary: Add support for hints' based autodiscovery in kubernetes provider.
description: ""
component: ""
pr:
- https://github.com/elastic/elastic-agent/pull/698
issue: []
timestamp: 1663143487
file:
name: 1663143487-Add-support-for-hints-based-autodiscovery-in-kubernetes-provider.yaml
checksum: 398470d14a8475e93aaf66f96407570653dde71e
- kind: bug-fix
summary: Fix unintended reset of source URI when downloading components
description: ""
component: ""
pr:
- https://github.com/elastic/elastic-agent/pull/1252
issue: []
timestamp: 1664177394
file:
name: 1664177394-Fix-unintended-reset-of-source-URI-when-downloading-components.yaml
checksum: 1040aceb00b70182c0bba621e15cfe711e32f9fe
- kind: bug-fix
summary: Create separate status reporter for local only events so that degraded fleet-checkins no longer affect health on successful fleet-checkins.
description: ""
component: ""
pr:
- https://github.com/elastic/elastic-agent/pull/1285
issue:
- https://github.com/elastic/elastic-agent/issues/1157
timestamp: 1664212969
file:
name: 1664212969-Create-separate-status-reporter-for-local-only-events-so-that-degraded-fleet-che.yaml
checksum: 929f1ada47aeaaf9c631091c0f2732f631b3539f
- kind: feature
summary: Improve logging during upgrades.
description: ""
component: ""
pr:
- https://github.com/elastic/elastic-agent/pull/1287
issue:
- https://github.com/elastic/elastic-agent/issues/1253
timestamp: 1664230732
file:
name: 1664230732-Improve-logging-during-upgrades.yaml
checksum: 13ab968324d342118c5a257d6c6cc0c5db161b46
- kind: bug-fix
summary: Add success log message after previous checkin failures
description: ""
component: ""
pr:
- https://github.com/elastic/elastic-agent/pull/1327
issue: []
timestamp: 1664360554
file:
name: 1664360554-Add-success-log-message-after-previous-checkin-failures.yaml
checksum: 819a22a452dddfa3b2976433d5cb4c8354a6ccc5
- kind: bug-fix
summary: Fix docker provider add_fields processors
description: ""
component: providers
pr:
- https://github.com/elastic/elastic-agent/pull/1420
issue:
- https://github.com/elastic/elastic-agent/issues/29030
timestamp: 1664989867
file:
name: 1664989867-fix-docker-provider-processors.yaml
checksum: 45731791cd2e8f1d747abfc47bb256971a77d015
- kind: enhancement
summary: Improve logging of Fleet check-in errors.
description: Improve logging of Fleet check-in errors and only report the local state as degraded after two consecutive failed check-ins.
component: ""
pr:
- https://github.com/elastic/elastic-agent/pull/1477
issue:
- https://github.com/elastic/elastic-agent/issues/1154
timestamp: 1665517984
file:
name: 1665517984-improve-checkin-error-logging.yaml
checksum: 2d3dd39309def9a082f794eda815af459596c2e6
- kind: bug-fix
summary: Fix admin permission check on localized windows
description: ""
component: ""
pr:
- https://github.com/elastic/elastic-agent/pull/1552
issue:
- https://github.com/elastic/elastic-agent/issues/857
timestamp: 1666088774
file:
name: 1666088774-Fix-admin-permission-check-on-localized-windows.yaml
checksum: 16ee5909c319680b8d32045e74c38922eafc29ea
31 changes: 31 additions & 0 deletions changelog/fragments/1665780486-heartbeat-es-output-only.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Kind can be one of:
# - breaking-change: a change to previously-documented behavior
# - deprecation: functionality that is being removed in a later release
# - bug-fix: fixes a problem in a previous version
# - enhancement: extends functionality but does not break or fix existing behavior
# - feature: new functionality
# - known-issue: problems that we are aware of in a given version
# - security: impacts on the security of a product or a user’s deployment.
# - upgrade: important information for someone upgrading from a prior version
# - other: does not fit into any of the other categories
kind: feature

# Change summary; a 80ish characters long description of the change.
summary: Only support elasticsearch as an output for the beta synthetics integration.

# Long description; in case the summary is not enough to describe the change
# this field accommodate a description without length limits.
# description:

# Affected component; a word indicating the component this changeset affects.
component: synthetics-integration

# PR number; optional; the PR number that added the changeset.
# If not present is automatically filled by the tooling finding the PR where this changelog fragment has been added.
# NOTE: the tooling supports backports, so it's able to fill the original PR number instead of the backport PR number.
# Please provide it if you are adding a fragment for a different PR.
pr: 1491

# Issue number; optional; the GitHub issue related to this changeset (either closes or is part of).
# If not present is automatically filled by the tooling with the issue linked to the PR number.
#issue: 1234
Loading