Class: OtelServiceParameters
Extends
ServiceParameters
Constructors
new OtelServiceParameters(params)
new OtelServiceParameters(
params
):OtelServiceParameters
Copy all parameters into the object by default
Parameters
• params: any
from webda.config.json
Returns
Inherited from
ServiceParameters.constructor
Source
core/lib/services/service.d.ts:110
Properties
diagnostic?
diagnostic?:
"TRACE"
|"ALL"
|"ERROR"
|"WARN"
|"INFO"
|"DEBUG"
|"NONE"
Default
NONE
Source
loggerExporter?
loggerExporter?:
Object
Logger export If empty it is disabled
Type declaration
enable?
enable?:
boolean
Allow to disable the logger
Default
true
type?
type?:
"otlp"
url?
url?:
string
Default
http://localhost:4317
Source
metricExporter?
metricExporter?:
Object
Type declaration
enable?
enable?:
boolean
Allow to disable the logger
Default
true
type
type:
"console"
|"otlp"
Source
name?
name?:
string
Source
openapi?
openapi?:
OpenAPIWebdaDefinition
OpenAPI override
Schema Ignore
Inherited from
ServiceParameters.openapi
Source
core/lib/services/service.d.ts:104
traceExporter?
traceExporter?:
Object
Type declaration
enable?
enable?:
boolean
Allow to disable the logger
Default
true
type
type:
"console"
|"otlp"
Source
type
type:
string
Type of the service
Inherited from
ServiceParameters.type
Source
core/lib/services/service.d.ts:95
url?
url?:
string
URL on which to serve the content
Inherited from
ServiceParameters.url
Source
core/lib/services/service.d.ts:99