Documentation ¶
Index ¶
- type SupbTrace
- func (r *SupbTrace) Close() error
- func (r *SupbTrace) GetDependenciesDAG(params request.Params) ([]interface{}, error)
- func (r *SupbTrace) GetOperations(service string) (interface{}, error)
- func (r *SupbTrace) GetServices() (interface{}, error)
- func (r *SupbTrace) GetTrace(traceId string) (interface{}, error)
- func (r *SupbTrace) GetTraces(params request.Params) (interface{}, error)
- func (r *SupbTrace) InitFlags(flags *pflag.FlagSet)
- func (r *SupbTrace) InitViper(viper *viper.Viper)
- func (r *SupbTrace) Initialize(opts ...option)
- func (r *SupbTrace) OptionConfig(opts ...option)
- func (r *SupbTrace) ViperConfig(viper *viper.Viper)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SupbTrace ¶
type SupbTrace struct { Guid string // contains filtered or unexported fields }
func (*SupbTrace) GetDependenciesDAG ¶
func (*SupbTrace) GetOperations ¶
描述: Operations信息查询 service string
error:
eg: r.GetOperations("frontend")
func (*SupbTrace) GetTrace ¶
描述: trace具体信息查询 traceId string
error:
eg: r.GetTrace("7648504b4a5b7402")
func (*SupbTrace) GetTraces ¶
描述: traces信息查询 request Params error: eg: r.GetTraces(Params{ Service: "frontend", Start: "1640837157459000", End: "1640923557459000", MaxDuration: "300ms", MinDuration: "100ms", })
func (*SupbTrace) Initialize ¶
func (r *SupbTrace) Initialize(opts ...option)
func (*SupbTrace) OptionConfig ¶
func (r *SupbTrace) OptionConfig(opts ...option)
func (*SupbTrace) ViperConfig ¶
Click to show internal directories.
Click to hide internal directories.