Documentation
¶
Index ¶
- Variables
- type Counter
- type Output
- type Percentile
- func (*Percentile) Descriptor() ([]byte, []int)deprecated
- func (x *Percentile) GetCount() uint64
- func (x *Percentile) GetDuration() *durationpb.Duration
- func (x *Percentile) GetDurationType() isPercentile_DurationType
- func (x *Percentile) GetPercentile() float64
- func (x *Percentile) GetRawValue() float64
- func (*Percentile) ProtoMessage()
- func (x *Percentile) ProtoReflect() protoreflect.Message
- func (x *Percentile) Reset()
- func (x *Percentile) String() string
- type Percentile_Duration
- type Percentile_RawValue
- type Result
- func (*Result) Descriptor() ([]byte, []int)deprecated
- func (x *Result) GetCounters() []*Counter
- func (x *Result) GetExecutionDuration() *durationpb.Duration
- func (x *Result) GetExecutionStart() *timestamppb.Timestamp
- func (x *Result) GetName() string
- func (x *Result) GetStatistics() []*Statistic
- func (x *Result) GetUserDefinedOutputs() []*UserDefinedOutput
- func (*Result) ProtoMessage()
- func (x *Result) ProtoReflect() protoreflect.Message
- func (x *Result) Reset()
- func (x *Result) String() string
- type Statistic
- func (*Statistic) Descriptor() ([]byte, []int)deprecated
- func (x *Statistic) GetCount() uint64
- func (x *Statistic) GetId() string
- func (x *Statistic) GetMax() *durationpb.Duration
- func (x *Statistic) GetMaxType() isStatistic_MaxType
- func (x *Statistic) GetMean() *durationpb.Duration
- func (x *Statistic) GetMeanType() isStatistic_MeanType
- func (x *Statistic) GetMin() *durationpb.Duration
- func (x *Statistic) GetMinType() isStatistic_MinType
- func (x *Statistic) GetPercentiles() []*Percentile
- func (x *Statistic) GetPstdev() *durationpb.Duration
- func (x *Statistic) GetPstdevType() isStatistic_PstdevType
- func (x *Statistic) GetRawMax() uint64
- func (x *Statistic) GetRawMean() float64
- func (x *Statistic) GetRawMin() uint64
- func (x *Statistic) GetRawPstdev() float64
- func (*Statistic) ProtoMessage()
- func (x *Statistic) ProtoReflect() protoreflect.Message
- func (x *Statistic) Reset()
- func (x *Statistic) String() string
- type Statistic_Max
- type Statistic_Mean
- type Statistic_Min
- type Statistic_Pstdev
- type Statistic_RawMax
- type Statistic_RawMean
- type Statistic_RawMin
- type Statistic_RawPstdev
- type UserDefinedOutput
- func (*UserDefinedOutput) Descriptor() ([]byte, []int)deprecated
- func (x *UserDefinedOutput) GetErrorMessage() string
- func (x *UserDefinedOutput) GetOutputType() isUserDefinedOutput_OutputType
- func (x *UserDefinedOutput) GetPluginName() string
- func (x *UserDefinedOutput) GetTypedOutput() *anypb.Any
- func (*UserDefinedOutput) ProtoMessage()
- func (x *UserDefinedOutput) ProtoReflect() protoreflect.Message
- func (x *UserDefinedOutput) Reset()
- func (x *UserDefinedOutput) String() string
- type UserDefinedOutput_ErrorMessage
- type UserDefinedOutput_TypedOutput
Constants ¶
This section is empty.
Variables ¶
View Source
var File_test_benchmark_proto_output_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Counter ¶
type Counter struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Value uint64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*Counter) Descriptor
deprecated
func (*Counter) ProtoMessage ¶
func (*Counter) ProtoMessage()
func (*Counter) ProtoReflect ¶
func (x *Counter) ProtoReflect() protoreflect.Message
type Output ¶
type Output struct {
Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Results []*Result `protobuf:"bytes,3,rep,name=results,proto3" json:"results,omitempty"`
// contains filtered or unexported fields
}
The full set of output returned by a Nighthawk run, including the Results from every worker.
func (*Output) Descriptor
deprecated
func (*Output) GetResults ¶
func (*Output) GetTimestamp ¶
func (x *Output) GetTimestamp() *timestamppb.Timestamp
func (*Output) ProtoMessage ¶
func (*Output) ProtoMessage()
func (*Output) ProtoReflect ¶
func (x *Output) ProtoReflect() protoreflect.Message
type Percentile ¶
type Percentile struct {
// Types that are valid to be assigned to DurationType:
//
// *Percentile_Duration
// *Percentile_RawValue
DurationType isPercentile_DurationType `protobuf_oneof:"duration_type"`
Percentile float64 `protobuf:"fixed64,2,opt,name=percentile,proto3" json:"percentile,omitempty"`
Count uint64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
// contains filtered or unexported fields
}
func (*Percentile) Descriptor
deprecated
func (*Percentile) Descriptor() ([]byte, []int)
Deprecated: Use Percentile.ProtoReflect.Descriptor instead.
func (*Percentile) GetCount ¶
func (x *Percentile) GetCount() uint64
func (*Percentile) GetDuration ¶
func (x *Percentile) GetDuration() *durationpb.Duration
func (*Percentile) GetDurationType ¶
func (x *Percentile) GetDurationType() isPercentile_DurationType
func (*Percentile) GetPercentile ¶
func (x *Percentile) GetPercentile() float64
func (*Percentile) GetRawValue ¶
func (x *Percentile) GetRawValue() float64
func (*Percentile) ProtoMessage ¶
func (*Percentile) ProtoMessage()
func (*Percentile) ProtoReflect ¶
func (x *Percentile) ProtoReflect() protoreflect.Message
func (*Percentile) Reset ¶
func (x *Percentile) Reset()
func (*Percentile) String ¶
func (x *Percentile) String() string
type Percentile_Duration ¶
type Percentile_Duration struct {
Duration *durationpb.Duration `protobuf:"bytes,1,opt,name=duration,proto3,oneof"`
}
type Percentile_RawValue ¶
type Percentile_RawValue struct {
RawValue float64 `protobuf:"fixed64,4,opt,name=raw_value,json=rawValue,proto3,oneof"`
}
type Result ¶
type Result struct {
// Either the name of the worker this result correlates to, or "global" for the aggregated
// output.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Statistics []*Statistic `protobuf:"bytes,2,rep,name=statistics,proto3" json:"statistics,omitempty"`
Counters []*Counter `protobuf:"bytes,3,rep,name=counters,proto3" json:"counters,omitempty"`
ExecutionDuration *durationpb.Duration `protobuf:"bytes,4,opt,name=execution_duration,json=executionDuration,proto3" json:"execution_duration,omitempty"`
ExecutionStart *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=execution_start,json=executionStart,proto3" json:"execution_start,omitempty"`
// Outputs generated by User Defined Output Plugins. Plugin outputs are not guaranteed to be
// returned in the same order the user_defined_plugin_configs are provided in the request.
// To determine which plugin each output goes to, use the UserDefinedOutput's plugin_name field.
UserDefinedOutputs []*UserDefinedOutput `protobuf:"bytes,6,rep,name=user_defined_outputs,json=userDefinedOutputs,proto3" json:"user_defined_outputs,omitempty"`
// contains filtered or unexported fields
}
The set of output collected by Nighthawk for each worker, or for the aggregate of all workers.
func (*Result) Descriptor
deprecated
func (*Result) GetCounters ¶
func (*Result) GetExecutionDuration ¶
func (x *Result) GetExecutionDuration() *durationpb.Duration
func (*Result) GetExecutionStart ¶
func (x *Result) GetExecutionStart() *timestamppb.Timestamp
func (*Result) GetStatistics ¶
func (*Result) GetUserDefinedOutputs ¶
func (x *Result) GetUserDefinedOutputs() []*UserDefinedOutput
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) ProtoReflect ¶
func (x *Result) ProtoReflect() protoreflect.Message
type Statistic ¶
type Statistic struct {
Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// Types that are valid to be assigned to MeanType:
//
// *Statistic_Mean
// *Statistic_RawMean
MeanType isStatistic_MeanType `protobuf_oneof:"mean_type"`
// Types that are valid to be assigned to PstdevType:
//
// *Statistic_Pstdev
// *Statistic_RawPstdev
PstdevType isStatistic_PstdevType `protobuf_oneof:"pstdev_type"`
Percentiles []*Percentile `protobuf:"bytes,5,rep,name=percentiles,proto3" json:"percentiles,omitempty"`
// Types that are valid to be assigned to MinType:
//
// *Statistic_Min
// *Statistic_RawMin
MinType isStatistic_MinType `protobuf_oneof:"min_type"`
// Types that are valid to be assigned to MaxType:
//
// *Statistic_Max
// *Statistic_RawMax
MaxType isStatistic_MaxType `protobuf_oneof:"max_type"`
// contains filtered or unexported fields
}
func (*Statistic) Descriptor
deprecated
func (*Statistic) GetMax ¶
func (x *Statistic) GetMax() *durationpb.Duration
func (*Statistic) GetMaxType ¶
func (x *Statistic) GetMaxType() isStatistic_MaxType
func (*Statistic) GetMean ¶
func (x *Statistic) GetMean() *durationpb.Duration
func (*Statistic) GetMeanType ¶
func (x *Statistic) GetMeanType() isStatistic_MeanType
func (*Statistic) GetMin ¶
func (x *Statistic) GetMin() *durationpb.Duration
func (*Statistic) GetMinType ¶
func (x *Statistic) GetMinType() isStatistic_MinType
func (*Statistic) GetPercentiles ¶
func (x *Statistic) GetPercentiles() []*Percentile
func (*Statistic) GetPstdev ¶
func (x *Statistic) GetPstdev() *durationpb.Duration
func (*Statistic) GetPstdevType ¶
func (x *Statistic) GetPstdevType() isStatistic_PstdevType
func (*Statistic) GetRawMean ¶
func (*Statistic) GetRawPstdev ¶
func (*Statistic) ProtoMessage ¶
func (*Statistic) ProtoMessage()
func (*Statistic) ProtoReflect ¶
func (x *Statistic) ProtoReflect() protoreflect.Message
type Statistic_Max ¶
type Statistic_Max struct {
Max *durationpb.Duration `protobuf:"bytes,7,opt,name=max,proto3,oneof"`
}
type Statistic_Mean ¶
type Statistic_Mean struct {
Mean *durationpb.Duration `protobuf:"bytes,3,opt,name=mean,proto3,oneof"`
}
type Statistic_Min ¶
type Statistic_Min struct {
Min *durationpb.Duration `protobuf:"bytes,6,opt,name=min,proto3,oneof"`
}
type Statistic_Pstdev ¶
type Statistic_Pstdev struct {
Pstdev *durationpb.Duration `protobuf:"bytes,4,opt,name=pstdev,proto3,oneof"`
}
type Statistic_RawMax ¶
type Statistic_RawMax struct {
RawMax uint64 `protobuf:"varint,13,opt,name=raw_max,json=rawMax,proto3,oneof"`
}
type Statistic_RawMean ¶
type Statistic_RawMean struct {
RawMean float64 `protobuf:"fixed64,8,opt,name=raw_mean,json=rawMean,proto3,oneof"`
}
type Statistic_RawMin ¶
type Statistic_RawMin struct {
RawMin uint64 `protobuf:"varint,12,opt,name=raw_min,json=rawMin,proto3,oneof"`
}
type Statistic_RawPstdev ¶
type Statistic_RawPstdev struct {
RawPstdev float64 `protobuf:"fixed64,10,opt,name=raw_pstdev,json=rawPstdev,proto3,oneof"`
}
type UserDefinedOutput ¶
type UserDefinedOutput struct {
// The official name of the plugin as registered through Envoy's plugin registration system.
PluginName string `protobuf:"bytes,1,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"`
// Types that are valid to be assigned to OutputType:
//
// *UserDefinedOutput_TypedOutput
// *UserDefinedOutput_ErrorMessage
OutputType isUserDefinedOutput_OutputType `protobuf_oneof:"output_type"`
// contains filtered or unexported fields
}
An output generated by a UserDefinedOutput plugin.
func (*UserDefinedOutput) Descriptor
deprecated
func (*UserDefinedOutput) Descriptor() ([]byte, []int)
Deprecated: Use UserDefinedOutput.ProtoReflect.Descriptor instead.
func (*UserDefinedOutput) GetErrorMessage ¶
func (x *UserDefinedOutput) GetErrorMessage() string
func (*UserDefinedOutput) GetOutputType ¶
func (x *UserDefinedOutput) GetOutputType() isUserDefinedOutput_OutputType
func (*UserDefinedOutput) GetPluginName ¶
func (x *UserDefinedOutput) GetPluginName() string
func (*UserDefinedOutput) GetTypedOutput ¶
func (x *UserDefinedOutput) GetTypedOutput() *anypb.Any
func (*UserDefinedOutput) ProtoMessage ¶
func (*UserDefinedOutput) ProtoMessage()
func (*UserDefinedOutput) ProtoReflect ¶
func (x *UserDefinedOutput) ProtoReflect() protoreflect.Message
func (*UserDefinedOutput) Reset ¶
func (x *UserDefinedOutput) Reset()
func (*UserDefinedOutput) String ¶
func (x *UserDefinedOutput) String() string
type UserDefinedOutput_ErrorMessage ¶
type UserDefinedOutput_ErrorMessage struct {
// The error returned by the plugin when trying to generate the output.
ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.