Skip to content

Commit 0b51c34

Browse files
authored
Create V3 docs and move current docs to olddocs folder (#216)
* Move old docs to new folder * Copy files to new docs * Add CI * Convert docs - first pass * Edit docset * Further round of edits * Add version * Quickstarts * Latest changes * Sections * Add steppers * Compatibility docs * Add frontmatter for products * Collector docs * First pass at SDK docs * Add instructions * Further edits * Quick pass SDK docs
1 parent d45dbe2 commit 0b51c34

File tree

267 files changed

+9588
-9
lines changed

Some content is hidden

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

267 files changed

+9588
-9
lines changed

.github/workflows/check-generated-md.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- opened
77
- synchronize
88
paths:
9-
- 'docs/**'
9+
- 'olddocs/**'
1010

1111
jobs:
1212
check-generated-markdown:
@@ -20,10 +20,10 @@ jobs:
2020
python-version: '3.10'
2121
- name: Install dependencies
2222
run: |
23-
cd docs/gen_edot_col_components
23+
cd olddocs/gen_edot_col_components
2424
python -m pip install --upgrade pip
2525
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
2626
- name: Check Markdown Generation
2727
run: |
28-
cd docs
28+
cd olddocs
2929
make check-md-gen

.github/workflows/check-links.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
cache-version: 0
2323
- name: Install Dependencies
2424
run: |
25-
cd docs
25+
cd olddocs
2626
make install
2727
- name: Check Links
2828
run: |
29-
cd docs
29+
cd olddocs
3030
make check-links
3131
3232
# This job detects if any files changed in a given path
@@ -42,7 +42,7 @@ jobs:
4242
with:
4343
filters: |
4444
docs:
45-
- 'docs/**'
45+
- 'olddocs/**'
4646
4747
- name: Set output
4848
run: echo "docs_changed=${{ steps.filter.outputs.docs }}" >> $GITHUB_OUTPUT

.github/workflows/docs-build.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: docs-build
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
pull_request_target: ~
9+
10+
jobs:
11+
docs-preview:
12+
uses: elastic/docs-builder/.github/workflows/preview-build.yml@main
13+
with:
14+
path-pattern: docs/**
15+
permissions:
16+
id-token: write
17+
deployments: write
18+
contents: read
19+
pull-requests: read

.github/workflows/docs-cleanup.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
name: docs-cleanup
3+
4+
on:
5+
pull_request_target:
6+
types:
7+
- closed
8+
9+
jobs:
10+
docs-preview:
11+
uses: elastic/docs-builder/.github/workflows/preview-cleanup.yml@main
12+
permissions:
13+
contents: none
14+
id-token: write
15+
deployments: write

.github/workflows/jekyll.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,19 @@ jobs:
4141
cache-version: 0 # Increment this number if you need to re-download cached gems
4242
- name: Install Dependencies
4343
run: |
44-
cd docs
44+
cd olddocs
4545
bundle install
4646
- name: Build site
4747
# Outputs to the './_site' directory by default
4848
run: |
49-
cd docs
49+
cd olddocs
5050
bundle exec jekyll build
5151
- name: Upload artifact
5252
id: deployment
5353
# Automatically uploads an artifact from the './_site' directory by default
5454
uses: actions/upload-pages-artifact@v3
5555
with:
56-
path: docs/_site
56+
path: olddocs/_site
5757

5858
# Deployment job
5959
deploy:

docs/docset.yml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
project: 'EDOT docs'
2+
cross_links:
3+
- apm-agent-android
4+
- apm-agent-dotnet
5+
- apm-agent-go
6+
- apm-agent-ios
7+
- apm-agent-java
8+
- apm-agent-nodejs
9+
- apm-agent-php
10+
- apm-agent-python
11+
- apm-agent-ruby
12+
- apm-agent-rum-js
13+
- apm-aws-lambda
14+
- apm-k8s-attacher
15+
- apm-server
16+
- cloud
17+
- cloud-on-k8s
18+
- docs-content
19+
- elasticsearch
20+
- kibana
21+
toc:
22+
- toc: reference
23+
# - toc: release-notes
24+
subs:
25+
edot: Elastic Distribution of OpenTelemetry
26+
ecloud: "Elastic Cloud"
27+
ech: "Elastic Cloud Hosted"
28+
ess: "Elasticsearch Service"
29+
ece: "Elastic Cloud Enterprise"
30+
serverless-full: "Elastic Cloud Serverless"
31+
security-app: "Elastic Security app"
32+
stack-manage-app: "Stack Management"
33+
stack-monitor-app: "Stack Monitoring"
34+
rules-ui: "Rules"
35+
connectors-ui: "Connectors"
36+
connectors-feature: "Actions and Connectors"
37+
hosted-ems: "Elastic Maps Server"
38+
data-sources: "data views"
39+
agent: "Elastic Agent"
40+
agents: "Elastic Agents"
41+
fleet: "Fleet"
42+
fleet-server: "Fleet Server"
43+
package-manager: "Elastic Package Manager"
44+
stack: "Elastic Stack"
45+
es: "Elasticsearch"
46+
kib: "Kibana"
47+
ls: "Logstash"
48+
security-features: "security features"
49+
stack-security-features: "Elastic Stack security features"
50+
endpoint-sec: "Endpoint Security"
51+
swimlane: "Swimlane"
52+
sn: "ServiceNow"
53+
sn-itsm: "ServiceNow ITSM"
54+
sn-itom: "ServiceNow ITOM"
55+
sn-sir: "ServiceNow SecOps"
56+
ibm-r: "IBM Resilient"
57+
webhook: "Webhook"
58+
webhook-cm: "Webhook - Case Management"
59+
opsgenie: "Opsgenie"
60+
bedrock: "Amazon Bedrock"
61+
gemini: "Google Gemini"
62+
hive: "TheHive"
63+
report-features: "reporting features"
64+
ml: "machine learning"
65+
ccs: "cross-cluster search"
66+
anomaly-job: "anomaly detection job"
67+
observability: "Observability"
68+
kib-repo: "https://github.com/elastic/kibana/"
69+
kib-pull: "https://github.com/elastic/kibana/pull/"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Use the **Add data** screen in Elastic Observability to generate install commands that are already configured with the values you need.
2+
3+
1. Open Elastic Observability.
4+
2. Go to **Add data**.
5+
3. Select what you want to monitor.
6+
4. Follow the instructions.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Retrieve your Elasticsearch URL and your API key:
2+
3+
1. Retrieve the Elasticsearch URL for your Elastic Cloud deployment:
4+
5+
1. Go to the [Elastic Cloud console](https://cloud.elastic.co/).
6+
2. Next to your deployment, select **Manage**.
7+
3. Under **Applications** next to **Elasticsearch**, select **Copy endpoint**.
8+
9+
2. Create an API Key following [these instructions](docs-content://deploy-manage/api-keys/elasticsearch-api-keys.md).
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
---
2+
navigation_title: Hosts / VMs environments
3+
description: Recommended EDOT architecture for host or virtual machine environments.
4+
applies_to:
5+
stack:
6+
serverless:
7+
observability:
8+
products:
9+
- cloud-serverless
10+
- observability
11+
---
12+
13+
# Hosts and VMs environments
14+
15+
On host or virtual machine environments, deploy local, per-host OpenTelemetry Collector instances, here referred to as OTel Collector in Agent Mode.
16+
17+
![VM-Edge](./../images/arch-vm-edge.png)
18+
19+
These collectors have two main purposes:
20+
21+
1. The collection of local logs and infrastructure metrics. Refer to [this sample config file](https://github.com/elastic/elastic-agent/blob/main/internal/pkg/otel/samples/linux/managed_otlp/platformlogs_hostmetrics.yml) for recommended collector receiver configurations for hostmetrics and logs.
22+
2. Enriching application telemetry from OTel SDKs that run within the instrumented applications on corresponding hosts with resource information.
23+
24+
## Deployment scenarios
25+
26+
See the recommended architectures per Elastic deployment scenarios:
27+
28+
:::{note}
29+
Elastic's Observability solution is technically compatible with edge setups that are fully based on upstream OTel components as long as the ingestion path follows the recommendations outlined in the following sections.
30+
:::
31+
32+
### Elastic Cloud Serverless
33+
34+
Elastic Cloud Serverless provides a managed OTLP endpoint for ingestion of OpenTelemetry data.
35+
36+
![VM-Serverless](./../images/arch-vm-serverless.png)
37+
38+
Users can send their OTel data from the [edge setup](#hosts--vms-environments) in OTel-native format through OTLP without any additional requirements for self-managed preprocessing of data.
39+
40+
### Elastic Cloud Hosted
41+
42+
As of Elastic Stack version <STACK_VERSION> on Elastic Cloud Hosted (ECH), you need to run a self-hosted EDOT Collector in Gateway Mode to ingest OTel data from the [edge setup](#hosts--vms-environments) in OTel-native format into the Elastic-hosted Elasticsearch.
43+
44+
![VM-ECH](./../images/arch-vm-ech.png)
45+
46+
The EDOT Collector in Gateway mode enriches and pre-aggregates the data for a seamless experience in the Elastic Observability solution before ingesting it directly into Elasticsearch.
47+
48+
If required, users can build their custom, EDOT-like collector [following these instructions](../edot-collector/custom-collector#build-a-custom-edot-like-collector).
49+
50+
:::{note}
51+
The EDOT Gateway Collector does not send data through Elastic's Integration / APM Server on ECH to ingest data into Elasticsearch.
52+
:::
53+
54+
:::{important}
55+
If self-managing an EDOT Gateway is not a valid option for you, refer to [Elastic's classic ingestion path for OTel data on ECH](https://www.elastic.co/guide/en/observability/current/apm-open-telemetry.html).
56+
:::
57+
58+
### Self-managed
59+
60+
In a self-managed deployment scenario, you need to host an EDOT Collector in Gateway mode that pre-processes and ingests OTel data from the [edge setup](#hosts--vms-environments) into the self-managed Elastic Stack.
61+
62+
![VM-self-managed](./../images/arch-vm-self-managed.png)
63+
64+
:::{note}
65+
Compared to [Elastic's classic ingestion paths](https://www.elastic.co/guide/en/observability/current/apm-open-telemetry.html) for OTel data, with the EDOT Gateway Collector there is no need for an APM Server anymore.
66+
:::
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
navigation_title: Reference Architecture
3+
description: Recommended architectures for EDOT with different Elastic deployment options.
4+
applies_to:
5+
stack:
6+
serverless:
7+
observability:
8+
products:
9+
- cloud-serverless
10+
- observability
11+
---
12+
13+
# Reference architecture
14+
15+
The following sections outline the recommended architectures for Elastic Distributions of OpenTelemetry (EDOT) with different Elastic deployment options.
16+
17+
- [Hosts and VMs](hosts_vms.md)
18+
- [Kubernetes](k8s.md)
19+

0 commit comments

Comments
 (0)