Documentation ¶
Index ¶
- Variables
- func Close(ctx context.Context)
- func Report(ctx context.Context, action string, entries ...Entry)
- func Run(ctx context.Context) error
- func SetMetadatum(ctx context.Context, key string, value any)
- func Start(ctx context.Context)
- func WithReporter(ctx context.Context, reporter Reporter) context.Context
- func WithSession(ctx context.Context, s session) context.Context
- type Entry
- type Reporter
Constants ¶
This section is empty.
Variables ¶
NewReporter creates a new initialized Reporter instance that can be used to send telepresence reports to Metriton and assigns it to the current context.
Functions ¶
func Report ¶ added in v2.14.3
Report sends a report using the Reporter found in the current context.
func Run ¶ added in v2.14.3
Run ensures that all reports on the send queue are sent to the endpoint.
func SetMetadatum ¶ added in v2.14.3
SetMetadatum associates the given key with the given value in the metadata of the Reporter found in the current context.
func WithReporter ¶ added in v2.14.3
Types ¶
Click to show internal directories.
Click to hide internal directories.