Class: Temporalio::Runtime::TelemetryOptions

Inherits:
Data
  • Object
show all
Defined in:
lib/temporalio/runtime.rb,
lib/temporalio/runtime.rb

Overview

Telemetry options for the runtime.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(logging: LoggingOptions.new, metrics: nil) ⇒ TelemetryOptions

Create telemetry options.



34
35
36
# File 'lib/temporalio/runtime.rb', line 34

def initialize(logging: LoggingOptions.new, metrics: nil)
  super
end

Instance Attribute Details

#loggingLoggingOptions?



28
29
30
# File 'lib/temporalio/runtime.rb', line 28

def logging
  @logging
end

#metricsMetricsOptions?



28
29
30
# File 'lib/temporalio/runtime.rb', line 28

def metrics
  @metrics
end