Skip to content

Commit 8bc5cbe

Browse files
authored
Merge branch 'main' into kofi-high-cpu-troubleshooting
2 parents 6a396b9 + 0ec6758 commit 8bc5cbe

File tree

2,569 files changed

+48142
-22931
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,569 files changed

+48142
-22931
lines changed

.github/CODEOWNERS

Lines changed: 64 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,65 @@
1-
/.github/ @elastic/doc-leads
2-
/.github/workflows/ @elastic/docs-engineering
1+
# Unless a later match takes precedence, someone on the docs team must review all PRs to this repo
2+
* @elastic/docs
33

4-
/serverless/ @elastic/platform-docs
5-
/serverless/serverless-changelog.asciidoc @elastic/docs
4+
# Templates, workflows, and config
5+
/.github/ @elastic/doc-leads
6+
/.github/workflows/ @elastic/docs-engineering
7+
/acrolinx/ @elastic/doc-leads
8+
9+
# The docs
10+
/cloud-account/ @elastic/admin-docs
11+
/deploy-manage/ @elastic/admin-docs
12+
/explore-analyze/ @elastic/core-docs @elastic/experience-docs
13+
/extend/ @elastic/core-docs
14+
/get-started/ @elastic/core-docs
15+
16+
/manage-data/ @elastic/admin-docs
17+
/manage-data/data-store/ @elastic/admin-docs @elastic/developer-docs
18+
/manage-data/ingest/ @elastic/ingest-docs
19+
20+
/reference/ @elastic/docs
21+
/reference/apm-agents/ @elastic/ingest-docs
22+
/reference/data-analysis/ @elastic/docs
23+
/reference/data-analysis/observability/ @elastic/experience-docs
24+
/reference/data-analysis/kibana/ @elastic/experience-docs
25+
/reference/data-analysis/machine-learning/ @elastic/developer-docs
26+
/reference/data-analysis/observability/ @elastic/experience-docs
27+
/reference/elasticsearch/clients/ @elastic/developer-docs
28+
/reference/fleet/ @elastic/ingest-docs
29+
/reference/glossary/ @elastic/docs
30+
/reference/ingestion-tools/ @elastic/ingest-docs
31+
/reference/observability/ @elastic/experience-docs
32+
/reference/search/ @elastic/developer-docs
33+
/reference/security/ @elastic/experience-docs
34+
35+
/release-notes/ @elastic/docs
36+
37+
/release-notes/apm-agents/ @elastic/ingest-docs
38+
/release-notes/elastic-cloud-serverless/ @elastic/admin-docs
39+
/release-notes/elastic-observability/ @elastic/ski-docs
40+
/release-notes/elastic-security/ @elastic/ski-docs
41+
/release-notes/elasticsearch-clients/ @elastic/developer-docs
42+
/release-notes/fleet-elastic-agent/ @elastic/ingest-docs
43+
/release-notes/intro/ @elastic/docs
44+
45+
/solutions/ @elastic/experience-docs @elastic/developer-docs
46+
/solutions/observability/ @elastic/experience-docs
47+
/solutions/observability/get-started/ @elastic/ski-docs
48+
/solutions/search/ @elastic/developer-docs
49+
/solutions/security/ @elastic/experience-docs
50+
51+
/troubleshoot/ @elastic/docs
52+
/troubleshoot/deployments/ @elastic/admin-docs
53+
/troubleshoot/elasticsearch/ @elastic/admin-docs
54+
/troubleshoot/ingest/ @elastic/ingest-docs
55+
/troubleshoot/kibana/ @elastic/admin-docs @elastic/experience-docs
56+
/troubleshoot/monitoring/ @elastic/admin-docs @elastic/experience-docs
57+
/troubleshoot/observability/ @elastic/ski-docs
58+
/troubleshoot/security/ @elastic/ski-docs
59+
60+
# Raw migrated files
61+
/raw-migrated-files/ @elastic/docs
62+
63+
# Legacy serverless docs
64+
/serverless/ @elastic/admin-docs
65+
/serverless/serverless-changelog.asciidoc @elastic/docs

.github/ISSUE_TEMPLATE/community-request.yaml renamed to .github/ISSUE_TEMPLATE/a-community-request.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: "Community documentation request"
2-
description: Request a documentation change or enhancement.
3-
title: "[Request]: "
4-
labels: ["Request", "community"]
2+
description: An issue template for non-Elastic employees to request changes to the documentation.
3+
title: "[Community]: "
4+
labels: ["community"]
55
body:
66
- type: markdown
77
attributes:
88
value: |
9-
Hi 👋. Thanks for taking the time to fill out this request!
10-
This form will create an issue that Elastic's docs team will triage and prioritize.
11-
You can also open a PR instead.
9+
This issue template is for non-Elastic employees to request changes to the documentation. **If you are an Elastic employee, please use the internal issue template instead.**
10+
11+
This form will create an issue that Elastic's docs team will triage and prioritize. You can also open a PR instead. Thanks for taking the time to fill out this request!
1212
- type: textarea
1313
id: link
1414
attributes:

.github/ISSUE_TEMPLATE/internal-request.yaml renamed to .github/ISSUE_TEMPLATE/b-internal-request.yaml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: "Internal documentation request (Elastic employees)"
2-
description: Request a documentation change or enhancement for any supported release.
3-
title: "[REQUEST]: "
4-
labels: ["request", "Team:Docs"]
2+
description: An issue template for Elastic employees to request improvements, additions, or changes to the documentation.
3+
title: "[Internal]: "
54
body:
65
- type: markdown
76
attributes:
@@ -63,10 +62,21 @@ body:
6362
- 'N/A'
6463
- '8.17'
6564
- '8.18'
65+
- '8.19'
6666
- '9.0'
67+
- '9.1'
68+
- '9.2'
6769
default: 0
6870
validations:
6971
required: true
72+
- type: input
73+
id: release-serverless
74+
attributes:
75+
label: Serverless release
76+
description: When do you expect the feature to be promoted and available in the _**serverless production environment**_?
77+
placeholder: The week of April 1, 2024
78+
validations:
79+
required: true
7080
- type: dropdown
7181
id: collaboration
7282
attributes:

.github/ISSUE_TEMPLATE/api-feedback.yaml renamed to .github/ISSUE_TEMPLATE/c-api-feedback.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: "API docs feedback"
22
description: Tell us about your experience with Elastic API documentation.
3-
title: "[Feedback]: "
4-
labels: ["feedback", "community"]
3+
title: "[API]: "
4+
labels: ["api-feedback"]
55
body:
66
- type: markdown
77
attributes:
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
name: "UI copy request"
2+
description: Submit a UI copy-related request to the documentation team.
3+
title: "[UI copy]: "
4+
labels: "ui-copy"
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Hello! Use this form to submit a UI copy related request to Elastic's documentation team. You should also directly contact the specific writer or docs team that's responsibile for the applicable part of the product, especially for time-sensitive requests.
10+
> [!WARNING]
11+
> THIS IS A PUBLIC REPO. DO NOT INCLUDE SENSITIVE INFORMATION HERE.
12+
- type: textarea
13+
id: description
14+
attributes:
15+
label: Description
16+
description: Summarize your request here. What is the work and how can we help? Do we need to write new copy, or edit existing copy? Feel free to include screenshots.
17+
placeholder: |
18+
What: We're introducing new feature A. We need a writer to review the UI copy.
19+
When: This feature will launch at the completion of project B.
20+
Why: This feature will make X, Y, and Z easier for the user.
21+
validations:
22+
required: true
23+
- type: textarea
24+
id: related
25+
attributes:
26+
label: Related links / assets
27+
description: Where can the documentation team learn more about this feature?
28+
value: |
29+
Please include each of the following, if applicable:
30+
Figma link(s):
31+
Github epic link(s):
32+
Github issue link(s):
33+
How to find the text in a production environment:
34+
Testing environment information:
35+
NOTE: To keep sensitive information such as credentials secure, do not include it in this form.
36+
validations:
37+
required: true
38+
- type: dropdown
39+
id: product-area
40+
attributes:
41+
label: Which product area does this mainly concern?
42+
options:
43+
- Cloud UI
44+
- Search solution
45+
- Observability solution
46+
- Security solution
47+
- Kibana Analytics (Discover, Dashboards...)
48+
- Kibana Management
49+
- Something else
50+
default: 0
51+
validations:
52+
required: true
53+
- type: textarea
54+
id: collaborators
55+
attributes:
56+
label: Collaborators
57+
description: Please include contact information for the responsible product manager, designer, and developer.
58+
value: |
59+
PM:
60+
Designer:
61+
Developer:
62+
Others (if applicable):
63+
validations:
64+
required: true
65+
- type: textarea
66+
id: timeline
67+
attributes:
68+
label: Timeline / deliverables
69+
description: When would it be ideal for for us to complete the request? What deliverables do you need, and when? If applicable, how do the release timelines for this feature differ between serverless / stateful?
70+
placeholder: |
71+
For example:
72+
73+
We need a final draft of the new UI copy no later than December 5, ideally by December 1. No differences between serverless/ESS.
74+
75+
This is an urgent request, it would be great to have updated copy for A and B ASAP, since the original copy is already in production. No differences between serverless/ESS.
76+
validations:
77+
required: true
78+
- type: markdown
79+
attributes:
80+
value: |
81+
Thanks for submitting this issue! We'll be in contact shortly.

.github/ISSUE_TEMPLATE/issue-report.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
name: "Docs issue"
2-
description: Report documentation issues such as inaccuracies, broken links, typos, or missing information.
3-
title: "[Issue]: "
4-
labels: ["triage"]
1+
name: "Website issue"
2+
description: This issue template should only be used when navigating directly from elastic.co.
3+
title: "[Website]: "
4+
labels: ["source:web"]
55
body:
66
- type: markdown
77
attributes:
88
value: |
9-
Hi 👋. Thanks for taking the time to fill out this issue report!
10-
This form will create an issue that Elastic's docs team will triage and prioritize.
11-
You can also open a PR instead.
9+
Hi 👋. Thanks for taking the time to fill out this issue report! This form will create an issue that Elastic's docs team will triage and prioritize. You can also open a PR instead.
1210
- type: dropdown
1311
attributes:
1412
label: Type of issue
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: "Label new issues with needs-team"
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
7+
jobs:
8+
add-needs-triage-label:
9+
name: Add `needs-team` label
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Add the needs-team label
13+
uses: actions-ecosystem/action-add-labels@v1
14+
with:
15+
labels: |
16+
needs-team
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/add-to-board.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Triage & route issues
2+
3+
on:
4+
issues:
5+
types: [labeled]
6+
7+
permissions:
8+
issues: write
9+
contents: read
10+
11+
jobs:
12+
route:
13+
runs-on: ubuntu-latest
14+
if: |
15+
github.event.label.name == 'team:Ingest' ||
16+
github.event.label.name == 'team:Experience' ||
17+
github.event.label.name == 'team:Admin' ||
18+
github.event.label.name == 'team:Developer' ||
19+
github.event.label.name == 'team:DocsEng' ||
20+
github.event.label.name == 'team:Obs' ||
21+
github.event.label.name == 'team:Platform' ||
22+
github.event.label.name == 'team:Projects' ||
23+
github.event.label.name == 'team:Search' ||
24+
github.event.label.name == 'team:Security'
25+
env:
26+
PROJECT_ID_MAP: |
27+
{
28+
"team:Ingest": "649",
29+
"team:Experience": "1034",
30+
"team:Admin": "1927",
31+
"team:Developer": "726",
32+
"team:DocsEng": "1625",
33+
"team:Obs": "649",
34+
"team:Platform": "1232",
35+
"team:Projects": "1415",
36+
"team:Search": "726",
37+
"team:Security": "1034"
38+
}
39+
steps:
40+
- name: Remove needs-team label
41+
uses: actions-ecosystem/action-remove-labels@v1
42+
with:
43+
labels: needs-team
44+
45+
- name: Add issue to the right project
46+
uses: actions/add-to-project@244f685bbc3b7adfa8466e08b698b5577571133e
47+
with:
48+
project-url: https://github.com/orgs/elastic/projects/${{ fromJson(env.PROJECT_ID_MAP)[github.event.label.name] }}
49+
github-token: ${{ secrets.ADD_TO_BOARD_TOKEN }}
50+
labeled: ${{ github.event.label.name }}
51+
label-operator: OR

.github/workflows/docs-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
deployments: write
1717
id-token: write
1818
contents: read
19-
pull-requests: read
19+
pull-requests: write
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: Label Community Issues
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
7+
jobs:
8+
label-community-issues:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
issues: write
12+
contents: read
13+
14+
steps:
15+
# Adding this step for debug purposes
16+
# If this works as expected, we can simplify this workflow
17+
# and replace it with the `check-membership` step
18+
- name: Check organization membership (test)
19+
run: echo "${{ github.event.issue.author_association == 'MEMBER' }}"
20+
- name: Check organization membership
21+
id: check-membership
22+
uses: actions/github-script@v7
23+
with:
24+
github-token: ${{ secrets.ORG_MEMBER_READ_TOKEN }}
25+
result-encoding: string
26+
script: |
27+
const issueAuthor = '${{ github.event.issue.user.login }}';
28+
const orgName = 'elastic';
29+
30+
try {
31+
await github.rest.orgs.getMembershipForUser({
32+
org: orgName,
33+
username: issueAuthor
34+
});
35+
36+
console.log(`${issueAuthor} is a member of ${orgName} organization`);
37+
return 'member';
38+
39+
} catch (error) {
40+
if (error.status === 404) {
41+
console.log(`${issueAuthor} is not a member of ${orgName} organization`);
42+
return 'non-member';
43+
} else {
44+
console.log('Error checking organization membership:', error);
45+
return 'error';
46+
}
47+
}
48+
49+
- name: Add community label
50+
if: steps.check-membership.outputs.result == 'non-member'
51+
uses: actions/github-script@v7
52+
with:
53+
github-token: ${{ secrets.GITHUB_TOKEN }}
54+
script: |
55+
const issueAuthor = '${{ github.event.issue.user.login }}';
56+
57+
await github.rest.issues.addLabels({
58+
owner: context.repo.owner,
59+
repo: context.repo.repo,
60+
issue_number: context.issue.number,
61+
labels: ['community']
62+
});
63+
64+
console.log(`Added "community" label to issue by ${issueAuthor}`);

0 commit comments

Comments
 (0)