exporter

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EndpointConfig added in v0.7.0

type EndpointConfig struct {
	Address string
	Options []grpc.DialOption
}

func CreateEndpointConfigs

func CreateEndpointConfigs(cfg []config.Endpoint) []EndpointConfig

type Exporter

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

func New

func New(endpoints []EndpointConfig) (*Exporter, error)

func (*Exporter) ExportBridges

func (e *Exporter) ExportBridges(ctx context.Context, data []*typespb.Bridge) error

func (*Exporter) ExportJobs

func (e *Exporter) ExportJobs(ctx context.Context, data []*typespb.Job) error

func (*Exporter) ExportMetrics

func (e *Exporter) ExportMetrics(ctx context.Context, data []*typespb.Metric) error

func (*Exporter) ExportPipelineHierarchy

func (e *Exporter) ExportPipelineHierarchy(ctx context.Context, ph *models.PipelineHierarchy) error

func (*Exporter) ExportPipelines

func (e *Exporter) ExportPipelines(ctx context.Context, data []*typespb.Pipeline) error

func (*Exporter) ExportSections

func (e *Exporter) ExportSections(ctx context.Context, data []*typespb.Section) error

func (*Exporter) ExportTestCases

func (e *Exporter) ExportTestCases(ctx context.Context, data []*typespb.TestCase) error

func (*Exporter) ExportTestReports

func (e *Exporter) ExportTestReports(ctx context.Context, data []*typespb.TestReport) error

func (*Exporter) ExportTestSuites

func (e *Exporter) ExportTestSuites(ctx context.Context, data []*typespb.TestSuite) error

func (*Exporter) ExportTraces

func (e *Exporter) ExportTraces(ctx context.Context, data []*typespb.Trace) error

func (*Exporter) MetricsCollectorFor added in v0.7.0

func (e *Exporter) MetricsCollectorFor(endpoint string) prometheus.Collector

Jump to

Keyboard shortcuts

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