Class: ActiveJob::Temporal::Observability::MetricsServerConfiguration
- Inherits:
-
Object
- Object
- ActiveJob::Temporal::Observability::MetricsServerConfiguration
- Defined in:
- lib/activejob/temporal/observability/prometheus.rb
Instance Attribute Summary collapse
-
#allow_public_bind ⇒ Object
Returns the value of attribute allow_public_bind.
-
#bind ⇒ Object
Returns the value of attribute bind.
-
#port ⇒ Object
Returns the value of attribute port.
Instance Method Summary collapse
-
#initialize ⇒ MetricsServerConfiguration
constructor
A new instance of MetricsServerConfiguration.
Constructor Details
#initialize ⇒ MetricsServerConfiguration
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_bind ⇒ Object
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 |
#bind ⇒ Object
Returns the value of attribute bind.
10 11 12 |
# File 'lib/activejob/temporal/observability/prometheus.rb', line 10 def bind @bind end |
#port ⇒ Object
Returns the value of attribute port.
10 11 12 |
# File 'lib/activejob/temporal/observability/prometheus.rb', line 10 def port @port end |