Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationConfig ¶
type ApplicationConfig struct { Entities []string `json:"entities"` // Duration. example: "1h" ActorIdleTimeout string `json:"actorIdleTimeout"` // Duration. example: "30s" ActorScanInterval string `json:"actorScanInterval"` // Duration. example: "30s" DrainOngoingCallTimeout string `json:"drainOngoingCallTimeout"` DrainRebalancedActors bool `json:"drainRebalancedActors"` }
ApplicationConfig is an optional config supplied by user code.
type Configuration ¶
type Configuration struct {
Spec ConfigurationSpec `json:"spec" yaml:"spec"`
}
func LoadDefaultConfiguration ¶
func LoadDefaultConfiguration() *Configuration
LoadDefaultConfiguration returns the default config with tracing disabled
func LoadKubernetesConfiguration ¶
func LoadKubernetesConfiguration(config, controlPlaneAddress string) (*Configuration, error)
LoadKubernetesConfiguration gets configuration from the Kubernetes operator with a given name
func LoadStandaloneConfiguration ¶
func LoadStandaloneConfiguration(config string) (*Configuration, error)
LoadStandaloneConfiguration gets the path to a config file and loads it into a configuration
type ConfigurationSpec ¶
type ConfigurationSpec struct {
TracingSpec TracingSpec `json:"tracing,omitempty" yaml:"tracing,omitempty"`
}
type TracingSpec ¶
type TracingSpec struct { Enabled bool `json:"enabled" yaml:"enabled"` ExporterType string `json:"exporterType" yaml:"exporterType,omitempty"` ExporterAddress string `json:"exporterAddress" yaml:"exporterAddress,omitempty"` ExpandParams bool `json:"expandParams" yaml:"expandParams"` IncludeBody bool `json:"includeBody" yaml:"includeBody"` }
Click to show internal directories.
Click to hide internal directories.