# Functions

CheckValidityForReuseStatistic checks whether the read-only stat-metric with given attributes (i.e.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewResourceNode creates a new resource node with given name and classification.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RegistryBlockType adds block type and corresponding description in order.
RemoveResourceNode 移除资源节点.
No description provided by the author
ResourceNodeList returns the slice of all existing resource nodes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
灰度错误.
No description provided by the author
No description provided by the author
No description provided by the author
mock请求,修改ctx超时时间.
No description provided by the author
mock请求,代表请求替换.
No description provided by the author
No description provided by the author
global variable.
global variable.
global variable.
default 10s (total length).
global variable.
global variable.
default 10*1000/500 = 20.
global variable.
Inbound represents the inbound traffic (e.g.
global variable.
global variable.
sea rules check block.
There are five events to record pass + block == Total.
Biz error, used for circuit breaker.
sea rules check pass.
request execute rt, unit is millisecond.
hack for the number of event.
Outbound represents the outbound traffic (e.g.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
global variable.
global variable.
global variable.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

BlockError indicates the request was blocked by sea.
No description provided by the author
No description provided by the author
MetricItem represents the data of metric log per line.
No description provided by the author
ResourceWrapper represents the invocation.
No description provided by the author
SlotChain hold all system slots and customized slot.
No description provided by the author

# Interfaces

No description provided by the author
ConcurrencyStat provides read/update operation for concurrency statistics.
No description provided by the author
No description provided by the author
RouterSlot 流量路由策略 所有的路由规则都必须实现这个接口.
RuleCheckSlot is rule based checking strategy All checking rule must implement this interface.
No description provided by the author
StatNode holds real-time statistics for resources.
StatPrepareSlot is responsible for some preparation before statistic For example: init structure and so on.
StatSlot is responsible for counting all custom biz metrics.
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ResourceType represents classification of the resources.
No description provided by the author
No description provided by the author
TrafficType describes the traffic type: Inbound or Outbound.