Class: OllamaAgent::Providers::HealthMonitor::Event

Inherits:
Data
  • Object
show all
Defined in:
lib/ollama_agent/providers/health_monitor.rb

Overview

Immutable event record

Instance Attribute Summary collapse

Instance Attribute Details

#atObject (readonly)

Returns the value of attribute at

Returns:

  • (Object)

    the current value of at



19
20
21
# File 'lib/ollama_agent/providers/health_monitor.rb', line 19

def at
  @at
end

#credential_idObject (readonly)

Returns the value of attribute credential_id

Returns:

  • (Object)

    the current value of credential_id



19
20
21
# File 'lib/ollama_agent/providers/health_monitor.rb', line 19

def credential_id
  @credential_id
end

#error_classObject (readonly)

Returns the value of attribute error_class

Returns:

  • (Object)

    the current value of error_class



19
20
21
# File 'lib/ollama_agent/providers/health_monitor.rb', line 19

def error_class
  @error_class
end

#kindObject (readonly)

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



19
20
21
# File 'lib/ollama_agent/providers/health_monitor.rb', line 19

def kind
  @kind
end

#latency_msObject (readonly)

Returns the value of attribute latency_ms

Returns:

  • (Object)

    the current value of latency_ms



19
20
21
# File 'lib/ollama_agent/providers/health_monitor.rb', line 19

def latency_ms
  @latency_ms
end

#providerObject (readonly)

Returns the value of attribute provider

Returns:

  • (Object)

    the current value of provider



19
20
21
# File 'lib/ollama_agent/providers/health_monitor.rb', line 19

def provider
  @provider
end