telefork

package
v1.101.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Description: Implements a telefork client

Package telefork contains basic telefork client and exposes tracing presend handler.

Package telefork contains basic telefork client and exposes tracing presend handler. This package is used in bootstrap CLIs for basic telemetry.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	SendEvent(attributes []attribute.KeyValue)

	AddField(key string, val interface{})
	AddInfo(args ...log.Marshaler)

	Close()
}

func NewClient

func NewClient(appName, apiKey string) Client

func NewClientWithHTTPClient

func NewClientWithHTTPClient(appName, apiKey string, httpClient *http.Client) Client

type Event

type Event map[string]interface{}

Jump to

Keyboard shortcuts

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