feat(ops): add local business limit reasons
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
parent
9ef144874a
commit
5c4101ac53
@ -34,9 +34,13 @@ const (
|
|||||||
|
|
||||||
// Client-side configuration denials should remain visible in ops_error_logs,
|
// Client-side configuration denials should remain visible in ops_error_logs,
|
||||||
// but should be excluded from SLA/error-rate calculations.
|
// but should be excluded from SLA/error-rate calculations.
|
||||||
OpsClientBusinessLimitedKey = "ops_client_business_limited"
|
OpsClientBusinessLimitedKey = "ops_client_business_limited"
|
||||||
OpsClientBusinessLimitedReasonKey = "ops_client_business_limited_reason"
|
OpsClientBusinessLimitedReasonKey = "ops_client_business_limited_reason"
|
||||||
OpsClientBusinessLimitedReasonIPRestriction = "api_key_ip_restriction"
|
OpsClientBusinessLimitedReasonIPRestriction = "api_key_ip_restriction"
|
||||||
|
OpsClientBusinessLimitedReasonAPIKeyGroupUnavailable = "api_key_group_unavailable"
|
||||||
|
OpsClientBusinessLimitedReasonAPIKeyGroupUnassigned = "api_key_group_unassigned"
|
||||||
|
OpsClientBusinessLimitedReasonLocalFeatureGate = "local_feature_gate"
|
||||||
|
OpsClientBusinessLimitedReasonLocalPolicyDenied = "local_policy_denied"
|
||||||
)
|
)
|
||||||
|
|
||||||
func SetOpsLatencyMs(c *gin.Context, key string, value int64) {
|
func SetOpsLatencyMs(c *gin.Context, key string, value int64) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user