open-telemetry / opentelemetry-collector
Files Coverage
client/client.go 100.00%
cmd/builder/internal/builder/config.go 68.49%
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 63.82%
component/componenttest/configtest.go 90.90%
component/componenttest/nop_exporter.go 100.00%
component/componenttest/nop_extension.go 100.00%
component/componenttest/nop_factories.go 0.00%
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 0.00%
component/config.go 87.50%
component/exporter.go 100.00%
component/extension.go 100.00%
component/factories.go 100.00%
component/identifiable.go 100.00%
component/processor.go 100.00%
component/receiver.go 100.00%
config/configauth/configauth.go 100.00%
config/configcompression/compressionType.go 100.00%
config/configgrpc/configgrpc.go 91.55%
config/configgrpc/wrappedstream.go 100.00%
config/confighttp/clientinfohandler.go 100.00%
config/confighttp/compression.go 84.11%
config/confighttp/confighttp.go 88.67%
config/confignet/confignet.go 100.00%
config/configtelemetry/configtelemetry.go 100.00%
config/configtls/configtls.go 100.00%
config/connector.go 33.33%
config/exporter.go 100.00%
config/extension.go 100.00%
config/internal/warning.go 100.00%
config/processor.go 100.00%
config/receiver.go 100.00%
config/settings.go 66.66%
confmap/confmap.go 89.93%
confmap/confmaptest/configtest.go 100.00%
confmap/converter/expandconverter/expand.go 100.00%
confmap/converter/overwritepropertiesconverter/properties.go 100.00%
confmap/internal/mapstructure/encoder.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 96.38%
connector/connector.go 66.66%
consumer/consumer.go 100.00%
consumer/consumererror/permanent.go 100.00%
consumer/consumererror/signalerrors.go 100.00%
consumer/consumertest/base_consumer.go 0.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 90.80%
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 80.64%
exporter/exporterhelper/metrics.go 80.64%
exporter/exporterhelper/obsreport.go 94.91%
exporter/exporterhelper/queued_retry.go 95.23%
exporter/exporterhelper/traces.go 80.95%
exporter/loggingexporter/config.go 64.51%
exporter/loggingexporter/factory.go 88.88%
exporter/loggingexporter/internal/otlptext/databuffer.go 100.00%
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 79.24%
exporter/otlpexporter/config.go 0.00%
exporter/otlpexporter/factory.go 90.90%
exporter/otlpexporter/otlp.go 93.40%
exporter/otlphttpexporter/config.go 80.00%
exporter/otlphttpexporter/factory.go 86.95%
exporter/otlphttpexporter/otlp.go 80.59%
extension/auth/authtest/mock_clientauth.go 100.00%
extension/auth/default_clientauthenticator.go 100.00%
extension/auth/default_serverauthenticator.go 100.00%
extension/ballastextension/config.go 83.33%
extension/ballastextension/factory.go 100.00%
extension/ballastextension/memory_ballast.go 82.14%
extension/experimental/storage/nop_client.go 50.00%
extension/experimental/storage/storage.go 100.00%
extension/zpagesextension/config.go 0.00%
extension/zpagesextension/factory.go 100.00%
extension/zpagesextension/zpagesextension.go 83.01%
featuregate/flags.go 100.00%
featuregate/gate.go 100.00%
featuregate/registry.go 97.43%
featuregate/stage.go 100.00%
internal/cgroups/cgroup.go 88.88%
internal/cgroups/cgroups.go 91.78%
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 36.66%
internal/obsreportconfig/obsreportconfig.go 94.17%
internal/sharedcomponent/sharedcomponent.go 100.00%
internal/testutil/testutil.go 66.66%
obsreport/obsreport.go 100.00%
obsreport/obsreport_exporter.go 97.90%
obsreport/obsreport_processor.go 95.00%
obsreport/obsreport_receiver.go 98.28%
obsreport/obsreport_scraper.go 96.55%
obsreport/obsreporttest/obsreporttest.go 89.28%
obsreport/obsreporttest/otelprometheuschecker.go 95.12%
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_logs_otlp.go 100.00%
pdata/internal/generated_wrapper_metrics.go 100.00%
pdata/internal/generated_wrapper_metrics_otlp.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/generated_wrapper_traces_otlp.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 100.00%
pdata/internal/wrapper_traces.go 100.00%
pdata/pcommon/common.go 93.58%
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.40%
pdata/plog/json.go 100.00%
pdata/plog/log_record_flags.go 100.00%
pdata/plog/logs.go 100.00%
pdata/plog/pb.go 100.00%
pdata/plog/plogotlp/generated_logs_otlp.go 100.00%
pdata/plog/plogotlp/grpc.go 100.00%
pdata/plog/plogotlp/request.go 50.00%
pdata/plog/plogotlp/response.go 12.50%
pdata/pmetric/generated_metrics.go 96.13%
pdata/pmetric/internal/pmetricjson/json.go 100.00%
pdata/pmetric/json.go 72.72%
pdata/pmetric/metric_data_point_flags.go 100.00%
pdata/pmetric/metrics.go 100.00%
pdata/pmetric/pb.go 100.00%
pdata/pmetric/pmetricotlp/generated_metrics_otlp.go 100.00%
pdata/pmetric/pmetricotlp/grpc.go 100.00%
pdata/pmetric/pmetricotlp/request.go 61.11%
pdata/pmetric/pmetricotlp/response.go 12.50%
pdata/ptrace/generated_traces.go 97.00%
pdata/ptrace/internal/ptracejson/json.go 100.00%
pdata/ptrace/json.go 72.72%
pdata/ptrace/pb.go 100.00%
pdata/ptrace/ptraceotlp/generated_traces_otlp.go 100.00%
pdata/ptrace/ptraceotlp/grpc.go 100.00%
pdata/ptrace/ptraceotlp/request.go 50.00%
pdata/ptrace/ptraceotlp/response.go 12.50%
pdata/ptrace/traces.go 100.00%
processor/batchprocessor/batch_processor.go 90.47%
processor/batchprocessor/config.go 100.00%
processor/batchprocessor/factory.go 100.00%
processor/batchprocessor/metrics.go 84.71%
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 89.63%
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 94.44%
receiver/otlpreceiver/encoder.go 47.82%
receiver/otlpreceiver/factory.go 87.50%
receiver/otlpreceiver/internal/logs/otlp.go 87.50%
receiver/otlpreceiver/internal/metrics/otlp.go 87.50%
receiver/otlpreceiver/internal/trace/otlp.go 88.00%
receiver/otlpreceiver/otlp.go 80.24%
receiver/otlpreceiver/otlphttp.go 45.37%
receiver/scrapererror/partialscrapeerror.go 72.72%
receiver/scrapererror/scrapeerror.go 100.00%
receiver/scraperhelper/scraper.go 87.50%
receiver/scraperhelper/scrapercontroller.go 89.28%
service/collector.go 76.31%
service/command.go 65.51%
service/command_components.go 89.28%
service/config.go 100.00%
service/config_provider.go 78.57%
service/extensions/extensions.go 83.15%
service/flags.go 100.00%
service/host.go 100.00%
service/internal/capabilityconsumer/capabilities.go 100.00%
service/internal/components/components.go 100.00%
service/internal/components/host_wrapper.go 100.00%
service/internal/configunmarshaler/error.go 100.00%
service/internal/configunmarshaler/exporters.go 100.00%
service/internal/configunmarshaler/extensions.go 100.00%
service/internal/configunmarshaler/processors.go 100.00%
service/internal/configunmarshaler/receivers.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/grpclog/logger.go 80.00%
service/internal/pipelines/pipelines.go 95.16%
service/internal/proctelemetry/process_telemetry.go 71.79%
service/internal/runtimeinfo/info.go 100.00%
service/internal/testcomponents/example_exporter.go 100.00%
service/internal/testcomponents/example_factories.go 100.00%
service/internal/testcomponents/example_processor.go 100.00%
service/internal/testcomponents/example_receiver.go 100.00%
service/internal/zpages/templates.go 41.66%
service/service.go 69.44%
service/servicetest/configprovider.go 76.00%
service/telemetry.go 86.66%
service/telemetry/config.go 100.00%
service/telemetry/otel_trace_sampler.go 66.66%
service/telemetry/telemetry.go 83.33%
service/unmarshaler.go 100.00%
service/zpages.go 64.00%
Project Totals (245 files) 91.20%
Loading