Class: LlmCostTracker::Dashboard::OverviewStatsData
- Inherits:
-
Data
- Object
- Data
- LlmCostTracker::Dashboard::OverviewStatsData
- Defined in:
- app/services/llm_cost_tracker/dashboard/overview_stats.rb
Instance Attribute Summary collapse
-
#average_cost_per_call ⇒ Object
readonly
Returns the value of attribute average_cost_per_call.
-
#average_latency_ms ⇒ Object
readonly
Returns the value of attribute average_latency_ms.
-
#calls_delta_percent ⇒ Object
readonly
Returns the value of attribute calls_delta_percent.
-
#cost_delta_percent ⇒ Object
readonly
Returns the value of attribute cost_delta_percent.
-
#monthly_budget_status ⇒ Object
readonly
Returns the value of attribute monthly_budget_status.
-
#previous_total_calls ⇒ Object
readonly
Returns the value of attribute previous_total_calls.
-
#previous_total_cost ⇒ Object
readonly
Returns the value of attribute previous_total_cost.
-
#total_calls ⇒ Object
readonly
Returns the value of attribute total_calls.
-
#total_cost ⇒ Object
readonly
Returns the value of attribute total_cost.
-
#unknown_pricing_count ⇒ Object
readonly
Returns the value of attribute unknown_pricing_count.
Instance Attribute Details
#average_cost_per_call ⇒ Object (readonly)
Returns the value of attribute average_cost_per_call
5 6 7 |
# File 'app/services/llm_cost_tracker/dashboard/overview_stats.rb', line 5 def average_cost_per_call @average_cost_per_call end |
#average_latency_ms ⇒ Object (readonly)
Returns the value of attribute average_latency_ms
5 6 7 |
# File 'app/services/llm_cost_tracker/dashboard/overview_stats.rb', line 5 def average_latency_ms @average_latency_ms end |
#calls_delta_percent ⇒ Object (readonly)
Returns the value of attribute calls_delta_percent
5 6 7 |
# File 'app/services/llm_cost_tracker/dashboard/overview_stats.rb', line 5 def calls_delta_percent @calls_delta_percent end |
#cost_delta_percent ⇒ Object (readonly)
Returns the value of attribute cost_delta_percent
5 6 7 |
# File 'app/services/llm_cost_tracker/dashboard/overview_stats.rb', line 5 def cost_delta_percent @cost_delta_percent end |
#monthly_budget_status ⇒ Object (readonly)
Returns the value of attribute monthly_budget_status
5 6 7 |
# File 'app/services/llm_cost_tracker/dashboard/overview_stats.rb', line 5 def monthly_budget_status @monthly_budget_status end |
#previous_total_calls ⇒ Object (readonly)
Returns the value of attribute previous_total_calls
5 6 7 |
# File 'app/services/llm_cost_tracker/dashboard/overview_stats.rb', line 5 def previous_total_calls @previous_total_calls end |
#previous_total_cost ⇒ Object (readonly)
Returns the value of attribute previous_total_cost
5 6 7 |
# File 'app/services/llm_cost_tracker/dashboard/overview_stats.rb', line 5 def previous_total_cost @previous_total_cost end |
#total_calls ⇒ Object (readonly)
Returns the value of attribute total_calls
5 6 7 |
# File 'app/services/llm_cost_tracker/dashboard/overview_stats.rb', line 5 def total_calls @total_calls end |
#total_cost ⇒ Object (readonly)
Returns the value of attribute total_cost
5 6 7 |
# File 'app/services/llm_cost_tracker/dashboard/overview_stats.rb', line 5 def total_cost @total_cost end |
#unknown_pricing_count ⇒ Object (readonly)
Returns the value of attribute unknown_pricing_count
5 6 7 |
# File 'app/services/llm_cost_tracker/dashboard/overview_stats.rb', line 5 def unknown_pricing_count @unknown_pricing_count end |