Registry / observability / open-telemetry-opentelemetry-collector-contrib-exporter-fileexporter

open-telemetry-opentelemetry-collector-contrib-exporter-fileexporter

JSON →
library0.154.0gogounverified

An exporter for the OpenTelemetry Collector that writes telemetry data to files.

go get github.com/open-telemetry/opentelemetry-collector-contrib/exporter/fileexporter
INSTALL
IMPORT
SIG · OPEN-TELEMETRY-OPE
O
open-telemetry-opentelemetry-collector-contrib-exporter-fileexporter
observabilitygov0.154.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

fileexporter
github.com/open-telemetry/opentelemetry-collector-contrib/exporter/fileexporter

Create a file exporter instance for traces.

package main import ( "context" "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/fileexporter" "go.opentelemetry.io/collector/component" ) func main() { cfg := &fileexporter.Config{} exp, err := fileexporter.NewFactory().CreateTracesExporter(context.Background(), component.ExporterCreateSettings{}, cfg) if err != nil { panic(err) } defer exp.Shutdown(context.Background()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.154.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
OpenAI (training)
1
Resources
open-telemetry-opentelemetry-collector-contrib-exporter-fileexporter — go get open-telemetry-opentelemetry-collector-contrib-exporter-fileexporter · libregistry