package counter

Import Path
	go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/counter (on go.dev)

Dependency Relation
	imports one package, and imported by one package

Involved Source Files Package counter provides a simple counter for generating unique IDs. This package is used to generate unique IDs while allowing testing packages to reset the counter.
Package-Level Functions (total 2)
NextExporterID returns the next unique ID for an exporter.
SetExporterID sets the exporter ID counter to v and returns the previous value. This function is useful for testing purposes, allowing you to reset the counter. It should not be used in production code.