open-telemetry / opentelemetry-collector
Files Coverage
client/client.go 100.00%
cmd/builder/internal/builder/config.go 67.60%
cmd/builder/internal/builder/main.go 54.76%
cmd/builder/internal/builder/templates.go 100.00%
cmd/builder/internal/config/default.go 100.00%
cmd/otelcorecol/components.go 63.63%
cmd/otelcorecol/main.go 0.00%
cmd/otelcorecol/main_others.go 0.00%
component/build_info.go 100.00%
component/component.go 100.00%
component/componenttest/nop_exporter.go 100.00%
component/componenttest/nop_extension.go 100.00%
component/componenttest/nop_factories.go 29.41%
component/componenttest/nop_host.go 100.00%
component/componenttest/nop_processor.go 100.00%
component/componenttest/nop_receiver.go 100.00%
component/componenttest/nop_telemetry.go 100.00%
component/componenttest/shutdown_verifier.go 84.37%
component/exporter.go 100.00%
component/extension.go 100.00%
component/factories.go 100.00%
component/processor.go 100.00%
component/receiver.go 100.00%
config/common.go 100.00%
config/configauth/configauth.go 100.00%
config/configauth/default_clientauthenticator.go 100.00%
config/configauth/default_serverauthenticator.go 100.00%
config/configauth/mock_clientauth.go 100.00%
config/configcompression/compressionType.go 100.00%
config/configgrpc/configgrpc.go 92.78%
config/configgrpc/wrappedstream.go 100.00%
config/confighttp/clientinfohandler.go 100.00%
config/confighttp/compression.go 84.11%
config/confighttp/confighttp.go 100.00%
config/confignet/confignet.go 100.00%
config/configtelemetry/configtelemetry.go 100.00%
config/configtest/configtest.go 100.00%
config/configtls/configtls.go 100.00%
config/exporter.go 90.90%
config/extension.go 72.72%
config/identifiable.go 100.00%
config/internal/configsource/manager.go 85.95%
config/moved_config.go 100.00%
config/processor.go 90.90%
config/receiver.go 90.90%
confmap/confmap.go 90.99%
confmap/confmaptest/configtest.go 100.00%
confmap/converter/expandconverter/expand.go 100.00%
confmap/converter/overwritepropertiesconverter/properties.go 100.00%
confmap/provider.go 100.00%
confmap/provider/envprovider/provider.go 100.00%
confmap/provider/fileprovider/provider.go 100.00%
confmap/provider/httpprovider/provider.go 88.00%
confmap/provider/internal/provider.go 100.00%
confmap/provider/yamlprovider/provider.go 100.00%
confmap/resolver.go 97.20%
consumer/consumer.go 100.00%
consumer/consumererror/permanent.go 100.00%
consumer/consumererror/signalerrors.go 100.00%
consumer/consumertest/base_consumer.go 100.00%
consumer/consumertest/err.go 100.00%
consumer/consumertest/nop.go 100.00%
consumer/consumertest/sink.go 100.00%
consumer/logs.go 100.00%
consumer/metrics.go 100.00%
consumer/traces.go 100.00%
exporter/exporterhelper/common.go 93.97%
exporter/exporterhelper/internal/bounded_memory_queue.go 90.24%
exporter/exporterhelper/internal/persistent_queue.go 100.00%
exporter/exporterhelper/internal/persistent_storage.go 88.33%
exporter/exporterhelper/internal/persistent_storage_batch.go 80.48%
exporter/exporterhelper/logs.go 84.74%
exporter/exporterhelper/metrics.go 84.74%
exporter/exporterhelper/obsreport.go 100.00%
exporter/exporterhelper/queued_retry.go 95.97%
exporter/exporterhelper/traces.go 86.66%
exporter/loggingexporter/config.go 0.00%
exporter/loggingexporter/factory.go 100.00%
exporter/loggingexporter/internal/otlptext/databuffer.go 98.26%
exporter/loggingexporter/internal/otlptext/logs.go 100.00%
exporter/loggingexporter/internal/otlptext/metrics.go 100.00%
exporter/loggingexporter/internal/otlptext/traces.go 100.00%
exporter/loggingexporter/known_sync_error.go 0.00%
exporter/loggingexporter/logging_exporter.go 80.00%
exporter/otlpexporter/config.go 0.00%
exporter/otlpexporter/factory.go 90.90%
exporter/otlpexporter/otlp.go 90.42%
exporter/otlphttpexporter/config.go 80.00%
exporter/otlphttpexporter/factory.go 86.95%
exporter/otlphttpexporter/otlp.go 80.59%
extension/ballastextension/config.go 83.33%
extension/ballastextension/factory.go 100.00%
extension/ballastextension/memory_ballast.go 89.28%
extension/experimental/storage/nop_client.go 50.00%
extension/experimental/storage/storage.go 100.00%
extension/zpagesextension/config.go 40.00%
extension/zpagesextension/factory.go 100.00%
extension/zpagesextension/zpagesextension.go 83.01%
featuregate/flags.go 100.00%
featuregate/gates.go 100.00%
internal/cgroups/cgroup.go 88.88%
internal/cgroups/cgroups.go 87.67%
internal/cgroups/errors.go 0.00%
internal/cgroups/mountpoint.go 100.00%
internal/cgroups/subsys.go 92.30%
internal/iruntime/mem_info.go 100.00%
internal/iruntime/total_memory_linux.go 40.00%
internal/obsreportconfig/obsreportconfig.go 100.00%
internal/sharedcomponent/sharedcomponent.go 100.00%
internal/testcomponents/example_exporter.go 100.00%
internal/testcomponents/example_factories.go 100.00%
internal/testcomponents/example_processor.go 100.00%
internal/testcomponents/example_receiver.go 100.00%
internal/testutil/testutil.go 66.66%
obsreport/obsreport.go 100.00%
obsreport/obsreport_exporter.go 100.00%
obsreport/obsreport_processor.go 94.69%
obsreport/obsreport_receiver.go 100.00%
obsreport/obsreport_scraper.go 100.00%
obsreport/obsreporttest/obsreporttest.go 95.62%
pdata/internal/data/bytesid.go 88.00%
pdata/internal/data/spanid.go 100.00%
pdata/internal/data/traceid.go 90.90%
pdata/internal/generated_wrapper_common.go 100.00%
pdata/internal/generated_wrapper_logs.go 100.00%
pdata/internal/generated_wrapper_metrics.go 100.00%
pdata/internal/generated_wrapper_primitive_slice.go 100.00%
pdata/internal/generated_wrapper_resource.go 100.00%
pdata/internal/generated_wrapper_traces.go 100.00%
pdata/internal/json/attribute.go 100.00%
pdata/internal/json/enum.go 100.00%
pdata/internal/json/number.go 100.00%
pdata/internal/json/resource.go 100.00%
pdata/internal/json/scope.go 100.00%
pdata/internal/otlp/logs.go 100.00%
pdata/internal/otlp/metrics.go 100.00%
pdata/internal/otlp/traces.go 100.00%
pdata/internal/wrapper_common.go 100.00%
pdata/internal/wrapper_logs.go 100.00%
pdata/internal/wrapper_metrics.go 52.17%
pdata/internal/wrapper_traces.go 100.00%
pdata/pcommon/common.go 89.92%
pdata/pcommon/generated_common.go 100.00%
pdata/pcommon/generated_primitive_slice.go 100.00%
pdata/pcommon/generated_resource.go 100.00%
pdata/pcommon/spanid.go 100.00%
pdata/pcommon/timestamp.go 100.00%
pdata/pcommon/trace_state.go 100.00%
pdata/pcommon/traceid.go 100.00%
pdata/plog/generated_logs.go 96.79%
pdata/plog/internal/plogjson/json.go 98.03%
pdata/plog/json.go 100.00%
pdata/plog/log_record_flags.go 100.00%
pdata/plog/logs.go 96.55%
pdata/plog/pb.go 100.00%
pdata/plog/plogotlp/logs.go 51.06%
pdata/pmetric/generated_metrics.go 96.09%
pdata/pmetric/internal/pmetricjson/json.go 99.00%
pdata/pmetric/json.go 80.00%
pdata/pmetric/metric_data_point_flags.go 100.00%
pdata/pmetric/metrics.go 75.45%
pdata/pmetric/pb.go 100.00%
pdata/pmetric/pmetricotlp/metrics.go 55.81%
pdata/ptrace/generated_traces.go 97.00%
pdata/ptrace/internal/ptracejson/json.go 100.00%
pdata/ptrace/json.go 80.00%
pdata/ptrace/pb.go 100.00%
pdata/ptrace/ptraceotlp/traces.go 51.06%
pdata/ptrace/traces.go 81.81%
processor/batchprocessor/batch_processor.go 90.67%
processor/batchprocessor/config.go 100.00%
processor/batchprocessor/factory.go 100.00%
processor/batchprocessor/metrics.go 100.00%
processor/batchprocessor/splitlogs.go 100.00%
processor/batchprocessor/splitmetrics.go 98.63%
processor/batchprocessor/splittraces.go 100.00%
processor/memorylimiterprocessor/config.go 0.00%
processor/memorylimiterprocessor/factory.go 100.00%
processor/memorylimiterprocessor/memorylimiter.go 88.88%
processor/processorhelper/logs.go 90.00%
processor/processorhelper/metrics.go 90.00%
processor/processorhelper/processor.go 100.00%
processor/processorhelper/traces.go 90.00%
receiver/otlpreceiver/config.go 84.00%
receiver/otlpreceiver/encoder.go 73.91%
receiver/otlpreceiver/factory.go 87.50%
receiver/otlpreceiver/internal/logs/otlp.go 100.00%
receiver/otlpreceiver/internal/metrics/otlp.go 100.00%
receiver/otlpreceiver/internal/trace/otlp.go 100.00%
receiver/otlpreceiver/otlp.go 87.58%
receiver/otlpreceiver/otlphttp.go 63.88%
receiver/scrapererror/partialscrapeerror.go 72.72%
receiver/scrapererror/scrapeerror.go 100.00%
receiver/scraperhelper/scraper.go 87.50%
receiver/scraperhelper/scrapercontroller.go 93.93%
service/collector.go 78.90%
service/command.go 54.54%
service/config_provider.go 76.92%
service/extensions/extensions.go 82.97%
service/flags.go 80.76%
service/host.go 100.00%
service/internal/components/components.go 100.00%
service/internal/components/host_wrapper.go 100.00%
service/internal/configunmarshaler/defaultunmarshaler.go 100.00%
service/internal/fanoutconsumer/logs.go 100.00%
service/internal/fanoutconsumer/metrics.go 100.00%
service/internal/fanoutconsumer/traces.go 100.00%
service/internal/otel_trace_sampler.go 66.66%
service/internal/pipelines/capabilities.go 100.00%
service/internal/pipelines/pipelines.go 95.12%
service/internal/runtimeinfo/info.go 100.00%
service/internal/telemetry/process_telemetry.go 71.79%
service/internal/telemetrylogs/logger.go 85.71%
service/internal/zpages/templates.go 41.66%
service/service.go 68.42%
service/servicetest/configprovider.go 53.84%
service/telemetry.go 90.06%
service/zpages.go 68.08%
Project Totals (218 files) 91.77%
Loading