Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HistogramData ¶
type Metrics ¶
type Percentile ¶
type Result ¶
type Result struct {
Type string
Target string
SubTarget string
AvgRPS float64
Histogram HistogramData
Status5xx *int `json:",omitempty"`
Status4xx *int `json:",omitempty"`
Status3xx *int `json:",omitempty"`
Status2xx *int `json:",omitempty"`
Errors *int `json:",omitempty"`
Errors2 *int `json:",omitempty"`
LatencySnapshot *hdrhistogram.Snapshot `json:"-"`
}
type Stats ¶
type Stats struct {
// contains filtered or unexported fields
}
func (*Stats) RecordMetric ¶
type TraceType ¶
type TraceType string
const ( HttpTrace TraceType = "http" GrpcTrace TraceType = "grpc" RedisTrace TraceType = "redis" SqlTrace TraceType = "sql" PGTrace TraceType = "psql" CqlTrace TraceType = "cql" ClickHouseTrace TraceType = "clickhouse" SmtpTrace TraceType = "smtp" MongoTrace TraceType = "mongo" CustomTrace TraceType = "custom" RawTrace TraceType = "raw" )
Click to show internal directories.
Click to hide internal directories.