Skip to content

Commit e58ebc4

Browse files
committed
revision
1 parent b80566c commit e58ebc4

File tree

2 files changed

+8
-23
lines changed

2 files changed

+8
-23
lines changed

CONFIGURATION.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,6 @@
22

33
This guide covers all configuration options for the SolarWinds APM Ruby gem, an OpenTelemetry-based distribution that provides automatic instrumentation and observability features for Ruby applications.
44

5-
## Table of Contents
6-
7-
- [Quick Start](#quick-start)
8-
- [Configuration Precedence](#configuration-precedence)
9-
- [Environment Variables](#environment-variables)
10-
- [Configuration Files](#configuration-files)
11-
- [Programmatic Configuration](#programmatic-configuration)
12-
- [Advanced Configuration](#advanced-configuration)
13-
- [Configuration Reference](#configuration-reference)
14-
- [Troubleshooting](#troubleshooting)
15-
165
## Quick Start
176

187
To get started quickly, you only need to set your service key:
@@ -48,7 +37,7 @@ Configuration can be set in multiple ways with the following precedence order (h
4837
4938
Environment variables are the most flexible way to configure the SolarWinds APM gem, especially in containerized or cloud environments.
5039

51-
All SolarWinds APM-specific settings are prefixed with `SW_APM_`. Standard OpenTelemetry environment variables are also supported where applicable.
40+
All SolarWinds APM-specific settings are prefixed with `SW_APM_`. Standard [OpenTelemetry environment variables](https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/) are also supported where applicable.
5241

5342
**Required Configuration**
5443

@@ -64,6 +53,8 @@ All SolarWinds APM-specific settings are prefixed with `SW_APM_`. Standard OpenT
6453
| `SW_APM_DEBUG_LEVEL` | Logging verbosity (-1 to 6) | `3` | `5` |
6554
| `SW_APM_COLLECTOR` | Collector endpoint override | `apm.collector.na-01.cloud.solarwinds.com:443` | `custom.collector.com:443` |
6655

56+
More configuration option see [Configuration Reference](#configuration-reference)
57+
6758
### OpenTelemetry Integration
6859

6960
#### Exporters
@@ -100,7 +91,11 @@ export OTEL_TRACES_EXPORTER=jaeger
10091

10192
#### Service Naming
10293

103-
The service name is extracted from your service key by default, but can be overridden:
94+
The service name is extracted from your service key by default, but can be overridden.
95+
96+
By default the service name portion of the service key is used, e.g. `my-service` if the service key is `SW_APM_SERVICE_KEY=api-token:my-service`. If the `OTEL_SERVICE_NAME` or `OTEL_RESOURCE_ATTRIBUTES` environment variable is used to specify a service name, it will take precedence over the default.
97+
98+
`OTEL_SERVICE_NAME` > `OTEL_RESOURCE_ATTRIBUTES` > `SW_APM_SERVICE_KEY` > `SolarWindsAPM::Config[:service_key]`
10499

105100
**Service key format:**
106101

CONTRIBUTING.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,6 @@
22

33
Thank you for your interest in contributing to the SolarWinds APM Ruby gem! This document provides guidelines and instructions for contributing to this OpenTelemetry-based Ruby distribution.
44

5-
## Table of Contents
6-
7-
- [Code of Conduct](#code-of-conduct)
8-
- [How to Contribute](#how-to-contribute)
9-
- [Development Setup](#development-setup)
10-
- [Development Workflow](#development-workflow)
11-
- [Testing](#testing)
12-
- [Code Quality](#code-quality)
13-
- [Getting Help](#getting-help)
14-
155
## Code of Conduct
166

177
By participating in this project, you agree to abide by our Code of Conduct. Please treat all community members with respect and create a welcoming environment for everyone.

0 commit comments

Comments
 (0)