You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This app supports OpenTelemetry Collector version **0.130.1-sumo-0** and later versions.
17
17
18
-
We use the OpenTelemetry collector's built-in internal telemetry capabilities to collect metrics and logs about the collector itself. By default, the Collector exposes its own telemetry through internal metrics (via Prometheus interface on port 8888) and logs (emitted to stderr).
19
-
20
-
The diagram below illustrates the components of the OpenTelemetry Collector self-monitoring setup. The collector is configured to export its own telemetry data (metrics and logs) to Sumo Logic through OTLP/HTTP endpoints.
18
+
We use the OpenTelemetry collector's built-in internal telemetry capabilities to collect metrics and logs about the collector itself. By default, the Collector exposes its own telemetry through internal metrics (via Prometheus interface on port 8888) and logs (emitted to stderr). The collector can also be configured to export its own telemetry data (metrics and logs) to Sumo Logic through OTLP/HTTP endpoints.
21
19
22
20
:::info
23
21
This app includes [built-in monitors](#opentelemetry-collector-insights-alerts). For details on creating custom monitors, refer to [Create monitors for OpenTelemetry Collector Insights app](#create-monitors-for-opentelemetry-collector-insights-app).
@@ -37,14 +35,9 @@ Following are the [fields](/docs/manage/fields/) which will be created as part o
37
35
38
36
Before configuring the OTEL Collector integration, ensure you have the following prerequisites in place:
39
37
40
-
1.**OTLP Endpoint**: You need a valid base OTLP endpoint URL. The system will automatically append `/v1/logs` for logs collection and `/v1/metrics` for metrics collection. The endpoint should be accessible from your OTEL Collector instance.
41
-
42
-
2.**Network Access**: Ensure that your OTEL Collector has network access to the configured OTLP endpoint. This includes:
43
-
- Outbound HTTPS connectivity on port 443
44
-
- Proper firewall configurations to allow traffic to the endpoint
45
-
- DNS resolution for the endpoint hostname
38
+
1.**Sumo Logic OTLP Source**: You need to create an OTLP source in your Sumo Logic hosted collector. The OTLP source will provide the endpoint URL that the OTEL Collector will use to send telemetry data.
46
39
47
-
3.**Authentication**: If your OTLP endpoint requires authentication, ensure you have the proper credentials or tokens configured.
40
+
**Documentation**: [Creating a Sumo Logic OTLP Source](https://help.sumologic.com/docs/send-data/hosted-collectors/http-source/otlp/)
48
41
49
42
### For metrics collection
50
43
@@ -85,21 +78,20 @@ import SetupColl from '../../../reuse/apps/opentelemetry/set-up-collector.md';
85
78
86
79
### Step 2: Configure integration
87
80
81
+
OpenTelemetry works with a [configuration](https://opentelemetry.io/docs/collector/configuration/) YAML file with all the details concerning the data that needs to be collected.
82
+
88
83
In this step, you will configure the OpenTelemetry Collector's built-in telemetry to monitor itself.
89
84
90
85
The collector's service configuration needs to be updated to enable telemetry export. Below is the required configuration that should be added to your collector's service section:
91
86
92
87
**Required Inputs:**
93
-
-**OTLP Endpoint**: Your Sumo Logic OTLP endpoint base URL
94
-
-**Deployment Environment**: Enter a name to identify your deployment environment
88
+
-**OTLP Endpoint**: Your Sumo Logic OTLP endpoint URL
95
89
96
90
**Configuration Parameters:**
97
91
-**Endpoint Format**: The base endpoint automatically creates:
98
92
- Logs endpoint: `${OTLP_ENDPOINT}/v1/logs`
99
93
- Metrics endpoint: `${OTLP_ENDPOINT}/v1/metrics`
100
-
-**Protocol**: HTTP/protobuf for OTLP communication
101
-
-**Metrics level**: Set to **detailed** for comprehensive monitoring
102
-
-**Logs level**: Set to **debug** for detailed troubleshooting information
94
+
103
95
104
96
```yaml
105
97
service:
@@ -134,6 +126,8 @@ import EnvVar from '../../../reuse/apps/opentelemetry/env-var-required.md';
0 commit comments