Commit graph

51 commits

Author SHA1 Message Date
Athena Brown
ff91ce024c
Update and pin gradle wrapper validation action (#106635)
This commit updates the Gradle wrapper validation action to the latest
release and pins it to that version by hash per our company best
practices for GitHub Workflows & Actions.
2024-03-21 19:17:25 -04:00
Simon Cooper
1b8f2cf8ac
Add some initial github codeowners for core/infra (#106314) 2024-03-14 10:11:09 +00:00
Mark Vieira
dbc653e4fd
Update docs preview link 2024-02-14 08:46:09 -08:00
Paul Bianciardi
5b7b1421b5
Update CODEOWNERS with separate Stack Monitoring team (#104828)
Adds [stack-monitoring](https://github.com/orgs/elastic/teams/stack-monitoring) and removes `@elastic/infra-monitoring-ui` (as being decommissioned), to review Stack Monitoring changes.
2024-01-29 10:52:59 +00:00
Rene Groeschke
2f4f6925b5
Add codeowners configuration for delivery team (#103422) 2023-12-18 14:43:56 +01:00
Andrew Wilkins
3c28dc0d69
CODEOWNERS: reduce scope of elastic/apm-server (#103368)
Cross-cutting refactoring often pings the apm-server team
and we're not really the best placed for reviewing these
changes. The apm-data plugin is structured so the apm-server
team can work on the templates and ingest pipelines without
touching any Java code, so reduce the scope to just the
assets and YAML REST tests.
2023-12-14 07:28:47 +08:00
Andrew Wilkins
4223cadc6d
x-pack/plugin/apm: introduce x-pack-apm plugin (#97546)
* x-pack/plugin/apm: introduce x-pack-apm plugin

* Dependency fix and tests

* Restore addition to ESRestTestCase

* Replace IngestPipelineConfig instantiation

* Update DataStreamUpgradeRestIT to expect logs-apm.error

* Adding rollover functionality

* Extend basic rollover funtionality tests

* Start adding integration test

* Hide rollup data streams

* Apm ingest fixes

- Map transaction.duration.us independently of span.duration.us,
  fix ingest pipeline. We might consider aliasing later.
- Set event.ingested
- Set processor.event, using constant_keyword where possible

* Fix error.grouping_name script

* Only set event.ingested for traces-apm.sampled

* Enabling APMRolloverIT

* Spotless...

* Assertion change

* Wait a bit before assertBusy

* Adjust template and pipeline names to convention

See https://github.com/elastic/elasticsearch/issues/96267#issuecomment-1662129512

- Index templates have a "@template" suffix
- Component templates are split into settings and mappings,
  and have a @settings and @mappings suffix respectively
- Ingest pipelines generally have a @pipeline suffix,
  except for one special case where we use @default-pipeline

We no longer have a component template for every data stream, rather we
have reusable component templates where it makes sense. For example, we
now have metrics-apm@settings and metrics-apm@mappings, which are
included by all APM metrics data streams.

We now set both default_pipeline and final_pipeline in the index
templates, preventing users from overriding them completely. The
default pipeline is always apm@default-pipeline, which performs
some rerouting of legacy data, and invokes user-defined @custom
pipelines based on the data_stream.type and data_stream.dataset
fields. The final pipeline just performs built-in processing.

* No need for manual cluster change events anymore

* Fix test

* Lower template priority to 110

Certain index templates installed by Fleet are given
a priority of 150, so lower the priority to avoid
conflicts.

See a18c68f7ac/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/template.ts (L58)

* Add logging

* Remove explicit timeout for rollovers

* Add _meta to component templates too

* Increase template priorities to 140

This goes closer to the Fleet-installed template priorities,
allowing for more builtin templates to be introduced without
affecting APM.

* Test multiple index template upgrades with rollovers

* Enfore correct component template versions

* Rename to x-pack-apm-data, default to disabled

Because there's already an "apm" plugin,
we haven't yet solved all issues with rollovers,
and the templates need some more love.

* Fix checkstyle

* Fix more checkstyle

* Fix even more linting issues

* Adjust test to disabled by default

* remove todo

* Fixing test

* Refactor leftovers

* Fix constant keyword mapping conflict

* Fix after merge

* Comment fixes

* Rename ApmIngestPipelineConfig to YamlIngestPipelineConfig

* Always return a registry

* spotless, what else

* Add rollover integration test to core

* Remove APMRolloverIT

* Refactor in renamed components

---------

Co-authored-by: eyalkoren <41850454+eyalkoren@users.noreply.github.com>
2023-10-31 13:05:06 +08:00
Milton Hultgren
403bcb366a
Update CODEOWNER paths for Stack Monitoring mappings (#99428) 2023-09-12 14:11:30 +02:00
Nikolaj Volgushev
7d23c98cb1
Track kibana system role in CODEOWNERS (#97603)
The ES security team currently manually tags the Kibana security team
for reviews on changes to the Kibana system role definition. This PR
aims to automate via codeowners.
2023-07-12 16:16:47 -04:00
Kyle Pollich
405328f041
[Fleet] Update CODEOWNERS for Fleet/Agent resources (#91670)
Point Fleet/Agent ES files to Fleet team instead of Agent Control Plane team.

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2023-01-27 08:24:13 -08:00
David Turner
75424c0416 Fix up whitespace after #91955 2022-11-28 15:54:48 +00:00
David Turner
4b06d9ce86
Link bug report template to EOL page (#91955)
Adds links to https://www.elastic.co/support/eol to the Github bug
report template to reduce bug reports involving EOL versions.
2022-11-28 15:50:14 +00:00
Alex
7fc0a571f4
GitHub Workflows security hardening (#90124) 2022-10-03 13:04:11 -07:00
Varun Sharma
c2b34a9405
Add GitHub token permissions for workflow (#89490) 2022-08-31 14:28:20 -07:00
debadair
58fae25490
Auto-generate preview links for DOC PRs (#89670)
* Auto-generate preview links for DOC PRs

* Removed direct link to guide

* Limited to just doc changes/
2022-08-26 12:56:05 -07:00
GabyCT
d248fa4b94
[DOCS] Update pull request template URLs (#89290)
This PR updates the pull request template to refer to main instead
of master as well as it updates some URLs.

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
2022-08-16 11:13:14 -07:00
Julien Lind
5233229bfb
Update CODEOWNERS (#89155) 2022-08-09 15:54:35 +02:00
Mark Vieira
17265e4db6 Remove GitHub action for syncing main branch with master 2022-07-22 16:19:58 -07:00
Milton Hultgren
168ab2ec9d
Make infra-monitoring-ui codeowners of Stack Monitoring templates 2022-07-22 11:41:49 +02:00
Rick Boyd
2b36b52fa6
Update test-failure Issue Template to include "needs:triage" label #83226 2022-01-27 18:42:12 -05:00
Ryan Ernst
86174d6add
Use github issue template forms (#83177)
Currently we use GitHub issue templates containing markdown for each
template. This was an improvement over the single issue template before
that, and there are several bits of information that we ask for, but
filling out the template is cumbersome because it is completely
markdown, and users often leave bits of markdown comments meant for them
to read in the resulting issue.

This commit converts the existing issue templates to use the new github
issue template forms. These are configured through yml, and present an
html form to the user that is customized for each issue type.
2022-01-26 12:59:45 -08:00
Ryan Ernst
97f010d16a
Remove duplicate security vulnerability section from issue template (#82987)
The Elasticsearch project has a security policy set on it, which causes
a "Report a security vulnerability" section in the new issue template
with a link to the security policy. This commit removes the older link
to sending an email to the security list, since it is confusing whether
a user should look at the policy (which references the security email)
or directly click the fake "Open" button.
2022-01-24 15:34:12 -08:00
Mark Vieira
80817d0fcd Add GitHub action for synchronizing commits from master to main branch 2021-08-24 15:51:33 -07:00
Mark Vieira
b58416cd60 Delete backport GitHub action 2021-08-11 11:46:00 -07:00
Mark Vieira
98ce2d2c0a Revert "Delete backport GitHub action"
This reverts commit 3d0b8efb78.
2021-08-11 07:42:47 -07:00
Mark Vieira
3d0b8efb78 Delete backport GitHub action 2021-08-10 13:49:54 -07:00
Mark Vieira
f9e8849991 Consolidate GitHub action backport configuration 2021-08-03 16:17:41 -07:00
Mark Vieira
feed41e871 Add GitHub action workflow for auto-backport-and-merge label 2021-08-03 14:40:43 -07:00
Mark Vieira
10a89c50db Give GitHub action a proper name 2021-06-30 10:45:26 -07:00
Mark Vieira
9475555185
Introduce GitHub action workflow to automate backporting (#74659) 2021-06-30 10:43:15 -07:00
Rory Hunter
ca008da2bc
Update the wording for the feature request issue template (#57037) 2020-05-21 16:43:15 +01:00
Ioannis Kakavas
5e1744cd24
Add failure history to template (#56508)
Debugging a CI issue, it's very often helpful to know when a
failure started happening and how often it happens. As such it is
beneficial to add a relevant section in the template in order to
remind the person on test triage to share a link to the build
stats Kibana instance.
2020-05-15 13:26:59 +03:00
Ryan Ernst
472eec194c
Add issue template categories (#56302)
This commit splits the singular legacy issue template into individual
categories. The UI is much nicer when creating an issue, and hopefully
will be more clear to users without needing to read through a bunch of
text.
2020-05-06 17:50:18 -07:00
Jonathan Leitschuh
8bf265e37b
Official Gradle Wrapper Validation GitHub Action (#51066)
See: https://github.com/gradle/wrapper-validation-action
2020-02-27 10:23:45 -08:00
Mark Vieira
c80948fe82
Remove github action workflows
Signed-off-by: Mark Vieira <portugee@gmail.com>
2020-02-19 14:10:57 -08:00
Mark Vieira
355c085566
Fix github action workflow syntax
Signed-off-by: Mark Vieira <portugee@gmail.com>
2020-02-19 14:01:56 -08:00
Mark Vieira
ceace36124
Add pr and issue assignment github action workflows
Signed-off-by: Mark Vieira <portugee@gmail.com>
2020-02-19 14:00:22 -08:00
Tim Vernum
3a7ae2f498
Make PR template reference supported architectures (#42919)
This commit changes the GitHub PR template to refer to supported "OS
and architecture" (rather than use OS) since we only accept PRs for
x86_64 (and not Linux ARM, s390, etc)
2019-06-07 13:31:04 +10:00
Jason Tedor
80620bd086 Add version command to issue template
This commit adds a hint to use the Elasticsearch --version flag to
produce the requested version information.
2017-07-31 08:55:31 +09:00
Clinton Gormley
e9547d6a70 Rewrote the github issue template to be shorter and more likely to be read (#24486) 2017-05-04 17:41:21 +02:00
Jason Tedor
2edd4d11f2 Revise issue template
This commit revises the issue template, hoping to make it clearer that
following the guidelines is a really good thing to do.

Relates #24470
2017-05-03 18:51:50 -04:00
Nik Everett
7b4c5fe29f docs: guidelines for students and teachers (#23648)
Short summary: contributing code you wrote for a class is fine, just
don't make the contribution process part of a class.
2017-03-20 09:29:26 -04:00
Jason Tedor
64c7ba96d9 Add field for plugins installed on issue template
This commit adds a field to the GitHub issue template for a list of the
plugins that are installed on the Elasticsearch installation. This is a
common enough ask that it is better to just collect this information up
front.

Relates #19840
2016-08-05 15:31:03 -04:00
Jason Tedor
41874de21d Add indefinite articles to issue template
This commit adds an indefinite article when referring to operating
systems in the issue template comments regarding supported operating
systems.
2016-07-08 14:34:15 -04:00
Jason Tedor
8992a5f0f5 Add note to issue template regarding supported OS
This commit adds a note to the GitHub issue template noting that bug
reports on OS that we do not support or feature requests for OS that we
do not support will be closed.

Relates #19322
2016-07-08 10:12:03 -04:00
Clinton Gormley
f5836951f8 Fixed link in PR template to CONTRIBUTING 2016-06-14 14:34:11 +02:00
Jason Tedor
38ef163dfc Uncomment pull request template body
This commit uncomments the pull request template body to make it more
visible, and adds an explanation of the templates purpose.
2016-04-27 13:17:53 -04:00
Jason Tedor
cabef54df8 Add pull request template
This commits adds a pull request template for contributors that submit
documentation updates or code patches.
2016-04-27 13:02:07 -04:00
Clinton Gormley
b1cf2b2cb3 Moved CONTRIBUTING.md back to the root directory
The CONTRIBUTING.md file can be in the root directory or
in the .github directory and will still be used for
the contributing guidelines on Github.

Moved back to the root directory so that it is more
visible outside Github
2016-03-12 14:58:30 +01:00
Jason Tedor
1499d83e4e Fix broken link to testing doc in contributing doc 2016-02-22 16:10:02 -08:00