Documentation
¶
Index ¶
Constants ¶
View Source
const (
Port = 51678
)
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer(agentState v1.AgentState, metricsFactory metrics.EntryFactory, options ...ConfigOpt) (*http.Server, error)
Create a new HTTP Introspection Server
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Configuration for Introspection Server
type ConfigOpt ¶
type ConfigOpt func(*Config)
Function type for updating Introspection Server config
func WithReadTimeout ¶
Set Introspection Server read timeout
func WithRuntimeStats ¶
Set if Introspection Server should accept profiling requests
func WithWriteTimeout ¶
Set Introspection Server write timeout
Click to show internal directories.
Click to hide internal directories.