public interface InstanceGauge extends Service
| Modifier and Type | Method and Description |
|---|---|
String |
getCallerIp()
获取主调节点的IP信息
|
Service |
getCallerService()
获取主调服务信息
|
Long |
getDelay()
获取服务调用时延
|
String |
getHost()
获取节点信息
|
Instance |
getInstance()
获取实例
|
String |
getInstanceId()
获取服务实例ID
|
String |
getLabels()
Deprecated.
|
String |
getMethod()
获取方法名
|
int |
getPort()
获取端口信息
|
Integer |
getRetCode()
服务调用返回码
|
RetStatus |
getRetStatus()
获取服务调用状态
|
String |
getRuleName()
当 RetStatus 为 flow_control 或者 reject 时,需要设置生效的规则名称
|
String |
getSubset()
获取实例分组
|
Map<String,com.tencent.polaris.specification.api.v1.model.ModelProto.MatchString> |
getSubsetMetadata()
获取服务实例分组的过滤标签
|
void |
setInstance(Instance instance)
设置实例信息
|
getNamespace, getServiceString getHost()
int getPort()
Instance getInstance()
void setInstance(Instance instance)
instance - 实例数据String getInstanceId()
Long getDelay()
RetStatus getRetStatus()
Integer getRetCode()
String getSubset()
String getMethod()
Service getCallerService()
@Deprecated String getLabels()
Map<String,com.tencent.polaris.specification.api.v1.model.ModelProto.MatchString> getSubsetMetadata()
String getCallerIp()
String getRuleName()
Copyright © 2024. All rights reserved.