Class: ActiveJob::Temporal::Observability::MetricsServerConfiguration

Inherits:
Object
  • Object
show all
Defined in:
lib/activejob/temporal/observability/prometheus.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeMetricsServerConfiguration

Returns a new instance of MetricsServerConfiguration.



12
13
14
15
16
# File 'lib/activejob/temporal/observability/prometheus.rb', line 12

def initialize
  @port = nil
  @bind = MetricsServer::DEFAULT_BIND_ADDRESS
  @allow_public_bind = false
end

Instance Attribute Details

#allow_public_bindObject

Returns the value of attribute allow_public_bind.



10
11
12
# File 'lib/activejob/temporal/observability/prometheus.rb', line 10

def allow_public_bind
  @allow_public_bind
end

#bindObject

Returns the value of attribute bind.



10
11
12
# File 'lib/activejob/temporal/observability/prometheus.rb', line 10

def bind
  @bind
end

#portObject

Returns the value of attribute port.



10
11
12
# File 'lib/activejob/temporal/observability/prometheus.rb', line 10

def port
  @port
end