Skip to content

Commit 5132a11

Browse files
authored
[examples] Add missing file-based configuration settings (#4760)
1 parent f788e5e commit 5132a11

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

examples/file-based-configuration-files/default-config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ instrumentation/development:
8383
sqlclient: # Microsoft.Data.SqlClient & System.Data.SqlClient
8484
stackexchangeredis: # StackExchange.Redis
8585
wcfclient: # WCF Client
86+
wcfcore: # CoreWCF.Primitives
8687
wcfservice: # WCF Service
8788
metrics:
8889
aspnet: # ASP.NET metrics
@@ -94,4 +95,5 @@ instrumentation/development:
9495
sqlclient: # SQL Client metrics
9596
logs:
9697
ilogger: # Microsoft.Extensions.Logging
97-
log4net: # Log4Net
98+
log4net: # Log4Net
99+
nlog: # NLog

examples/file-based-configuration-files/kitchen-sink.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,10 @@ meter_provider:
337337
exporter:
338338
# Configure exporter to be console.
339339
console:
340+
# Configure temporality preference.
341+
# Values include: cumulative, delta.
342+
# If omitted or null, cumulative is used.
343+
temporality_preference: cumulative
340344

341345
# Pull reader for Prometheus
342346
- pull:
@@ -600,6 +604,7 @@ instrumentation/development:
600604
netfx_ilrewrite_enabled: false
601605
stackexchangeredis: # StackExchange.Redis
602606
wcfclient: # WCF Client
607+
wcfcore: # CoreWCF.Primitives
603608
wcfservice: # WCF Service
604609
metrics:
605610
# List of additional System.Diagnostics.Metrics.Meter names to be added to the meter at the startup.
@@ -617,4 +622,5 @@ instrumentation/development:
617622
sqlclient: # SQL Client metrics
618623
logs:
619624
ilogger: # Microsoft.Extensions.Logging
620-
log4net: # Log4Net
625+
log4net: # Log4Net
626+
nlog: # NLog

examples/file-based-configuration-files/sdk-migration-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ instrumentation/development:
241241
netfx_ilrewrite_enabled: ${OTEL_DOTNET_AUTO_SQLCLIENT_NETFX_ILREWRITE_ENABLED:-false}
242242
stackexchangeredis: # StackExchange.Redis
243243
wcfclient: # WCF Client
244+
wcfcore: # CoreWCF.Primitives
244245
wcfservice: # WCF Service
245246
metrics:
246247
# List of additional System.Diagnostics.Metrics.Meter names to be added to the meter at the startup.
@@ -256,4 +257,5 @@ instrumentation/development:
256257
logs:
257258
ilogger: # Microsoft.Extensions.Logging
258259
log4net: # Log4Net
260+
nlog: # NLog
259261

0 commit comments

Comments
 (0)