Documentation
¶
Index ¶
- Variables
- func GetFdbReqSpecificErrorTags(reqMethodName string, code string, tx bool) map[string]string
- func GetFdbReqTags(reqMethodName string, tx bool) map[string]string
- func GetPreinitializedTagsFromFullMethod(fullMethod string, methodType string) map[string]string
- func InitRequestMetricsForServer(s *grpc.Server)
- func InitServerRequestMetrics(svcName string, methodInfo grpc.MethodInfo)
- func InitializeFdbMetrics()
- func InitializeMetrics() io.Closer
- type RequestEndpointMetadata
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FdbErrorRequests tally.Scope MeasuredFdbRequests = []string{ "Delete", "DeleteRange", "CreateTable", "DropTable", "SetVersionstampedValue", "SetVersionstampedKey", "Get", "Insert", "Replace", "Read", "ReadRange", "Update", "UpdateRange", "BeginTx", "GetInternalDatabase", } )
Functions ¶
func InitServerRequestMetrics ¶
func InitServerRequestMetrics(svcName string, methodInfo grpc.MethodInfo)
func InitializeFdbMetrics ¶
func InitializeFdbMetrics()
func InitializeMetrics ¶
Types ¶
type RequestEndpointMetadata ¶
type RequestEndpointMetadata struct {
// contains filtered or unexported fields
}
func GetGrpcEndPointMetadataFromFullMethod ¶
func GetGrpcEndPointMetadataFromFullMethod(fullMethod string, methodType string) RequestEndpointMetadata
func (*RequestEndpointMetadata) GetPreInitializedTags ¶
func (g *RequestEndpointMetadata) GetPreInitializedTags() map[string]string
func (*RequestEndpointMetadata) GetSpecificErrorTags ¶
func (g *RequestEndpointMetadata) GetSpecificErrorTags(source string, code string) map[string]string
Click to show internal directories.
Click to hide internal directories.