telemetry

package
v2.2.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Overview

Package telemetry provides Call Home functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service is responsible for interactions with Percona Call Home service.

func NewService

func NewService(db *reform.DB, pmmVersion string) *Service

NewService creates a new service with given UUID and PMM version.

func (*Service) DistributionMethod

func (s *Service) DistributionMethod() serverpb.DistributionMethod

DistributionMethod returns PMM Server distribution method where this pmm-managed runs.

func (*Service) Run

func (s *Service) Run(ctx context.Context)

Run runs telemetry service, sending data every interval until context is canceled.

Jump to

Keyboard shortcuts

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