exporter

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 12 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) ExportCommits added in v0.8.0

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

func (*Exporter) ExportJobs

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

func (*Exporter) ExportMergeRequestNoteEvents added in v0.9.0

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

func (*Exporter) ExportMergeRequests added in v0.8.0

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

func (*Exporter) ExportMetrics

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

func (*Exporter) ExportPipelines

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

func (*Exporter) ExportProjects added in v0.8.0

func (e *Exporter) ExportProjects(ctx context.Context, data []*typespb.Project) 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