telemetry

package
v2.17.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: AGPL-3.0 Imports: 24 Imported by: 0

Documentation

Overview

Package telemetry provides telemetry 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 Check / Telemetry service.

func NewService

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

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 after delay, 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