metadata

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package metadata contains the autogenerated telemetry and build information for the exporter/exporter_creator component.

Index

Constants

Variables

View Source
var (
	Type      = component.MustNewType("exporter_creator")
	ScopeName = "github.com/stuart23/exportercreator"
)

Functions

func Meter

func Meter(settings component.TelemetrySettings) metric.Meter

func Tracer

func Tracer(settings component.TelemetrySettings) trace.Tracer

Types

type TelemetryBuilder

type TelemetryBuilder struct {
	ExporterCreatorExportersCount               metric.Int64Gauge
	ExporterCreatorNonroutableLogRecordsTotal   metric.Int64Counter
	ExporterCreatorNonroutableMetricPointsTotal metric.Int64Counter
	ExporterCreatorNonroutableSpansTotal        metric.Int64Counter
	ExporterCreatorObservedEndpoints            metric.Int64Gauge
	// contains filtered or unexported fields
}

TelemetryBuilder provides an interface for components to report telemetry as defined in metadata and user config.

func NewTelemetryBuilder

func NewTelemetryBuilder(settings component.TelemetrySettings, options ...TelemetryBuilderOption) (*TelemetryBuilder, error)

NewTelemetryBuilder provides a struct with methods to update all internal telemetry for a component

func (*TelemetryBuilder) Shutdown

func (builder *TelemetryBuilder) Shutdown()

Shutdown unregister all registered callbacks for async instruments.

type TelemetryBuilderOption

type TelemetryBuilderOption interface {
	// contains filtered or unexported methods
}

TelemetryBuilderOption applies changes to default builder.

Jump to

Keyboard shortcuts

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