Setting
|
Type
|
Default Value
|
Description
|
||
---|---|---|---|---|---|
EnableOpenTelemetryForLogging
|
BOOLEAN
|
false
|
Set the value to true to enable OpenTelemetry Collector.
This set value is effective when the ThingWorx server starts. OpenTelemetry Collector will start a connection with the ThingWorx server.
|
||
DisableFileLogging
|
BOOLEAN
|
false
|
Once the value is set to true
• Logs generated in the /ThingworxStorage/logs folder will stop.
• Logs will not be displayed in the > section.
• User will see the following message on the > page.
Logging is disabled. Please refer to ThingWorx Platform configuration file to enable it.
|
|
• If DisableFileLogging is set to true and EnableOpenTelemetryForLogging is set to false, then,
◦ The user should see a message on > page.
Logging is disabled. Please refer to platform configuration file to enable it.
◦ Log retrieval strategy is set to DefaultLogRetrievalStrategy.
• If DisableFileLogging is set to false and EnableOpenTelemetryForLogging is set to true, then logs will be available in files on Platform and third party software integrated with OpenTelemetry.
|
Configuration Name
|
Default Value
|
Description
|
---|---|---|
BatchLogProcessorMaxQueueSize
|
2048
|
Configuration for exported logs processing for each batch.
|
BatchLogProcessorScheduledDelay
|
10
|
|
BatchLogProcessorMaxExportBatchSize
|
512
|
|
BatchLogProcessorExportTimeout
|
1000
|
|
OtlpGRPCLogExporterEndpoint
|
||
OtlpGRPCEnableSSL
|
false
|
Security(SSL) configurations
|
OtlpGRPCTrustStorePath
|
||
OtlpGRPCTrustStorePassword
|
||
OtlpGRPCKeyStorePath
|
||
OtlpGRPCKeyStorePassword
|
||
RetryOtlpGRPCLogExporterMaxAttempts
|
5
|
Retry attempt configuration
|
RetryOtlpGRPCLogExporterBackOffMultiplier
|
1.5
|
|
RetryOtlpGRPCLogExporterInitialBackOff
|
1
|
|
RetryOtlpGRPCLogExporterMaxBackOff
|
5
|
|
OtlpGRPCMetricExporterEndpoint
|
Metrics exporting to Prometheus
|
|
EnableOpenTelemetryInternalMetrics
|
true
|