export

package
v3.0.0-...-de0fd11 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Copyright (c) F5, Inc.

This source code is licensed under the Apache License, Version 2.0 license found in the LICENSE file in the root directory of this source tree.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGRPCExporter

func NewGRPCExporter(ctx context.Context, conf *config.GRPC) (*otlpmetricgrpc.Exporter, error)

NewGRPCExporter returns a OTel export that transmits via gRPC.

Types

type OTelExporter

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

func NewOTelExporter

func NewOTelExporter(ctx context.Context, agentConf *config.Config, serviceName, id string,
	c model.Converter[metricdata.Metrics],
) (*OTelExporter, error)

func (*OTelExporter) Export

func (oe *OTelExporter) Export(entry model.DataEntry) error

Export implements the `Exporter` interface. nolint: unparam

func (*OTelExporter) StartSink

func (oe *OTelExporter) StartSink(ctx context.Context)

func (*OTelExporter) Type

func (oe *OTelExporter) Type() model.ExporterType

Jump to

Keyboard shortcuts

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