{"id":62573,"library":"open-telemetry-opentelemetry-collector-contrib-exporter-fileexporter","title":"OpenTelemetry Collector File Exporter","description":"An exporter for the OpenTelemetry Collector that writes telemetry data to files.","status":"active","version":"0.154.0","language":"go","source_language":null,"source_url":"https://github.com/open-telemetry/opentelemetry-collector-contrib","tags":["opentelemetry","exporter","file","observability"],"install":[{"cmd":"go get github.com/open-telemetry/opentelemetry-collector-contrib/exporter/fileexporter","lang":"bash","label":"Install github.com/open-telemetry/opentelemetry-collector-contrib/exporter/fileexporter"}],"dependencies":[],"imports":[{"symbol":"fileexporter","correct":"github.com/open-telemetry/opentelemetry-collector-contrib/exporter/fileexporter"}],"quickstart":{"code":"package main\n\nimport (\n\t\"context\"\n\t\"github.com/open-telemetry/opentelemetry-collector-contrib/exporter/fileexporter\"\n\t\"go.opentelemetry.io/collector/component\"\n)\n\nfunc main() {\n\tcfg := &fileexporter.Config{}\n\texp, err := fileexporter.NewFactory().CreateTracesExporter(context.Background(), component.ExporterCreateSettings{}, cfg)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer exp.Shutdown(context.Background())\n}","lang":"go","description":"Create a file exporter instance for traces."},"warnings":[],"env_vars":null,"search_vec":"'collector':2,10 'data':14 'export':4,6,18 'file':3,16,19 'observ':20 'opentelemetri':1,9,17 'telemetri':13 'write':12","created_at":"2026-06-17T16:33:04.010838+00:00","updated_at":"2026-06-17T16:33:04.010838+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/open-telemetry/opentelemetry-collector-contrib","github":"https://github.com/open-telemetry/opentelemetry-collector-contrib","docs":"https://pkg.go.dev/github.com/open-telemetry/opentelemetry-collector-contrib/exporter/fileexporter#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["observability"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}