Skip to content

Commit a31998c

Browse files
committed
more clean
1 parent c936309 commit a31998c

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

solutions/observability/get-started/quickstart-elastic-cloud-otel-endpoint.md

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This endpoint is designed for the following use cases:
1919
* APM: Application telemetry in OTLP format.
2020

2121
:::{dropdown} Differences from the existing Elastic APM Endpoint
22-
The Elastic Cloud Managed OTLP Endpoint ensures that OpenTelemetry data is stored without any schema translation, preserving both OpenTelemetry semantic conventions and resource attributes. It supports ingesting OTLP logs, metrics, and traces in a unified manner, ensuring consistent treatment across all telemetry data. This marks a significant improvement over the {observability-guide}/apm-open-telemetry.html[existing functionality], which primarily focuses on traces and the APM use case.
22+
The Elastic Cloud Managed OTLP Endpoint ensures that OpenTelemetry data is stored without any schema translation, preserving both OpenTelemetry semantic conventions and resource attributes. It supports ingesting OTLP logs, metrics, and traces in a unified manner, ensuring consistent treatment across all telemetry data. This marks a significant improvement over the [existing functionality](/solutions/observability/apps/use-opentelemetry-with-apm.md), which primarily focuses on traces and the APM use case.
2323
:::
2424

2525
## Prerequisites
@@ -36,40 +36,42 @@ The Elastic Cloud Managed OTLP Endpoint ensures that OpenTelemetry data is store
3636

3737
### Get your native OTLP endpoint credentials
3838

39-
. [create a new Observability project](/solutions/observability/get-started/create-an-observability-project.md), or open an existing one.
39+
1. [create a new Observability project](/solutions/observability/get-started/create-an-observability-project.md), or open an existing one.
4040

41-
. In your {{obs-serverless}} project, go to **Add Data**.
41+
1. In your {{obs-serverless}} project, go to **Add Data**.
4242

43-
. Under **What do you want to monitor?** select **Application**, and then under **Monitor your application using** select **OpenTelemetry**.
43+
1. Under **What do you want to monitor?** select **Application**, and then under **Monitor your application using** select **OpenTelemetry**.
4444

45-
NOTE: Follow this flow for all use cases, including logs and infrastructure monitoring.
45+
:::{note}
46+
Follow this flow for all use cases, including logs and infrastructure monitoring.
47+
:::
4648

47-
. Copy the `OTEL_EXPORTER_OTLP_ENDPOINT` URL. Replace `.apm` with `.ingest` and save this value for later.
49+
1. Copy the `OTEL_EXPORTER_OTLP_ENDPOINT` URL. Replace `.apm` with `.ingest` and save this value for later.
4850

4951
### Create an API key
5052

51-
. Click "Create an API Key" to generate a new API key. Copy this value for later.
52-
. (Optional) Test your new API key. You can do this by sending an empty JSON object to the `/v1/traces` endpoint. For example:
53+
1. Click "Create an API Key" to generate a new API key. Copy this value for later.
54+
1. (Optional) Test your new API key. You can do this by sending an empty JSON object to the `/v1/traces` endpoint. For example:
5355

54-
```bash
55-
curl -X POST \
56-
-H "Content-Type: application/json" \
57-
-H "Authorization: ApiKey <api-key>" \
58-
https://{YOUR_CLUSTER}.ingest.us-east-1.aws.elastic.cloud:443/v1/traces \
59-
-d '{}'
60-
```
56+
```bash
57+
curl -X POST \
58+
-H "Content-Type: application/json" \
59+
-H "Authorization: ApiKey <api-key>" \
60+
https://{YOUR_CLUSTER}.ingest.us-east-1.aws.elastic.cloud:443/v1/traces \
61+
-d '{}'
62+
```
6163

62-
The response should be similar to:
64+
The response should be similar to:
6365

64-
```txt
65-
{"partialSuccess":{}}%
66-
```
66+
```txt
67+
{"partialSuccess":{}}%
68+
```
6769

6870
### Send data to your Elastic Cloud Managed OTLP endpoint
6971

70-
* [](#otel-sdk-running)
71-
* [](#no-sdk-running)
72-
* [](#instrumentation-please)
72+
* [I have an OTel Collector/SDK running](#otel-sdk-running)
73+
* [I need an OTel Collector/SDK](#no-sdk-running)
74+
* [I just want to use the instrumentation](#instrumentation-please)
7375

7476
#### I have an OTel Collector/SDK running [otel-sdk-running]
7577

@@ -122,8 +124,8 @@ Don't have a collector or SDK running? No problem. Spin up an EDOT collector in
122124
* [Kubernetes Quickstart](https://elastic.github.io/opentelemetry/quickstart/serverless/k8s.html)
123125
* [Hosts & VMs Quickstart](https://elastic.github.io/opentelemetry/quickstart/serverless/hosts_vms.html)
124126
125-
// Commenting out Docker until the docs are ready
126-
// * [Docker Quickstart](https://elastic.github.io/opentelemetry/quickstart/serverless/docker.html)
127+
% Commenting out Docker until the docs are ready
128+
% * [Docker Quickstart](https://elastic.github.io/opentelemetry/quickstart/serverless/docker.html)
127129
128130
#### I just want to use the instrumentation [instrumentation-please]
129131
@@ -141,7 +143,7 @@ Exporting failed. Dropping data.
141143
"Unauthenticated desc = ApiKey prefix not found"
142144
```
143145
144-
You must format your API key as `"Authorization": "ApiKey <api-key-value-here>"` or `"Authorization=ApiKey <api-key>"` depending on whether you're using a collector or SDK. See [](#otel-sdk-running) for more information.
146+
You must format your API key as `"Authorization": "ApiKey <api-key-value-here>"` or `"Authorization=ApiKey <api-key>"` depending on whether you're using a collector or SDK. See [I have an OTel Collector/SDK running](#otel-sdk-running) for more information.
145147

146148
**Error: too many requests**
147149

solutions/observability/otlp-visualize.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Want to ingest OpenTelemetry data? See [](/solutions/observability/get-started/q
1414
## Get creative with Discover
1515

1616
Discover allows you to quickly search and filter your data, get information about the structure of the fields in your data, and display your findings in a visualization.
17-
Find **Discover** in your {{obs-serverless}} project's UI under *Analyze / Discover*.
17+
Find **Discover** in your {{obs-serverless}} project's UI under **Analyze** --> **Discover**.
1818

1919
Attributes and resource attributes are prefixed with `attributes.*` and `resource.attributes.*`.
2020
You can correlate all signals with a single `resource.attributes.*`.
@@ -48,11 +48,9 @@ On the Hosts page, you can view health and performance metrics to help you quick
4848

4949
See [](/solutions/observability/infra-and-hosts/analyze-compare-hosts.md) to learn more.
5050

51-
[discrete]
5251
### (Optional) Install the OpenTelemetry Assets integration
5352

5453
Install the OpenTelemetry Assets integrations to access the "[OTEL][Metrics Kubernetes] Cluster Overview" dashboard.
55-
This dashboard
5654

5755
In your {{obs-serverless}} project, go to **Integrations** and toggle **Display beta integrations**.
5856
Search for "OpenTelemetry" and select and install **Kubernetes OpenTelemetry Assets**.

0 commit comments

Comments
 (0)