telemetryShim

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Copyright (C) 2021-2023, Kubefirst

This program is licensed under MIT. See the LICENSE file for more details.

This program is licensed under MIT. See the LICENSE file for more details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Heartbeat

func Heartbeat(segmentClient *segment.SegmentClient)

Heartbeat

func HeartbeatWorkloadClusters

func HeartbeatWorkloadClusters() error

func SetupInitialTelemetry

func SetupInitialTelemetry(clusterID string, clusterType string, installMethod string) (*segment.SegmentClient, error)

func SetupTelemetry

func SetupTelemetry(cl pkgtypes.Cluster) (*segment.SegmentClient, error)

SetupTelemetry

func Transmit

func Transmit(useTelemetry bool, segmentClient *segment.SegmentClient, metricName string, errorMessage string)

Transmit sends a metric via Segment

func TransmitClusterZero

func TransmitClusterZero(useTelemetry bool, segmentClient *segment.SegmentClient, metricName string, errorMessage string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL