Nucleus .Net Core CMS

Models.Configuration.InstrumentationOptions Interface

Namespace: Nucleus.Abstractions.Models.Configuration
Assembly: Nucleus.Abstractions.dll
Class used to read instrumentation options from configuration.
Specifies the duration that the "scrape" telemetry content is cached before being re-generated.
Remarks
The default value is 60 seconds (00:01:00).
Specifies whether OpenTelemetry instrumentation is enabled.
Specifies the OLTP/GRpc endpoint to send OpenTelemetry meters to.
Remarks
There is no default value. If this value is not set, OTLP export is not enabled.
Specifies the Http endpoint path used to publish OpenTelemetry meters for scraping.
Remarks
The default value is "/_metrics".
Service name
Configuration file section path for instrumentation options.