Documentation ¶
Index ¶
Constants ¶
View Source
const ( // NAME is name of the plugin used to register it in Snap. NAME = "session-test" // VERSION represents version of the plugin. VERSION = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SessionPublisher ¶
type SessionPublisher struct{}
The SessionPublisher is a test publisher hosted in swan which enables the session test to verify that tags have indeed been added to the metrics.
func (SessionPublisher) GetConfigPolicy ¶
func (f SessionPublisher) GetConfigPolicy() (plugin.ConfigPolicy, error)
GetConfigPolicy is an implementation needed for the Publisher interface and here, returns configuration requiring 'swan_experiment' and 'swan_phase' to be set.
Click to show internal directories.
Click to hide internal directories.