Skip to content

Commit 6d8ec97

Browse files
authored
Fix "instrumentation" typo in config sdk (#4694)
This fixes a typo. It also removes some superfluous spaces.
1 parent 3739b14 commit 6d8ec97

File tree

1 file changed

+5
-5
lines changed
  • specification/configuration

1 file changed

+5
-5
lines changed

specification/configuration/sdk.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The configuration SDK is part of
3434
the [declarative configuration interface](./README.md#declarative-configuration).
3535

3636
The SDK is an implementation
37-
of [Instrumenation Config API](./api.md) and other
37+
of [Instrumentation Config API](./api.md) and other
3838
user facing declarative configuration capabilities. It consists of the following main
3939
components:
4040

@@ -326,7 +326,7 @@ try {
326326
// Create SDK components from configuration model
327327
openTelemetry = create(configurationModel);
328328
} catch (Throwable e) {
329-
log.error("Error initializing SDK from configuration file", e);
329+
log.error("Error initializing SDK from configuration file", e);
330330
}
331331
332332
// Access SDK components and install instrumentation
@@ -347,14 +347,14 @@ try {
347347
// Parse local and remote configuration files to configuration models
348348
OpenTelemetryConfiguration localConfigurationModel = parse(new File("/app/sdk-config.yaml"));
349349
OpenTelemetryConfiguration remoteConfigurationModel = parse(getRemoteConfiguration("http://example-host/config/my-application"));
350-
350+
351351
// Merge the configuration models using custom logic
352352
OpenTelemetryConfiguration resolvedConfigurationModel = merge(localConfigurationModel, remoteConfigurationModel);
353-
353+
354354
// Create SDK components from resolved configuration model
355355
openTelemetry = create(resolvedConfigurationModel);
356356
} catch (Throwable e) {
357-
log.error("Error initializing SDK from configuration file", e);
357+
log.error("Error initializing SDK from configuration file", e);
358358
}
359359
360360
// Access SDK components and install instrumentation

0 commit comments

Comments
 (0)