Documentation ¶
Overview ¶
Package zpagesextension implements an extension that exposes zPages of properly instrumented components.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { configmodels.ExtensionSettings `mapstructure:",squash"` // Endpoint is the address and port in which the zPages will be listening to. // Use localhost:<port> to make it available only locally, or ":<port>" to // make it available on all network interfaces. Endpoint string `mapstructure:"endpoint"` }
Config has the configuration for the extension enabling the zPages extension.
type Factory ¶
type Factory struct { }
Factory is the factory for the extension.
func (*Factory) CreateDefaultConfig ¶
func (f *Factory) CreateDefaultConfig() configmodels.Extension
CreateDefaultConfig creates the default configuration for the extension.
func (*Factory) CreateExtension ¶
func (f *Factory) CreateExtension( logger *zap.Logger, cfg configmodels.Extension, ) (extension.ServiceExtension, error)
CreateExtension creates the extension based on this config.
Click to show internal directories.
Click to hide internal directories.