Class: DatadogAPIClient::V2::AiGatewayRateLimitInstancesSummaryAttributes

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/ai_gateway_rate_limit_instances_summary_attributes.rb

Overview

Aggregate of a template rate limit's counters.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



51
52
53
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_instances_summary_attributes.rb', line 51

def additional_properties
  @additional_properties
end

#instance_count ⇒ Object

Number of counters that were at 80% or more of a limit, or that limited or would have limited a request, in the last hour. Other counters aren't recorded.



25
26
27
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_instances_summary_attributes.rb', line 25

def instance_count
  @instance_count
end

#limited_requests ⇒ Object

Requests the counters rejected in the last 15 minutes (ENFORCE), totaled over the counters whose usage was read.



28
29
30
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_instances_summary_attributes.rb', line 28

def limited_requests
  @limited_requests
end

#limiting_count ⇒ Object

Counters that limited, or would have limited, a request in the last 15 minutes.



31
32
33
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_instances_summary_attributes.rb', line 31

def limiting_count
  @limiting_count
end

#max_utilization ⇒ Object

Utilization of the fullest counter.



34
35
36
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_instances_summary_attributes.rb', line 34

def max_utilization
  @max_utilization
end

#near_limit_count ⇒ Object

Counters at 80% or more of a limit in the rolling window.



37
38
39
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_instances_summary_attributes.rb', line 37

def near_limit_count
  @near_limit_count
end

#rate_limit_id ⇒ Object

Rate limit UUID.



40
41
42
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_instances_summary_attributes.rb', line 40

def rate_limit_id
  @rate_limit_id
end

#scope_restricted ⇒ Object

True when the caller can't see the template's selector because it lists a provider or model the caller can't access. The counters are then hidden, and every count is zero.



43
44
45
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_instances_summary_attributes.rb', line 43

def scope_restricted
  @scope_restricted
end

#truncated ⇒ Object

True when some recently active counters' usage wasn't read, so the counts may be low.



46
47
48
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_instances_summary_attributes.rb', line 46

def truncated
  @truncated
end

#would_limit_requests ⇒ Object

Requests the counters would have rejected in the last 15 minutes (ALERT), totaled over the counters whose usage was read.



49
50
51
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_instances_summary_attributes.rb', line 49

def would_limit_requests
  @would_limit_requests
end