Documentation
¶
Index ¶
- type FlightRecorder
- func (m *FlightRecorder) Cleanup() error
- func (m *FlightRecorder) Module() core.ModuleInfo
- func (m *FlightRecorder) Provision(ctx *core.ModuleContext) error
- func (m *FlightRecorder) RecordTrace(operationName string)
- func (m *FlightRecorder) RouterOnRequest(ctx core.RequestContext, next http.Handler)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlightRecorder ¶
type FlightRecorder struct {
OutputPath string `mapstructure:"outputPath"`
RecordMultiple bool `mapstructure:"recordMultiple"`
RequestLatencyRecordThreshold uint64 `mapstructure:"requestLatencyRecordThreshold"`
Logger *zap.Logger
// contains filtered or unexported fields
}
func (*FlightRecorder) Cleanup ¶
func (m *FlightRecorder) Cleanup() error
func (*FlightRecorder) Module ¶
func (m *FlightRecorder) Module() core.ModuleInfo
func (*FlightRecorder) Provision ¶
func (m *FlightRecorder) Provision(ctx *core.ModuleContext) error
func (*FlightRecorder) RecordTrace ¶
func (m *FlightRecorder) RecordTrace(operationName string)
func (*FlightRecorder) RouterOnRequest ¶
func (m *FlightRecorder) RouterOnRequest(ctx core.RequestContext, next http.Handler)
Click to show internal directories.
Click to hide internal directories.