package
Version:
v0.2.2
Opens a new window with list of versions in this module.
Published: May 11, 2022
License: MPL-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
- Constants
-
func NewClient(tCfg Config) (posthog.Client, error)
-
func TelemeterGenerateManifests(name, testScriptPath, namespace, outPath string, count int, ...)
-
func TelemeterServicesScaffold(serviceNames []string, namespace, outPath string, tClient posthog.Client, ...)
-
type Config
View Source
const PostHogToken = "_uzX-_WJoVmE_tsLvu0OFD2tpd0HGz72D5sU1zM2hbs"
PostHogToken is PostHog API token.
NewClient returns a telemetry client based on the telemetry configuration.
This could either be a no-op client or a PostHog client.
func TelemeterGenerateManifests(
name, testScriptPath, namespace, outPath string,
count int,
tClient posthog.Client,
tConfig Config,
logger logr.Logger,
)
TelemeterGenerateManifests enqueues a kubectl-artillery generate command event.
func TelemeterServicesScaffold(
serviceNames []string,
namespace, outPath string,
tClient posthog.Client,
tConfig Config,
logger logr.Logger,
)
TelemeterServicesScaffold enqueues a kubectl-artillery scaffold command event.
Config defines telemetry configuration.
NewConfig return a new telemetry config, that include environment settings.
ToK8sEnvVar converts telemetry config to K8s env var settings.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.