From eacfde3fcbd46ba60a6db0e9a41977390c4883bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Carlos=20Ch=C3=A1vez?= Date: Tue, 23 Nov 2021 22:38:57 +0100 Subject: [PATCH] chore: adds vanity import check. (#6305) --- .github/workflows/build-and-test.yml | 2 +- Makefile | 5 +++++ Makefile.Common | 4 ++++ cmd/configschema/comments.go | 2 +- cmd/configschema/configs.go | 2 +- cmd/configschema/docsgen/docsgen/cli.go | 2 +- cmd/configschema/docsgen/docsgen/render.go | 2 +- cmd/configschema/docsgen/docsgen/template.go | 2 +- cmd/configschema/fields.go | 2 +- cmd/configschema/resolver.go | 2 +- exporter/alibabacloudlogserviceexporter/config.go | 2 +- exporter/alibabacloudlogserviceexporter/factory.go | 2 +- exporter/alibabacloudlogserviceexporter/logs_exporter.go | 2 +- .../alibabacloudlogserviceexporter/logsdata_to_logservice.go | 2 +- exporter/alibabacloudlogserviceexporter/metrics_exporter.go | 2 +- .../metricsdata_to_logservice.go | 2 +- exporter/alibabacloudlogserviceexporter/sanitize.go | 2 +- exporter/alibabacloudlogserviceexporter/trace_exporter.go | 2 +- .../tracedata_to_logservice.go | 2 +- exporter/alibabacloudlogserviceexporter/uploader.go | 2 +- exporter/awscloudwatchlogsexporter/config.go | 2 +- exporter/awscloudwatchlogsexporter/exporter.go | 2 +- exporter/awscloudwatchlogsexporter/factory.go | 2 +- exporter/awsemfexporter/config.go | 2 +- exporter/awsemfexporter/cwlog_client.go | 2 +- exporter/awsemfexporter/datapoint.go | 2 +- exporter/awsemfexporter/doc.go | 2 +- exporter/awsemfexporter/emf_exporter.go | 2 +- exporter/awsemfexporter/factory.go | 2 +- exporter/awsemfexporter/grouped_metric.go | 2 +- .../awsemfexporter/handler/request_structuredlog_handler.go | 2 +- exporter/awsemfexporter/metric_declaration.go | 2 +- exporter/awsemfexporter/metric_translator.go | 2 +- exporter/awsemfexporter/pusher.go | 2 +- exporter/awsemfexporter/util.go | 2 +- exporter/awskinesisexporter/config.go | 2 +- exporter/awskinesisexporter/exporter.go | 2 +- exporter/awskinesisexporter/factory.go | 2 +- exporter/awskinesisexporter/internal/batch/batch.go | 2 +- exporter/awskinesisexporter/internal/batch/encode.go | 2 +- exporter/awskinesisexporter/internal/batch/encode_jaeger.go | 2 +- .../awskinesisexporter/internal/batch/encode_marshaler.go | 2 +- .../awskinesisexporter/internal/batch/encode_unsupported.go | 2 +- exporter/awskinesisexporter/internal/compress/compresser.go | 2 +- .../awskinesisexporter/internal/compress/noop_compression.go | 2 +- exporter/awskinesisexporter/internal/key/key.go | 2 +- exporter/awskinesisexporter/internal/producer/batcher.go | 2 +- .../awskinesisexporter/internal/producer/batcher_options.go | 2 +- exporter/awskinesisexporter/internal/producer/interface.go | 2 +- exporter/awsprometheusremotewriteexporter/auth.go | 2 +- exporter/awsprometheusremotewriteexporter/config.go | 2 +- exporter/awsprometheusremotewriteexporter/factory.go | 2 +- exporter/awsxrayexporter/awsxray.go | 2 +- exporter/awsxrayexporter/config.go | 2 +- exporter/awsxrayexporter/doc.go | 2 +- exporter/awsxrayexporter/factory.go | 2 +- exporter/awsxrayexporter/internal/translator/aws.go | 2 +- exporter/awsxrayexporter/internal/translator/cause.go | 2 +- exporter/awsxrayexporter/internal/translator/http.go | 2 +- exporter/awsxrayexporter/internal/translator/segment.go | 2 +- exporter/awsxrayexporter/internal/translator/service.go | 2 +- exporter/awsxrayexporter/internal/translator/sql.go | 2 +- exporter/awsxrayexporter/internal/translator/writer_pool.go | 2 +- exporter/awsxrayexporter/xray_client.go | 2 +- exporter/azuremonitorexporter/channels.go | 2 +- exporter/azuremonitorexporter/config.go | 2 +- exporter/azuremonitorexporter/conventions.go | 2 +- exporter/azuremonitorexporter/factory.go | 2 +- exporter/azuremonitorexporter/time_utils.go | 2 +- exporter/azuremonitorexporter/trace_to_envelope.go | 2 +- exporter/azuremonitorexporter/traceexporter.go | 2 +- exporter/azuremonitorexporter/traceiteration.go | 2 +- exporter/carbonexporter/config.go | 2 +- exporter/carbonexporter/doc.go | 2 +- exporter/carbonexporter/exporter.go | 2 +- exporter/carbonexporter/factory.go | 2 +- exporter/carbonexporter/metricdata_to_plaintext.go | 2 +- exporter/datadogexporter/config/config.go | 2 +- exporter/datadogexporter/denylister.go | 2 +- exporter/datadogexporter/factory.go | 2 +- exporter/datadogexporter/internal/attributes/attributes.go | 2 +- exporter/datadogexporter/internal/attributes/azure/azure.go | 2 +- exporter/datadogexporter/internal/attributes/ec2/ec2.go | 2 +- exporter/datadogexporter/internal/attributes/gcp/gcp.go | 2 +- exporter/datadogexporter/internal/attributes/hostname.go | 2 +- exporter/datadogexporter/internal/attributes/process.go | 2 +- exporter/datadogexporter/internal/attributes/system.go | 2 +- .../internal/instrumentationlibrary/metadata.go | 2 +- exporter/datadogexporter/internal/metadata/ec2/ec2.go | 2 +- exporter/datadogexporter/internal/metadata/host.go | 2 +- exporter/datadogexporter/internal/metadata/metadata.go | 2 +- exporter/datadogexporter/internal/metadata/system/host.go | 2 +- .../datadogexporter/internal/metadata/system/host_unix.go | 2 +- .../datadogexporter/internal/metadata/system/host_windows.go | 2 +- exporter/datadogexporter/internal/metadata/valid/valid.go | 2 +- exporter/datadogexporter/internal/metrics/consumer.go | 2 +- exporter/datadogexporter/internal/metrics/utils.go | 2 +- exporter/datadogexporter/internal/scrub/scrub.go | 2 +- exporter/datadogexporter/internal/sketches/sketches.go | 2 +- exporter/datadogexporter/internal/testutils/test_utils.go | 2 +- exporter/datadogexporter/internal/translator/config.go | 2 +- exporter/datadogexporter/internal/translator/consumer.go | 2 +- .../datadogexporter/internal/translator/hostname_provider.go | 2 +- .../internal/translator/metrics_translator.go | 2 +- exporter/datadogexporter/internal/translator/ttlcache.go | 2 +- exporter/datadogexporter/internal/translator/utils/tags.go | 2 +- exporter/datadogexporter/internal/utils/api.go | 2 +- exporter/datadogexporter/internal/utils/cache/cache.go | 2 +- exporter/datadogexporter/internal/utils/http.go | 2 +- exporter/datadogexporter/internal/utils/trace_helpers.go | 2 +- exporter/datadogexporter/metrics_exporter.go | 2 +- exporter/datadogexporter/model.go | 2 +- exporter/datadogexporter/stats.go | 2 +- exporter/datadogexporter/trace_connection.go | 2 +- exporter/datadogexporter/traces_exporter.go | 2 +- exporter/datadogexporter/translate_traces.go | 2 +- exporter/dynatraceexporter/config/config.go | 2 +- exporter/dynatraceexporter/factory.go | 2 +- exporter/dynatraceexporter/metrics_exporter.go | 2 +- exporter/dynatraceexporter/serialization/gauge.go | 2 +- exporter/dynatraceexporter/serialization/histogram.go | 2 +- exporter/dynatraceexporter/serialization/serialization.go | 2 +- exporter/dynatraceexporter/serialization/sum.go | 2 +- exporter/elasticexporter/config.go | 2 +- exporter/elasticexporter/exporter.go | 2 +- exporter/elasticexporter/factory.go | 2 +- .../internal/translator/elastic/exceptions.go | 2 +- .../elasticexporter/internal/translator/elastic/metadata.go | 2 +- .../elasticexporter/internal/translator/elastic/metrics.go | 2 +- .../elasticexporter/internal/translator/elastic/traces.go | 2 +- .../elasticexporter/internal/translator/elastic/utils.go | 2 +- exporter/elasticsearchexporter/config.go | 2 +- exporter/elasticsearchexporter/exporter.go | 2 +- exporter/elasticsearchexporter/factory.go | 2 +- exporter/elasticsearchexporter/internal/objmodel/objmodel.go | 2 +- exporter/elasticsearchexporter/model.go | 2 +- exporter/f5cloudexporter/auth.go | 2 +- exporter/f5cloudexporter/config.go | 2 +- exporter/f5cloudexporter/doc.go | 2 +- exporter/f5cloudexporter/factory.go | 2 +- exporter/fileexporter/config.go | 2 +- exporter/fileexporter/doc.go | 2 +- exporter/fileexporter/factory.go | 2 +- exporter/fileexporter/file_exporter.go | 2 +- exporter/googlecloudexporter/config.go | 2 +- exporter/googlecloudexporter/factory.go | 2 +- exporter/googlecloudexporter/googlecloud.go | 2 +- exporter/googlecloudexporter/observability.go | 2 +- exporter/googlecloudexporter/resource_mapper.go | 2 +- exporter/googlecloudexporter/spandata.go | 2 +- exporter/googlecloudexporter/spansnapshot.go | 2 +- exporter/googlecloudpubsubexporter/config.go | 2 +- exporter/googlecloudpubsubexporter/exporter.go | 2 +- exporter/googlecloudpubsubexporter/factory.go | 2 +- exporter/honeycombexporter/config.go | 2 +- exporter/honeycombexporter/factory.go | 2 +- exporter/honeycombexporter/honeycomb.go | 2 +- exporter/honeycombexporter/ids.go | 2 +- exporter/honeycombexporter/translator.go | 2 +- exporter/humioexporter/config.go | 2 +- exporter/humioexporter/factory.go | 2 +- exporter/humioexporter/humio_client.go | 2 +- exporter/humioexporter/tag_strategy.go | 2 +- exporter/humioexporter/traces_exporter.go | 2 +- exporter/influxdbexporter/config.go | 2 +- exporter/influxdbexporter/exporter.go | 2 +- exporter/influxdbexporter/factory.go | 2 +- exporter/influxdbexporter/logger.go | 2 +- exporter/influxdbexporter/writer.go | 2 +- exporter/jaegerexporter/config.go | 2 +- exporter/jaegerexporter/doc.go | 2 +- exporter/jaegerexporter/exporter.go | 2 +- exporter/jaegerexporter/factory.go | 2 +- exporter/jaegerexporter/metrics.go | 2 +- exporter/jaegerthrifthttpexporter/config.go | 2 +- exporter/jaegerthrifthttpexporter/doc.go | 2 +- exporter/jaegerthrifthttpexporter/exporter.go | 2 +- exporter/jaegerthrifthttpexporter/factory.go | 2 +- exporter/kafkaexporter/authentication.go | 2 +- exporter/kafkaexporter/config.go | 2 +- exporter/kafkaexporter/doc.go | 2 +- exporter/kafkaexporter/factory.go | 2 +- exporter/kafkaexporter/internal/awsmsk/doc.go | 2 +- exporter/kafkaexporter/internal/awsmsk/iam_scram_client.go | 2 +- exporter/kafkaexporter/jaeger_marshaler.go | 2 +- exporter/kafkaexporter/kafka_exporter.go | 2 +- exporter/kafkaexporter/marshaler.go | 2 +- exporter/kafkaexporter/pdata_marshaler.go | 2 +- exporter/kafkaexporter/scram_client.go | 2 +- exporter/loadbalancingexporter/config.go | 2 +- exporter/loadbalancingexporter/consistent_hashing.go | 2 +- exporter/loadbalancingexporter/factory.go | 2 +- exporter/loadbalancingexporter/loadbalancer.go | 2 +- exporter/loadbalancingexporter/log_exporter.go | 2 +- exporter/loadbalancingexporter/metrics.go | 2 +- exporter/loadbalancingexporter/resolver.go | 2 +- exporter/loadbalancingexporter/resolver_dns.go | 2 +- exporter/loadbalancingexporter/resolver_static.go | 2 +- exporter/loadbalancingexporter/trace_exporter.go | 2 +- exporter/logzioexporter/config.go | 2 +- exporter/logzioexporter/exporter.go | 2 +- exporter/logzioexporter/factory.go | 2 +- exporter/logzioexporter/logger.go | 2 +- exporter/lokiexporter/config.go | 2 +- exporter/lokiexporter/doc.go | 2 +- exporter/lokiexporter/exporter.go | 2 +- exporter/lokiexporter/factory.go | 2 +- .../internal/third_party/loki/logproto/extensions.go | 2 +- .../internal/third_party/loki/logproto/timestamp.go | 2 +- .../lokiexporter/internal/third_party/loki/logproto/types.go | 2 +- exporter/newrelicexporter/config.go | 2 +- exporter/newrelicexporter/errors.go | 2 +- exporter/newrelicexporter/factory.go | 2 +- exporter/newrelicexporter/metrics.go | 2 +- exporter/newrelicexporter/newrelic.go | 2 +- exporter/newrelicexporter/transformer.go | 2 +- exporter/observiqexporter/client.go | 2 +- exporter/observiqexporter/config.go | 2 +- exporter/observiqexporter/converter.go | 2 +- exporter/observiqexporter/exporter.go | 2 +- exporter/observiqexporter/factory.go | 2 +- exporter/observiqexporter/time.go | 2 +- exporter/opencensusexporter/config.go | 2 +- exporter/opencensusexporter/doc.go | 2 +- exporter/opencensusexporter/factory.go | 2 +- exporter/opencensusexporter/opencensus.go | 2 +- exporter/prometheusexporter/accumulator.go | 2 +- exporter/prometheusexporter/collector.go | 2 +- exporter/prometheusexporter/config.go | 2 +- exporter/prometheusexporter/doc.go | 2 +- exporter/prometheusexporter/factory.go | 2 +- exporter/prometheusexporter/prometheus.go | 2 +- exporter/prometheusexporter/sanitize.go | 2 +- exporter/prometheusremotewriteexporter/config.go | 2 +- exporter/prometheusremotewriteexporter/doc.go | 2 +- exporter/prometheusremotewriteexporter/exporter.go | 2 +- exporter/prometheusremotewriteexporter/factory.go | 2 +- exporter/prometheusremotewriteexporter/helper.go | 2 +- exporter/prometheusremotewriteexporter/wal.go | 2 +- exporter/sapmexporter/config.go | 2 +- exporter/sapmexporter/exporter.go | 2 +- exporter/sapmexporter/factory.go | 2 +- exporter/sentryexporter/config.go | 2 +- exporter/sentryexporter/factory.go | 2 +- exporter/sentryexporter/sentry_exporter.go | 2 +- exporter/sentryexporter/transport.go | 2 +- exporter/sentryexporter/utils.go | 2 +- exporter/signalfxexporter/config.go | 2 +- exporter/signalfxexporter/doc.go | 2 +- exporter/signalfxexporter/dpclient.go | 2 +- exporter/signalfxexporter/eventclient.go | 2 +- exporter/signalfxexporter/exporter.go | 2 +- exporter/signalfxexporter/factory.go | 2 +- exporter/signalfxexporter/internal/correlation/config.go | 2 +- .../signalfxexporter/internal/correlation/correlation.go | 2 +- exporter/signalfxexporter/internal/correlation/doc.go | 2 +- exporter/signalfxexporter/internal/correlation/logshims.go | 2 +- exporter/signalfxexporter/internal/correlation/spanshims.go | 2 +- exporter/signalfxexporter/internal/dimensions/dimclient.go | 2 +- .../signalfxexporter/internal/dimensions/dimensionupdate.go | 2 +- exporter/signalfxexporter/internal/dimensions/metadata.go | 2 +- exporter/signalfxexporter/internal/dimensions/requests.go | 2 +- exporter/signalfxexporter/internal/hostmetadata/host.go | 2 +- .../signalfxexporter/internal/hostmetadata/host_linux.go | 2 +- .../signalfxexporter/internal/hostmetadata/host_others.go | 2 +- exporter/signalfxexporter/internal/hostmetadata/metadata.go | 2 +- exporter/signalfxexporter/internal/translation/constants.go | 2 +- exporter/signalfxexporter/internal/translation/converter.go | 2 +- .../signalfxexporter/internal/translation/default_metrics.go | 2 +- .../internal/translation/delta_translator.go | 2 +- .../internal/translation/dpfilters/datapoint.go | 2 +- .../internal/translation/dpfilters/dimensions.go | 2 +- .../internal/translation/dpfilters/filterset.go | 2 +- .../internal/translation/dpfilters/matching.go | 2 +- .../internal/translation/dpfilters/metricfilter.go | 2 +- .../internal/translation/dpfilters/string.go | 2 +- .../internal/translation/logdata_to_signalfxv2.go | 2 +- exporter/signalfxexporter/internal/translation/translator.go | 2 +- exporter/skywalkingexporter/config.go | 2 +- exporter/skywalkingexporter/doc.go | 2 +- exporter/skywalkingexporter/factory.go | 2 +- exporter/skywalkingexporter/logrecord_to_logdata.go | 2 +- exporter/skywalkingexporter/skywalking.go | 2 +- exporter/splunkhecexporter/client.go | 2 +- exporter/splunkhecexporter/config.go | 2 +- exporter/splunkhecexporter/doc.go | 2 +- exporter/splunkhecexporter/exporter.go | 2 +- exporter/splunkhecexporter/factory.go | 2 +- exporter/splunkhecexporter/logdata_to_splunk.go | 2 +- exporter/splunkhecexporter/metricdata_to_splunk.go | 2 +- exporter/splunkhecexporter/tracedata_to_splunk.go | 2 +- exporter/stackdriverexporter/factory.go | 2 +- exporter/sumologicexporter/carbon_formatter.go | 2 +- exporter/sumologicexporter/compress.go | 2 +- exporter/sumologicexporter/config.go | 2 +- exporter/sumologicexporter/exporter.go | 2 +- exporter/sumologicexporter/factory.go | 2 +- exporter/sumologicexporter/fields.go | 2 +- exporter/sumologicexporter/filter.go | 2 +- exporter/sumologicexporter/graphite_formatter.go | 2 +- exporter/sumologicexporter/prometheus_formatter.go | 2 +- exporter/sumologicexporter/sender.go | 2 +- exporter/sumologicexporter/source_format.go | 2 +- exporter/sumologicexporter/test_data.go | 2 +- exporter/tanzuobservabilityexporter/config.go | 2 +- exporter/tanzuobservabilityexporter/exporter.go | 2 +- exporter/tanzuobservabilityexporter/factory.go | 2 +- exporter/tanzuobservabilityexporter/metrics.go | 2 +- exporter/tanzuobservabilityexporter/transformer.go | 2 +- exporter/tencentcloudlogserviceexporter/config.go | 2 +- exporter/tencentcloudlogserviceexporter/factory.go | 2 +- exporter/tencentcloudlogserviceexporter/logs_exporter.go | 2 +- .../tencentcloudlogserviceexporter/logsdata_to_logservice.go | 2 +- exporter/tencentcloudlogserviceexporter/sanitize.go | 2 +- exporter/tencentcloudlogserviceexporter/uploader.go | 2 +- exporter/zipkinexporter/config.go | 2 +- exporter/zipkinexporter/doc.go | 2 +- exporter/zipkinexporter/factory.go | 2 +- exporter/zipkinexporter/zipkin.go | 2 +- extension/awsproxy/config.go | 2 +- extension/awsproxy/extension.go | 2 +- extension/awsproxy/factory.go | 2 +- extension/bearertokenauthextension/bearertokenauth.go | 2 +- extension/bearertokenauthextension/config.go | 2 +- extension/bearertokenauthextension/factory.go | 2 +- extension/fluentbitextension/config.go | 2 +- extension/fluentbitextension/factory.go | 2 +- extension/fluentbitextension/process.go | 2 +- extension/fluentbitextension/process_linux.go | 2 +- extension/fluentbitextension/process_others.go | 2 +- extension/healthcheckextension/config.go | 2 +- extension/healthcheckextension/doc.go | 2 +- extension/healthcheckextension/exporter.go | 2 +- extension/healthcheckextension/factory.go | 2 +- extension/healthcheckextension/healthcheckextension.go | 2 +- extension/httpforwarder/config.go | 2 +- extension/httpforwarder/extension.go | 2 +- extension/httpforwarder/factory.go | 2 +- extension/oauth2clientauthextension/config.go | 2 +- extension/oauth2clientauthextension/doc.go | 2 +- extension/oauth2clientauthextension/extension.go | 2 +- extension/oauth2clientauthextension/factory.go | 2 +- extension/observer/dockerobserver/config.go | 2 +- extension/observer/dockerobserver/extension.go | 2 +- extension/observer/dockerobserver/factory.go | 2 +- extension/observer/ecsobserver/config.go | 2 +- extension/observer/ecsobserver/docker_label.go | 2 +- extension/observer/ecsobserver/error.go | 2 +- extension/observer/ecsobserver/exporter.go | 2 +- extension/observer/ecsobserver/extension.go | 2 +- extension/observer/ecsobserver/factory.go | 2 +- extension/observer/ecsobserver/fetcher.go | 2 +- extension/observer/ecsobserver/filter.go | 2 +- extension/observer/ecsobserver/internal/ecsmock/doc.go | 2 +- extension/observer/ecsobserver/internal/ecsmock/service.go | 2 +- extension/observer/ecsobserver/internal/errctx/doc.go | 2 +- extension/observer/ecsobserver/internal/errctx/value.go | 2 +- extension/observer/ecsobserver/matcher.go | 2 +- extension/observer/ecsobserver/sd.go | 2 +- extension/observer/ecsobserver/service.go | 2 +- extension/observer/ecsobserver/target.go | 2 +- extension/observer/ecsobserver/task.go | 2 +- extension/observer/ecsobserver/task_definition.go | 2 +- extension/observer/ecstaskobserver/config.go | 2 +- extension/observer/ecstaskobserver/extension.go | 2 +- extension/observer/ecstaskobserver/factory.go | 2 +- extension/observer/endpoints.go | 2 +- extension/observer/endpointswatcher.go | 2 +- extension/observer/hostobserver/config.go | 2 +- extension/observer/hostobserver/extension.go | 2 +- extension/observer/hostobserver/factory.go | 2 +- extension/observer/k8sobserver/config.go | 2 +- extension/observer/k8sobserver/doc.go | 2 +- extension/observer/k8sobserver/extension.go | 2 +- extension/observer/k8sobserver/factory.go | 2 +- extension/observer/k8sobserver/handler.go | 2 +- extension/observer/observer.go | 2 +- extension/oidcauthextension/config.go | 2 +- extension/oidcauthextension/extension.go | 2 +- extension/oidcauthextension/factory.go | 2 +- extension/pprofextension/config.go | 2 +- extension/pprofextension/doc.go | 2 +- extension/pprofextension/factory.go | 2 +- extension/pprofextension/pprofextension.go | 2 +- extension/storage/filestorage/client.go | 2 +- extension/storage/filestorage/config.go | 2 +- extension/storage/filestorage/default_others.go | 2 +- extension/storage/filestorage/default_windows.go | 2 +- extension/storage/filestorage/extension.go | 2 +- extension/storage/filestorage/factory.go | 2 +- extension/storage/storagetest/doc.go | 2 +- extension/storage/storagetest/storage.go | 2 +- internal/aws/awsutil/awsconfig.go | 2 +- internal/aws/awsutil/conn.go | 2 +- internal/aws/awsutil/doc.go | 2 +- internal/aws/containerinsight/const.go | 2 +- internal/aws/containerinsight/ecsconst.go | 2 +- internal/aws/containerinsight/k8sconst.go | 2 +- internal/aws/containerinsight/utils.go | 2 +- internal/aws/ecsutil/client.go | 2 +- internal/aws/ecsutil/doc.go | 2 +- internal/aws/ecsutil/ecsutiltest/testutil.go | 2 +- internal/aws/ecsutil/endpoints/metadata.go | 2 +- internal/aws/ecsutil/metadata.go | 2 +- internal/aws/ecsutil/metadata_provider.go | 2 +- internal/aws/ecsutil/rest_client.go | 2 +- internal/aws/k8s/k8sclient/clientset.go | 2 +- internal/aws/k8s/k8sclient/endpoint.go | 2 +- internal/aws/k8s/k8sclient/endpoint_info.go | 2 +- internal/aws/k8s/k8sclient/job.go | 2 +- internal/aws/k8s/k8sclient/job_info.go | 2 +- internal/aws/k8s/k8sclient/node.go | 2 +- internal/aws/k8s/k8sclient/node_info.go | 2 +- internal/aws/k8s/k8sclient/obj_store.go | 2 +- internal/aws/k8s/k8sclient/pod.go | 2 +- internal/aws/k8s/k8sclient/pod_info.go | 2 +- internal/aws/k8s/k8sclient/replicaset.go | 2 +- internal/aws/k8s/k8sclient/replicaset_info.go | 2 +- internal/aws/k8s/k8sutil/util.go | 2 +- internal/aws/metrics/metric_calculator.go | 2 +- internal/aws/proxy/cfg.go | 2 +- internal/aws/proxy/conn.go | 2 +- internal/aws/proxy/server.go | 2 +- internal/aws/xray/awsxray.go | 2 +- internal/aws/xray/tracesegment.go | 2 +- internal/aws/xray/util.go | 2 +- internal/common/testing/container/container.go | 2 +- internal/common/testing/util/maps.go | 2 +- internal/common/ttlmap/ttl_map.go | 2 +- internal/components/components.go | 2 +- internal/components/unstable_components_disabled.go | 2 +- internal/components/unstable_components_enabled.go | 2 +- internal/coreinternal/attraction/attraction.go | 2 +- internal/coreinternal/attraction/hasher.go | 2 +- internal/coreinternal/goldendataset/generator_commons.go | 2 +- internal/coreinternal/goldendataset/metrics_gen.go | 2 +- internal/coreinternal/goldendataset/pict_metrics_gen.go | 2 +- .../coreinternal/goldendataset/pict_metrics_input_defs.go | 2 +- .../coreinternal/goldendataset/pict_tracing_input_defs.go | 2 +- internal/coreinternal/goldendataset/resource_generator.go | 2 +- internal/coreinternal/goldendataset/span_generator.go | 2 +- internal/coreinternal/goldendataset/traces_generator.go | 2 +- internal/coreinternal/idutils/big_endian_converter.go | 2 +- internal/coreinternal/idutils/doc.go | 2 +- internal/coreinternal/metricstestutil/metricsutil.go | 2 +- internal/coreinternal/occonventions/opencensus.go | 2 +- internal/coreinternal/processor/filterconfig/config.go | 2 +- internal/coreinternal/processor/filterexpr/matcher.go | 2 +- internal/coreinternal/processor/filterhelper/filterhelper.go | 2 +- internal/coreinternal/processor/filterlog/filterlog.go | 2 +- .../coreinternal/processor/filtermatcher/attributematcher.go | 2 +- .../coreinternal/processor/filtermatcher/filtermatcher.go | 2 +- internal/coreinternal/processor/filtermetric/config.go | 2 +- internal/coreinternal/processor/filtermetric/doc.go | 2 +- internal/coreinternal/processor/filtermetric/expr_matcher.go | 2 +- internal/coreinternal/processor/filtermetric/filtermetric.go | 2 +- internal/coreinternal/processor/filtermetric/name_matcher.go | 2 +- internal/coreinternal/processor/filterset/config.go | 2 +- internal/coreinternal/processor/filterset/doc.go | 2 +- internal/coreinternal/processor/filterset/filterset.go | 2 +- internal/coreinternal/processor/filterset/regexp/config.go | 2 +- internal/coreinternal/processor/filterset/regexp/doc.go | 2 +- .../processor/filterset/regexp/regexpfilterset.go | 2 +- internal/coreinternal/processor/filterset/strict/doc.go | 2 +- .../processor/filterset/strict/strictfilterset.go | 2 +- internal/coreinternal/processor/filterspan/filterspan.go | 2 +- internal/coreinternal/testutil/testutil.go | 2 +- .../coreinternal/tracetranslator/protospan_translation.go | 2 +- internal/docker/config.go | 2 +- internal/docker/docker.go | 2 +- internal/docker/matcher.go | 2 +- internal/k8sconfig/config.go | 2 +- internal/kubelet/cert.go | 2 +- internal/kubelet/client.go | 2 +- internal/kubelet/client_config.go | 2 +- internal/scrapertest/expected.go | 2 +- internal/scrapertest/scrapertest.go | 2 +- internal/sharedcomponent/sharedcomponent.go | 2 +- internal/splunk/common.go | 2 +- internal/splunk/hostid.go | 2 +- internal/splunk/httprequest.go | 2 +- internal/stanza/config.go | 2 +- internal/stanza/converter.go | 2 +- internal/stanza/emitter.go | 2 +- internal/stanza/factory.go | 2 +- internal/stanza/receiver.go | 2 +- internal/stanza/register.go | 2 +- internal/stanza/storage.go | 2 +- internal/tools/go.mod | 1 + internal/tools/go.sum | 2 ++ internal/tools/tools.go | 3 ++- internal/version/version.go | 2 +- pkg/batchperresourceattr/batchperresourceattr.go | 2 +- pkg/batchpersignal/batchpersignal.go | 2 +- pkg/experimentalmetricmetadata/metadata.go | 2 +- pkg/resourcetotelemetry/resource_to_telemetry.go | 2 +- pkg/translator/jaeger/constants.go | 2 +- pkg/translator/jaeger/jaegerproto_to_traces.go | 2 +- pkg/translator/jaeger/jaegerthrift_to_traces.go | 2 +- pkg/translator/jaeger/traces_to_jaegerproto.go | 2 +- pkg/translator/opencensus/metrics_to_oc.go | 2 +- pkg/translator/opencensus/oc_to_metrics.go | 2 +- pkg/translator/opencensus/oc_to_resource.go | 2 +- pkg/translator/opencensus/oc_to_traces.go | 2 +- pkg/translator/opencensus/resource_to_oc.go | 2 +- pkg/translator/opencensus/timestamp.go | 2 +- pkg/translator/opencensus/traces_to_oc.go | 2 +- pkg/translator/zipkin/internal/zipkin/attributes.go | 2 +- pkg/translator/zipkin/zipkinv1/consumerdata.go | 2 +- pkg/translator/zipkin/zipkinv1/grpc_http_mapper.go | 2 +- pkg/translator/zipkin/zipkinv1/json.go | 2 +- pkg/translator/zipkin/zipkinv1/status_code.go | 2 +- pkg/translator/zipkin/zipkinv1/thrift.go | 2 +- pkg/translator/zipkin/zipkinv1/to_translator.go | 2 +- pkg/translator/zipkin/zipkinv2/from_translator.go | 2 +- pkg/translator/zipkin/zipkinv2/json.go | 2 +- pkg/translator/zipkin/zipkinv2/marshaler.go | 2 +- pkg/translator/zipkin/zipkinv2/protobuf.go | 2 +- pkg/translator/zipkin/zipkinv2/to_translator.go | 2 +- processor/attributesprocessor/attributes_log.go | 2 +- processor/attributesprocessor/attributes_trace.go | 2 +- processor/attributesprocessor/config.go | 2 +- processor/attributesprocessor/doc.go | 2 +- processor/attributesprocessor/factory.go | 2 +- processor/cumulativetodeltaprocessor/config.go | 2 +- processor/cumulativetodeltaprocessor/doc.go | 2 +- processor/cumulativetodeltaprocessor/factory.go | 2 +- .../cumulativetodeltaprocessor/internal/tracking/identity.go | 2 +- .../cumulativetodeltaprocessor/internal/tracking/metric.go | 2 +- .../cumulativetodeltaprocessor/internal/tracking/tracker.go | 2 +- .../cumulativetodeltaprocessor/internal/tracking/value.go | 2 +- processor/cumulativetodeltaprocessor/processor.go | 2 +- processor/deltatorateprocessor/config.go | 2 +- processor/deltatorateprocessor/doc.go | 2 +- processor/deltatorateprocessor/factory.go | 2 +- processor/deltatorateprocessor/processor.go | 2 +- processor/filterprocessor/config.go | 2 +- processor/filterprocessor/doc.go | 2 +- processor/filterprocessor/factory.go | 2 +- processor/filterprocessor/filter_processor.go | 2 +- processor/filterprocessor/filter_processor_logs.go | 2 +- processor/groupbyattrsprocessor/attribute_groups.go | 2 +- processor/groupbyattrsprocessor/config.go | 2 +- processor/groupbyattrsprocessor/factory.go | 2 +- processor/groupbyattrsprocessor/metrics.go | 2 +- processor/groupbyattrsprocessor/processor.go | 2 +- processor/groupbytraceprocessor/config.go | 2 +- processor/groupbytraceprocessor/doc.go | 2 +- processor/groupbytraceprocessor/event.go | 2 +- processor/groupbytraceprocessor/factory.go | 2 +- processor/groupbytraceprocessor/metrics.go | 2 +- processor/groupbytraceprocessor/processor.go | 2 +- processor/groupbytraceprocessor/ring_buffer.go | 2 +- processor/groupbytraceprocessor/storage.go | 2 +- processor/groupbytraceprocessor/storage_memory.go | 2 +- processor/k8sattributesprocessor/config.go | 2 +- processor/k8sattributesprocessor/doc.go | 2 +- processor/k8sattributesprocessor/factory.go | 2 +- processor/k8sattributesprocessor/kube/client.go | 2 +- processor/k8sattributesprocessor/kube/fake_informer.go | 2 +- processor/k8sattributesprocessor/kube/informer.go | 2 +- processor/k8sattributesprocessor/kube/kube.go | 2 +- .../k8sattributesprocessor/observability/observability.go | 2 +- processor/k8sattributesprocessor/options.go | 2 +- processor/k8sattributesprocessor/pod_association.go | 2 +- processor/k8sattributesprocessor/processor.go | 2 +- processor/metricsgenerationprocessor/config.go | 2 +- processor/metricsgenerationprocessor/doc.go | 2 +- processor/metricsgenerationprocessor/factory.go | 2 +- processor/metricsgenerationprocessor/processor.go | 2 +- processor/metricsgenerationprocessor/utils.go | 2 +- processor/metricstransformprocessor/config.go | 2 +- processor/metricstransformprocessor/datapoint_aggregation.go | 2 +- processor/metricstransformprocessor/doc.go | 2 +- processor/metricstransformprocessor/factory.go | 2 +- .../metricstransformprocessor/metrics_transform_processor.go | 2 +- processor/metricstransformprocessor/operation_add_label.go | 2 +- .../operation_aggregate_label_values.go | 2 +- .../metricstransformprocessor/operation_aggregate_labels.go | 2 +- .../operation_delete_label_value.go | 2 +- processor/metricstransformprocessor/operation_scale_value.go | 2 +- .../operation_toggle_scalar_datatype.go | 2 +- .../metricstransformprocessor/operation_update_label.go | 2 +- processor/probabilisticsamplerprocessor/config.go | 2 +- processor/probabilisticsamplerprocessor/factory.go | 2 +- .../probabilisticsamplerprocessor/probabilisticsampler.go | 2 +- processor/resourcedetectionprocessor/config.go | 2 +- processor/resourcedetectionprocessor/doc.go | 2 +- processor/resourcedetectionprocessor/factory.go | 2 +- .../resourcedetectionprocessor/internal/aws/ec2/config.go | 2 +- processor/resourcedetectionprocessor/internal/aws/ec2/ec2.go | 2 +- .../resourcedetectionprocessor/internal/aws/ec2/metadata.go | 2 +- processor/resourcedetectionprocessor/internal/aws/ecs/ecs.go | 2 +- .../resourcedetectionprocessor/internal/aws/eks/detector.go | 2 +- .../internal/aws/elasticbeanstalk/elasticbeanstalk.go | 2 +- .../internal/aws/elasticbeanstalk/fs.go | 2 +- .../resourcedetectionprocessor/internal/azure/aks/aks.go | 2 +- processor/resourcedetectionprocessor/internal/azure/azure.go | 2 +- .../resourcedetectionprocessor/internal/azure/metadata.go | 2 +- .../internal/azure/mockprovider.go | 2 +- .../resourcedetectionprocessor/internal/docker/docker.go | 2 +- .../resourcedetectionprocessor/internal/docker/metadata.go | 2 +- processor/resourcedetectionprocessor/internal/env/env.go | 2 +- processor/resourcedetectionprocessor/internal/gcp/gce/gce.go | 2 +- processor/resourcedetectionprocessor/internal/gcp/gke/gke.go | 2 +- .../resourcedetectionprocessor/internal/gcp/metadata.go | 2 +- .../resourcedetectionprocessor/internal/gcp/mockmetadata.go | 2 +- .../resourcedetectionprocessor/internal/resourcedetection.go | 2 +- .../resourcedetectionprocessor/internal/system/config.go | 2 +- .../resourcedetectionprocessor/internal/system/metadata.go | 2 +- .../resourcedetectionprocessor/internal/system/system.go | 2 +- processor/resourcedetectionprocessor/internal/testutils.go | 2 +- .../resourcedetection_processor.go | 2 +- processor/resourceprocessor/config.go | 2 +- processor/resourceprocessor/doc.go | 2 +- processor/resourceprocessor/factory.go | 2 +- processor/resourceprocessor/resource_processor.go | 2 +- processor/routingprocessor/config.go | 2 +- processor/routingprocessor/extract.go | 2 +- processor/routingprocessor/factory.go | 2 +- processor/routingprocessor/processor.go | 2 +- processor/routingprocessor/router.go | 2 +- processor/spanmetricsprocessor/config.go | 2 +- processor/spanmetricsprocessor/factory.go | 2 +- processor/spanmetricsprocessor/processor.go | 2 +- processor/spanprocessor/config.go | 2 +- processor/spanprocessor/doc.go | 2 +- processor/spanprocessor/factory.go | 2 +- processor/spanprocessor/span.go | 2 +- processor/tailsamplingprocessor/composite_helper.go | 2 +- processor/tailsamplingprocessor/config.go | 2 +- processor/tailsamplingprocessor/factory.go | 2 +- .../tailsamplingprocessor/internal/idbatcher/id_batcher.go | 2 +- .../tailsamplingprocessor/internal/sampling/always_sample.go | 2 +- .../tailsamplingprocessor/internal/sampling/composite.go | 2 +- processor/tailsamplingprocessor/internal/sampling/doc.go | 2 +- processor/tailsamplingprocessor/internal/sampling/latency.go | 2 +- .../internal/sampling/numeric_tag_filter.go | 2 +- processor/tailsamplingprocessor/internal/sampling/policy.go | 2 +- .../tailsamplingprocessor/internal/sampling/probabilistic.go | 2 +- .../tailsamplingprocessor/internal/sampling/rate_limiting.go | 2 +- .../tailsamplingprocessor/internal/sampling/status_code.go | 2 +- .../internal/sampling/string_tag_filter.go | 2 +- .../tailsamplingprocessor/internal/sampling/time_provider.go | 2 +- processor/tailsamplingprocessor/internal/sampling/util.go | 2 +- processor/tailsamplingprocessor/metrics.go | 2 +- processor/tailsamplingprocessor/processor.go | 2 +- receiver/apachereceiver/config.go | 2 +- receiver/apachereceiver/factory.go | 2 +- receiver/apachereceiver/scraper.go | 2 +- receiver/awscontainerinsightreceiver/config.go | 2 +- receiver/awscontainerinsightreceiver/doc.go | 2 +- receiver/awscontainerinsightreceiver/factory.go | 2 +- .../internal/cadvisor/cadvisor_linux.go | 2 +- .../internal/cadvisor/cadvisor_nolinux.go | 2 +- .../internal/cadvisor/container_info_processor.go | 2 +- .../internal/cadvisor/extractors/cpu_extractor.go | 2 +- .../internal/cadvisor/extractors/diskio_extractor.go | 2 +- .../internal/cadvisor/extractors/extractor.go | 2 +- .../internal/cadvisor/extractors/fs_extractor.go | 2 +- .../internal/cadvisor/extractors/mem_extractor.go | 2 +- .../internal/cadvisor/extractors/net_extractor.go | 2 +- .../internal/cadvisor/testutils/ecshelpers.go | 2 +- .../internal/cadvisor/testutils/helpers.go | 2 +- .../awscontainerinsightreceiver/internal/ecsInfo/cgroup.go | 2 +- .../internal/ecsInfo/ecs_instance_info.go | 2 +- .../internal/ecsInfo/ecs_task_info.go | 2 +- .../awscontainerinsightreceiver/internal/ecsInfo/ecsinfo.go | 2 +- .../awscontainerinsightreceiver/internal/ecsInfo/utils.go | 2 +- .../awscontainerinsightreceiver/internal/host/ebsvolume.go | 2 +- .../awscontainerinsightreceiver/internal/host/ec2metadata.go | 2 +- .../awscontainerinsightreceiver/internal/host/ec2tags.go | 2 +- .../awscontainerinsightreceiver/internal/host/hostinfo.go | 2 +- .../internal/host/nodeCapacity.go | 2 +- receiver/awscontainerinsightreceiver/internal/host/utils.go | 2 +- .../internal/k8sapiserver/k8sapiserver.go | 2 +- .../internal/stores/kubeletutil/kubeletclient.go | 2 +- .../awscontainerinsightreceiver/internal/stores/nodeinfo.go | 2 +- .../awscontainerinsightreceiver/internal/stores/podstore.go | 2 +- .../internal/stores/servicestore.go | 2 +- .../awscontainerinsightreceiver/internal/stores/store.go | 2 +- .../awscontainerinsightreceiver/internal/stores/utils.go | 2 +- receiver/awscontainerinsightreceiver/receiver.go | 2 +- receiver/awsecscontainermetricsreceiver/config.go | 2 +- receiver/awsecscontainermetricsreceiver/doc.go | 2 +- receiver/awsecscontainermetricsreceiver/factory.go | 2 +- .../internal/awsecscontainermetrics/accumulator.go | 2 +- .../internal/awsecscontainermetrics/constant.go | 2 +- .../internal/awsecscontainermetrics/docker_stats.go | 2 +- .../internal/awsecscontainermetrics/ecs_metrics.go | 2 +- .../internal/awsecscontainermetrics/metrics.go | 2 +- .../internal/awsecscontainermetrics/metrics_helper.go | 2 +- .../internal/awsecscontainermetrics/resource.go | 2 +- .../internal/awsecscontainermetrics/stats_provider.go | 2 +- .../internal/awsecscontainermetrics/translator.go | 2 +- .../internal/awsecscontainermetrics/utils.go | 2 +- receiver/awsecscontainermetricsreceiver/receiver.go | 2 +- receiver/awsxrayreceiver/config.go | 2 +- receiver/awsxrayreceiver/doc.go | 2 +- receiver/awsxrayreceiver/factory.go | 2 +- receiver/awsxrayreceiver/internal/errors/errors.go | 2 +- receiver/awsxrayreceiver/internal/socketconn/socketconn.go | 2 +- .../awsxrayreceiver/internal/tracesegment/tracesegment.go | 2 +- receiver/awsxrayreceiver/internal/tracesegment/util.go | 2 +- receiver/awsxrayreceiver/internal/translator/addtoattrs.go | 2 +- receiver/awsxrayreceiver/internal/translator/annotations.go | 2 +- receiver/awsxrayreceiver/internal/translator/aws.go | 2 +- receiver/awsxrayreceiver/internal/translator/cause.go | 2 +- receiver/awsxrayreceiver/internal/translator/http.go | 2 +- receiver/awsxrayreceiver/internal/translator/metadata.go | 2 +- receiver/awsxrayreceiver/internal/translator/name.go | 2 +- receiver/awsxrayreceiver/internal/translator/sdk.go | 2 +- receiver/awsxrayreceiver/internal/translator/sql.go | 2 +- receiver/awsxrayreceiver/internal/translator/time.go | 2 +- receiver/awsxrayreceiver/internal/translator/translator.go | 2 +- receiver/awsxrayreceiver/internal/udppoller/poller.go | 2 +- receiver/awsxrayreceiver/receiver.go | 2 +- receiver/carbonreceiver/config.go | 2 +- receiver/carbonreceiver/doc.go | 2 +- receiver/carbonreceiver/factory.go | 2 +- receiver/carbonreceiver/protocol/config.go | 2 +- receiver/carbonreceiver/protocol/parser.go | 2 +- receiver/carbonreceiver/protocol/path_parser_helper.go | 2 +- receiver/carbonreceiver/protocol/plaintext_parser.go | 2 +- receiver/carbonreceiver/protocol/regex_parser.go | 2 +- receiver/carbonreceiver/receiver.go | 2 +- receiver/carbonreceiver/reporter.go | 2 +- receiver/carbonreceiver/transport/client/plaintext_client.go | 2 +- receiver/carbonreceiver/transport/mock_reporter.go | 2 +- receiver/carbonreceiver/transport/server.go | 2 +- receiver/carbonreceiver/transport/tcp_server.go | 2 +- receiver/carbonreceiver/transport/udp_server.go | 2 +- receiver/cloudfoundryreceiver/config.go | 2 +- receiver/cloudfoundryreceiver/doc.go | 2 +- receiver/cloudfoundryreceiver/factory.go | 2 +- receiver/cloudfoundryreceiver/receiver.go | 2 +- receiver/collectdreceiver/collectd.go | 2 +- receiver/collectdreceiver/config.go | 2 +- receiver/collectdreceiver/doc.go | 2 +- receiver/collectdreceiver/factory.go | 2 +- receiver/collectdreceiver/observability.go | 2 +- receiver/collectdreceiver/receiver.go | 2 +- receiver/dockerstatsreceiver/config.go | 2 +- receiver/dockerstatsreceiver/factory.go | 2 +- receiver/dockerstatsreceiver/metrics.go | 2 +- receiver/dockerstatsreceiver/receiver.go | 2 +- receiver/dotnetdiagnosticsreceiver/config.go | 2 +- receiver/dotnetdiagnosticsreceiver/dotnet/common.go | 2 +- receiver/dotnetdiagnosticsreceiver/dotnet/event_header.go | 2 +- receiver/dotnetdiagnosticsreceiver/dotnet/event_parser.go | 2 +- receiver/dotnetdiagnosticsreceiver/dotnet/ipc_parser.go | 2 +- receiver/dotnetdiagnosticsreceiver/dotnet/metadata_parser.go | 2 +- receiver/dotnetdiagnosticsreceiver/dotnet/metric.go | 2 +- receiver/dotnetdiagnosticsreceiver/dotnet/nettrace_parser.go | 2 +- receiver/dotnetdiagnosticsreceiver/dotnet/parser.go | 2 +- receiver/dotnetdiagnosticsreceiver/dotnet/request.go | 2 +- receiver/dotnetdiagnosticsreceiver/dotnet/sequence_parser.go | 2 +- .../dotnetdiagnosticsreceiver/dotnet/serialization_type.go | 2 +- receiver/dotnetdiagnosticsreceiver/dotnet/stack_parser.go | 2 +- receiver/dotnetdiagnosticsreceiver/dotnet/trace_parser.go | 2 +- receiver/dotnetdiagnosticsreceiver/factory.go | 2 +- receiver/dotnetdiagnosticsreceiver/metrics/converter.go | 2 +- receiver/dotnetdiagnosticsreceiver/metrics/sender.go | 2 +- receiver/dotnetdiagnosticsreceiver/network/blob_writer.go | 2 +- receiver/dotnetdiagnosticsreceiver/network/fake_rw.go | 2 +- receiver/dotnetdiagnosticsreceiver/network/net.go | 2 +- receiver/dotnetdiagnosticsreceiver/network/reader.go | 2 +- receiver/dotnetdiagnosticsreceiver/network/writer.go | 2 +- receiver/dotnetdiagnosticsreceiver/receiver.go | 2 +- receiver/filelogreceiver/doc.go | 2 +- receiver/filelogreceiver/filelog.go | 2 +- receiver/fluentforwardreceiver/ack.go | 2 +- receiver/fluentforwardreceiver/collector.go | 2 +- receiver/fluentforwardreceiver/config.go | 2 +- receiver/fluentforwardreceiver/conversion.go | 2 +- receiver/fluentforwardreceiver/factory.go | 2 +- receiver/fluentforwardreceiver/heartbeat.go | 2 +- receiver/fluentforwardreceiver/observ/metrics.go | 2 +- receiver/fluentforwardreceiver/receiver.go | 2 +- receiver/fluentforwardreceiver/server.go | 2 +- receiver/fluentforwardreceiver/timeext.go | 2 +- receiver/googlecloudpubsubreceiver/config.go | 2 +- receiver/googlecloudpubsubreceiver/factory.go | 2 +- receiver/googlecloudpubsubreceiver/receiver.go | 2 +- receiver/googlecloudspannerreceiver/config.go | 2 +- receiver/googlecloudspannerreceiver/doc.go | 2 +- receiver/googlecloudspannerreceiver/factory.go | 2 +- .../internal/datasource/database.go | 2 +- .../internal/datasource/databaseid.go | 2 +- .../internal/filter/itemcardinality.go | 2 +- .../internal/filter/nopitemcardinality.go | 2 +- .../internal/filterfactory/filterbuilder.go | 2 +- .../internal/filterfactory/itemfilterfactory.go | 2 +- .../internal/metadata/labelvalue.go | 2 +- .../internal/metadata/metricdatatype.go | 2 +- .../internal/metadata/metricsbuilder.go | 2 +- .../internal/metadata/metricsdatapoint.go | 2 +- .../internal/metadata/metricsmetadata.go | 2 +- .../internal/metadata/metricvalue.go | 2 +- .../internal/metadata/valuemetadata.go | 2 +- .../internal/metadataparser/label.go | 2 +- .../internal/metadataparser/metadata.go | 2 +- .../internal/metadataparser/metadataconfig.go | 2 +- .../internal/metadataparser/metadataparser.go | 2 +- .../internal/metadataparser/metric.go | 2 +- .../internal/metadataparser/metrictype.go | 2 +- .../internal/statsreader/currentstatsreader.go | 2 +- .../internal/statsreader/databasereader.go | 2 +- .../internal/statsreader/intervalstatsreader.go | 2 +- .../internal/statsreader/projectreader.go | 2 +- .../internal/statsreader/reader.go | 2 +- .../internal/statsreader/statements.go | 2 +- .../internal/statsreader/timestampsgenerator.go | 2 +- receiver/googlecloudspannerreceiver/receiver.go | 2 +- receiver/hostmetricsreceiver/config.go | 2 +- receiver/hostmetricsreceiver/doc.go | 2 +- receiver/hostmetricsreceiver/factory.go | 2 +- receiver/hostmetricsreceiver/internal/perfcounters/doc.go | 2 +- .../internal/perfcounters/perfcounter_scraper.go | 2 +- .../internal/perfcounters/perfcounter_scraper_mock.go | 2 +- receiver/hostmetricsreceiver/internal/scraper.go | 2 +- .../internal/scraper/cpuscraper/codegen.go | 2 +- .../internal/scraper/cpuscraper/config.go | 2 +- .../internal/scraper/cpuscraper/cpu_scraper.go | 2 +- .../internal/scraper/cpuscraper/cpu_scraper_linux.go | 2 +- .../internal/scraper/cpuscraper/cpu_scraper_others.go | 2 +- .../internal/scraper/cpuscraper/factory.go | 2 +- .../internal/scraper/diskscraper/codegen.go | 2 +- .../internal/scraper/diskscraper/config.go | 2 +- .../internal/scraper/diskscraper/disk_scraper_others.go | 2 +- .../scraper/diskscraper/disk_scraper_others_fallback.go | 2 +- .../scraper/diskscraper/disk_scraper_others_linux.go | 2 +- .../internal/scraper/diskscraper/disk_scraper_windows.go | 2 +- .../internal/scraper/diskscraper/factory.go | 2 +- .../internal/scraper/diskscraper/utils.go | 2 +- .../internal/scraper/filesystemscraper/codegen.go | 2 +- .../internal/scraper/filesystemscraper/config.go | 2 +- .../internal/scraper/filesystemscraper/factory.go | 2 +- .../internal/scraper/filesystemscraper/filesystem_scraper.go | 2 +- .../scraper/filesystemscraper/filesystem_scraper_others.go | 2 +- .../scraper/filesystemscraper/filesystem_scraper_unix.go | 2 +- .../internal/scraper/loadscraper/codegen.go | 2 +- .../internal/scraper/loadscraper/config.go | 2 +- .../internal/scraper/loadscraper/factory.go | 2 +- .../internal/scraper/loadscraper/load_scraper.go | 2 +- .../internal/scraper/loadscraper/load_scraper_others.go | 2 +- .../internal/scraper/loadscraper/load_scraper_windows.go | 2 +- .../internal/scraper/memoryscraper/codegen.go | 2 +- .../internal/scraper/memoryscraper/config.go | 2 +- .../internal/scraper/memoryscraper/factory.go | 2 +- .../internal/scraper/memoryscraper/memory_scraper.go | 2 +- .../internal/scraper/memoryscraper/memory_scraper_linux.go | 2 +- .../internal/scraper/memoryscraper/memory_scraper_others.go | 2 +- .../internal/scraper/memoryscraper/memory_scraper_windows.go | 2 +- .../internal/scraper/networkscraper/codegen.go | 2 +- .../internal/scraper/networkscraper/config.go | 2 +- .../internal/scraper/networkscraper/factory.go | 2 +- .../internal/scraper/networkscraper/network_linux.go | 2 +- .../internal/scraper/networkscraper/network_others.go | 2 +- .../internal/scraper/networkscraper/network_scraper.go | 2 +- .../internal/scraper/pagingscraper/codegen.go | 2 +- .../internal/scraper/pagingscraper/config.go | 2 +- .../internal/scraper/pagingscraper/factory.go | 2 +- .../internal/scraper/pagingscraper/pagefile.go | 2 +- .../internal/scraper/pagingscraper/pagefile_linux.go | 2 +- .../internal/scraper/pagingscraper/pagefile_others.go | 2 +- .../internal/scraper/pagingscraper/pagefile_windows.go | 2 +- .../internal/scraper/pagingscraper/paging_scraper_others.go | 2 +- .../internal/scraper/pagingscraper/paging_scraper_windows.go | 2 +- .../internal/scraper/processesscraper/codegen.go | 2 +- .../internal/scraper/processesscraper/config.go | 2 +- .../internal/scraper/processesscraper/factory.go | 2 +- .../internal/scraper/processesscraper/processes_scraper.go | 2 +- .../scraper/processesscraper/processes_scraper_fallback.go | 2 +- .../scraper/processesscraper/processes_scraper_unix.go | 2 +- .../internal/scraper/processscraper/codegen.go | 2 +- .../internal/scraper/processscraper/config.go | 2 +- .../internal/scraper/processscraper/factory.go | 2 +- .../internal/scraper/processscraper/process.go | 2 +- .../internal/scraper/processscraper/process_scraper.go | 2 +- .../internal/scraper/processscraper/process_scraper_linux.go | 2 +- .../scraper/processscraper/process_scraper_others.go | 2 +- .../scraper/processscraper/process_scraper_windows.go | 2 +- receiver/hostmetricsreceiver/internal/testutils.go | 2 +- receiver/influxdbreceiver/config.go | 2 +- receiver/influxdbreceiver/factory.go | 2 +- receiver/influxdbreceiver/logger.go | 2 +- receiver/influxdbreceiver/receiver.go | 2 +- receiver/jaegerreceiver/config.go | 2 +- receiver/jaegerreceiver/doc.go | 2 +- receiver/jaegerreceiver/errors.go | 2 +- receiver/jaegerreceiver/factory.go | 2 +- receiver/jaegerreceiver/trace_receiver.go | 2 +- receiver/jmxreceiver/config.go | 2 +- receiver/jmxreceiver/factory.go | 2 +- receiver/jmxreceiver/internal/subprocess/subprocess.go | 2 +- receiver/jmxreceiver/internal/subprocess/subprocess_linux.go | 2 +- .../jmxreceiver/internal/subprocess/subprocess_others.go | 2 +- receiver/jmxreceiver/receiver.go | 2 +- receiver/journaldreceiver/doc.go | 2 +- receiver/journaldreceiver/journald.go | 2 +- receiver/journaldreceiver/journald_nonlinux.go | 2 +- receiver/k8sclusterreceiver/config.go | 2 +- receiver/k8sclusterreceiver/factory.go | 2 +- .../internal/collection/clusteresourcequotas.go | 2 +- receiver/k8sclusterreceiver/internal/collection/collector.go | 2 +- .../k8sclusterreceiver/internal/collection/containers.go | 2 +- receiver/k8sclusterreceiver/internal/collection/cronjobs.go | 2 +- .../k8sclusterreceiver/internal/collection/daemonsets.go | 2 +- .../k8sclusterreceiver/internal/collection/deployments.go | 2 +- receiver/k8sclusterreceiver/internal/collection/hpa.go | 2 +- receiver/k8sclusterreceiver/internal/collection/jobs.go | 2 +- receiver/k8sclusterreceiver/internal/collection/metadata.go | 2 +- .../k8sclusterreceiver/internal/collection/metadatastore.go | 2 +- .../k8sclusterreceiver/internal/collection/metricsstore.go | 2 +- .../k8sclusterreceiver/internal/collection/namespaces.go | 2 +- receiver/k8sclusterreceiver/internal/collection/nodes.go | 2 +- receiver/k8sclusterreceiver/internal/collection/pods.go | 2 +- receiver/k8sclusterreceiver/internal/collection/replica.go | 2 +- .../k8sclusterreceiver/internal/collection/replicasets.go | 2 +- .../internal/collection/replicationcontrollers.go | 2 +- .../k8sclusterreceiver/internal/collection/resourcequotas.go | 2 +- .../k8sclusterreceiver/internal/collection/statefulsets.go | 2 +- receiver/k8sclusterreceiver/internal/testutils/metrics.go | 2 +- .../internal/testutils/mock_cache_store.go | 2 +- receiver/k8sclusterreceiver/internal/utils/kube.go | 2 +- receiver/k8sclusterreceiver/internal/utils/set.go | 2 +- receiver/k8sclusterreceiver/internal/utils/timeseries.go | 2 +- receiver/k8sclusterreceiver/receiver.go | 2 +- receiver/k8sclusterreceiver/watcher.go | 2 +- receiver/k8seventsreceiver/config.go | 2 +- receiver/k8seventsreceiver/factory.go | 2 +- receiver/kafkametricsreceiver/broker_scraper.go | 2 +- receiver/kafkametricsreceiver/codegen.go | 2 +- receiver/kafkametricsreceiver/config.go | 2 +- receiver/kafkametricsreceiver/consumer_scraper.go | 2 +- receiver/kafkametricsreceiver/factory.go | 2 +- receiver/kafkametricsreceiver/receiver.go | 2 +- receiver/kafkametricsreceiver/scraper_test_helper.go | 2 +- receiver/kafkametricsreceiver/topic_scraper.go | 2 +- receiver/kafkareceiver/config.go | 2 +- receiver/kafkareceiver/doc.go | 2 +- receiver/kafkareceiver/factory.go | 2 +- receiver/kafkareceiver/jaeger_unmarshaler.go | 2 +- receiver/kafkareceiver/kafka_receiver.go | 2 +- receiver/kafkareceiver/metrics.go | 2 +- receiver/kafkareceiver/pdata_unmarshaler.go | 2 +- receiver/kafkareceiver/unmarshaler.go | 2 +- receiver/kafkareceiver/zipkin_unmarshaler.go | 2 +- receiver/kubeletstatsreceiver/codegen.go | 2 +- receiver/kubeletstatsreceiver/config.go | 2 +- receiver/kubeletstatsreceiver/factory.go | 2 +- .../kubeletstatsreceiver/internal/kubelet/accumulator.go | 2 +- .../kubeletstatsreceiver/internal/kubelet/conventions.go | 2 +- receiver/kubeletstatsreceiver/internal/kubelet/cpu.go | 2 +- receiver/kubeletstatsreceiver/internal/kubelet/fs.go | 2 +- receiver/kubeletstatsreceiver/internal/kubelet/mem.go | 2 +- receiver/kubeletstatsreceiver/internal/kubelet/metadata.go | 2 +- .../internal/kubelet/metadata_provider.go | 2 +- receiver/kubeletstatsreceiver/internal/kubelet/metrics.go | 2 +- receiver/kubeletstatsreceiver/internal/kubelet/network.go | 2 +- receiver/kubeletstatsreceiver/internal/kubelet/resource.go | 2 +- .../kubeletstatsreceiver/internal/kubelet/rest_client.go | 2 +- .../kubeletstatsreceiver/internal/kubelet/stats_provider.go | 2 +- receiver/kubeletstatsreceiver/internal/kubelet/utils.go | 2 +- receiver/kubeletstatsreceiver/internal/kubelet/volume.go | 2 +- receiver/kubeletstatsreceiver/scraper.go | 2 +- receiver/memcachedreceiver/client.go | 2 +- receiver/memcachedreceiver/codegen.go | 2 +- receiver/memcachedreceiver/config.go | 2 +- receiver/memcachedreceiver/factory.go | 2 +- receiver/memcachedreceiver/scraper.go | 2 +- receiver/mongodbatlasreceiver/codegen.go | 2 +- receiver/mongodbatlasreceiver/config.go | 2 +- receiver/mongodbatlasreceiver/factory.go | 2 +- .../internal/metadata/metric_name_mapping.go | 2 +- receiver/mongodbatlasreceiver/internal/metric_conversion.go | 2 +- .../mongodbatlasreceiver/internal/mongodb_atlas_client.go | 2 +- receiver/mongodbatlasreceiver/receiver.go | 2 +- receiver/mysqlreceiver/client.go | 2 +- receiver/mysqlreceiver/config.go | 2 +- receiver/mysqlreceiver/factory.go | 2 +- receiver/mysqlreceiver/scraper.go | 2 +- receiver/nginxreceiver/codegen.go | 2 +- receiver/nginxreceiver/config.go | 2 +- receiver/nginxreceiver/factory.go | 2 +- receiver/nginxreceiver/scraper.go | 2 +- receiver/opencensusreceiver/config.go | 2 +- receiver/opencensusreceiver/doc.go | 2 +- receiver/opencensusreceiver/factory.go | 2 +- receiver/opencensusreceiver/internal/ocmetrics/doc.go | 2 +- receiver/opencensusreceiver/internal/ocmetrics/opencensus.go | 2 +- receiver/opencensusreceiver/internal/octrace/doc.go | 2 +- receiver/opencensusreceiver/internal/octrace/opencensus.go | 2 +- receiver/opencensusreceiver/opencensus.go | 2 +- receiver/opencensusreceiver/options.go | 2 +- receiver/podmanreceiver/config.go | 2 +- receiver/podmanreceiver/factory.go | 2 +- receiver/podmanreceiver/metrics.go | 2 +- receiver/podmanreceiver/podman_client.go | 2 +- receiver/podmanreceiver/podman_connection.go | 2 +- receiver/podmanreceiver/receiver.go | 2 +- receiver/podmanreceiver/receiver_windows.go | 2 +- receiver/postgresqlreceiver/config.go | 2 +- receiver/postgresqlreceiver/factory.go | 2 +- receiver/prometheusexecreceiver/config.go | 2 +- receiver/prometheusexecreceiver/factory.go | 2 +- receiver/prometheusexecreceiver/receiver.go | 2 +- receiver/prometheusexecreceiver/subprocessmanager/config.go | 2 +- receiver/prometheusexecreceiver/subprocessmanager/manager.go | 2 +- receiver/prometheusreceiver/config.go | 2 +- receiver/prometheusreceiver/doc.go | 2 +- receiver/prometheusreceiver/factory.go | 2 +- receiver/prometheusreceiver/internal/logger.go | 2 +- receiver/prometheusreceiver/internal/metadata.go | 2 +- receiver/prometheusreceiver/internal/metricfamily.go | 2 +- receiver/prometheusreceiver/internal/metrics_adjuster.go | 2 +- receiver/prometheusreceiver/internal/metricsbuilder.go | 2 +- receiver/prometheusreceiver/internal/ocastore.go | 2 +- receiver/prometheusreceiver/internal/otlp_metricfamily.go | 2 +- receiver/prometheusreceiver/internal/otlp_metricsbuilder.go | 2 +- receiver/prometheusreceiver/internal/prom_to_otlp.go | 2 +- receiver/prometheusreceiver/internal/transaction.go | 2 +- receiver/prometheusreceiver/metrics_receiver.go | 2 +- receiver/receivercreator/config.go | 2 +- receiver/receivercreator/config_expansion.go | 2 +- receiver/receivercreator/doc.go | 2 +- receiver/receivercreator/factory.go | 2 +- receiver/receivercreator/observerhandler.go | 2 +- receiver/receivercreator/receiver.go | 2 +- receiver/receivercreator/receivermap.go | 2 +- receiver/receivercreator/resourceenhancer.go | 2 +- receiver/receivercreator/rules.go | 2 +- receiver/receivercreator/runner.go | 2 +- receiver/redisreceiver/client.go | 2 +- receiver/redisreceiver/config.go | 2 +- receiver/redisreceiver/factory.go | 2 +- receiver/redisreceiver/info.go | 2 +- receiver/redisreceiver/keyspace.go | 2 +- receiver/redisreceiver/metric_functions.go | 2 +- receiver/redisreceiver/pdata.go | 2 +- receiver/redisreceiver/redis_metric.go | 2 +- receiver/redisreceiver/redis_scraper.go | 2 +- receiver/redisreceiver/redis_svc.go | 2 +- receiver/redisreceiver/time_bundle.go | 2 +- receiver/sapmreceiver/config.go | 2 +- receiver/sapmreceiver/doc.go | 2 +- receiver/sapmreceiver/factory.go | 2 +- receiver/sapmreceiver/trace_receiver.go | 2 +- receiver/signalfxreceiver/config.go | 2 +- receiver/signalfxreceiver/doc.go | 2 +- receiver/signalfxreceiver/factory.go | 2 +- receiver/signalfxreceiver/receiver.go | 2 +- receiver/signalfxreceiver/signalfxv2_event_to_logdata.go | 2 +- receiver/signalfxreceiver/signalfxv2_to_metricdata.go | 2 +- receiver/simpleprometheusreceiver/config.go | 2 +- receiver/simpleprometheusreceiver/factory.go | 2 +- receiver/simpleprometheusreceiver/receiver.go | 2 +- receiver/splunkhecreceiver/config.go | 2 +- receiver/splunkhecreceiver/doc.go | 2 +- receiver/splunkhecreceiver/factory.go | 2 +- receiver/splunkhecreceiver/receiver.go | 2 +- receiver/splunkhecreceiver/splunk_to_logdata.go | 2 +- receiver/splunkhecreceiver/splunkhec_to_metricdata.go | 2 +- receiver/statsdreceiver/config.go | 2 +- receiver/statsdreceiver/doc.go | 2 +- receiver/statsdreceiver/factory.go | 2 +- receiver/statsdreceiver/protocol/metric_translator.go | 2 +- receiver/statsdreceiver/protocol/parser.go | 2 +- receiver/statsdreceiver/protocol/statsd_parser.go | 2 +- receiver/statsdreceiver/receiver.go | 2 +- receiver/statsdreceiver/reporter.go | 2 +- receiver/statsdreceiver/transport/client/client.go | 2 +- receiver/statsdreceiver/transport/mock_reporter.go | 2 +- receiver/statsdreceiver/transport/server.go | 2 +- receiver/statsdreceiver/transport/udp_server.go | 2 +- receiver/syslogreceiver/doc.go | 2 +- receiver/syslogreceiver/syslog.go | 2 +- receiver/tcplogreceiver/doc.go | 2 +- receiver/tcplogreceiver/tcp.go | 2 +- receiver/udplogreceiver/doc.go | 2 +- receiver/udplogreceiver/udp.go | 2 +- receiver/wavefrontreceiver/config.go | 2 +- receiver/wavefrontreceiver/factory.go | 2 +- receiver/wavefrontreceiver/wavefront_parser.go | 2 +- receiver/windowsperfcountersreceiver/config.go | 2 +- receiver/windowsperfcountersreceiver/config_windows.go | 2 +- receiver/windowsperfcountersreceiver/doc.go | 2 +- receiver/windowsperfcountersreceiver/factory.go | 2 +- receiver/windowsperfcountersreceiver/factory_others.go | 2 +- receiver/windowsperfcountersreceiver/factory_windows.go | 2 +- receiver/windowsperfcountersreceiver/internal/pdh/pdh.go | 2 +- .../internal/pdh/pdh_notwindows.go | 2 +- .../third_party/telegraf/win_perf_counters/kernel32.go | 2 +- .../internal/third_party/telegraf/win_perf_counters/pdh.go | 2 +- .../third_party/telegraf/win_perf_counters/pdh_386.go | 2 +- .../third_party/telegraf/win_perf_counters/pdh_amd64.go | 2 +- .../telegraf/win_perf_counters/performance_query.go | 2 +- .../win_perf_counters/win_perf_counters_notwindows.go | 2 +- .../windowsperfcounters_scraper.go | 2 +- receiver/zipkinreceiver/config.go | 2 +- receiver/zipkinreceiver/doc.go | 2 +- receiver/zipkinreceiver/factory.go | 2 +- receiver/zipkinreceiver/trace_receiver.go | 2 +- receiver/zookeeperreceiver/codegen.go | 2 +- receiver/zookeeperreceiver/config.go | 2 +- receiver/zookeeperreceiver/factory.go | 2 +- receiver/zookeeperreceiver/metrics.go | 2 +- receiver/zookeeperreceiver/scraper.go | 2 +- testbed/correctnesstests/metrics/correctness_test_case.go | 2 +- testbed/correctnesstests/metrics/doc.go | 2 +- testbed/correctnesstests/metrics/metric_diff.go | 2 +- testbed/correctnesstests/metrics/metric_index.go | 2 +- testbed/correctnesstests/metrics/metric_supplier.go | 2 +- testbed/correctnesstests/metrics/metrics_test_harness.go | 2 +- testbed/correctnesstests/metrics/results.go | 2 +- testbed/correctnesstests/metrics/results_dir.go | 2 +- testbed/correctnesstests/utils.go | 2 +- testbed/datareceivers/carbon.go | 2 +- testbed/datareceivers/jaeger.go | 2 +- testbed/datareceivers/mockawsxraydatareceiver.go | 2 +- testbed/datareceivers/opencensus.go | 2 +- testbed/datareceivers/prometheus.go | 2 +- testbed/datareceivers/sapm.go | 2 +- testbed/datareceivers/signalfx.go | 2 +- testbed/datareceivers/splunk.go | 2 +- testbed/datareceivers/zipkin.go | 2 +- testbed/datasenders/carbon.go | 2 +- testbed/datasenders/fluent.go | 2 +- testbed/datasenders/fluentbit.go | 2 +- testbed/datasenders/jaeger.go | 2 +- testbed/datasenders/k8s.go | 2 +- testbed/datasenders/opencensus.go | 2 +- testbed/datasenders/prometheus.go | 2 +- testbed/datasenders/sapm.go | 2 +- testbed/datasenders/signalfx.go | 2 +- testbed/datasenders/stanza.go | 2 +- testbed/datasenders/syslog.go | 2 +- testbed/datasenders/tcpudp.go | 2 +- testbed/datasenders/zipkin.go | 2 +- testbed/mockdatareceivers/mockawsxrayreceiver/config.go | 2 +- testbed/mockdatareceivers/mockawsxrayreceiver/factory.go | 2 +- .../mockdatareceivers/mockawsxrayreceiver/trace_receiver.go | 2 +- testbed/testbed/child_process_collector.go | 2 +- testbed/testbed/data_providers.go | 2 +- testbed/testbed/in_process_collector.go | 2 +- testbed/testbed/load_generator.go | 2 +- testbed/testbed/mock_backend.go | 2 +- testbed/testbed/options.go | 2 +- testbed/testbed/otelcol_runner.go | 2 +- testbed/testbed/receivers.go | 2 +- testbed/testbed/results.go | 2 +- testbed/testbed/senders.go | 2 +- testbed/testbed/test_bed.go | 2 +- testbed/testbed/test_case.go | 2 +- testbed/testbed/utils.go | 2 +- testbed/testbed/validator.go | 2 +- testbed/tests/scenarios.go | 2 +- tracegen/internal/tracegen/config.go | 2 +- tracegen/internal/tracegen/worker.go | 2 +- 1160 files changed, 1169 insertions(+), 1156 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index cabe34b12a8b..dcb6889112c9 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -77,7 +77,7 @@ jobs: - name: Lint run: make -j2 golint - name: Checks - run: make -j4 checklicense misspell checkdoc impi + run: make -j4 checklicense misspell checkdoc impi porto - name: Codegem run: | make generate diff --git a/Makefile b/Makefile index 9080fa4f321d..68fdcebf6558 100644 --- a/Makefile +++ b/Makefile @@ -77,6 +77,10 @@ gofmt: golint: $(MAKE) for-all-target TARGET="lint" +.PHONY: goporto +goporto: + $(MAKE) for-all-target TARGET="porto" + .PHONY: for-all for-all: @echo "running $${CMD} in root" @@ -163,6 +167,7 @@ install-tools: cd $(TOOLS_MOD_DIR) && go install go.opentelemetry.io/build-tools/issuegenerator cd $(TOOLS_MOD_DIR) && go install golang.org/x/tools/cmd/goimports cd $(TOOLS_MOD_DIR) && go install go.opentelemetry.io/build-tools/multimod + cd $(TOOLS_MOD_DIR) && go install github.com/jcchavezs/porto/cmd/porto .PHONY: run run: diff --git a/Makefile.Common b/Makefile.Common index c767c3ecb570..0bfa3448826b 100644 --- a/Makefile.Common +++ b/Makefile.Common @@ -94,6 +94,10 @@ fmt: lint: $(LINT) run --allow-parallel-runners +.PHONY: porto +porto: + porto -w --include-internal --skip-dirs "^cmd$$" ./ + .PHONY: misspell misspell: $(MISSPELL) $(ALL_SRC_AND_DOC) diff --git a/cmd/configschema/comments.go b/cmd/configschema/comments.go index 3891b737a7fd..ce482cffed8b 100644 --- a/cmd/configschema/comments.go +++ b/cmd/configschema/comments.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package configschema +package configschema // import "github.com/open-telemetry/opentelemetry-collector-contrib/cmd/configschema" import ( "go/ast" diff --git a/cmd/configschema/configs.go b/cmd/configschema/configs.go index b6ccb92e1c69..e2006509cebb 100644 --- a/cmd/configschema/configs.go +++ b/cmd/configschema/configs.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package configschema +package configschema // import "github.com/open-telemetry/opentelemetry-collector-contrib/cmd/configschema" import ( "fmt" diff --git a/cmd/configschema/docsgen/docsgen/cli.go b/cmd/configschema/docsgen/docsgen/cli.go index 154dd0d57af9..180a2f1cfdb5 100644 --- a/cmd/configschema/docsgen/docsgen/cli.go +++ b/cmd/configschema/docsgen/docsgen/cli.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package docsgen +package docsgen // import "github.com/open-telemetry/opentelemetry-collector-contrib/cmd/configschema/docsgen/docsgen" import ( "fmt" diff --git a/cmd/configschema/docsgen/docsgen/render.go b/cmd/configschema/docsgen/docsgen/render.go index 703c737cd9cf..e2fd2b8e4bde 100644 --- a/cmd/configschema/docsgen/docsgen/render.go +++ b/cmd/configschema/docsgen/docsgen/render.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package docsgen +package docsgen // import "github.com/open-telemetry/opentelemetry-collector-contrib/cmd/configschema/docsgen/docsgen" import ( "bytes" diff --git a/cmd/configschema/docsgen/docsgen/template.go b/cmd/configschema/docsgen/docsgen/template.go index 10571f1de994..030ad57e040e 100644 --- a/cmd/configschema/docsgen/docsgen/template.go +++ b/cmd/configschema/docsgen/docsgen/template.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package docsgen +package docsgen // import "github.com/open-telemetry/opentelemetry-collector-contrib/cmd/configschema/docsgen/docsgen" import ( "strings" diff --git a/cmd/configschema/fields.go b/cmd/configschema/fields.go index f42932fa639b..0c6be48c30cf 100644 --- a/cmd/configschema/fields.go +++ b/cmd/configschema/fields.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package configschema +package configschema // import "github.com/open-telemetry/opentelemetry-collector-contrib/cmd/configschema" import ( "fmt" diff --git a/cmd/configschema/resolver.go b/cmd/configschema/resolver.go index 442f47309711..653e7836278f 100644 --- a/cmd/configschema/resolver.go +++ b/cmd/configschema/resolver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package configschema +package configschema // import "github.com/open-telemetry/opentelemetry-collector-contrib/cmd/configschema" import ( "fmt" diff --git a/exporter/alibabacloudlogserviceexporter/config.go b/exporter/alibabacloudlogserviceexporter/config.go index 2db508675f88..dd25b48b1d0e 100644 --- a/exporter/alibabacloudlogserviceexporter/config.go +++ b/exporter/alibabacloudlogserviceexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package alibabacloudlogserviceexporter +package alibabacloudlogserviceexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/alibabacloudlogserviceexporter" import "go.opentelemetry.io/collector/config" diff --git a/exporter/alibabacloudlogserviceexporter/factory.go b/exporter/alibabacloudlogserviceexporter/factory.go index ba126ecc6e31..5e5cb55039fb 100644 --- a/exporter/alibabacloudlogserviceexporter/factory.go +++ b/exporter/alibabacloudlogserviceexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package alibabacloudlogserviceexporter +package alibabacloudlogserviceexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/alibabacloudlogserviceexporter" import ( "context" diff --git a/exporter/alibabacloudlogserviceexporter/logs_exporter.go b/exporter/alibabacloudlogserviceexporter/logs_exporter.go index 06f9fdf86ced..36f97dac0eaf 100644 --- a/exporter/alibabacloudlogserviceexporter/logs_exporter.go +++ b/exporter/alibabacloudlogserviceexporter/logs_exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package alibabacloudlogserviceexporter +package alibabacloudlogserviceexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/alibabacloudlogserviceexporter" import ( "context" diff --git a/exporter/alibabacloudlogserviceexporter/logsdata_to_logservice.go b/exporter/alibabacloudlogserviceexporter/logsdata_to_logservice.go index 7d0d1f75386c..f53cb0db7b16 100644 --- a/exporter/alibabacloudlogserviceexporter/logsdata_to_logservice.go +++ b/exporter/alibabacloudlogserviceexporter/logsdata_to_logservice.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package alibabacloudlogserviceexporter +package alibabacloudlogserviceexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/alibabacloudlogserviceexporter" import ( "encoding/json" diff --git a/exporter/alibabacloudlogserviceexporter/metrics_exporter.go b/exporter/alibabacloudlogserviceexporter/metrics_exporter.go index f4fd4fb005d3..38d645d3a1b4 100644 --- a/exporter/alibabacloudlogserviceexporter/metrics_exporter.go +++ b/exporter/alibabacloudlogserviceexporter/metrics_exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package alibabacloudlogserviceexporter +package alibabacloudlogserviceexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/alibabacloudlogserviceexporter" import ( "context" diff --git a/exporter/alibabacloudlogserviceexporter/metricsdata_to_logservice.go b/exporter/alibabacloudlogserviceexporter/metricsdata_to_logservice.go index 700348b54deb..8fc02d89147a 100644 --- a/exporter/alibabacloudlogserviceexporter/metricsdata_to_logservice.go +++ b/exporter/alibabacloudlogserviceexporter/metricsdata_to_logservice.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package alibabacloudlogserviceexporter +package alibabacloudlogserviceexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/alibabacloudlogserviceexporter" import ( "sort" diff --git a/exporter/alibabacloudlogserviceexporter/sanitize.go b/exporter/alibabacloudlogserviceexporter/sanitize.go index 8749513641e0..e2923d583a4b 100644 --- a/exporter/alibabacloudlogserviceexporter/sanitize.go +++ b/exporter/alibabacloudlogserviceexporter/sanitize.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package alibabacloudlogserviceexporter +package alibabacloudlogserviceexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/alibabacloudlogserviceexporter" import ( "strings" diff --git a/exporter/alibabacloudlogserviceexporter/trace_exporter.go b/exporter/alibabacloudlogserviceexporter/trace_exporter.go index 631d57e011b6..03f7ff01a586 100644 --- a/exporter/alibabacloudlogserviceexporter/trace_exporter.go +++ b/exporter/alibabacloudlogserviceexporter/trace_exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package alibabacloudlogserviceexporter +package alibabacloudlogserviceexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/alibabacloudlogserviceexporter" import ( "context" diff --git a/exporter/alibabacloudlogserviceexporter/tracedata_to_logservice.go b/exporter/alibabacloudlogserviceexporter/tracedata_to_logservice.go index 63776a032cc6..d34340aca5a8 100644 --- a/exporter/alibabacloudlogserviceexporter/tracedata_to_logservice.go +++ b/exporter/alibabacloudlogserviceexporter/tracedata_to_logservice.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package alibabacloudlogserviceexporter +package alibabacloudlogserviceexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/alibabacloudlogserviceexporter" import ( "encoding/json" diff --git a/exporter/alibabacloudlogserviceexporter/uploader.go b/exporter/alibabacloudlogserviceexporter/uploader.go index b1c7024fed5b..14344c409ef6 100644 --- a/exporter/alibabacloudlogserviceexporter/uploader.go +++ b/exporter/alibabacloudlogserviceexporter/uploader.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package alibabacloudlogserviceexporter +package alibabacloudlogserviceexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/alibabacloudlogserviceexporter" import ( "errors" diff --git a/exporter/awscloudwatchlogsexporter/config.go b/exporter/awscloudwatchlogsexporter/config.go index 3014ba6a25cd..94c490de9b60 100644 --- a/exporter/awscloudwatchlogsexporter/config.go +++ b/exporter/awscloudwatchlogsexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awscloudwatchlogsexporter +package awscloudwatchlogsexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awscloudwatchlogsexporter" import ( "errors" diff --git a/exporter/awscloudwatchlogsexporter/exporter.go b/exporter/awscloudwatchlogsexporter/exporter.go index ff6bf7a7e8d2..7043cc1c6959 100644 --- a/exporter/awscloudwatchlogsexporter/exporter.go +++ b/exporter/awscloudwatchlogsexporter/exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awscloudwatchlogsexporter +package awscloudwatchlogsexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awscloudwatchlogsexporter" import ( "context" diff --git a/exporter/awscloudwatchlogsexporter/factory.go b/exporter/awscloudwatchlogsexporter/factory.go index cf3049563d0c..55e8b4b3125a 100644 --- a/exporter/awscloudwatchlogsexporter/factory.go +++ b/exporter/awscloudwatchlogsexporter/factory.go @@ -14,7 +14,7 @@ // Package awscloudwatchlogsexporter provides a logging exporter for the OpenTelemetry collector. // This package is subject to change and may break configuration settings and behavior. -package awscloudwatchlogsexporter +package awscloudwatchlogsexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awscloudwatchlogsexporter" import ( "context" diff --git a/exporter/awsemfexporter/config.go b/exporter/awsemfexporter/config.go index f5580e1da8f9..ae2ee3d3ee42 100644 --- a/exporter/awsemfexporter/config.go +++ b/exporter/awsemfexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsemfexporter +package awsemfexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsemfexporter" import ( "go.opentelemetry.io/collector/config" diff --git a/exporter/awsemfexporter/cwlog_client.go b/exporter/awsemfexporter/cwlog_client.go index 4dc0699ffc74..3dbbb459aba5 100644 --- a/exporter/awsemfexporter/cwlog_client.go +++ b/exporter/awsemfexporter/cwlog_client.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsemfexporter +package awsemfexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsemfexporter" import ( "fmt" diff --git a/exporter/awsemfexporter/datapoint.go b/exporter/awsemfexporter/datapoint.go index aabc68d5b703..f148825998ea 100644 --- a/exporter/awsemfexporter/datapoint.go +++ b/exporter/awsemfexporter/datapoint.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsemfexporter +package awsemfexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsemfexporter" import ( "time" diff --git a/exporter/awsemfexporter/doc.go b/exporter/awsemfexporter/doc.go index f3b8056cdbd2..9a662832aa69 100644 --- a/exporter/awsemfexporter/doc.go +++ b/exporter/awsemfexporter/doc.go @@ -14,4 +14,4 @@ // Package awsemfexporter implements an OpenTelemetry Collector exporter that sends EmbeddedMetricFormat to // AWS CloudWatch Logs in the region the collector is running in using the PutLogEvents API. -package awsemfexporter +package awsemfexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsemfexporter" diff --git a/exporter/awsemfexporter/emf_exporter.go b/exporter/awsemfexporter/emf_exporter.go index 5cc20a06c5fc..3eff4973379d 100644 --- a/exporter/awsemfexporter/emf_exporter.go +++ b/exporter/awsemfexporter/emf_exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsemfexporter +package awsemfexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsemfexporter" import ( "context" diff --git a/exporter/awsemfexporter/factory.go b/exporter/awsemfexporter/factory.go index 44b313ddd4ec..1cb75cc7f8bd 100644 --- a/exporter/awsemfexporter/factory.go +++ b/exporter/awsemfexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsemfexporter +package awsemfexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsemfexporter" import ( "context" diff --git a/exporter/awsemfexporter/grouped_metric.go b/exporter/awsemfexporter/grouped_metric.go index 3ec4723d3f86..2dee0bdfbabf 100644 --- a/exporter/awsemfexporter/grouped_metric.go +++ b/exporter/awsemfexporter/grouped_metric.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsemfexporter +package awsemfexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsemfexporter" import ( "encoding/json" diff --git a/exporter/awsemfexporter/handler/request_structuredlog_handler.go b/exporter/awsemfexporter/handler/request_structuredlog_handler.go index adabf371fa27..07bf1b3f9c20 100644 --- a/exporter/awsemfexporter/handler/request_structuredlog_handler.go +++ b/exporter/awsemfexporter/handler/request_structuredlog_handler.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package handler +package handler // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsemfexporter/handler" import "github.com/aws/aws-sdk-go/aws/request" diff --git a/exporter/awsemfexporter/metric_declaration.go b/exporter/awsemfexporter/metric_declaration.go index 0c1210115798..850668cddb3c 100644 --- a/exporter/awsemfexporter/metric_declaration.go +++ b/exporter/awsemfexporter/metric_declaration.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsemfexporter +package awsemfexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsemfexporter" import ( "bytes" diff --git a/exporter/awsemfexporter/metric_translator.go b/exporter/awsemfexporter/metric_translator.go index 8af6f5953bb1..e3e2abf8f726 100644 --- a/exporter/awsemfexporter/metric_translator.go +++ b/exporter/awsemfexporter/metric_translator.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsemfexporter +package awsemfexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsemfexporter" import ( "encoding/json" diff --git a/exporter/awsemfexporter/pusher.go b/exporter/awsemfexporter/pusher.go index 3e23e7908b75..415cfe2552eb 100644 --- a/exporter/awsemfexporter/pusher.go +++ b/exporter/awsemfexporter/pusher.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsemfexporter +package awsemfexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsemfexporter" import ( "errors" diff --git a/exporter/awsemfexporter/util.go b/exporter/awsemfexporter/util.go index c8951e825940..7a9cca1a03de 100644 --- a/exporter/awsemfexporter/util.go +++ b/exporter/awsemfexporter/util.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsemfexporter +package awsemfexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsemfexporter" import ( "fmt" diff --git a/exporter/awskinesisexporter/config.go b/exporter/awskinesisexporter/config.go index 6745a8cdbd00..ef5cf0e8f6c2 100644 --- a/exporter/awskinesisexporter/config.go +++ b/exporter/awskinesisexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awskinesisexporter +package awskinesisexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awskinesisexporter" import ( "go.opentelemetry.io/collector/config" diff --git a/exporter/awskinesisexporter/exporter.go b/exporter/awskinesisexporter/exporter.go index 638454f0dd7a..4bfacb1a8109 100644 --- a/exporter/awskinesisexporter/exporter.go +++ b/exporter/awskinesisexporter/exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awskinesisexporter +package awskinesisexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awskinesisexporter" import ( "context" diff --git a/exporter/awskinesisexporter/factory.go b/exporter/awskinesisexporter/factory.go index 4d5e8bfa7e73..451ac4aa5e09 100644 --- a/exporter/awskinesisexporter/factory.go +++ b/exporter/awskinesisexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awskinesisexporter +package awskinesisexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awskinesisexporter" import ( "context" diff --git a/exporter/awskinesisexporter/internal/batch/batch.go b/exporter/awskinesisexporter/internal/batch/batch.go index 3706df7c29fd..2294980aed15 100644 --- a/exporter/awskinesisexporter/internal/batch/batch.go +++ b/exporter/awskinesisexporter/internal/batch/batch.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package batch +package batch // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awskinesisexporter/internal/batch" import ( "errors" diff --git a/exporter/awskinesisexporter/internal/batch/encode.go b/exporter/awskinesisexporter/internal/batch/encode.go index 508818d44d58..6278186d4a8f 100644 --- a/exporter/awskinesisexporter/internal/batch/encode.go +++ b/exporter/awskinesisexporter/internal/batch/encode.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package batch +package batch // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awskinesisexporter/internal/batch" import ( "errors" diff --git a/exporter/awskinesisexporter/internal/batch/encode_jaeger.go b/exporter/awskinesisexporter/internal/batch/encode_jaeger.go index 4535f31ed42b..a75a484c0a65 100644 --- a/exporter/awskinesisexporter/internal/batch/encode_jaeger.go +++ b/exporter/awskinesisexporter/internal/batch/encode_jaeger.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package batch +package batch // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awskinesisexporter/internal/batch" import ( "github.com/gogo/protobuf/proto" diff --git a/exporter/awskinesisexporter/internal/batch/encode_marshaler.go b/exporter/awskinesisexporter/internal/batch/encode_marshaler.go index 1bbd2698c408..bc6daab07cdb 100644 --- a/exporter/awskinesisexporter/internal/batch/encode_marshaler.go +++ b/exporter/awskinesisexporter/internal/batch/encode_marshaler.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package batch +package batch // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awskinesisexporter/internal/batch" import ( "errors" diff --git a/exporter/awskinesisexporter/internal/batch/encode_unsupported.go b/exporter/awskinesisexporter/internal/batch/encode_unsupported.go index 11a7fa98836c..1c6446427dbb 100644 --- a/exporter/awskinesisexporter/internal/batch/encode_unsupported.go +++ b/exporter/awskinesisexporter/internal/batch/encode_unsupported.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package batch +package batch // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awskinesisexporter/internal/batch" import "go.opentelemetry.io/collector/model/pdata" diff --git a/exporter/awskinesisexporter/internal/compress/compresser.go b/exporter/awskinesisexporter/internal/compress/compresser.go index 949e1e559c53..eab34dcb6006 100644 --- a/exporter/awskinesisexporter/internal/compress/compresser.go +++ b/exporter/awskinesisexporter/internal/compress/compresser.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package compress +package compress // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awskinesisexporter/internal/compress" import ( "bytes" diff --git a/exporter/awskinesisexporter/internal/compress/noop_compression.go b/exporter/awskinesisexporter/internal/compress/noop_compression.go index c20846b3ad40..14b5724388d0 100644 --- a/exporter/awskinesisexporter/internal/compress/noop_compression.go +++ b/exporter/awskinesisexporter/internal/compress/noop_compression.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package compress +package compress // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awskinesisexporter/internal/compress" import "io" diff --git a/exporter/awskinesisexporter/internal/key/key.go b/exporter/awskinesisexporter/internal/key/key.go index 57c73fe26dd2..c25384cdbb55 100644 --- a/exporter/awskinesisexporter/internal/key/key.go +++ b/exporter/awskinesisexporter/internal/key/key.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package key +package key // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awskinesisexporter/internal/key" import ( "github.com/google/uuid" diff --git a/exporter/awskinesisexporter/internal/producer/batcher.go b/exporter/awskinesisexporter/internal/producer/batcher.go index 28a3795df4c4..8995e613ca63 100644 --- a/exporter/awskinesisexporter/internal/producer/batcher.go +++ b/exporter/awskinesisexporter/internal/producer/batcher.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package producer +package producer // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awskinesisexporter/internal/producer" import ( "context" diff --git a/exporter/awskinesisexporter/internal/producer/batcher_options.go b/exporter/awskinesisexporter/internal/producer/batcher_options.go index d4a5bdef2f32..9faff05dc6b8 100644 --- a/exporter/awskinesisexporter/internal/producer/batcher_options.go +++ b/exporter/awskinesisexporter/internal/producer/batcher_options.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package producer +package producer // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awskinesisexporter/internal/producer" import ( "errors" diff --git a/exporter/awskinesisexporter/internal/producer/interface.go b/exporter/awskinesisexporter/internal/producer/interface.go index 39bf5c6b67e4..a1a7adc19698 100644 --- a/exporter/awskinesisexporter/internal/producer/interface.go +++ b/exporter/awskinesisexporter/internal/producer/interface.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package producer +package producer // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awskinesisexporter/internal/producer" import ( "context" diff --git a/exporter/awsprometheusremotewriteexporter/auth.go b/exporter/awsprometheusremotewriteexporter/auth.go index 336d7d08c1a0..c897b29332b3 100644 --- a/exporter/awsprometheusremotewriteexporter/auth.go +++ b/exporter/awsprometheusremotewriteexporter/auth.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsprometheusremotewriteexporter +package awsprometheusremotewriteexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsprometheusremotewriteexporter" import ( "bytes" diff --git a/exporter/awsprometheusremotewriteexporter/config.go b/exporter/awsprometheusremotewriteexporter/config.go index 3d5b670455e0..14df169ed248 100644 --- a/exporter/awsprometheusremotewriteexporter/config.go +++ b/exporter/awsprometheusremotewriteexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsprometheusremotewriteexporter +package awsprometheusremotewriteexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsprometheusremotewriteexporter" import ( prw "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusremotewriteexporter" diff --git a/exporter/awsprometheusremotewriteexporter/factory.go b/exporter/awsprometheusremotewriteexporter/factory.go index e716bdb87149..5072da2db7b6 100644 --- a/exporter/awsprometheusremotewriteexporter/factory.go +++ b/exporter/awsprometheusremotewriteexporter/factory.go @@ -13,7 +13,7 @@ // limitations under the License. // Package awsprometheusremotewriteexporter provides a Prometheus Remote Write Exporter with AWS Sigv4 authentication -package awsprometheusremotewriteexporter +package awsprometheusremotewriteexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsprometheusremotewriteexporter" import ( "context" diff --git a/exporter/awsxrayexporter/awsxray.go b/exporter/awsxrayexporter/awsxray.go index dce0aee5a152..d686fa32bd62 100644 --- a/exporter/awsxrayexporter/awsxray.go +++ b/exporter/awsxrayexporter/awsxray.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsxrayexporter +package awsxrayexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsxrayexporter" import ( "context" diff --git a/exporter/awsxrayexporter/config.go b/exporter/awsxrayexporter/config.go index 8e633616d4b6..d398a60f373b 100644 --- a/exporter/awsxrayexporter/config.go +++ b/exporter/awsxrayexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsxrayexporter +package awsxrayexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsxrayexporter" import ( "go.opentelemetry.io/collector/config" diff --git a/exporter/awsxrayexporter/doc.go b/exporter/awsxrayexporter/doc.go index ec2c4046b6a6..4e33d3e70e54 100644 --- a/exporter/awsxrayexporter/doc.go +++ b/exporter/awsxrayexporter/doc.go @@ -14,4 +14,4 @@ // Package awsxrayexporter implements an OpenTelemetry Collector exporter that sends trace data to // AWS X-Ray in the region the collector is running in using the PutTraceSegments API. -package awsxrayexporter +package awsxrayexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsxrayexporter" diff --git a/exporter/awsxrayexporter/factory.go b/exporter/awsxrayexporter/factory.go index c7734ba82d1c..e15ffd8dc0c5 100644 --- a/exporter/awsxrayexporter/factory.go +++ b/exporter/awsxrayexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsxrayexporter +package awsxrayexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsxrayexporter" import ( "context" diff --git a/exporter/awsxrayexporter/internal/translator/aws.go b/exporter/awsxrayexporter/internal/translator/aws.go index 0a53c6c0f40e..40af15f15bf6 100644 --- a/exporter/awsxrayexporter/internal/translator/aws.go +++ b/exporter/awsxrayexporter/internal/translator/aws.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translator +package translator // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsxrayexporter/internal/translator" import ( "bytes" diff --git a/exporter/awsxrayexporter/internal/translator/cause.go b/exporter/awsxrayexporter/internal/translator/cause.go index 043f7e2e82fc..e6039290b172 100644 --- a/exporter/awsxrayexporter/internal/translator/cause.go +++ b/exporter/awsxrayexporter/internal/translator/cause.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translator +package translator // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsxrayexporter/internal/translator" import ( "bufio" diff --git a/exporter/awsxrayexporter/internal/translator/http.go b/exporter/awsxrayexporter/internal/translator/http.go index ee034e844978..d4c92413be9f 100644 --- a/exporter/awsxrayexporter/internal/translator/http.go +++ b/exporter/awsxrayexporter/internal/translator/http.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translator +package translator // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsxrayexporter/internal/translator" import ( "strconv" diff --git a/exporter/awsxrayexporter/internal/translator/segment.go b/exporter/awsxrayexporter/internal/translator/segment.go index 0e385de0d9e2..ffbe33210e9a 100644 --- a/exporter/awsxrayexporter/internal/translator/segment.go +++ b/exporter/awsxrayexporter/internal/translator/segment.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translator +package translator // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsxrayexporter/internal/translator" import ( "encoding/binary" diff --git a/exporter/awsxrayexporter/internal/translator/service.go b/exporter/awsxrayexporter/internal/translator/service.go index 5ba463febe0e..d2e61b6982d0 100644 --- a/exporter/awsxrayexporter/internal/translator/service.go +++ b/exporter/awsxrayexporter/internal/translator/service.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translator +package translator // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsxrayexporter/internal/translator" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/exporter/awsxrayexporter/internal/translator/sql.go b/exporter/awsxrayexporter/internal/translator/sql.go index 5a9818fe9061..e08bf1eb72be 100644 --- a/exporter/awsxrayexporter/internal/translator/sql.go +++ b/exporter/awsxrayexporter/internal/translator/sql.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translator +package translator // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsxrayexporter/internal/translator" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/exporter/awsxrayexporter/internal/translator/writer_pool.go b/exporter/awsxrayexporter/internal/translator/writer_pool.go index 811b69db4b50..54a7d22b3bca 100644 --- a/exporter/awsxrayexporter/internal/translator/writer_pool.go +++ b/exporter/awsxrayexporter/internal/translator/writer_pool.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translator +package translator // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsxrayexporter/internal/translator" import ( "bytes" diff --git a/exporter/awsxrayexporter/xray_client.go b/exporter/awsxrayexporter/xray_client.go index e8de1dedae9b..23663fae08e2 100644 --- a/exporter/awsxrayexporter/xray_client.go +++ b/exporter/awsxrayexporter/xray_client.go @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsxrayexporter +package awsxrayexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsxrayexporter" import ( "os" diff --git a/exporter/azuremonitorexporter/channels.go b/exporter/azuremonitorexporter/channels.go index a47bb50d835c..a631a7042e9a 100644 --- a/exporter/azuremonitorexporter/channels.go +++ b/exporter/azuremonitorexporter/channels.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package azuremonitorexporter +package azuremonitorexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/azuremonitorexporter" import "github.com/microsoft/ApplicationInsights-Go/appinsights/contracts" diff --git a/exporter/azuremonitorexporter/config.go b/exporter/azuremonitorexporter/config.go index b4b379998265..1051732a57c8 100644 --- a/exporter/azuremonitorexporter/config.go +++ b/exporter/azuremonitorexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package azuremonitorexporter +package azuremonitorexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/azuremonitorexporter" import ( "time" diff --git a/exporter/azuremonitorexporter/conventions.go b/exporter/azuremonitorexporter/conventions.go index 64213c67b991..b4b6221b5b4b 100644 --- a/exporter/azuremonitorexporter/conventions.go +++ b/exporter/azuremonitorexporter/conventions.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package azuremonitorexporter +package azuremonitorexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/azuremonitorexporter" import ( "strconv" diff --git a/exporter/azuremonitorexporter/factory.go b/exporter/azuremonitorexporter/factory.go index cffafa403268..c7db98928d13 100644 --- a/exporter/azuremonitorexporter/factory.go +++ b/exporter/azuremonitorexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package azuremonitorexporter +package azuremonitorexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/azuremonitorexporter" import ( "context" diff --git a/exporter/azuremonitorexporter/time_utils.go b/exporter/azuremonitorexporter/time_utils.go index bdaf89728efc..97fb43f6f825 100644 --- a/exporter/azuremonitorexporter/time_utils.go +++ b/exporter/azuremonitorexporter/time_utils.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package azuremonitorexporter +package azuremonitorexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/azuremonitorexporter" // Contains code common to both trace and metrics exporters import ( diff --git a/exporter/azuremonitorexporter/trace_to_envelope.go b/exporter/azuremonitorexporter/trace_to_envelope.go index 2e12c2552bc5..44ac4eabc283 100644 --- a/exporter/azuremonitorexporter/trace_to_envelope.go +++ b/exporter/azuremonitorexporter/trace_to_envelope.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package azuremonitorexporter +package azuremonitorexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/azuremonitorexporter" // Contains code common to both trace and metrics exporters import ( diff --git a/exporter/azuremonitorexporter/traceexporter.go b/exporter/azuremonitorexporter/traceexporter.go index 662ad99dcb91..1b3736531e94 100644 --- a/exporter/azuremonitorexporter/traceexporter.go +++ b/exporter/azuremonitorexporter/traceexporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package azuremonitorexporter +package azuremonitorexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/azuremonitorexporter" import ( "context" diff --git a/exporter/azuremonitorexporter/traceiteration.go b/exporter/azuremonitorexporter/traceiteration.go index 36f84bc98b28..e615a82b17d8 100644 --- a/exporter/azuremonitorexporter/traceiteration.go +++ b/exporter/azuremonitorexporter/traceiteration.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package azuremonitorexporter +package azuremonitorexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/azuremonitorexporter" import "go.opentelemetry.io/collector/model/pdata" diff --git a/exporter/carbonexporter/config.go b/exporter/carbonexporter/config.go index 9ad7a8bf30f2..d943ee7feb51 100644 --- a/exporter/carbonexporter/config.go +++ b/exporter/carbonexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package carbonexporter +package carbonexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/carbonexporter" import ( "time" diff --git a/exporter/carbonexporter/doc.go b/exporter/carbonexporter/doc.go index f2cb0b1a4289..6fdd234e601e 100644 --- a/exporter/carbonexporter/doc.go +++ b/exporter/carbonexporter/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package carbonexporter implements an exporter that sends data to Carbon. -package carbonexporter +package carbonexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/carbonexporter" diff --git a/exporter/carbonexporter/exporter.go b/exporter/carbonexporter/exporter.go index bc1399d243f1..2bf3bf86167f 100644 --- a/exporter/carbonexporter/exporter.go +++ b/exporter/carbonexporter/exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package carbonexporter +package carbonexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/carbonexporter" import ( "context" diff --git a/exporter/carbonexporter/factory.go b/exporter/carbonexporter/factory.go index 13d53269e40b..3b91fb5937f7 100644 --- a/exporter/carbonexporter/factory.go +++ b/exporter/carbonexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package carbonexporter +package carbonexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/carbonexporter" import ( "context" diff --git a/exporter/carbonexporter/metricdata_to_plaintext.go b/exporter/carbonexporter/metricdata_to_plaintext.go index 8f6d023aced8..cab808d543c0 100644 --- a/exporter/carbonexporter/metricdata_to_plaintext.go +++ b/exporter/carbonexporter/metricdata_to_plaintext.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package carbonexporter +package carbonexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/carbonexporter" import ( "fmt" diff --git a/exporter/datadogexporter/config/config.go b/exporter/datadogexporter/config/config.go index 1f1c5794d704..a2359da6c7c2 100644 --- a/exporter/datadogexporter/config/config.go +++ b/exporter/datadogexporter/config/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package config +package config // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/config" import ( "errors" diff --git a/exporter/datadogexporter/denylister.go b/exporter/datadogexporter/denylister.go index 6b0a1a7689eb..7e40b5ff899a 100644 --- a/exporter/datadogexporter/denylister.go +++ b/exporter/datadogexporter/denylister.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datadogexporter +package datadogexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter" import ( "regexp" diff --git a/exporter/datadogexporter/factory.go b/exporter/datadogexporter/factory.go index 298cb3cd6ed9..b635d8b46dca 100644 --- a/exporter/datadogexporter/factory.go +++ b/exporter/datadogexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datadogexporter +package datadogexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter" import ( "context" diff --git a/exporter/datadogexporter/internal/attributes/attributes.go b/exporter/datadogexporter/internal/attributes/attributes.go index 448af20bb70c..8f6be87c16a9 100644 --- a/exporter/datadogexporter/internal/attributes/attributes.go +++ b/exporter/datadogexporter/internal/attributes/attributes.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package attributes +package attributes // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/attributes" import ( "fmt" diff --git a/exporter/datadogexporter/internal/attributes/azure/azure.go b/exporter/datadogexporter/internal/attributes/azure/azure.go index 0d58de963768..c0f3a15ccc0b 100644 --- a/exporter/datadogexporter/internal/attributes/azure/azure.go +++ b/exporter/datadogexporter/internal/attributes/azure/azure.go @@ -11,7 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -package azure +package azure // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/attributes/azure" import ( "strings" diff --git a/exporter/datadogexporter/internal/attributes/ec2/ec2.go b/exporter/datadogexporter/internal/attributes/ec2/ec2.go index 16f995b48b43..1b676c4a122b 100644 --- a/exporter/datadogexporter/internal/attributes/ec2/ec2.go +++ b/exporter/datadogexporter/internal/attributes/ec2/ec2.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ec2 +package ec2 // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/attributes/ec2" import ( "fmt" diff --git a/exporter/datadogexporter/internal/attributes/gcp/gcp.go b/exporter/datadogexporter/internal/attributes/gcp/gcp.go index c13d976c7446..62397ae9e75c 100644 --- a/exporter/datadogexporter/internal/attributes/gcp/gcp.go +++ b/exporter/datadogexporter/internal/attributes/gcp/gcp.go @@ -11,7 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -package gcp +package gcp // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/attributes/gcp" import ( "fmt" diff --git a/exporter/datadogexporter/internal/attributes/hostname.go b/exporter/datadogexporter/internal/attributes/hostname.go index 64f0b840a334..b54a52ec55f2 100644 --- a/exporter/datadogexporter/internal/attributes/hostname.go +++ b/exporter/datadogexporter/internal/attributes/hostname.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package attributes +package attributes // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/attributes" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/exporter/datadogexporter/internal/attributes/process.go b/exporter/datadogexporter/internal/attributes/process.go index ea538d48063f..923dba9b4a79 100644 --- a/exporter/datadogexporter/internal/attributes/process.go +++ b/exporter/datadogexporter/internal/attributes/process.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package attributes +package attributes // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/attributes" import ( "fmt" diff --git a/exporter/datadogexporter/internal/attributes/system.go b/exporter/datadogexporter/internal/attributes/system.go index d7a8b081f230..3636ca491f7a 100644 --- a/exporter/datadogexporter/internal/attributes/system.go +++ b/exporter/datadogexporter/internal/attributes/system.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package attributes +package attributes // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/attributes" import ( "fmt" diff --git a/exporter/datadogexporter/internal/instrumentationlibrary/metadata.go b/exporter/datadogexporter/internal/instrumentationlibrary/metadata.go index f4f46891601c..b5167f6d36f1 100644 --- a/exporter/datadogexporter/internal/instrumentationlibrary/metadata.go +++ b/exporter/datadogexporter/internal/instrumentationlibrary/metadata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package instrumentationlibrary +package instrumentationlibrary // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/instrumentationlibrary" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/exporter/datadogexporter/internal/metadata/ec2/ec2.go b/exporter/datadogexporter/internal/metadata/ec2/ec2.go index 9fa4a570f13b..4c5f82ebbc8e 100644 --- a/exporter/datadogexporter/internal/metadata/ec2/ec2.go +++ b/exporter/datadogexporter/internal/metadata/ec2/ec2.go @@ -11,7 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -package ec2 +package ec2 // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/metadata/ec2" import ( "strings" diff --git a/exporter/datadogexporter/internal/metadata/host.go b/exporter/datadogexporter/internal/metadata/host.go index 1e083af03071..4b7ff1b61008 100644 --- a/exporter/datadogexporter/internal/metadata/host.go +++ b/exporter/datadogexporter/internal/metadata/host.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metadata +package metadata // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/metadata" import ( "go.uber.org/zap" diff --git a/exporter/datadogexporter/internal/metadata/metadata.go b/exporter/datadogexporter/internal/metadata/metadata.go index 097ab18fbe63..355cdc8fa8ee 100644 --- a/exporter/datadogexporter/internal/metadata/metadata.go +++ b/exporter/datadogexporter/internal/metadata/metadata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metadata +package metadata // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/metadata" import ( "bytes" diff --git a/exporter/datadogexporter/internal/metadata/system/host.go b/exporter/datadogexporter/internal/metadata/system/host.go index 781b5d7a2ce2..0db42f7a06e9 100644 --- a/exporter/datadogexporter/internal/metadata/system/host.go +++ b/exporter/datadogexporter/internal/metadata/system/host.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package system +package system // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/metadata/system" import ( "os" diff --git a/exporter/datadogexporter/internal/metadata/system/host_unix.go b/exporter/datadogexporter/internal/metadata/system/host_unix.go index d49ddcebb8f6..8f4ecc0234fd 100644 --- a/exporter/datadogexporter/internal/metadata/system/host_unix.go +++ b/exporter/datadogexporter/internal/metadata/system/host_unix.go @@ -14,7 +14,7 @@ //go:build !windows // +build !windows -package system +package system // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/metadata/system" import ( "context" diff --git a/exporter/datadogexporter/internal/metadata/system/host_windows.go b/exporter/datadogexporter/internal/metadata/system/host_windows.go index 7d6e82e1659d..67dceddc9a40 100644 --- a/exporter/datadogexporter/internal/metadata/system/host_windows.go +++ b/exporter/datadogexporter/internal/metadata/system/host_windows.go @@ -15,7 +15,7 @@ //go:build windows // +build windows -package system +package system // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/metadata/system" func getSystemFQDN() (string, error) { // The Datadog Agent uses CGo to get the FQDN of the host diff --git a/exporter/datadogexporter/internal/metadata/valid/valid.go b/exporter/datadogexporter/internal/metadata/valid/valid.go index 66e1ee747267..a03642bc01ca 100644 --- a/exporter/datadogexporter/internal/metadata/valid/valid.go +++ b/exporter/datadogexporter/internal/metadata/valid/valid.go @@ -15,7 +15,7 @@ // This file includes software developed at Datadog (https://www.datadoghq.com/) // for the Datadog Agent (https://github.com/DataDog/datadog-agent) -package valid +package valid // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/metadata/valid" import ( "fmt" diff --git a/exporter/datadogexporter/internal/metrics/consumer.go b/exporter/datadogexporter/internal/metrics/consumer.go index 05723fd27c1a..88be931849cf 100644 --- a/exporter/datadogexporter/internal/metrics/consumer.go +++ b/exporter/datadogexporter/internal/metrics/consumer.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metrics +package metrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/metrics" import ( "context" diff --git a/exporter/datadogexporter/internal/metrics/utils.go b/exporter/datadogexporter/internal/metrics/utils.go index 6541add1ca23..1e9d55353089 100644 --- a/exporter/datadogexporter/internal/metrics/utils.go +++ b/exporter/datadogexporter/internal/metrics/utils.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metrics +package metrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/metrics" import ( "fmt" diff --git a/exporter/datadogexporter/internal/scrub/scrub.go b/exporter/datadogexporter/internal/scrub/scrub.go index 14e49f077c78..d9c60bec55d6 100644 --- a/exporter/datadogexporter/internal/scrub/scrub.go +++ b/exporter/datadogexporter/internal/scrub/scrub.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package scrub +package scrub // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/scrub" import ( "regexp" diff --git a/exporter/datadogexporter/internal/sketches/sketches.go b/exporter/datadogexporter/internal/sketches/sketches.go index 9b4d6d376357..ea26599451c2 100644 --- a/exporter/datadogexporter/internal/sketches/sketches.go +++ b/exporter/datadogexporter/internal/sketches/sketches.go @@ -15,7 +15,7 @@ // Parts of this package are based on the code from the datadog-agent, // https://github.com/DataDog/datadog-agent/blob/main/pkg/metrics/sketch_series.go -package sketches +package sketches // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/sketches" import ( "github.com/DataDog/agent-payload/v5/gogen" diff --git a/exporter/datadogexporter/internal/testutils/test_utils.go b/exporter/datadogexporter/internal/testutils/test_utils.go index f392eed61af2..9e97a7ca5d0c 100644 --- a/exporter/datadogexporter/internal/testutils/test_utils.go +++ b/exporter/datadogexporter/internal/testutils/test_utils.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package testutils +package testutils // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/testutils" import ( "encoding/json" diff --git a/exporter/datadogexporter/internal/translator/config.go b/exporter/datadogexporter/internal/translator/config.go index 6582de431287..49343b9744e0 100644 --- a/exporter/datadogexporter/internal/translator/config.go +++ b/exporter/datadogexporter/internal/translator/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translator +package translator // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/translator" import "fmt" diff --git a/exporter/datadogexporter/internal/translator/consumer.go b/exporter/datadogexporter/internal/translator/consumer.go index 87653209eb28..0a67cbe0e712 100644 --- a/exporter/datadogexporter/internal/translator/consumer.go +++ b/exporter/datadogexporter/internal/translator/consumer.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translator +package translator // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/translator" import ( "context" diff --git a/exporter/datadogexporter/internal/translator/hostname_provider.go b/exporter/datadogexporter/internal/translator/hostname_provider.go index 829d0654add2..36eee6f512ef 100644 --- a/exporter/datadogexporter/internal/translator/hostname_provider.go +++ b/exporter/datadogexporter/internal/translator/hostname_provider.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translator +package translator // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/translator" import "context" diff --git a/exporter/datadogexporter/internal/translator/metrics_translator.go b/exporter/datadogexporter/internal/translator/metrics_translator.go index 21a01c403cb3..88d95a1ef41f 100644 --- a/exporter/datadogexporter/internal/translator/metrics_translator.go +++ b/exporter/datadogexporter/internal/translator/metrics_translator.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translator +package translator // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/translator" import ( "context" diff --git a/exporter/datadogexporter/internal/translator/ttlcache.go b/exporter/datadogexporter/internal/translator/ttlcache.go index 7db77f966e0b..ed8200900472 100644 --- a/exporter/datadogexporter/internal/translator/ttlcache.go +++ b/exporter/datadogexporter/internal/translator/ttlcache.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translator +package translator // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/translator" import ( "sort" diff --git a/exporter/datadogexporter/internal/translator/utils/tags.go b/exporter/datadogexporter/internal/translator/utils/tags.go index e06c3dbc36ce..655548c356bd 100644 --- a/exporter/datadogexporter/internal/translator/utils/tags.go +++ b/exporter/datadogexporter/internal/translator/utils/tags.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package utils +package utils // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/translator/utils" import ( "fmt" diff --git a/exporter/datadogexporter/internal/utils/api.go b/exporter/datadogexporter/internal/utils/api.go index bdfe8a6489b8..02a8296650ba 100644 --- a/exporter/datadogexporter/internal/utils/api.go +++ b/exporter/datadogexporter/internal/utils/api.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package utils +package utils // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/utils" import ( "go.uber.org/zap" diff --git a/exporter/datadogexporter/internal/utils/cache/cache.go b/exporter/datadogexporter/internal/utils/cache/cache.go index aa632967b499..a9b49a66bf4c 100644 --- a/exporter/datadogexporter/internal/utils/cache/cache.go +++ b/exporter/datadogexporter/internal/utils/cache/cache.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package cache +package cache // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/utils/cache" import ( "time" diff --git a/exporter/datadogexporter/internal/utils/http.go b/exporter/datadogexporter/internal/utils/http.go index 62e4446a391a..8cda63f07861 100644 --- a/exporter/datadogexporter/internal/utils/http.go +++ b/exporter/datadogexporter/internal/utils/http.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package utils +package utils // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/utils" import ( "crypto/tls" diff --git a/exporter/datadogexporter/internal/utils/trace_helpers.go b/exporter/datadogexporter/internal/utils/trace_helpers.go index 4c6b3e526805..91e279860ce3 100644 --- a/exporter/datadogexporter/internal/utils/trace_helpers.go +++ b/exporter/datadogexporter/internal/utils/trace_helpers.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package utils +package utils // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/utils" import ( "strings" diff --git a/exporter/datadogexporter/metrics_exporter.go b/exporter/datadogexporter/metrics_exporter.go index ddbcabaa3229..2c446e8d956b 100644 --- a/exporter/datadogexporter/metrics_exporter.go +++ b/exporter/datadogexporter/metrics_exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datadogexporter +package datadogexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter" import ( "bytes" diff --git a/exporter/datadogexporter/model.go b/exporter/datadogexporter/model.go index 0927b060697a..fb5b3d18391b 100644 --- a/exporter/datadogexporter/model.go +++ b/exporter/datadogexporter/model.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datadogexporter +package datadogexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter" import ( "github.com/DataDog/datadog-agent/pkg/trace/exportable/event" diff --git a/exporter/datadogexporter/stats.go b/exporter/datadogexporter/stats.go index 0f43d63997a1..63242b2aa92d 100644 --- a/exporter/datadogexporter/stats.go +++ b/exporter/datadogexporter/stats.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datadogexporter +package datadogexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter" import ( "time" diff --git a/exporter/datadogexporter/trace_connection.go b/exporter/datadogexporter/trace_connection.go index c448a1975966..d5089698e992 100644 --- a/exporter/datadogexporter/trace_connection.go +++ b/exporter/datadogexporter/trace_connection.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datadogexporter +package datadogexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter" import ( "bytes" diff --git a/exporter/datadogexporter/traces_exporter.go b/exporter/datadogexporter/traces_exporter.go index 490ff81d15ec..19b0a1a45ae1 100644 --- a/exporter/datadogexporter/traces_exporter.go +++ b/exporter/datadogexporter/traces_exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datadogexporter +package datadogexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter" import ( "context" diff --git a/exporter/datadogexporter/translate_traces.go b/exporter/datadogexporter/translate_traces.go index 7c8475a089c1..743ea53eed97 100644 --- a/exporter/datadogexporter/translate_traces.go +++ b/exporter/datadogexporter/translate_traces.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datadogexporter +package datadogexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter" import ( "encoding/hex" diff --git a/exporter/dynatraceexporter/config/config.go b/exporter/dynatraceexporter/config/config.go index ff23e8ca3df1..9a6c25b5f427 100644 --- a/exporter/dynatraceexporter/config/config.go +++ b/exporter/dynatraceexporter/config/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package config +package config // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/dynatraceexporter/config" import ( "errors" diff --git a/exporter/dynatraceexporter/factory.go b/exporter/dynatraceexporter/factory.go index 9e555d64616e..fdcd9dba0694 100644 --- a/exporter/dynatraceexporter/factory.go +++ b/exporter/dynatraceexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dynatraceexporter +package dynatraceexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/dynatraceexporter" import ( "context" diff --git a/exporter/dynatraceexporter/metrics_exporter.go b/exporter/dynatraceexporter/metrics_exporter.go index b4fcff8f39e6..47abb666c485 100644 --- a/exporter/dynatraceexporter/metrics_exporter.go +++ b/exporter/dynatraceexporter/metrics_exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dynatraceexporter +package dynatraceexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/dynatraceexporter" import ( "bytes" diff --git a/exporter/dynatraceexporter/serialization/gauge.go b/exporter/dynatraceexporter/serialization/gauge.go index a307b2d959ce..a6bf5aae50be 100644 --- a/exporter/dynatraceexporter/serialization/gauge.go +++ b/exporter/dynatraceexporter/serialization/gauge.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package serialization +package serialization // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/dynatraceexporter/serialization" import ( "fmt" diff --git a/exporter/dynatraceexporter/serialization/histogram.go b/exporter/dynatraceexporter/serialization/histogram.go index 69a415030834..62bd429d9352 100644 --- a/exporter/dynatraceexporter/serialization/histogram.go +++ b/exporter/dynatraceexporter/serialization/histogram.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package serialization +package serialization // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/dynatraceexporter/serialization" import ( "errors" diff --git a/exporter/dynatraceexporter/serialization/serialization.go b/exporter/dynatraceexporter/serialization/serialization.go index df473f536daf..3e657eba0321 100644 --- a/exporter/dynatraceexporter/serialization/serialization.go +++ b/exporter/dynatraceexporter/serialization/serialization.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package serialization +package serialization // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/dynatraceexporter/serialization" import ( "fmt" diff --git a/exporter/dynatraceexporter/serialization/sum.go b/exporter/dynatraceexporter/serialization/sum.go index a1983b8457b3..b2a5cbf3ab53 100644 --- a/exporter/dynatraceexporter/serialization/sum.go +++ b/exporter/dynatraceexporter/serialization/sum.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package serialization +package serialization // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/dynatraceexporter/serialization" import ( "fmt" diff --git a/exporter/elasticexporter/config.go b/exporter/elasticexporter/config.go index ba341152a6ce..d51d78aff207 100644 --- a/exporter/elasticexporter/config.go +++ b/exporter/elasticexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package elasticexporter +package elasticexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/elasticexporter" import ( "errors" diff --git a/exporter/elasticexporter/exporter.go b/exporter/elasticexporter/exporter.go index 78bcf2c3d8c8..2c2cee3af4a5 100644 --- a/exporter/elasticexporter/exporter.go +++ b/exporter/elasticexporter/exporter.go @@ -14,7 +14,7 @@ // Package elasticexporter contains an opentelemetry-collector exporter // for Elastic APM. -package elasticexporter +package elasticexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/elasticexporter" import ( "bytes" diff --git a/exporter/elasticexporter/factory.go b/exporter/elasticexporter/factory.go index 059336bccfde..29ff9b40a847 100644 --- a/exporter/elasticexporter/factory.go +++ b/exporter/elasticexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package elasticexporter +package elasticexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/elasticexporter" import ( "context" diff --git a/exporter/elasticexporter/internal/translator/elastic/exceptions.go b/exporter/elasticexporter/internal/translator/elastic/exceptions.go index 202bb7c1085e..a969c1f36fb9 100644 --- a/exporter/elasticexporter/internal/translator/elastic/exceptions.go +++ b/exporter/elasticexporter/internal/translator/elastic/exceptions.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package elastic +package elastic // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/elasticexporter/internal/translator/elastic" import ( "bufio" diff --git a/exporter/elasticexporter/internal/translator/elastic/metadata.go b/exporter/elasticexporter/internal/translator/elastic/metadata.go index 0dd38f47a9c4..f6e220730f77 100644 --- a/exporter/elasticexporter/internal/translator/elastic/metadata.go +++ b/exporter/elasticexporter/internal/translator/elastic/metadata.go @@ -13,7 +13,7 @@ // limitations under the License. // Package elastic contains an OTLP exporter for Elastic APM. -package elastic +package elastic // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/elasticexporter/internal/translator/elastic" import ( "fmt" diff --git a/exporter/elasticexporter/internal/translator/elastic/metrics.go b/exporter/elasticexporter/internal/translator/elastic/metrics.go index 07502a924df1..dddd67c3b86c 100644 --- a/exporter/elasticexporter/internal/translator/elastic/metrics.go +++ b/exporter/elasticexporter/internal/translator/elastic/metrics.go @@ -14,7 +14,7 @@ // Package elastic contains an opentelemetry-collector exporter // for Elastic APM. -package elastic +package elastic // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/elasticexporter/internal/translator/elastic" import ( "sort" diff --git a/exporter/elasticexporter/internal/translator/elastic/traces.go b/exporter/elasticexporter/internal/translator/elastic/traces.go index 336054101720..097000ab2797 100644 --- a/exporter/elasticexporter/internal/translator/elastic/traces.go +++ b/exporter/elasticexporter/internal/translator/elastic/traces.go @@ -14,7 +14,7 @@ // Package elastic contains an opentelemetry-collector exporter // for Elastic APM. -package elastic +package elastic // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/elasticexporter/internal/translator/elastic" import ( "fmt" diff --git a/exporter/elasticexporter/internal/translator/elastic/utils.go b/exporter/elasticexporter/internal/translator/elastic/utils.go index 55f8eda65582..326ffc50e370 100644 --- a/exporter/elasticexporter/internal/translator/elastic/utils.go +++ b/exporter/elasticexporter/internal/translator/elastic/utils.go @@ -14,7 +14,7 @@ // Package elastic contains an opentelemetry-collector exporter // for Elastic APM. -package elastic +package elastic // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/elasticexporter/internal/translator/elastic" import ( "regexp" diff --git a/exporter/elasticsearchexporter/config.go b/exporter/elasticsearchexporter/config.go index ad60223df0d5..47a2c2efa0bf 100644 --- a/exporter/elasticsearchexporter/config.go +++ b/exporter/elasticsearchexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package elasticsearchexporter +package elasticsearchexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/elasticsearchexporter" import ( "errors" diff --git a/exporter/elasticsearchexporter/exporter.go b/exporter/elasticsearchexporter/exporter.go index 8c0826116c08..c6a5bd655a56 100644 --- a/exporter/elasticsearchexporter/exporter.go +++ b/exporter/elasticsearchexporter/exporter.go @@ -14,7 +14,7 @@ // Package elasticsearchexporter contains an opentelemetry-collector exporter // for Elasticsearch. -package elasticsearchexporter +package elasticsearchexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/elasticsearchexporter" import ( "bytes" diff --git a/exporter/elasticsearchexporter/factory.go b/exporter/elasticsearchexporter/factory.go index 42b32b31f018..6d56b3648c9d 100644 --- a/exporter/elasticsearchexporter/factory.go +++ b/exporter/elasticsearchexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package elasticsearchexporter +package elasticsearchexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/elasticsearchexporter" import ( "context" diff --git a/exporter/elasticsearchexporter/internal/objmodel/objmodel.go b/exporter/elasticsearchexporter/internal/objmodel/objmodel.go index 616140084542..2df52484b81b 100644 --- a/exporter/elasticsearchexporter/internal/objmodel/objmodel.go +++ b/exporter/elasticsearchexporter/internal/objmodel/objmodel.go @@ -40,7 +40,7 @@ // Ingest Node is used. But either way, we try to present only well formed // document to Elasticsearch. -package objmodel +package objmodel // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/elasticsearchexporter/internal/objmodel" import ( "io" diff --git a/exporter/elasticsearchexporter/model.go b/exporter/elasticsearchexporter/model.go index 65cfc328eaf5..8c4c752e0683 100644 --- a/exporter/elasticsearchexporter/model.go +++ b/exporter/elasticsearchexporter/model.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package elasticsearchexporter +package elasticsearchexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/elasticsearchexporter" import ( "bytes" diff --git a/exporter/f5cloudexporter/auth.go b/exporter/f5cloudexporter/auth.go index 0e41f907dd4c..b164a20d7cdc 100644 --- a/exporter/f5cloudexporter/auth.go +++ b/exporter/f5cloudexporter/auth.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package f5cloudexporter +package f5cloudexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/f5cloudexporter" import ( "fmt" diff --git a/exporter/f5cloudexporter/config.go b/exporter/f5cloudexporter/config.go index 76bf350ff631..c3afcfd58577 100644 --- a/exporter/f5cloudexporter/config.go +++ b/exporter/f5cloudexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package f5cloudexporter +package f5cloudexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/f5cloudexporter" import ( "fmt" diff --git a/exporter/f5cloudexporter/doc.go b/exporter/f5cloudexporter/doc.go index 2e2ebeb8b4b9..b39633a27cad 100644 --- a/exporter/f5cloudexporter/doc.go +++ b/exporter/f5cloudexporter/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package f5cloudexporter implements an OpenTelemetry Collector exporter that sends trace, metric, and log data to F5 Cloud. -package f5cloudexporter +package f5cloudexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/f5cloudexporter" diff --git a/exporter/f5cloudexporter/factory.go b/exporter/f5cloudexporter/factory.go index e193bb50f5f7..59ae424ec3cd 100644 --- a/exporter/f5cloudexporter/factory.go +++ b/exporter/f5cloudexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package f5cloudexporter +package f5cloudexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/f5cloudexporter" import ( "context" diff --git a/exporter/fileexporter/config.go b/exporter/fileexporter/config.go index 414932719a45..7883652a07ca 100644 --- a/exporter/fileexporter/config.go +++ b/exporter/fileexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package fileexporter +package fileexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/fileexporter" import ( "errors" diff --git a/exporter/fileexporter/doc.go b/exporter/fileexporter/doc.go index 1988008f57fe..266335b905a0 100644 --- a/exporter/fileexporter/doc.go +++ b/exporter/fileexporter/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package fileexporter exports data to files. -package fileexporter +package fileexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/fileexporter" diff --git a/exporter/fileexporter/factory.go b/exporter/fileexporter/factory.go index 217f0d125502..1449a2756ef6 100644 --- a/exporter/fileexporter/factory.go +++ b/exporter/fileexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package fileexporter +package fileexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/fileexporter" import ( "context" diff --git a/exporter/fileexporter/file_exporter.go b/exporter/fileexporter/file_exporter.go index 77900bf5b9cf..b6b7f9e4ed70 100644 --- a/exporter/fileexporter/file_exporter.go +++ b/exporter/fileexporter/file_exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package fileexporter +package fileexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/fileexporter" import ( "context" diff --git a/exporter/googlecloudexporter/config.go b/exporter/googlecloudexporter/config.go index dcae7dbfc732..fcd963275423 100644 --- a/exporter/googlecloudexporter/config.go +++ b/exporter/googlecloudexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package googlecloudexporter +package googlecloudexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/googlecloudexporter" import ( "go.opentelemetry.io/collector/config" diff --git a/exporter/googlecloudexporter/factory.go b/exporter/googlecloudexporter/factory.go index c84d95c137e1..d0ce31a40d9b 100644 --- a/exporter/googlecloudexporter/factory.go +++ b/exporter/googlecloudexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package googlecloudexporter +package googlecloudexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/googlecloudexporter" import ( "context" diff --git a/exporter/googlecloudexporter/googlecloud.go b/exporter/googlecloudexporter/googlecloud.go index c4565679d363..34cffd927099 100644 --- a/exporter/googlecloudexporter/googlecloud.go +++ b/exporter/googlecloudexporter/googlecloud.go @@ -14,7 +14,7 @@ // Package googlecloudexporter contains the wrapper for OpenTelemetry-GoogleCloud // exporter to be used in opentelemetry-collector. -package googlecloudexporter +package googlecloudexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/googlecloudexporter" import ( "context" diff --git a/exporter/googlecloudexporter/observability.go b/exporter/googlecloudexporter/observability.go index 0191232ae178..808ee88c3d12 100644 --- a/exporter/googlecloudexporter/observability.go +++ b/exporter/googlecloudexporter/observability.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package googlecloudexporter +package googlecloudexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/googlecloudexporter" import ( "context" diff --git a/exporter/googlecloudexporter/resource_mapper.go b/exporter/googlecloudexporter/resource_mapper.go index 4fa56ecd8e23..8f5fd1291d7c 100644 --- a/exporter/googlecloudexporter/resource_mapper.go +++ b/exporter/googlecloudexporter/resource_mapper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package googlecloudexporter +package googlecloudexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/googlecloudexporter" import ( "contrib.go.opencensus.io/exporter/stackdriver" diff --git a/exporter/googlecloudexporter/spandata.go b/exporter/googlecloudexporter/spandata.go index a8107ff77324..66d434289d3e 100644 --- a/exporter/googlecloudexporter/spandata.go +++ b/exporter/googlecloudexporter/spandata.go @@ -13,7 +13,7 @@ // limitations under the License. // Package spandata defines translators from Trace proto spans to OpenCensus Go spanData. -package googlecloudexporter +package googlecloudexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/googlecloudexporter" import ( "context" diff --git a/exporter/googlecloudexporter/spansnapshot.go b/exporter/googlecloudexporter/spansnapshot.go index b14a8e786e7b..88220e9f9566 100644 --- a/exporter/googlecloudexporter/spansnapshot.go +++ b/exporter/googlecloudexporter/spansnapshot.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package googlecloudexporter +package googlecloudexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/googlecloudexporter" import ( "time" diff --git a/exporter/googlecloudpubsubexporter/config.go b/exporter/googlecloudpubsubexporter/config.go index 4b84d2883169..d820133cbf7f 100644 --- a/exporter/googlecloudpubsubexporter/config.go +++ b/exporter/googlecloudpubsubexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package googlecloudpubsubexporter +package googlecloudpubsubexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/googlecloudpubsubexporter" import ( "fmt" diff --git a/exporter/googlecloudpubsubexporter/exporter.go b/exporter/googlecloudpubsubexporter/exporter.go index 1d3b315ab237..f65b398c39d4 100644 --- a/exporter/googlecloudpubsubexporter/exporter.go +++ b/exporter/googlecloudpubsubexporter/exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package googlecloudpubsubexporter +package googlecloudpubsubexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/googlecloudpubsubexporter" import ( "context" diff --git a/exporter/googlecloudpubsubexporter/factory.go b/exporter/googlecloudpubsubexporter/factory.go index cc9ac3fb1688..f89cf88b4a0f 100644 --- a/exporter/googlecloudpubsubexporter/factory.go +++ b/exporter/googlecloudpubsubexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package googlecloudpubsubexporter +package googlecloudpubsubexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/googlecloudpubsubexporter" import ( "context" diff --git a/exporter/honeycombexporter/config.go b/exporter/honeycombexporter/config.go index acaaa9664d25..d5450509c9b7 100644 --- a/exporter/honeycombexporter/config.go +++ b/exporter/honeycombexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package honeycombexporter +package honeycombexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/honeycombexporter" import ( "go.opentelemetry.io/collector/config" diff --git a/exporter/honeycombexporter/factory.go b/exporter/honeycombexporter/factory.go index 29aa1f8e3f4a..0c35279ce705 100644 --- a/exporter/honeycombexporter/factory.go +++ b/exporter/honeycombexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package honeycombexporter +package honeycombexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/honeycombexporter" import ( "context" diff --git a/exporter/honeycombexporter/honeycomb.go b/exporter/honeycombexporter/honeycomb.go index 14bcbd79e419..4f14b478aea3 100644 --- a/exporter/honeycombexporter/honeycomb.go +++ b/exporter/honeycombexporter/honeycomb.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package honeycombexporter +package honeycombexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/honeycombexporter" import ( "context" diff --git a/exporter/honeycombexporter/ids.go b/exporter/honeycombexporter/ids.go index 54dff526ef4b..f291b49d78a0 100644 --- a/exporter/honeycombexporter/ids.go +++ b/exporter/honeycombexporter/ids.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package honeycombexporter +package honeycombexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/honeycombexporter" import ( "encoding/binary" diff --git a/exporter/honeycombexporter/translator.go b/exporter/honeycombexporter/translator.go index 7fc3efcc37cc..f96bd567e714 100644 --- a/exporter/honeycombexporter/translator.go +++ b/exporter/honeycombexporter/translator.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package honeycombexporter +package honeycombexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/honeycombexporter" import ( "time" diff --git a/exporter/humioexporter/config.go b/exporter/humioexporter/config.go index 4553fc54c1da..51502f73fca2 100644 --- a/exporter/humioexporter/config.go +++ b/exporter/humioexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package humioexporter +package humioexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/humioexporter" import ( "errors" diff --git a/exporter/humioexporter/factory.go b/exporter/humioexporter/factory.go index b8475301e089..a5c47393dd40 100644 --- a/exporter/humioexporter/factory.go +++ b/exporter/humioexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package humioexporter +package humioexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/humioexporter" import ( "context" diff --git a/exporter/humioexporter/humio_client.go b/exporter/humioexporter/humio_client.go index 3d9265e122bd..eafef63446ba 100644 --- a/exporter/humioexporter/humio_client.go +++ b/exporter/humioexporter/humio_client.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package humioexporter +package humioexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/humioexporter" import ( "bytes" diff --git a/exporter/humioexporter/tag_strategy.go b/exporter/humioexporter/tag_strategy.go index c6fb06db9601..1c2cccfbf60f 100644 --- a/exporter/humioexporter/tag_strategy.go +++ b/exporter/humioexporter/tag_strategy.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package humioexporter +package humioexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/humioexporter" // Definition of tagging strategies type tag string diff --git a/exporter/humioexporter/traces_exporter.go b/exporter/humioexporter/traces_exporter.go index 4297cd948094..eafea2f92a9c 100644 --- a/exporter/humioexporter/traces_exporter.go +++ b/exporter/humioexporter/traces_exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package humioexporter +package humioexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/humioexporter" import ( "context" diff --git a/exporter/influxdbexporter/config.go b/exporter/influxdbexporter/config.go index bc1a583e6863..45ce53d6453c 100644 --- a/exporter/influxdbexporter/config.go +++ b/exporter/influxdbexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package influxdbexporter +package influxdbexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/influxdbexporter" import ( "go.opentelemetry.io/collector/config" diff --git a/exporter/influxdbexporter/exporter.go b/exporter/influxdbexporter/exporter.go index 231d3af7d3c2..90b1ad36b792 100644 --- a/exporter/influxdbexporter/exporter.go +++ b/exporter/influxdbexporter/exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package influxdbexporter +package influxdbexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/influxdbexporter" import ( "context" diff --git a/exporter/influxdbexporter/factory.go b/exporter/influxdbexporter/factory.go index 1aefbb4d0c13..1eae72f093b7 100644 --- a/exporter/influxdbexporter/factory.go +++ b/exporter/influxdbexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package influxdbexporter +package influxdbexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/influxdbexporter" import ( "context" diff --git a/exporter/influxdbexporter/logger.go b/exporter/influxdbexporter/logger.go index 9c24effe6e86..1877e484b2e1 100644 --- a/exporter/influxdbexporter/logger.go +++ b/exporter/influxdbexporter/logger.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package influxdbexporter +package influxdbexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/influxdbexporter" import ( "github.com/influxdata/influxdb-observability/common" diff --git a/exporter/influxdbexporter/writer.go b/exporter/influxdbexporter/writer.go index 109f7fe5f211..a3ea38f72bb1 100644 --- a/exporter/influxdbexporter/writer.go +++ b/exporter/influxdbexporter/writer.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package influxdbexporter +package influxdbexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/influxdbexporter" import ( "bytes" diff --git a/exporter/jaegerexporter/config.go b/exporter/jaegerexporter/config.go index 91cb7aed7a9c..ef25f8696db0 100644 --- a/exporter/jaegerexporter/config.go +++ b/exporter/jaegerexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package jaegerexporter +package jaegerexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/jaegerexporter" import ( "go.opentelemetry.io/collector/config" diff --git a/exporter/jaegerexporter/doc.go b/exporter/jaegerexporter/doc.go index aafcbf18c891..796916e624d3 100644 --- a/exporter/jaegerexporter/doc.go +++ b/exporter/jaegerexporter/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package jaegerexporter sends trace data to a Jaeger Collector gRPC endpoint. -package jaegerexporter +package jaegerexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/jaegerexporter" diff --git a/exporter/jaegerexporter/exporter.go b/exporter/jaegerexporter/exporter.go index a9ece7167668..03f49a45d4a0 100644 --- a/exporter/jaegerexporter/exporter.go +++ b/exporter/jaegerexporter/exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package jaegerexporter +package jaegerexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/jaegerexporter" import ( "context" diff --git a/exporter/jaegerexporter/factory.go b/exporter/jaegerexporter/factory.go index 54f91f3fc3d7..19bc8190ae18 100644 --- a/exporter/jaegerexporter/factory.go +++ b/exporter/jaegerexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package jaegerexporter +package jaegerexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/jaegerexporter" import ( "context" diff --git a/exporter/jaegerexporter/metrics.go b/exporter/jaegerexporter/metrics.go index c351ee2d92fb..cddd451d7ed5 100644 --- a/exporter/jaegerexporter/metrics.go +++ b/exporter/jaegerexporter/metrics.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package jaegerexporter +package jaegerexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/jaegerexporter" import ( "go.opencensus.io/stats" diff --git a/exporter/jaegerthrifthttpexporter/config.go b/exporter/jaegerthrifthttpexporter/config.go index 3ab1973df6a7..4f58c64e9bc3 100644 --- a/exporter/jaegerthrifthttpexporter/config.go +++ b/exporter/jaegerthrifthttpexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package jaegerthrifthttpexporter +package jaegerthrifthttpexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/jaegerthrifthttpexporter" import ( "go.opentelemetry.io/collector/config" diff --git a/exporter/jaegerthrifthttpexporter/doc.go b/exporter/jaegerthrifthttpexporter/doc.go index a4c518ab5dad..acd21b7ea3b7 100644 --- a/exporter/jaegerthrifthttpexporter/doc.go +++ b/exporter/jaegerthrifthttpexporter/doc.go @@ -14,4 +14,4 @@ // Package jaegerthrifthttpexporter implements an exporter that sends trace data // to a Jaeger collector Thrift over HTTP endpoint. -package jaegerthrifthttpexporter +package jaegerthrifthttpexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/jaegerthrifthttpexporter" diff --git a/exporter/jaegerthrifthttpexporter/exporter.go b/exporter/jaegerthrifthttpexporter/exporter.go index 448eb87c3736..7ab3c8c3b3e2 100644 --- a/exporter/jaegerthrifthttpexporter/exporter.go +++ b/exporter/jaegerthrifthttpexporter/exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package jaegerthrifthttpexporter +package jaegerthrifthttpexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/jaegerthrifthttpexporter" import ( "bytes" diff --git a/exporter/jaegerthrifthttpexporter/factory.go b/exporter/jaegerthrifthttpexporter/factory.go index 6b6a05cfe4e2..4ea7139e695e 100644 --- a/exporter/jaegerthrifthttpexporter/factory.go +++ b/exporter/jaegerthrifthttpexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package jaegerthrifthttpexporter +package jaegerthrifthttpexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/jaegerthrifthttpexporter" import ( "context" diff --git a/exporter/kafkaexporter/authentication.go b/exporter/kafkaexporter/authentication.go index 6c8ee442da6b..8d515d8760e1 100644 --- a/exporter/kafkaexporter/authentication.go +++ b/exporter/kafkaexporter/authentication.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kafkaexporter +package kafkaexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kafkaexporter" import ( "crypto/sha256" diff --git a/exporter/kafkaexporter/config.go b/exporter/kafkaexporter/config.go index 48fcc0a3ccf2..ed544c460701 100644 --- a/exporter/kafkaexporter/config.go +++ b/exporter/kafkaexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kafkaexporter +package kafkaexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kafkaexporter" import ( "time" diff --git a/exporter/kafkaexporter/doc.go b/exporter/kafkaexporter/doc.go index d41ea08fb372..e9232027c229 100644 --- a/exporter/kafkaexporter/doc.go +++ b/exporter/kafkaexporter/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package kafkaexporter exports trace data to Kafka. -package kafkaexporter +package kafkaexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kafkaexporter" diff --git a/exporter/kafkaexporter/factory.go b/exporter/kafkaexporter/factory.go index d8b17d0e8347..4d400d4ca637 100644 --- a/exporter/kafkaexporter/factory.go +++ b/exporter/kafkaexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kafkaexporter +package kafkaexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kafkaexporter" import ( "context" diff --git a/exporter/kafkaexporter/internal/awsmsk/doc.go b/exporter/kafkaexporter/internal/awsmsk/doc.go index 134c95956611..459fd9c1900e 100644 --- a/exporter/kafkaexporter/internal/awsmsk/doc.go +++ b/exporter/kafkaexporter/internal/awsmsk/doc.go @@ -17,4 +17,4 @@ // // Further details on how the SASL connector works can be viewed here: // https://github.com/aws/aws-msk-iam-auth#details -package awsmsk +package awsmsk // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kafkaexporter/internal/awsmsk" diff --git a/exporter/kafkaexporter/internal/awsmsk/iam_scram_client.go b/exporter/kafkaexporter/internal/awsmsk/iam_scram_client.go index 05d885ce9def..1b224bc2f427 100644 --- a/exporter/kafkaexporter/internal/awsmsk/iam_scram_client.go +++ b/exporter/kafkaexporter/internal/awsmsk/iam_scram_client.go @@ -11,7 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -package awsmsk +package awsmsk // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kafkaexporter/internal/awsmsk" import ( "encoding/json" diff --git a/exporter/kafkaexporter/jaeger_marshaler.go b/exporter/kafkaexporter/jaeger_marshaler.go index a3de213a9b10..5a5de6a1b9f6 100644 --- a/exporter/kafkaexporter/jaeger_marshaler.go +++ b/exporter/kafkaexporter/jaeger_marshaler.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kafkaexporter +package kafkaexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kafkaexporter" import ( "bytes" diff --git a/exporter/kafkaexporter/kafka_exporter.go b/exporter/kafkaexporter/kafka_exporter.go index 5248d624d19e..153241ed5d51 100644 --- a/exporter/kafkaexporter/kafka_exporter.go +++ b/exporter/kafkaexporter/kafka_exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kafkaexporter +package kafkaexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kafkaexporter" import ( "context" diff --git a/exporter/kafkaexporter/marshaler.go b/exporter/kafkaexporter/marshaler.go index 2aa392bbab03..d9e7eb8a9b1f 100644 --- a/exporter/kafkaexporter/marshaler.go +++ b/exporter/kafkaexporter/marshaler.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kafkaexporter +package kafkaexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kafkaexporter" import ( "github.com/Shopify/sarama" diff --git a/exporter/kafkaexporter/pdata_marshaler.go b/exporter/kafkaexporter/pdata_marshaler.go index 199fa0906200..a1f24e8a2500 100644 --- a/exporter/kafkaexporter/pdata_marshaler.go +++ b/exporter/kafkaexporter/pdata_marshaler.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kafkaexporter +package kafkaexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kafkaexporter" import ( "github.com/Shopify/sarama" diff --git a/exporter/kafkaexporter/scram_client.go b/exporter/kafkaexporter/scram_client.go index a8ad4cebacc0..d4e86eaca412 100644 --- a/exporter/kafkaexporter/scram_client.go +++ b/exporter/kafkaexporter/scram_client.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kafkaexporter +package kafkaexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kafkaexporter" import ( "github.com/Shopify/sarama" diff --git a/exporter/loadbalancingexporter/config.go b/exporter/loadbalancingexporter/config.go index 5b3e2d2df7cd..62e6e088132f 100644 --- a/exporter/loadbalancingexporter/config.go +++ b/exporter/loadbalancingexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package loadbalancingexporter +package loadbalancingexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/loadbalancingexporter" import ( "go.opentelemetry.io/collector/config" diff --git a/exporter/loadbalancingexporter/consistent_hashing.go b/exporter/loadbalancingexporter/consistent_hashing.go index 56efbfef3616..4eb7c797f300 100644 --- a/exporter/loadbalancingexporter/consistent_hashing.go +++ b/exporter/loadbalancingexporter/consistent_hashing.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package loadbalancingexporter +package loadbalancingexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/loadbalancingexporter" import ( "hash/crc32" diff --git a/exporter/loadbalancingexporter/factory.go b/exporter/loadbalancingexporter/factory.go index 1bb2128695e0..dcf27a21e124 100644 --- a/exporter/loadbalancingexporter/factory.go +++ b/exporter/loadbalancingexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package loadbalancingexporter +package loadbalancingexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/loadbalancingexporter" import ( "context" diff --git a/exporter/loadbalancingexporter/loadbalancer.go b/exporter/loadbalancingexporter/loadbalancer.go index 8df8c6b4a4bd..a34bc4ee0138 100644 --- a/exporter/loadbalancingexporter/loadbalancer.go +++ b/exporter/loadbalancingexporter/loadbalancer.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package loadbalancingexporter +package loadbalancingexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/loadbalancingexporter" import ( "context" diff --git a/exporter/loadbalancingexporter/log_exporter.go b/exporter/loadbalancingexporter/log_exporter.go index 4c6b61291998..0d31e69f90c4 100644 --- a/exporter/loadbalancingexporter/log_exporter.go +++ b/exporter/loadbalancingexporter/log_exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package loadbalancingexporter +package loadbalancingexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/loadbalancingexporter" import ( "context" diff --git a/exporter/loadbalancingexporter/metrics.go b/exporter/loadbalancingexporter/metrics.go index d32b0af5c760..f79e82911812 100644 --- a/exporter/loadbalancingexporter/metrics.go +++ b/exporter/loadbalancingexporter/metrics.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package loadbalancingexporter +package loadbalancingexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/loadbalancingexporter" import ( "go.opencensus.io/stats" diff --git a/exporter/loadbalancingexporter/resolver.go b/exporter/loadbalancingexporter/resolver.go index 6d93fb3a6960..8f82d33ce006 100644 --- a/exporter/loadbalancingexporter/resolver.go +++ b/exporter/loadbalancingexporter/resolver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package loadbalancingexporter +package loadbalancingexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/loadbalancingexporter" import "context" diff --git a/exporter/loadbalancingexporter/resolver_dns.go b/exporter/loadbalancingexporter/resolver_dns.go index 151f547ccdc7..ad40f09aa32c 100644 --- a/exporter/loadbalancingexporter/resolver_dns.go +++ b/exporter/loadbalancingexporter/resolver_dns.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package loadbalancingexporter +package loadbalancingexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/loadbalancingexporter" import ( "context" diff --git a/exporter/loadbalancingexporter/resolver_static.go b/exporter/loadbalancingexporter/resolver_static.go index e393f54cc156..4fc8d1fc71a7 100644 --- a/exporter/loadbalancingexporter/resolver_static.go +++ b/exporter/loadbalancingexporter/resolver_static.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package loadbalancingexporter +package loadbalancingexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/loadbalancingexporter" import ( "context" diff --git a/exporter/loadbalancingexporter/trace_exporter.go b/exporter/loadbalancingexporter/trace_exporter.go index 271b17e90df4..fbe9ab1f2f3b 100644 --- a/exporter/loadbalancingexporter/trace_exporter.go +++ b/exporter/loadbalancingexporter/trace_exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package loadbalancingexporter +package loadbalancingexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/loadbalancingexporter" import ( "context" diff --git a/exporter/logzioexporter/config.go b/exporter/logzioexporter/config.go index d180e156b6ec..02724734b918 100644 --- a/exporter/logzioexporter/config.go +++ b/exporter/logzioexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package logzioexporter +package logzioexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/logzioexporter" import ( "errors" diff --git a/exporter/logzioexporter/exporter.go b/exporter/logzioexporter/exporter.go index a9f89be7824d..9154b3d738ba 100644 --- a/exporter/logzioexporter/exporter.go +++ b/exporter/logzioexporter/exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package logzioexporter +package logzioexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/logzioexporter" import ( "context" diff --git a/exporter/logzioexporter/factory.go b/exporter/logzioexporter/factory.go index 4c66c53ace93..86da3ff9282f 100644 --- a/exporter/logzioexporter/factory.go +++ b/exporter/logzioexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package logzioexporter +package logzioexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/logzioexporter" import ( "context" diff --git a/exporter/logzioexporter/logger.go b/exporter/logzioexporter/logger.go index d343aa0543fe..7a70e9f21770 100644 --- a/exporter/logzioexporter/logger.go +++ b/exporter/logzioexporter/logger.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package logzioexporter +package logzioexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/logzioexporter" import ( "fmt" diff --git a/exporter/lokiexporter/config.go b/exporter/lokiexporter/config.go index 555df8ba682c..9be4c7df3e71 100644 --- a/exporter/lokiexporter/config.go +++ b/exporter/lokiexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package lokiexporter +package lokiexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/lokiexporter" import ( "fmt" diff --git a/exporter/lokiexporter/doc.go b/exporter/lokiexporter/doc.go index 1128811dba90..78e340f52824 100644 --- a/exporter/lokiexporter/doc.go +++ b/exporter/lokiexporter/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package lokiexporter implements an exporter that sends log data to Loki. -package lokiexporter +package lokiexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/lokiexporter" diff --git a/exporter/lokiexporter/exporter.go b/exporter/lokiexporter/exporter.go index 9f880c347e1e..37bcbfff69f4 100644 --- a/exporter/lokiexporter/exporter.go +++ b/exporter/lokiexporter/exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package lokiexporter +package lokiexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/lokiexporter" import ( "bytes" diff --git a/exporter/lokiexporter/factory.go b/exporter/lokiexporter/factory.go index 60991f9d2411..4ecb536381a3 100644 --- a/exporter/lokiexporter/factory.go +++ b/exporter/lokiexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package lokiexporter +package lokiexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/lokiexporter" import ( "context" diff --git a/exporter/lokiexporter/internal/third_party/loki/logproto/extensions.go b/exporter/lokiexporter/internal/third_party/loki/logproto/extensions.go index 3a68d2614893..b18097283737 100644 --- a/exporter/lokiexporter/internal/third_party/loki/logproto/extensions.go +++ b/exporter/lokiexporter/internal/third_party/loki/logproto/extensions.go @@ -1,4 +1,4 @@ -package logproto +package logproto // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/lokiexporter/internal/third_party/loki/logproto" import "github.com/prometheus/prometheus/pkg/labels" diff --git a/exporter/lokiexporter/internal/third_party/loki/logproto/timestamp.go b/exporter/lokiexporter/internal/third_party/loki/logproto/timestamp.go index f2fb323f91da..03145f449860 100644 --- a/exporter/lokiexporter/internal/third_party/loki/logproto/timestamp.go +++ b/exporter/lokiexporter/internal/third_party/loki/logproto/timestamp.go @@ -1,4 +1,4 @@ -package logproto +package logproto // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/lokiexporter/internal/third_party/loki/logproto" import ( "errors" diff --git a/exporter/lokiexporter/internal/third_party/loki/logproto/types.go b/exporter/lokiexporter/internal/third_party/loki/logproto/types.go index fbca7e70a94c..e9c85603598a 100644 --- a/exporter/lokiexporter/internal/third_party/loki/logproto/types.go +++ b/exporter/lokiexporter/internal/third_party/loki/logproto/types.go @@ -1,4 +1,4 @@ -package logproto +package logproto // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/lokiexporter/internal/third_party/loki/logproto" import ( "fmt" diff --git a/exporter/newrelicexporter/config.go b/exporter/newrelicexporter/config.go index 126e45b865b8..7ec1e9fb3c3d 100644 --- a/exporter/newrelicexporter/config.go +++ b/exporter/newrelicexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package newrelicexporter +package newrelicexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/newrelicexporter" import ( "go.opentelemetry.io/collector/config" diff --git a/exporter/newrelicexporter/errors.go b/exporter/newrelicexporter/errors.go index 4fca55401b53..1e92f02c293a 100644 --- a/exporter/newrelicexporter/errors.go +++ b/exporter/newrelicexporter/errors.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package newrelicexporter +package newrelicexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/newrelicexporter" import ( "fmt" diff --git a/exporter/newrelicexporter/factory.go b/exporter/newrelicexporter/factory.go index 2aa1263f4087..6d5ee85aa0b2 100644 --- a/exporter/newrelicexporter/factory.go +++ b/exporter/newrelicexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package newrelicexporter +package newrelicexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/newrelicexporter" import ( "context" diff --git a/exporter/newrelicexporter/metrics.go b/exporter/newrelicexporter/metrics.go index 751cfcc6b071..7be767080a5a 100644 --- a/exporter/newrelicexporter/metrics.go +++ b/exporter/newrelicexporter/metrics.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package newrelicexporter +package newrelicexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/newrelicexporter" import ( "context" diff --git a/exporter/newrelicexporter/newrelic.go b/exporter/newrelicexporter/newrelic.go index 87cd41b3bfba..abcb0ec651cc 100644 --- a/exporter/newrelicexporter/newrelic.go +++ b/exporter/newrelicexporter/newrelic.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package newrelicexporter +package newrelicexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/newrelicexporter" import ( "context" diff --git a/exporter/newrelicexporter/transformer.go b/exporter/newrelicexporter/transformer.go index 8d3ac702101a..5c85cc01ea5b 100644 --- a/exporter/newrelicexporter/transformer.go +++ b/exporter/newrelicexporter/transformer.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package newrelicexporter +package newrelicexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/newrelicexporter" import ( "errors" diff --git a/exporter/observiqexporter/client.go b/exporter/observiqexporter/client.go index 416f97f4c4d6..0570be19bfef 100644 --- a/exporter/observiqexporter/client.go +++ b/exporter/observiqexporter/client.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package observiqexporter +package observiqexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/observiqexporter" import ( "bytes" diff --git a/exporter/observiqexporter/config.go b/exporter/observiqexporter/config.go index 655c773e35ba..aeb6bb2a9124 100644 --- a/exporter/observiqexporter/config.go +++ b/exporter/observiqexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package observiqexporter +package observiqexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/observiqexporter" import ( "errors" diff --git a/exporter/observiqexporter/converter.go b/exporter/observiqexporter/converter.go index c624b3043818..5d236ef24a9d 100644 --- a/exporter/observiqexporter/converter.go +++ b/exporter/observiqexporter/converter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package observiqexporter +package observiqexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/observiqexporter" import ( "encoding/hex" diff --git a/exporter/observiqexporter/exporter.go b/exporter/observiqexporter/exporter.go index 4ad728566572..fc253d557db1 100644 --- a/exporter/observiqexporter/exporter.go +++ b/exporter/observiqexporter/exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package observiqexporter +package observiqexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/observiqexporter" import ( "errors" diff --git a/exporter/observiqexporter/factory.go b/exporter/observiqexporter/factory.go index 74c7cce7b5e1..a0ee3f35b29f 100644 --- a/exporter/observiqexporter/factory.go +++ b/exporter/observiqexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package observiqexporter +package observiqexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/observiqexporter" import ( "context" diff --git a/exporter/observiqexporter/time.go b/exporter/observiqexporter/time.go index 79ed537ebd70..df1966ce5eca 100644 --- a/exporter/observiqexporter/time.go +++ b/exporter/observiqexporter/time.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package observiqexporter +package observiqexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/observiqexporter" import "time" diff --git a/exporter/opencensusexporter/config.go b/exporter/opencensusexporter/config.go index 5db39cafdfae..c91747632b00 100644 --- a/exporter/opencensusexporter/config.go +++ b/exporter/opencensusexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package opencensusexporter +package opencensusexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/opencensusexporter" import ( "go.opentelemetry.io/collector/config" diff --git a/exporter/opencensusexporter/doc.go b/exporter/opencensusexporter/doc.go index 13cb23b5bb8a..40f3e6d8c7fb 100644 --- a/exporter/opencensusexporter/doc.go +++ b/exporter/opencensusexporter/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package opencensusexporter exports data to an OpenCensus agent. -package opencensusexporter +package opencensusexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/opencensusexporter" diff --git a/exporter/opencensusexporter/factory.go b/exporter/opencensusexporter/factory.go index 6936b07346dd..1f7cbb83d298 100644 --- a/exporter/opencensusexporter/factory.go +++ b/exporter/opencensusexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package opencensusexporter +package opencensusexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/opencensusexporter" import ( "context" diff --git a/exporter/opencensusexporter/opencensus.go b/exporter/opencensusexporter/opencensus.go index 27df11173c2a..5a33250777d2 100644 --- a/exporter/opencensusexporter/opencensus.go +++ b/exporter/opencensusexporter/opencensus.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package opencensusexporter +package opencensusexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/opencensusexporter" import ( "context" diff --git a/exporter/prometheusexporter/accumulator.go b/exporter/prometheusexporter/accumulator.go index 1f6bf5f73128..bcc380503811 100644 --- a/exporter/prometheusexporter/accumulator.go +++ b/exporter/prometheusexporter/accumulator.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package prometheusexporter +package prometheusexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusexporter" import ( "fmt" diff --git a/exporter/prometheusexporter/collector.go b/exporter/prometheusexporter/collector.go index e461b6ba2fc1..325ee68b72f7 100644 --- a/exporter/prometheusexporter/collector.go +++ b/exporter/prometheusexporter/collector.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package prometheusexporter +package prometheusexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusexporter" import ( "fmt" diff --git a/exporter/prometheusexporter/config.go b/exporter/prometheusexporter/config.go index e17c171c03e1..23665c7d7126 100644 --- a/exporter/prometheusexporter/config.go +++ b/exporter/prometheusexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package prometheusexporter +package prometheusexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusexporter" import ( "time" diff --git a/exporter/prometheusexporter/doc.go b/exporter/prometheusexporter/doc.go index d193c39fea49..8a4a2967077c 100644 --- a/exporter/prometheusexporter/doc.go +++ b/exporter/prometheusexporter/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package prometheusexporter exports metrics data as a Prometheus pull handler. -package prometheusexporter +package prometheusexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusexporter" diff --git a/exporter/prometheusexporter/factory.go b/exporter/prometheusexporter/factory.go index 3d6d7dffa4ca..3638772b94c2 100644 --- a/exporter/prometheusexporter/factory.go +++ b/exporter/prometheusexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package prometheusexporter +package prometheusexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusexporter" import ( "context" diff --git a/exporter/prometheusexporter/prometheus.go b/exporter/prometheusexporter/prometheus.go index cf8a65d018a2..84bdf2411f23 100644 --- a/exporter/prometheusexporter/prometheus.go +++ b/exporter/prometheusexporter/prometheus.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package prometheusexporter +package prometheusexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusexporter" import ( "context" diff --git a/exporter/prometheusexporter/sanitize.go b/exporter/prometheusexporter/sanitize.go index 6c40858065c5..3938c23d9df2 100644 --- a/exporter/prometheusexporter/sanitize.go +++ b/exporter/prometheusexporter/sanitize.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package prometheusexporter +package prometheusexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusexporter" import ( "strings" diff --git a/exporter/prometheusremotewriteexporter/config.go b/exporter/prometheusremotewriteexporter/config.go index a5b5ec258e24..39a9aebd4e79 100644 --- a/exporter/prometheusremotewriteexporter/config.go +++ b/exporter/prometheusremotewriteexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package prometheusremotewriteexporter +package prometheusremotewriteexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusremotewriteexporter" import ( "fmt" diff --git a/exporter/prometheusremotewriteexporter/doc.go b/exporter/prometheusremotewriteexporter/doc.go index fc02fadc5c14..d42f5cfa6fc1 100644 --- a/exporter/prometheusremotewriteexporter/doc.go +++ b/exporter/prometheusremotewriteexporter/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package prometheusremotewriteexporter sends metrics data to Prometheus Remote Write (PRW) endpoints. -package prometheusremotewriteexporter +package prometheusremotewriteexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusremotewriteexporter" diff --git a/exporter/prometheusremotewriteexporter/exporter.go b/exporter/prometheusremotewriteexporter/exporter.go index 8ec57bf91f24..fc0cb8ba029f 100644 --- a/exporter/prometheusremotewriteexporter/exporter.go +++ b/exporter/prometheusremotewriteexporter/exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package prometheusremotewriteexporter +package prometheusremotewriteexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusremotewriteexporter" import ( "bytes" diff --git a/exporter/prometheusremotewriteexporter/factory.go b/exporter/prometheusremotewriteexporter/factory.go index 1127904bfdb1..248df3c98717 100644 --- a/exporter/prometheusremotewriteexporter/factory.go +++ b/exporter/prometheusremotewriteexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package prometheusremotewriteexporter +package prometheusremotewriteexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusremotewriteexporter" import ( "context" diff --git a/exporter/prometheusremotewriteexporter/helper.go b/exporter/prometheusremotewriteexporter/helper.go index 000f4624ac9b..59166e2dd047 100644 --- a/exporter/prometheusremotewriteexporter/helper.go +++ b/exporter/prometheusremotewriteexporter/helper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package prometheusremotewriteexporter +package prometheusremotewriteexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusremotewriteexporter" import ( "errors" diff --git a/exporter/prometheusremotewriteexporter/wal.go b/exporter/prometheusremotewriteexporter/wal.go index 5b52b3f12504..ad34f02714fb 100644 --- a/exporter/prometheusremotewriteexporter/wal.go +++ b/exporter/prometheusremotewriteexporter/wal.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package prometheusremotewriteexporter +package prometheusremotewriteexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusremotewriteexporter" import ( "context" diff --git a/exporter/sapmexporter/config.go b/exporter/sapmexporter/config.go index 941657c75b39..7e2ff9f75710 100644 --- a/exporter/sapmexporter/config.go +++ b/exporter/sapmexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sapmexporter +package sapmexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sapmexporter" import ( "errors" diff --git a/exporter/sapmexporter/exporter.go b/exporter/sapmexporter/exporter.go index 4f3de6bba0aa..09168ca269e4 100644 --- a/exporter/sapmexporter/exporter.go +++ b/exporter/sapmexporter/exporter.go @@ -13,7 +13,7 @@ // limitations under the License. // Package sapmexporter exports trace data using Splunk's SAPM protocol. -package sapmexporter +package sapmexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sapmexporter" import ( "context" diff --git a/exporter/sapmexporter/factory.go b/exporter/sapmexporter/factory.go index 8304f35132cb..c40455016abe 100644 --- a/exporter/sapmexporter/factory.go +++ b/exporter/sapmexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sapmexporter +package sapmexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sapmexporter" import ( "context" diff --git a/exporter/sentryexporter/config.go b/exporter/sentryexporter/config.go index 4ef1ddfc6d38..3bbcf02e9bf8 100644 --- a/exporter/sentryexporter/config.go +++ b/exporter/sentryexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sentryexporter +package sentryexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter" import "go.opentelemetry.io/collector/config" diff --git a/exporter/sentryexporter/factory.go b/exporter/sentryexporter/factory.go index 2a634b604eeb..7e782fdee006 100644 --- a/exporter/sentryexporter/factory.go +++ b/exporter/sentryexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sentryexporter +package sentryexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter" import ( "context" diff --git a/exporter/sentryexporter/sentry_exporter.go b/exporter/sentryexporter/sentry_exporter.go index 4e0ffed40b18..43cde37bec01 100644 --- a/exporter/sentryexporter/sentry_exporter.go +++ b/exporter/sentryexporter/sentry_exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sentryexporter +package sentryexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter" import ( "context" diff --git a/exporter/sentryexporter/transport.go b/exporter/sentryexporter/transport.go index 88bdd1ed6642..26b9d79f8d32 100644 --- a/exporter/sentryexporter/transport.go +++ b/exporter/sentryexporter/transport.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sentryexporter +package sentryexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter" import ( "context" diff --git a/exporter/sentryexporter/utils.go b/exporter/sentryexporter/utils.go index fe3c2505bc89..100f882beeee 100644 --- a/exporter/sentryexporter/utils.go +++ b/exporter/sentryexporter/utils.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sentryexporter +package sentryexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter" import ( "time" diff --git a/exporter/signalfxexporter/config.go b/exporter/signalfxexporter/config.go index 043863b0eb46..08e982eeae35 100644 --- a/exporter/signalfxexporter/config.go +++ b/exporter/signalfxexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package signalfxexporter +package signalfxexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter" import ( "errors" diff --git a/exporter/signalfxexporter/doc.go b/exporter/signalfxexporter/doc.go index e30cc14351c3..9791107e7ee6 100644 --- a/exporter/signalfxexporter/doc.go +++ b/exporter/signalfxexporter/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package signalfxexporter implements an exporter that sends data to SignalFx. -package signalfxexporter +package signalfxexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter" diff --git a/exporter/signalfxexporter/dpclient.go b/exporter/signalfxexporter/dpclient.go index 77f2943c5b16..6918b06f8925 100644 --- a/exporter/signalfxexporter/dpclient.go +++ b/exporter/signalfxexporter/dpclient.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package signalfxexporter +package signalfxexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter" import ( "bytes" diff --git a/exporter/signalfxexporter/eventclient.go b/exporter/signalfxexporter/eventclient.go index 813028cf0667..87b70f80660c 100644 --- a/exporter/signalfxexporter/eventclient.go +++ b/exporter/signalfxexporter/eventclient.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package signalfxexporter +package signalfxexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter" import ( "context" diff --git a/exporter/signalfxexporter/exporter.go b/exporter/signalfxexporter/exporter.go index 11527769e72c..d9c3aa5e3be6 100644 --- a/exporter/signalfxexporter/exporter.go +++ b/exporter/signalfxexporter/exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package signalfxexporter +package signalfxexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter" import ( "compress/gzip" diff --git a/exporter/signalfxexporter/factory.go b/exporter/signalfxexporter/factory.go index 0372f5e9ed7b..a31b6527959a 100644 --- a/exporter/signalfxexporter/factory.go +++ b/exporter/signalfxexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package signalfxexporter +package signalfxexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter" import ( "context" diff --git a/exporter/signalfxexporter/internal/correlation/config.go b/exporter/signalfxexporter/internal/correlation/config.go index 5f05bdea55db..6a39707a15b5 100644 --- a/exporter/signalfxexporter/internal/correlation/config.go +++ b/exporter/signalfxexporter/internal/correlation/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package correlation +package correlation // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/correlation" import ( "errors" diff --git a/exporter/signalfxexporter/internal/correlation/correlation.go b/exporter/signalfxexporter/internal/correlation/correlation.go index 91350b92dec4..c72737f8cd60 100644 --- a/exporter/signalfxexporter/internal/correlation/correlation.go +++ b/exporter/signalfxexporter/internal/correlation/correlation.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package correlation +package correlation // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/correlation" import ( "context" diff --git a/exporter/signalfxexporter/internal/correlation/doc.go b/exporter/signalfxexporter/internal/correlation/doc.go index 0a3dd6107853..9b658ba2d1be 100644 --- a/exporter/signalfxexporter/internal/correlation/doc.go +++ b/exporter/signalfxexporter/internal/correlation/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package correlation performs span to metric correlation for SignalFx. -package correlation +package correlation // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/correlation" diff --git a/exporter/signalfxexporter/internal/correlation/logshims.go b/exporter/signalfxexporter/internal/correlation/logshims.go index 2a16147707f8..d92b1642fd05 100644 --- a/exporter/signalfxexporter/internal/correlation/logshims.go +++ b/exporter/signalfxexporter/internal/correlation/logshims.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package correlation +package correlation // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/correlation" import ( "github.com/signalfx/signalfx-agent/pkg/apm/log" diff --git a/exporter/signalfxexporter/internal/correlation/spanshims.go b/exporter/signalfxexporter/internal/correlation/spanshims.go index f7f901b8b928..011fb38843c2 100644 --- a/exporter/signalfxexporter/internal/correlation/spanshims.go +++ b/exporter/signalfxexporter/internal/correlation/spanshims.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package correlation +package correlation // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/correlation" import ( "github.com/signalfx/signalfx-agent/pkg/apm/tracetracker" diff --git a/exporter/signalfxexporter/internal/dimensions/dimclient.go b/exporter/signalfxexporter/internal/dimensions/dimclient.go index e25305424376..aa593fdbe630 100644 --- a/exporter/signalfxexporter/internal/dimensions/dimclient.go +++ b/exporter/signalfxexporter/internal/dimensions/dimclient.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dimensions +package dimensions // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/dimensions" import ( "bytes" diff --git a/exporter/signalfxexporter/internal/dimensions/dimensionupdate.go b/exporter/signalfxexporter/internal/dimensions/dimensionupdate.go index 7d8bba604d31..39ad04bfaf13 100644 --- a/exporter/signalfxexporter/internal/dimensions/dimensionupdate.go +++ b/exporter/signalfxexporter/internal/dimensions/dimensionupdate.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dimensions +package dimensions // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/dimensions" import ( "fmt" diff --git a/exporter/signalfxexporter/internal/dimensions/metadata.go b/exporter/signalfxexporter/internal/dimensions/metadata.go index 92bfeaf6e5b2..1593e6dc42dd 100644 --- a/exporter/signalfxexporter/internal/dimensions/metadata.go +++ b/exporter/signalfxexporter/internal/dimensions/metadata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dimensions +package dimensions // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/dimensions" import ( "fmt" diff --git a/exporter/signalfxexporter/internal/dimensions/requests.go b/exporter/signalfxexporter/internal/dimensions/requests.go index 5b0baf6c78a3..41166b5e5381 100644 --- a/exporter/signalfxexporter/internal/dimensions/requests.go +++ b/exporter/signalfxexporter/internal/dimensions/requests.go @@ -26,7 +26,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dimensions +package dimensions // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/dimensions" import ( "context" diff --git a/exporter/signalfxexporter/internal/hostmetadata/host.go b/exporter/signalfxexporter/internal/hostmetadata/host.go index c31dca2ab0ac..9bb6a5987437 100644 --- a/exporter/signalfxexporter/internal/hostmetadata/host.go +++ b/exporter/signalfxexporter/internal/hostmetadata/host.go @@ -15,7 +15,7 @@ // Taken from https://github.com/signalfx/golib/blob/master/metadata/hostmetadata/host.go // with minor modifications. -package hostmetadata +package hostmetadata // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/hostmetadata" import ( "bytes" diff --git a/exporter/signalfxexporter/internal/hostmetadata/host_linux.go b/exporter/signalfxexporter/internal/hostmetadata/host_linux.go index c14f9cd5c11b..43c0e820b2f1 100644 --- a/exporter/signalfxexporter/internal/hostmetadata/host_linux.go +++ b/exporter/signalfxexporter/internal/hostmetadata/host_linux.go @@ -17,7 +17,7 @@ // Taken from https://github.com/signalfx/golib/blob/master/metadata/hostmetadata/host-linux.go as is. -package hostmetadata +package hostmetadata // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/hostmetadata" import ( "syscall" diff --git a/exporter/signalfxexporter/internal/hostmetadata/host_others.go b/exporter/signalfxexporter/internal/hostmetadata/host_others.go index 79a387e78b04..6be778635d9a 100644 --- a/exporter/signalfxexporter/internal/hostmetadata/host_others.go +++ b/exporter/signalfxexporter/internal/hostmetadata/host_others.go @@ -17,7 +17,7 @@ // Taken from https://github.com/signalfx/golib/blob/master/metadata/hostmetadata/host-not-linux.go as is. -package hostmetadata +package hostmetadata // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/hostmetadata" func fillPlatformSpecificOSData(info *hostOS) error { return nil diff --git a/exporter/signalfxexporter/internal/hostmetadata/metadata.go b/exporter/signalfxexporter/internal/hostmetadata/metadata.go index 9237796e6c50..0647c09ab23a 100644 --- a/exporter/signalfxexporter/internal/hostmetadata/metadata.go +++ b/exporter/signalfxexporter/internal/hostmetadata/metadata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package hostmetadata +package hostmetadata // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/hostmetadata" import ( "sync" diff --git a/exporter/signalfxexporter/internal/translation/constants.go b/exporter/signalfxexporter/internal/translation/constants.go index 44327ac638c3..a983274f47db 100644 --- a/exporter/signalfxexporter/internal/translation/constants.go +++ b/exporter/signalfxexporter/internal/translation/constants.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translation +package translation // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/translation" const ( // DefaultTranslationRulesYaml defines default translation rules that will be applied to metrics if diff --git a/exporter/signalfxexporter/internal/translation/converter.go b/exporter/signalfxexporter/internal/translation/converter.go index 422decf20e15..967ec7ec924b 100644 --- a/exporter/signalfxexporter/internal/translation/converter.go +++ b/exporter/signalfxexporter/internal/translation/converter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translation +package translation // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/translation" import ( "fmt" diff --git a/exporter/signalfxexporter/internal/translation/default_metrics.go b/exporter/signalfxexporter/internal/translation/default_metrics.go index 43165dfd8a12..aba9492627e9 100644 --- a/exporter/signalfxexporter/internal/translation/default_metrics.go +++ b/exporter/signalfxexporter/internal/translation/default_metrics.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translation +package translation // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/translation" // DefaultExcludeMetricsYaml holds list of hard coded metrics that will added to the // exclude list from the config. It includes non-default metrics collected by diff --git a/exporter/signalfxexporter/internal/translation/delta_translator.go b/exporter/signalfxexporter/internal/translation/delta_translator.go index 5b3ed64fea3b..2f4dc1075e8b 100644 --- a/exporter/signalfxexporter/internal/translation/delta_translator.go +++ b/exporter/signalfxexporter/internal/translation/delta_translator.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translation +package translation // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/translation" import ( "github.com/gogo/protobuf/proto" diff --git a/exporter/signalfxexporter/internal/translation/dpfilters/datapoint.go b/exporter/signalfxexporter/internal/translation/dpfilters/datapoint.go index dec25a449e14..00e143cf4c28 100644 --- a/exporter/signalfxexporter/internal/translation/dpfilters/datapoint.go +++ b/exporter/signalfxexporter/internal/translation/dpfilters/datapoint.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dpfilters +package dpfilters // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/translation/dpfilters" import ( "errors" diff --git a/exporter/signalfxexporter/internal/translation/dpfilters/dimensions.go b/exporter/signalfxexporter/internal/translation/dpfilters/dimensions.go index 84b399635595..1eaf1489834c 100644 --- a/exporter/signalfxexporter/internal/translation/dpfilters/dimensions.go +++ b/exporter/signalfxexporter/internal/translation/dpfilters/dimensions.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dpfilters +package dpfilters // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/translation/dpfilters" import ( "errors" diff --git a/exporter/signalfxexporter/internal/translation/dpfilters/filterset.go b/exporter/signalfxexporter/internal/translation/dpfilters/filterset.go index 41e8243139c9..9ed58bc5f0ca 100644 --- a/exporter/signalfxexporter/internal/translation/dpfilters/filterset.go +++ b/exporter/signalfxexporter/internal/translation/dpfilters/filterset.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dpfilters +package dpfilters // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/translation/dpfilters" import sfxpb "github.com/signalfx/com_signalfx_metrics_protobuf/model" diff --git a/exporter/signalfxexporter/internal/translation/dpfilters/matching.go b/exporter/signalfxexporter/internal/translation/dpfilters/matching.go index fe9987a104d8..634351fb16b1 100644 --- a/exporter/signalfxexporter/internal/translation/dpfilters/matching.go +++ b/exporter/signalfxexporter/internal/translation/dpfilters/matching.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dpfilters +package dpfilters // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/translation/dpfilters" import ( "regexp" diff --git a/exporter/signalfxexporter/internal/translation/dpfilters/metricfilter.go b/exporter/signalfxexporter/internal/translation/dpfilters/metricfilter.go index 5200c0153fab..04541b8963ec 100644 --- a/exporter/signalfxexporter/internal/translation/dpfilters/metricfilter.go +++ b/exporter/signalfxexporter/internal/translation/dpfilters/metricfilter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dpfilters +package dpfilters // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/translation/dpfilters" import "fmt" diff --git a/exporter/signalfxexporter/internal/translation/dpfilters/string.go b/exporter/signalfxexporter/internal/translation/dpfilters/string.go index 5c6ca373934f..381f336d11f7 100644 --- a/exporter/signalfxexporter/internal/translation/dpfilters/string.go +++ b/exporter/signalfxexporter/internal/translation/dpfilters/string.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dpfilters +package dpfilters // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/translation/dpfilters" import ( "regexp" diff --git a/exporter/signalfxexporter/internal/translation/logdata_to_signalfxv2.go b/exporter/signalfxexporter/internal/translation/logdata_to_signalfxv2.go index ad184580c688..d3f4069a41cf 100644 --- a/exporter/signalfxexporter/internal/translation/logdata_to_signalfxv2.go +++ b/exporter/signalfxexporter/internal/translation/logdata_to_signalfxv2.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translation +package translation // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/translation" import ( "fmt" diff --git a/exporter/signalfxexporter/internal/translation/translator.go b/exporter/signalfxexporter/internal/translation/translator.go index f18f530d68b3..aba57abe9d09 100644 --- a/exporter/signalfxexporter/internal/translation/translator.go +++ b/exporter/signalfxexporter/internal/translation/translator.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translation +package translation // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/translation" import ( "fmt" diff --git a/exporter/skywalkingexporter/config.go b/exporter/skywalkingexporter/config.go index fd8f7007f7de..048e7f830587 100644 --- a/exporter/skywalkingexporter/config.go +++ b/exporter/skywalkingexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package skywalkingexporter +package skywalkingexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/skywalkingexporter" import ( "errors" diff --git a/exporter/skywalkingexporter/doc.go b/exporter/skywalkingexporter/doc.go index 2677f03d0030..b3d44f70d32b 100644 --- a/exporter/skywalkingexporter/doc.go +++ b/exporter/skywalkingexporter/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package skywalkingexporter exports data by using SkyWalking data collect protocol to a gPRC endpoint. -package skywalkingexporter +package skywalkingexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/skywalkingexporter" diff --git a/exporter/skywalkingexporter/factory.go b/exporter/skywalkingexporter/factory.go index 556846417b33..c3128a5577c2 100644 --- a/exporter/skywalkingexporter/factory.go +++ b/exporter/skywalkingexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package skywalkingexporter +package skywalkingexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/skywalkingexporter" import ( "context" diff --git a/exporter/skywalkingexporter/logrecord_to_logdata.go b/exporter/skywalkingexporter/logrecord_to_logdata.go index 36fae9708f78..b65a850e0896 100644 --- a/exporter/skywalkingexporter/logrecord_to_logdata.go +++ b/exporter/skywalkingexporter/logrecord_to_logdata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package skywalkingexporter +package skywalkingexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/skywalkingexporter" import ( "strconv" diff --git a/exporter/skywalkingexporter/skywalking.go b/exporter/skywalkingexporter/skywalking.go index 2551408a9f8b..913cbe28f5c8 100644 --- a/exporter/skywalkingexporter/skywalking.go +++ b/exporter/skywalkingexporter/skywalking.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package skywalkingexporter +package skywalkingexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/skywalkingexporter" import ( "context" diff --git a/exporter/splunkhecexporter/client.go b/exporter/splunkhecexporter/client.go index c4708b3f863e..8155c211ba28 100644 --- a/exporter/splunkhecexporter/client.go +++ b/exporter/splunkhecexporter/client.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package splunkhecexporter +package splunkhecexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter" import ( "bytes" diff --git a/exporter/splunkhecexporter/config.go b/exporter/splunkhecexporter/config.go index 280783cea386..74082253415e 100644 --- a/exporter/splunkhecexporter/config.go +++ b/exporter/splunkhecexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package splunkhecexporter +package splunkhecexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter" import ( "errors" diff --git a/exporter/splunkhecexporter/doc.go b/exporter/splunkhecexporter/doc.go index 67ae1f3efd26..4a22a9ef21ad 100644 --- a/exporter/splunkhecexporter/doc.go +++ b/exporter/splunkhecexporter/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package splunkhecexporter implements an exporter that sends data to Splunk. -package splunkhecexporter +package splunkhecexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter" diff --git a/exporter/splunkhecexporter/exporter.go b/exporter/splunkhecexporter/exporter.go index bb9ac26be860..703a24638641 100644 --- a/exporter/splunkhecexporter/exporter.go +++ b/exporter/splunkhecexporter/exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package splunkhecexporter +package splunkhecexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter" import ( "compress/gzip" diff --git a/exporter/splunkhecexporter/factory.go b/exporter/splunkhecexporter/factory.go index 44db2d14c958..4d19e7a64e0b 100644 --- a/exporter/splunkhecexporter/factory.go +++ b/exporter/splunkhecexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package splunkhecexporter +package splunkhecexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter" import ( "context" diff --git a/exporter/splunkhecexporter/logdata_to_splunk.go b/exporter/splunkhecexporter/logdata_to_splunk.go index 02b2da054a50..a036c03e94e8 100644 --- a/exporter/splunkhecexporter/logdata_to_splunk.go +++ b/exporter/splunkhecexporter/logdata_to_splunk.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package splunkhecexporter +package splunkhecexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter" import ( "time" diff --git a/exporter/splunkhecexporter/metricdata_to_splunk.go b/exporter/splunkhecexporter/metricdata_to_splunk.go index 8e8817b24791..a7944fa41f94 100644 --- a/exporter/splunkhecexporter/metricdata_to_splunk.go +++ b/exporter/splunkhecexporter/metricdata_to_splunk.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package splunkhecexporter +package splunkhecexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter" import ( "math" diff --git a/exporter/splunkhecexporter/tracedata_to_splunk.go b/exporter/splunkhecexporter/tracedata_to_splunk.go index 83eec0052591..6d16142e6a57 100644 --- a/exporter/splunkhecexporter/tracedata_to_splunk.go +++ b/exporter/splunkhecexporter/tracedata_to_splunk.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package splunkhecexporter +package splunkhecexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/exporter/stackdriverexporter/factory.go b/exporter/stackdriverexporter/factory.go index 74041322a78e..d0b989b7ed45 100644 --- a/exporter/stackdriverexporter/factory.go +++ b/exporter/stackdriverexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package stackdriverexporter +package stackdriverexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/stackdriverexporter" import ( "context" diff --git a/exporter/sumologicexporter/carbon_formatter.go b/exporter/sumologicexporter/carbon_formatter.go index 30558c0dc061..f85db675aec9 100644 --- a/exporter/sumologicexporter/carbon_formatter.go +++ b/exporter/sumologicexporter/carbon_formatter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sumologicexporter +package sumologicexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sumologicexporter" import ( "fmt" diff --git a/exporter/sumologicexporter/compress.go b/exporter/sumologicexporter/compress.go index fb59784178d4..62beb278fc68 100644 --- a/exporter/sumologicexporter/compress.go +++ b/exporter/sumologicexporter/compress.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sumologicexporter +package sumologicexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sumologicexporter" import ( "bytes" diff --git a/exporter/sumologicexporter/config.go b/exporter/sumologicexporter/config.go index 1d160cac4c4f..5defd92c6a99 100644 --- a/exporter/sumologicexporter/config.go +++ b/exporter/sumologicexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sumologicexporter +package sumologicexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sumologicexporter" import ( "time" diff --git a/exporter/sumologicexporter/exporter.go b/exporter/sumologicexporter/exporter.go index 36c7d5192fd0..fe916ba43382 100644 --- a/exporter/sumologicexporter/exporter.go +++ b/exporter/sumologicexporter/exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sumologicexporter +package sumologicexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sumologicexporter" import ( "context" diff --git a/exporter/sumologicexporter/factory.go b/exporter/sumologicexporter/factory.go index edfe565b6bcc..ef0191c3bc0b 100644 --- a/exporter/sumologicexporter/factory.go +++ b/exporter/sumologicexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sumologicexporter +package sumologicexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sumologicexporter" import ( "context" diff --git a/exporter/sumologicexporter/fields.go b/exporter/sumologicexporter/fields.go index 00c06516ca24..e3b30fab2243 100644 --- a/exporter/sumologicexporter/fields.go +++ b/exporter/sumologicexporter/fields.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sumologicexporter +package sumologicexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sumologicexporter" import ( "fmt" diff --git a/exporter/sumologicexporter/filter.go b/exporter/sumologicexporter/filter.go index 431eeb3694b7..e9c3e6f6b139 100644 --- a/exporter/sumologicexporter/filter.go +++ b/exporter/sumologicexporter/filter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sumologicexporter +package sumologicexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sumologicexporter" import ( "regexp" diff --git a/exporter/sumologicexporter/graphite_formatter.go b/exporter/sumologicexporter/graphite_formatter.go index 5633e4d50fc0..a5af7d051395 100644 --- a/exporter/sumologicexporter/graphite_formatter.go +++ b/exporter/sumologicexporter/graphite_formatter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sumologicexporter +package sumologicexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sumologicexporter" import ( "fmt" diff --git a/exporter/sumologicexporter/prometheus_formatter.go b/exporter/sumologicexporter/prometheus_formatter.go index 79d5b3c556dd..57c86d3ff800 100644 --- a/exporter/sumologicexporter/prometheus_formatter.go +++ b/exporter/sumologicexporter/prometheus_formatter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sumologicexporter +package sumologicexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sumologicexporter" import ( "fmt" diff --git a/exporter/sumologicexporter/sender.go b/exporter/sumologicexporter/sender.go index a5da0d40fd31..63489f686fa2 100644 --- a/exporter/sumologicexporter/sender.go +++ b/exporter/sumologicexporter/sender.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sumologicexporter +package sumologicexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sumologicexporter" import ( "bytes" diff --git a/exporter/sumologicexporter/source_format.go b/exporter/sumologicexporter/source_format.go index e0d105ab5f63..16ee544ef5db 100644 --- a/exporter/sumologicexporter/source_format.go +++ b/exporter/sumologicexporter/source_format.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sumologicexporter +package sumologicexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sumologicexporter" import ( "fmt" diff --git a/exporter/sumologicexporter/test_data.go b/exporter/sumologicexporter/test_data.go index d3eb9974467a..7c5c4506b917 100644 --- a/exporter/sumologicexporter/test_data.go +++ b/exporter/sumologicexporter/test_data.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sumologicexporter +package sumologicexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sumologicexporter" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/exporter/tanzuobservabilityexporter/config.go b/exporter/tanzuobservabilityexporter/config.go index 18a28cf58de0..6d50a33d2a2b 100644 --- a/exporter/tanzuobservabilityexporter/config.go +++ b/exporter/tanzuobservabilityexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tanzuobservabilityexporter +package tanzuobservabilityexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/tanzuobservabilityexporter" import ( "fmt" diff --git a/exporter/tanzuobservabilityexporter/exporter.go b/exporter/tanzuobservabilityexporter/exporter.go index ba6a5ee83754..54e190b35c87 100644 --- a/exporter/tanzuobservabilityexporter/exporter.go +++ b/exporter/tanzuobservabilityexporter/exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tanzuobservabilityexporter +package tanzuobservabilityexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/tanzuobservabilityexporter" import ( "context" diff --git a/exporter/tanzuobservabilityexporter/factory.go b/exporter/tanzuobservabilityexporter/factory.go index 78ae80c5d71a..5eadbc063446 100644 --- a/exporter/tanzuobservabilityexporter/factory.go +++ b/exporter/tanzuobservabilityexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tanzuobservabilityexporter +package tanzuobservabilityexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/tanzuobservabilityexporter" import ( "context" diff --git a/exporter/tanzuobservabilityexporter/metrics.go b/exporter/tanzuobservabilityexporter/metrics.go index a0b8442cf9a8..5b15e0fc1006 100644 --- a/exporter/tanzuobservabilityexporter/metrics.go +++ b/exporter/tanzuobservabilityexporter/metrics.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tanzuobservabilityexporter +package tanzuobservabilityexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/tanzuobservabilityexporter" import ( "context" diff --git a/exporter/tanzuobservabilityexporter/transformer.go b/exporter/tanzuobservabilityexporter/transformer.go index 913cff98cfc9..a40a029e6025 100644 --- a/exporter/tanzuobservabilityexporter/transformer.go +++ b/exporter/tanzuobservabilityexporter/transformer.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tanzuobservabilityexporter +package tanzuobservabilityexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/tanzuobservabilityexporter" import ( "errors" diff --git a/exporter/tencentcloudlogserviceexporter/config.go b/exporter/tencentcloudlogserviceexporter/config.go index 6697ce2ee1fd..1051def9b53a 100644 --- a/exporter/tencentcloudlogserviceexporter/config.go +++ b/exporter/tencentcloudlogserviceexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tencentcloudlogserviceexporter +package tencentcloudlogserviceexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/tencentcloudlogserviceexporter" import ( "errors" diff --git a/exporter/tencentcloudlogserviceexporter/factory.go b/exporter/tencentcloudlogserviceexporter/factory.go index fa8acd5030af..639a7d8f6e76 100644 --- a/exporter/tencentcloudlogserviceexporter/factory.go +++ b/exporter/tencentcloudlogserviceexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tencentcloudlogserviceexporter +package tencentcloudlogserviceexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/tencentcloudlogserviceexporter" import ( "context" diff --git a/exporter/tencentcloudlogserviceexporter/logs_exporter.go b/exporter/tencentcloudlogserviceexporter/logs_exporter.go index de411d20964e..2cb378f403ca 100644 --- a/exporter/tencentcloudlogserviceexporter/logs_exporter.go +++ b/exporter/tencentcloudlogserviceexporter/logs_exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tencentcloudlogserviceexporter +package tencentcloudlogserviceexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/tencentcloudlogserviceexporter" import ( "context" diff --git a/exporter/tencentcloudlogserviceexporter/logsdata_to_logservice.go b/exporter/tencentcloudlogserviceexporter/logsdata_to_logservice.go index 529fa3a7d95a..44d63a5101c4 100644 --- a/exporter/tencentcloudlogserviceexporter/logsdata_to_logservice.go +++ b/exporter/tencentcloudlogserviceexporter/logsdata_to_logservice.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tencentcloudlogserviceexporter +package tencentcloudlogserviceexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/tencentcloudlogserviceexporter" import ( "encoding/json" diff --git a/exporter/tencentcloudlogserviceexporter/sanitize.go b/exporter/tencentcloudlogserviceexporter/sanitize.go index 13e7e25901b4..3ba7c6b0fb92 100644 --- a/exporter/tencentcloudlogserviceexporter/sanitize.go +++ b/exporter/tencentcloudlogserviceexporter/sanitize.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tencentcloudlogserviceexporter +package tencentcloudlogserviceexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/tencentcloudlogserviceexporter" import ( "strings" diff --git a/exporter/tencentcloudlogserviceexporter/uploader.go b/exporter/tencentcloudlogserviceexporter/uploader.go index d472b0484654..7af134c881eb 100644 --- a/exporter/tencentcloudlogserviceexporter/uploader.go +++ b/exporter/tencentcloudlogserviceexporter/uploader.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tencentcloudlogserviceexporter +package tencentcloudlogserviceexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/tencentcloudlogserviceexporter" import ( "github.com/pierrec/lz4" diff --git a/exporter/zipkinexporter/config.go b/exporter/zipkinexporter/config.go index a613457e8284..0c5a0d2a0fd4 100644 --- a/exporter/zipkinexporter/config.go +++ b/exporter/zipkinexporter/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package zipkinexporter +package zipkinexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/zipkinexporter" import ( "go.opentelemetry.io/collector/config" diff --git a/exporter/zipkinexporter/doc.go b/exporter/zipkinexporter/doc.go index 488f0ca1209d..c635af441a29 100644 --- a/exporter/zipkinexporter/doc.go +++ b/exporter/zipkinexporter/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package zipkinexporter exports trace data to Zipkin. -package zipkinexporter +package zipkinexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/zipkinexporter" diff --git a/exporter/zipkinexporter/factory.go b/exporter/zipkinexporter/factory.go index 8e9db14dbf3a..ad3fbabd4485 100644 --- a/exporter/zipkinexporter/factory.go +++ b/exporter/zipkinexporter/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package zipkinexporter +package zipkinexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/zipkinexporter" import ( "context" diff --git a/exporter/zipkinexporter/zipkin.go b/exporter/zipkinexporter/zipkin.go index dda0799aa9f6..fbc608adf476 100644 --- a/exporter/zipkinexporter/zipkin.go +++ b/exporter/zipkinexporter/zipkin.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package zipkinexporter +package zipkinexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/zipkinexporter" import ( "bytes" diff --git a/extension/awsproxy/config.go b/extension/awsproxy/config.go index 44ce0cceae6f..4f3e5a748f17 100644 --- a/extension/awsproxy/config.go +++ b/extension/awsproxy/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsproxy +package awsproxy // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/awsproxy" import ( "go.opentelemetry.io/collector/config" diff --git a/extension/awsproxy/extension.go b/extension/awsproxy/extension.go index b7968eec5c05..7576ea271e62 100644 --- a/extension/awsproxy/extension.go +++ b/extension/awsproxy/extension.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsproxy +package awsproxy // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/awsproxy" import ( "context" diff --git a/extension/awsproxy/factory.go b/extension/awsproxy/factory.go index 3ee21a5e6e27..b8daa16f651e 100644 --- a/extension/awsproxy/factory.go +++ b/extension/awsproxy/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsproxy +package awsproxy // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/awsproxy" import ( "context" diff --git a/extension/bearertokenauthextension/bearertokenauth.go b/extension/bearertokenauthextension/bearertokenauth.go index 730ae026d38d..44710ec65c23 100644 --- a/extension/bearertokenauthextension/bearertokenauth.go +++ b/extension/bearertokenauthextension/bearertokenauth.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package bearertokenauthextension +package bearertokenauthextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension" import ( "context" diff --git a/extension/bearertokenauthextension/config.go b/extension/bearertokenauthextension/config.go index ab9ac7bd655c..4c9178d57ce8 100644 --- a/extension/bearertokenauthextension/config.go +++ b/extension/bearertokenauthextension/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package bearertokenauthextension +package bearertokenauthextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension" import ( "errors" diff --git a/extension/bearertokenauthextension/factory.go b/extension/bearertokenauthextension/factory.go index d157d68beb25..2861baa79133 100644 --- a/extension/bearertokenauthextension/factory.go +++ b/extension/bearertokenauthextension/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package bearertokenauthextension +package bearertokenauthextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension" import ( "context" diff --git a/extension/fluentbitextension/config.go b/extension/fluentbitextension/config.go index 07acd31b4890..ba817601160b 100644 --- a/extension/fluentbitextension/config.go +++ b/extension/fluentbitextension/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package fluentbitextension +package fluentbitextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/fluentbitextension" import ( "go.opentelemetry.io/collector/config" diff --git a/extension/fluentbitextension/factory.go b/extension/fluentbitextension/factory.go index a71cddaaee6d..1f28afd258a4 100644 --- a/extension/fluentbitextension/factory.go +++ b/extension/fluentbitextension/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package fluentbitextension +package fluentbitextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/fluentbitextension" import ( "context" diff --git a/extension/fluentbitextension/process.go b/extension/fluentbitextension/process.go index 66106b347588..f142fb8b8e7c 100644 --- a/extension/fluentbitextension/process.go +++ b/extension/fluentbitextension/process.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package fluentbitextension +package fluentbitextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/fluentbitextension" import ( "bufio" diff --git a/extension/fluentbitextension/process_linux.go b/extension/fluentbitextension/process_linux.go index 81038d30bd1c..b9d74a334fac 100644 --- a/extension/fluentbitextension/process_linux.go +++ b/extension/fluentbitextension/process_linux.go @@ -15,7 +15,7 @@ //go:build linux // +build linux -package fluentbitextension +package fluentbitextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/fluentbitextension" import ( "os/exec" diff --git a/extension/fluentbitextension/process_others.go b/extension/fluentbitextension/process_others.go index bda2c68ced6d..615fc92ec634 100644 --- a/extension/fluentbitextension/process_others.go +++ b/extension/fluentbitextension/process_others.go @@ -15,7 +15,7 @@ //go:build !linux // +build !linux -package fluentbitextension +package fluentbitextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/fluentbitextension" import ( "os/exec" diff --git a/extension/healthcheckextension/config.go b/extension/healthcheckextension/config.go index 4e11045cf829..8280742bd6c4 100644 --- a/extension/healthcheckextension/config.go +++ b/extension/healthcheckextension/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package healthcheckextension +package healthcheckextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension" import ( "errors" diff --git a/extension/healthcheckextension/doc.go b/extension/healthcheckextension/doc.go index 21f444796963..97630ba5025e 100644 --- a/extension/healthcheckextension/doc.go +++ b/extension/healthcheckextension/doc.go @@ -15,4 +15,4 @@ // Package healthcheckextension implements an extension that enables an HTTP // endpoint that can be used to check the overall health and status of the // service. -package healthcheckextension +package healthcheckextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension" diff --git a/extension/healthcheckextension/exporter.go b/extension/healthcheckextension/exporter.go index d9c2d4ce3f99..7d5015a6b534 100644 --- a/extension/healthcheckextension/exporter.go +++ b/extension/healthcheckextension/exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package healthcheckextension +package healthcheckextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension" import ( "sync" diff --git a/extension/healthcheckextension/factory.go b/extension/healthcheckextension/factory.go index 40e632850f0d..ed899f63a654 100644 --- a/extension/healthcheckextension/factory.go +++ b/extension/healthcheckextension/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package healthcheckextension +package healthcheckextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension" import ( "context" diff --git a/extension/healthcheckextension/healthcheckextension.go b/extension/healthcheckextension/healthcheckextension.go index 1ac9ede346b9..3191b84635e7 100644 --- a/extension/healthcheckextension/healthcheckextension.go +++ b/extension/healthcheckextension/healthcheckextension.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package healthcheckextension +package healthcheckextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension" import ( "context" diff --git a/extension/httpforwarder/config.go b/extension/httpforwarder/config.go index 7a2772359b3b..1bd5a5dfc109 100644 --- a/extension/httpforwarder/config.go +++ b/extension/httpforwarder/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package httpforwarder +package httpforwarder // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/httpforwarder" import ( "go.opentelemetry.io/collector/config" diff --git a/extension/httpforwarder/extension.go b/extension/httpforwarder/extension.go index df7c97493e41..b6903ded318a 100644 --- a/extension/httpforwarder/extension.go +++ b/extension/httpforwarder/extension.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package httpforwarder +package httpforwarder // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/httpforwarder" import ( "context" diff --git a/extension/httpforwarder/factory.go b/extension/httpforwarder/factory.go index 08531315dc98..e62222f96d75 100644 --- a/extension/httpforwarder/factory.go +++ b/extension/httpforwarder/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package httpforwarder +package httpforwarder // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/httpforwarder" import ( "context" diff --git a/extension/oauth2clientauthextension/config.go b/extension/oauth2clientauthextension/config.go index 0f01c0a4ea91..4c7de3ae6487 100644 --- a/extension/oauth2clientauthextension/config.go +++ b/extension/oauth2clientauthextension/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package oauth2clientauthextension +package oauth2clientauthextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/oauth2clientauthextension" import ( "errors" diff --git a/extension/oauth2clientauthextension/doc.go b/extension/oauth2clientauthextension/doc.go index bc9100868baa..e97bf9bc54ed 100644 --- a/extension/oauth2clientauthextension/doc.go +++ b/extension/oauth2clientauthextension/doc.go @@ -16,4 +16,4 @@ // This extension provides OAuth2 Client Credentials flow authenticator for HTTP and gRPC based exporters. // The extension fetches and refreshes the token after expiry // For further details about OAuth2 Client Credentials flow refer https://datatracker.ietf.org/doc/html/rfc6749#section-4.4 -package oauth2clientauthextension +package oauth2clientauthextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/oauth2clientauthextension" diff --git a/extension/oauth2clientauthextension/extension.go b/extension/oauth2clientauthextension/extension.go index 579966782d2f..db0c5fb907cf 100644 --- a/extension/oauth2clientauthextension/extension.go +++ b/extension/oauth2clientauthextension/extension.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package oauth2clientauthextension +package oauth2clientauthextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/oauth2clientauthextension" import ( "context" diff --git a/extension/oauth2clientauthextension/factory.go b/extension/oauth2clientauthextension/factory.go index a0b55d0668fd..6dae8b0ef38f 100644 --- a/extension/oauth2clientauthextension/factory.go +++ b/extension/oauth2clientauthextension/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package oauth2clientauthextension +package oauth2clientauthextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/oauth2clientauthextension" import ( "context" diff --git a/extension/observer/dockerobserver/config.go b/extension/observer/dockerobserver/config.go index 2ce678eeda98..029556eada65 100644 --- a/extension/observer/dockerobserver/config.go +++ b/extension/observer/dockerobserver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dockerobserver +package dockerobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/dockerobserver" import ( "errors" diff --git a/extension/observer/dockerobserver/extension.go b/extension/observer/dockerobserver/extension.go index 873ba607ece8..6dd0daeb41a4 100644 --- a/extension/observer/dockerobserver/extension.go +++ b/extension/observer/dockerobserver/extension.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dockerobserver +package dockerobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/dockerobserver" import ( "context" diff --git a/extension/observer/dockerobserver/factory.go b/extension/observer/dockerobserver/factory.go index 3e10c894cb05..84c83743048e 100644 --- a/extension/observer/dockerobserver/factory.go +++ b/extension/observer/dockerobserver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dockerobserver +package dockerobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/dockerobserver" import ( "context" diff --git a/extension/observer/ecsobserver/config.go b/extension/observer/ecsobserver/config.go index 9d4a4b27ca1a..d903925e1252 100644 --- a/extension/observer/ecsobserver/config.go +++ b/extension/observer/ecsobserver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecsobserver +package ecsobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecsobserver" import ( "fmt" diff --git a/extension/observer/ecsobserver/docker_label.go b/extension/observer/ecsobserver/docker_label.go index 9365ca5ee645..6bafcda42793 100644 --- a/extension/observer/ecsobserver/docker_label.go +++ b/extension/observer/ecsobserver/docker_label.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecsobserver +package ecsobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecsobserver" import ( "fmt" diff --git a/extension/observer/ecsobserver/error.go b/extension/observer/ecsobserver/error.go index 58bd381a1df3..8d49c0ea5eee 100644 --- a/extension/observer/ecsobserver/error.go +++ b/extension/observer/ecsobserver/error.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecsobserver +package ecsobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecsobserver" import ( "errors" diff --git a/extension/observer/ecsobserver/exporter.go b/extension/observer/ecsobserver/exporter.go index 44249fef7099..349f22c73a3d 100644 --- a/extension/observer/ecsobserver/exporter.go +++ b/extension/observer/ecsobserver/exporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecsobserver +package ecsobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecsobserver" import ( "fmt" diff --git a/extension/observer/ecsobserver/extension.go b/extension/observer/ecsobserver/extension.go index 1206bd2f3a73..aa5c2f7ba4d7 100644 --- a/extension/observer/ecsobserver/extension.go +++ b/extension/observer/ecsobserver/extension.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecsobserver +package ecsobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecsobserver" import ( "context" diff --git a/extension/observer/ecsobserver/factory.go b/extension/observer/ecsobserver/factory.go index ef64537b5f0a..536d2c6e295f 100644 --- a/extension/observer/ecsobserver/factory.go +++ b/extension/observer/ecsobserver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecsobserver +package ecsobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecsobserver" import ( "context" diff --git a/extension/observer/ecsobserver/fetcher.go b/extension/observer/ecsobserver/fetcher.go index 60328f378ff2..7c147ba092e3 100644 --- a/extension/observer/ecsobserver/fetcher.go +++ b/extension/observer/ecsobserver/fetcher.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecsobserver +package ecsobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecsobserver" import ( "context" diff --git a/extension/observer/ecsobserver/filter.go b/extension/observer/ecsobserver/filter.go index c268e7939e2b..38024e5087ee 100644 --- a/extension/observer/ecsobserver/filter.go +++ b/extension/observer/ecsobserver/filter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecsobserver +package ecsobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecsobserver" import ( "sort" diff --git a/extension/observer/ecsobserver/internal/ecsmock/doc.go b/extension/observer/ecsobserver/internal/ecsmock/doc.go index bc088e6b55c7..1d5aed065b7a 100644 --- a/extension/observer/ecsobserver/internal/ecsmock/doc.go +++ b/extension/observer/ecsobserver/internal/ecsmock/doc.go @@ -14,4 +14,4 @@ // Package ecsmock implements mock server for ECS service API. // Currently it is only used by ecsobserver extension for unit test. -package ecsmock +package ecsmock // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecsobserver/internal/ecsmock" diff --git a/extension/observer/ecsobserver/internal/ecsmock/service.go b/extension/observer/ecsobserver/internal/ecsmock/service.go index 50da8ec96768..d96e1c60ba1e 100644 --- a/extension/observer/ecsobserver/internal/ecsmock/service.go +++ b/extension/observer/ecsobserver/internal/ecsmock/service.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecsmock +package ecsmock // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecsobserver/internal/ecsmock" import ( "context" diff --git a/extension/observer/ecsobserver/internal/errctx/doc.go b/extension/observer/ecsobserver/internal/errctx/doc.go index a5364f19668d..566f665eea08 100644 --- a/extension/observer/ecsobserver/internal/errctx/doc.go +++ b/extension/observer/ecsobserver/internal/errctx/doc.go @@ -16,4 +16,4 @@ // using WithValue and read the value out using ValueFrom. // It is inspired by context package and works along with error wrapping // introduced in go 1.13. -package errctx +package errctx // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecsobserver/internal/errctx" diff --git a/extension/observer/ecsobserver/internal/errctx/value.go b/extension/observer/ecsobserver/internal/errctx/value.go index 65fe327fc1cb..55bde21920fe 100644 --- a/extension/observer/ecsobserver/internal/errctx/value.go +++ b/extension/observer/ecsobserver/internal/errctx/value.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package errctx +package errctx // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecsobserver/internal/errctx" import ( "errors" diff --git a/extension/observer/ecsobserver/matcher.go b/extension/observer/ecsobserver/matcher.go index 2798315eb68e..219f0c8fa835 100644 --- a/extension/observer/ecsobserver/matcher.go +++ b/extension/observer/ecsobserver/matcher.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecsobserver +package ecsobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecsobserver" import ( "fmt" diff --git a/extension/observer/ecsobserver/sd.go b/extension/observer/ecsobserver/sd.go index 64f53b557e89..66d5dc5a02f1 100644 --- a/extension/observer/ecsobserver/sd.go +++ b/extension/observer/ecsobserver/sd.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecsobserver +package ecsobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecsobserver" import ( "context" diff --git a/extension/observer/ecsobserver/service.go b/extension/observer/ecsobserver/service.go index 293c87c47a29..d64c0a58a12a 100644 --- a/extension/observer/ecsobserver/service.go +++ b/extension/observer/ecsobserver/service.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecsobserver +package ecsobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecsobserver" import ( "fmt" diff --git a/extension/observer/ecsobserver/target.go b/extension/observer/ecsobserver/target.go index b3375fad52dc..638cbed8ffa8 100644 --- a/extension/observer/ecsobserver/target.go +++ b/extension/observer/ecsobserver/target.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecsobserver +package ecsobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecsobserver" import ( "fmt" diff --git a/extension/observer/ecsobserver/task.go b/extension/observer/ecsobserver/task.go index 17e2bfa7d577..395a3ae415b9 100644 --- a/extension/observer/ecsobserver/task.go +++ b/extension/observer/ecsobserver/task.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecsobserver +package ecsobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecsobserver" import ( "fmt" diff --git a/extension/observer/ecsobserver/task_definition.go b/extension/observer/ecsobserver/task_definition.go index 2db4310556bc..03b3b3928cab 100644 --- a/extension/observer/ecsobserver/task_definition.go +++ b/extension/observer/ecsobserver/task_definition.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecsobserver +package ecsobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecsobserver" import ( "fmt" diff --git a/extension/observer/ecstaskobserver/config.go b/extension/observer/ecstaskobserver/config.go index dde0a1ec9e03..43b113aa0e5c 100644 --- a/extension/observer/ecstaskobserver/config.go +++ b/extension/observer/ecstaskobserver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecstaskobserver +package ecstaskobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecstaskobserver" import ( "time" diff --git a/extension/observer/ecstaskobserver/extension.go b/extension/observer/ecstaskobserver/extension.go index 7a1452784e44..1df9556e7c00 100644 --- a/extension/observer/ecstaskobserver/extension.go +++ b/extension/observer/ecstaskobserver/extension.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecstaskobserver +package ecstaskobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecstaskobserver" import ( "go.opentelemetry.io/collector/component" diff --git a/extension/observer/ecstaskobserver/factory.go b/extension/observer/ecstaskobserver/factory.go index de8105460bcf..959c603ed563 100644 --- a/extension/observer/ecstaskobserver/factory.go +++ b/extension/observer/ecstaskobserver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecstaskobserver +package ecstaskobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecstaskobserver" import ( "context" diff --git a/extension/observer/endpoints.go b/extension/observer/endpoints.go index 2cf04edeccef..9e6457172118 100644 --- a/extension/observer/endpoints.go +++ b/extension/observer/endpoints.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package observer +package observer // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer" import ( "errors" diff --git a/extension/observer/endpointswatcher.go b/extension/observer/endpointswatcher.go index 6b8f0e10c193..07a52c4089c2 100644 --- a/extension/observer/endpointswatcher.go +++ b/extension/observer/endpointswatcher.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package observer +package observer // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer" import ( "reflect" diff --git a/extension/observer/hostobserver/config.go b/extension/observer/hostobserver/config.go index 03fb4c6143b9..70e45326aa03 100644 --- a/extension/observer/hostobserver/config.go +++ b/extension/observer/hostobserver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package hostobserver +package hostobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/hostobserver" import ( "time" diff --git a/extension/observer/hostobserver/extension.go b/extension/observer/hostobserver/extension.go index 7803a9008fa9..83ed2baddec2 100644 --- a/extension/observer/hostobserver/extension.go +++ b/extension/observer/hostobserver/extension.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package hostobserver +package hostobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/hostobserver" import ( "context" diff --git a/extension/observer/hostobserver/factory.go b/extension/observer/hostobserver/factory.go index d9bd149878ec..96274d8e294a 100644 --- a/extension/observer/hostobserver/factory.go +++ b/extension/observer/hostobserver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package hostobserver +package hostobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/hostobserver" import ( "context" diff --git a/extension/observer/k8sobserver/config.go b/extension/observer/k8sobserver/config.go index 2ca656e6a6a3..f329a1aa2dbe 100644 --- a/extension/observer/k8sobserver/config.go +++ b/extension/observer/k8sobserver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sobserver +package k8sobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/k8sobserver" import ( "go.opentelemetry.io/collector/config" diff --git a/extension/observer/k8sobserver/doc.go b/extension/observer/k8sobserver/doc.go index f97cb5d8b26a..d9970dde6c05 100644 --- a/extension/observer/k8sobserver/doc.go +++ b/extension/observer/k8sobserver/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package k8sobserver implements a k8s observer extension for monitoring pods. -package k8sobserver +package k8sobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/k8sobserver" diff --git a/extension/observer/k8sobserver/extension.go b/extension/observer/k8sobserver/extension.go index 9845cf965392..6afe539a748f 100644 --- a/extension/observer/k8sobserver/extension.go +++ b/extension/observer/k8sobserver/extension.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sobserver +package k8sobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/k8sobserver" import ( "context" diff --git a/extension/observer/k8sobserver/factory.go b/extension/observer/k8sobserver/factory.go index cb8b6987a7fb..1df038b366b7 100644 --- a/extension/observer/k8sobserver/factory.go +++ b/extension/observer/k8sobserver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sobserver +package k8sobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/k8sobserver" import ( "context" diff --git a/extension/observer/k8sobserver/handler.go b/extension/observer/k8sobserver/handler.go index 43f3ab7126db..25c46f7d5444 100644 --- a/extension/observer/k8sobserver/handler.go +++ b/extension/observer/k8sobserver/handler.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sobserver +package k8sobserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/k8sobserver" import ( "fmt" diff --git a/extension/observer/observer.go b/extension/observer/observer.go index c393b2bd2cfa..53ca6d60a0c7 100644 --- a/extension/observer/observer.go +++ b/extension/observer/observer.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package observer +package observer // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer" // Transport defines protocol for ports. type Transport string diff --git a/extension/oidcauthextension/config.go b/extension/oidcauthextension/config.go index 1521e67dfe34..8fdcb68e0105 100644 --- a/extension/oidcauthextension/config.go +++ b/extension/oidcauthextension/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package oidcauthextension +package oidcauthextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/oidcauthextension" import "go.opentelemetry.io/collector/config" diff --git a/extension/oidcauthextension/extension.go b/extension/oidcauthextension/extension.go index 396c9cf74e35..f7b20bfd3326 100644 --- a/extension/oidcauthextension/extension.go +++ b/extension/oidcauthextension/extension.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package oidcauthextension +package oidcauthextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/oidcauthextension" import ( "context" diff --git a/extension/oidcauthextension/factory.go b/extension/oidcauthextension/factory.go index cd9566cdfcca..67299e11a8bb 100644 --- a/extension/oidcauthextension/factory.go +++ b/extension/oidcauthextension/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package oidcauthextension +package oidcauthextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/oidcauthextension" import ( "context" diff --git a/extension/pprofextension/config.go b/extension/pprofextension/config.go index 7866c805baa7..bdbf5e618f36 100644 --- a/extension/pprofextension/config.go +++ b/extension/pprofextension/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package pprofextension +package pprofextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension" import ( "go.opentelemetry.io/collector/config" diff --git a/extension/pprofextension/doc.go b/extension/pprofextension/doc.go index a16e8b7624ef..03037d269002 100644 --- a/extension/pprofextension/doc.go +++ b/extension/pprofextension/doc.go @@ -14,4 +14,4 @@ // Package pprofextension implements an extension that exposes the golang // net/http/pprof (Performance Profiler) in a HTTP endpoint. -package pprofextension +package pprofextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension" diff --git a/extension/pprofextension/factory.go b/extension/pprofextension/factory.go index 7b07bae61c9f..2d2a09c3d705 100644 --- a/extension/pprofextension/factory.go +++ b/extension/pprofextension/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package pprofextension +package pprofextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension" import ( "context" diff --git a/extension/pprofextension/pprofextension.go b/extension/pprofextension/pprofextension.go index 0f94cae41173..5b97466866dd 100644 --- a/extension/pprofextension/pprofextension.go +++ b/extension/pprofextension/pprofextension.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package pprofextension +package pprofextension // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension" import ( "context" diff --git a/extension/storage/filestorage/client.go b/extension/storage/filestorage/client.go index afdb80850170..834c76341926 100644 --- a/extension/storage/filestorage/client.go +++ b/extension/storage/filestorage/client.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filestorage +package filestorage // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage/filestorage" import ( "context" diff --git a/extension/storage/filestorage/config.go b/extension/storage/filestorage/config.go index 8e23fa22cea6..a384583280dc 100644 --- a/extension/storage/filestorage/config.go +++ b/extension/storage/filestorage/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filestorage +package filestorage // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage/filestorage" import ( "time" diff --git a/extension/storage/filestorage/default_others.go b/extension/storage/filestorage/default_others.go index 38f6b336eb0c..eb9b6b13f934 100644 --- a/extension/storage/filestorage/default_others.go +++ b/extension/storage/filestorage/default_others.go @@ -15,7 +15,7 @@ //go:build !windows // +build !windows -package filestorage +package filestorage // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage/filestorage" func getDefaultDirectory() string { return "/var/lib/otelcol/file_storage" diff --git a/extension/storage/filestorage/default_windows.go b/extension/storage/filestorage/default_windows.go index 787a33a1831e..9f40bebf3bfa 100644 --- a/extension/storage/filestorage/default_windows.go +++ b/extension/storage/filestorage/default_windows.go @@ -15,7 +15,7 @@ //go:build windows // +build windows -package filestorage +package filestorage // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage/filestorage" import ( "os" diff --git a/extension/storage/filestorage/extension.go b/extension/storage/filestorage/extension.go index 6893105520b3..5a3d151030d1 100644 --- a/extension/storage/filestorage/extension.go +++ b/extension/storage/filestorage/extension.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filestorage +package filestorage // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage/filestorage" import ( "context" diff --git a/extension/storage/filestorage/factory.go b/extension/storage/filestorage/factory.go index cd920ae4287f..b5c2d738fe51 100644 --- a/extension/storage/filestorage/factory.go +++ b/extension/storage/filestorage/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filestorage +package filestorage // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage/filestorage" import ( "context" diff --git a/extension/storage/storagetest/doc.go b/extension/storage/storagetest/doc.go index 2a8cc26812d5..e54473b07b5e 100644 --- a/extension/storage/storagetest/doc.go +++ b/extension/storage/storagetest/doc.go @@ -14,4 +14,4 @@ // Package stanzareceiver implements a receiver that can be used by the // Opentelemetry collector to receive logs using the stanza log agent -package storagetest +package storagetest // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage/storagetest" diff --git a/extension/storage/storagetest/storage.go b/extension/storage/storagetest/storage.go index 05c8a5deb070..b6f622ac826f 100644 --- a/extension/storage/storagetest/storage.go +++ b/extension/storage/storagetest/storage.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package storagetest +package storagetest // import "github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage/storagetest" import ( "context" diff --git a/internal/aws/awsutil/awsconfig.go b/internal/aws/awsutil/awsconfig.go index 1e2931afb535..bc7168057539 100644 --- a/internal/aws/awsutil/awsconfig.go +++ b/internal/aws/awsutil/awsconfig.go @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsutil +package awsutil // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/awsutil" // AWSSessionSettings defines the common session configs for AWS components type AWSSessionSettings struct { diff --git a/internal/aws/awsutil/conn.go b/internal/aws/awsutil/conn.go index fe044e243498..fe374a12ecde 100644 --- a/internal/aws/awsutil/conn.go +++ b/internal/aws/awsutil/conn.go @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsutil +package awsutil // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/awsutil" import ( "crypto/tls" diff --git a/internal/aws/awsutil/doc.go b/internal/aws/awsutil/doc.go index aa5217e0e8d6..7934fba6f046 100644 --- a/internal/aws/awsutil/doc.go +++ b/internal/aws/awsutil/doc.go @@ -14,4 +14,4 @@ // limitations under the License. // Package awsutil provides the common utils for AWS components -package awsutil +package awsutil // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/awsutil" diff --git a/internal/aws/containerinsight/const.go b/internal/aws/containerinsight/const.go index f5971b60dc93..77b565b17493 100644 --- a/internal/aws/containerinsight/const.go +++ b/internal/aws/containerinsight/const.go @@ -11,7 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -package containerinsight +package containerinsight // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/containerinsight" import ( "strings" diff --git a/internal/aws/containerinsight/ecsconst.go b/internal/aws/containerinsight/ecsconst.go index c4c8151a7030..8625440b7907 100644 --- a/internal/aws/containerinsight/ecsconst.go +++ b/internal/aws/containerinsight/ecsconst.go @@ -11,7 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -package containerinsight +package containerinsight // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/containerinsight" //define constants that are used for ECS Container Insights only const ( diff --git a/internal/aws/containerinsight/k8sconst.go b/internal/aws/containerinsight/k8sconst.go index 465a268c260f..8bd250631c8a 100644 --- a/internal/aws/containerinsight/k8sconst.go +++ b/internal/aws/containerinsight/k8sconst.go @@ -11,7 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -package containerinsight +package containerinsight // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/containerinsight" //define constants that are used for EKS Container Insights only const ( diff --git a/internal/aws/containerinsight/utils.go b/internal/aws/containerinsight/utils.go index 2ef9d5565c09..0c11a0594712 100644 --- a/internal/aws/containerinsight/utils.go +++ b/internal/aws/containerinsight/utils.go @@ -11,7 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -package containerinsight +package containerinsight // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/containerinsight" import ( "fmt" diff --git a/internal/aws/ecsutil/client.go b/internal/aws/ecsutil/client.go index e94b7fc99b72..e98210e57583 100644 --- a/internal/aws/ecsutil/client.go +++ b/internal/aws/ecsutil/client.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecsutil +package ecsutil // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/ecsutil" import ( "fmt" diff --git a/internal/aws/ecsutil/doc.go b/internal/aws/ecsutil/doc.go index 582a01a9f601..fa1d5454d29e 100644 --- a/internal/aws/ecsutil/doc.go +++ b/internal/aws/ecsutil/doc.go @@ -14,4 +14,4 @@ // limitations under the License. // Package ecsutil provides a common task metadata definition and client for ECS environments -package ecsutil +package ecsutil // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/ecsutil" diff --git a/internal/aws/ecsutil/ecsutiltest/testutil.go b/internal/aws/ecsutil/ecsutiltest/testutil.go index 4fdbcb3cd785..44d9c42b0379 100644 --- a/internal/aws/ecsutil/ecsutiltest/testutil.go +++ b/internal/aws/ecsutil/ecsutiltest/testutil.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecsutiltest +package ecsutiltest // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/ecsutil/ecsutiltest" import ( _ "embed" diff --git a/internal/aws/ecsutil/endpoints/metadata.go b/internal/aws/ecsutil/endpoints/metadata.go index 9d170b0755c7..2a944f82a472 100644 --- a/internal/aws/ecsutil/endpoints/metadata.go +++ b/internal/aws/ecsutil/endpoints/metadata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package endpoints +package endpoints // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/ecsutil/endpoints" import ( "fmt" diff --git a/internal/aws/ecsutil/metadata.go b/internal/aws/ecsutil/metadata.go index cf5f837b125c..e125e8d62f06 100644 --- a/internal/aws/ecsutil/metadata.go +++ b/internal/aws/ecsutil/metadata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecsutil +package ecsutil // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/ecsutil" // TaskMetadata defines task metadata for a task type TaskMetadata struct { diff --git a/internal/aws/ecsutil/metadata_provider.go b/internal/aws/ecsutil/metadata_provider.go index fa50cc879469..fb62fec62ece 100644 --- a/internal/aws/ecsutil/metadata_provider.go +++ b/internal/aws/ecsutil/metadata_provider.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecsutil +package ecsutil // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/ecsutil" import ( "bytes" diff --git a/internal/aws/ecsutil/rest_client.go b/internal/aws/ecsutil/rest_client.go index 65c5ed9bef44..4e256580c2f2 100644 --- a/internal/aws/ecsutil/rest_client.go +++ b/internal/aws/ecsutil/rest_client.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecsutil +package ecsutil // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/ecsutil" import ( "net/url" diff --git a/internal/aws/k8s/k8sclient/clientset.go b/internal/aws/k8s/k8sclient/clientset.go index 092bac316a02..af11e2ffc96f 100644 --- a/internal/aws/k8s/k8sclient/clientset.go +++ b/internal/aws/k8s/k8sclient/clientset.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sclient +package k8sclient // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/k8s/k8sclient" import ( "os" diff --git a/internal/aws/k8s/k8sclient/endpoint.go b/internal/aws/k8s/k8sclient/endpoint.go index 722a64e56cf2..9a51720a91a3 100644 --- a/internal/aws/k8s/k8sclient/endpoint.go +++ b/internal/aws/k8s/k8sclient/endpoint.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sclient +package k8sclient // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/k8s/k8sclient" import ( "context" diff --git a/internal/aws/k8s/k8sclient/endpoint_info.go b/internal/aws/k8s/k8sclient/endpoint_info.go index b2081ad9db63..ce62f5157cae 100644 --- a/internal/aws/k8s/k8sclient/endpoint_info.go +++ b/internal/aws/k8s/k8sclient/endpoint_info.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sclient +package k8sclient // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/k8s/k8sclient" type endpointInfo struct { name string //service name diff --git a/internal/aws/k8s/k8sclient/job.go b/internal/aws/k8s/k8sclient/job.go index ea028800fcea..2726e3feb98c 100644 --- a/internal/aws/k8s/k8sclient/job.go +++ b/internal/aws/k8s/k8sclient/job.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sclient +package k8sclient // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/k8s/k8sclient" import ( "context" diff --git a/internal/aws/k8s/k8sclient/job_info.go b/internal/aws/k8s/k8sclient/job_info.go index 27ebea10e02c..50754162af36 100644 --- a/internal/aws/k8s/k8sclient/job_info.go +++ b/internal/aws/k8s/k8sclient/job_info.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sclient +package k8sclient // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/k8s/k8sclient" type jobInfo struct { name string diff --git a/internal/aws/k8s/k8sclient/node.go b/internal/aws/k8s/k8sclient/node.go index 3b29577aadea..0f8283f8c549 100644 --- a/internal/aws/k8s/k8sclient/node.go +++ b/internal/aws/k8s/k8sclient/node.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sclient +package k8sclient // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/k8s/k8sclient" import ( "context" diff --git a/internal/aws/k8s/k8sclient/node_info.go b/internal/aws/k8s/k8sclient/node_info.go index e9ef17356897..ca01fc4545dd 100644 --- a/internal/aws/k8s/k8sclient/node_info.go +++ b/internal/aws/k8s/k8sclient/node_info.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sclient +package k8sclient // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/k8s/k8sclient" import ( v1 "k8s.io/api/core/v1" diff --git a/internal/aws/k8s/k8sclient/obj_store.go b/internal/aws/k8s/k8sclient/obj_store.go index 74ae92964b1d..7fa89c5f8783 100644 --- a/internal/aws/k8s/k8sclient/obj_store.go +++ b/internal/aws/k8s/k8sclient/obj_store.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sclient +package k8sclient // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/k8s/k8sclient" import ( "fmt" diff --git a/internal/aws/k8s/k8sclient/pod.go b/internal/aws/k8s/k8sclient/pod.go index 56629a67d04d..0c57c68a122a 100644 --- a/internal/aws/k8s/k8sclient/pod.go +++ b/internal/aws/k8s/k8sclient/pod.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sclient +package k8sclient // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/k8s/k8sclient" import ( "context" diff --git a/internal/aws/k8s/k8sclient/pod_info.go b/internal/aws/k8s/k8sclient/pod_info.go index b52f89e29438..16a9f8b2f125 100644 --- a/internal/aws/k8s/k8sclient/pod_info.go +++ b/internal/aws/k8s/k8sclient/pod_info.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sclient +package k8sclient // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/k8s/k8sclient" import ( v1 "k8s.io/api/core/v1" diff --git a/internal/aws/k8s/k8sclient/replicaset.go b/internal/aws/k8s/k8sclient/replicaset.go index 2f155a57b988..871dd3c167f7 100644 --- a/internal/aws/k8s/k8sclient/replicaset.go +++ b/internal/aws/k8s/k8sclient/replicaset.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sclient +package k8sclient // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/k8s/k8sclient" import ( "context" diff --git a/internal/aws/k8s/k8sclient/replicaset_info.go b/internal/aws/k8s/k8sclient/replicaset_info.go index 162ea74e0add..3eff183aeb17 100644 --- a/internal/aws/k8s/k8sclient/replicaset_info.go +++ b/internal/aws/k8s/k8sclient/replicaset_info.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sclient +package k8sclient // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/k8s/k8sclient" type replicaSetInfo struct { name string diff --git a/internal/aws/k8s/k8sutil/util.go b/internal/aws/k8s/k8sutil/util.go index 9400e8f6aa42..c499ed865ea4 100644 --- a/internal/aws/k8s/k8sutil/util.go +++ b/internal/aws/k8s/k8sutil/util.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sutil +package k8sutil // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/k8s/k8sutil" import ( "fmt" diff --git a/internal/aws/metrics/metric_calculator.go b/internal/aws/metrics/metric_calculator.go index 55ae31d9ff79..aad3d407ced8 100644 --- a/internal/aws/metrics/metric_calculator.go +++ b/internal/aws/metrics/metric_calculator.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metrics +package metrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/metrics" import ( "sync" diff --git a/internal/aws/proxy/cfg.go b/internal/aws/proxy/cfg.go index fc85b479dbb8..734e372c5576 100644 --- a/internal/aws/proxy/cfg.go +++ b/internal/aws/proxy/cfg.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package proxy +package proxy // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/proxy" import ( "go.opentelemetry.io/collector/config/confignet" diff --git a/internal/aws/proxy/conn.go b/internal/aws/proxy/conn.go index f6514ff14d96..407ca86bb471 100644 --- a/internal/aws/proxy/conn.go +++ b/internal/aws/proxy/conn.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package proxy +package proxy // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/proxy" import ( "crypto/tls" diff --git a/internal/aws/proxy/server.go b/internal/aws/proxy/server.go index 31edea22240d..2f8d0118c879 100644 --- a/internal/aws/proxy/server.go +++ b/internal/aws/proxy/server.go @@ -13,7 +13,7 @@ // limitations under the License. // Package proxy provides an http server to act as a signing proxy for SDKs calling AWS X-Ray APIs -package proxy +package proxy // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/proxy" import ( "bytes" diff --git a/internal/aws/xray/awsxray.go b/internal/aws/xray/awsxray.go index 5a6c5a799710..2470da2b57ba 100644 --- a/internal/aws/xray/awsxray.go +++ b/internal/aws/xray/awsxray.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsxray +package awsxray // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/xray" // AWS-specific OpenTelemetry attribute names const ( diff --git a/internal/aws/xray/tracesegment.go b/internal/aws/xray/tracesegment.go index c7580aa552e4..ebfd8c8c6865 100644 --- a/internal/aws/xray/tracesegment.go +++ b/internal/aws/xray/tracesegment.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsxray +package awsxray // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/xray" import ( "encoding/json" diff --git a/internal/aws/xray/util.go b/internal/aws/xray/util.go index 871d71adf44a..5d516eb44089 100644 --- a/internal/aws/xray/util.go +++ b/internal/aws/xray/util.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsxray +package awsxray // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/aws/xray" // String returns a pointer to the provided string, or nil if it is an empty string. func String(v string) *string { diff --git a/internal/common/testing/container/container.go b/internal/common/testing/container/container.go index f0407b7490b8..897bb67818b6 100644 --- a/internal/common/testing/container/container.go +++ b/internal/common/testing/container/container.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package container +package container // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/common/testing/container" import ( "bufio" diff --git a/internal/common/testing/util/maps.go b/internal/common/testing/util/maps.go index cb1cb9d6eec5..077db5f992dc 100644 --- a/internal/common/testing/util/maps.go +++ b/internal/common/testing/util/maps.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package util +package util // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/common/testing/util" // MergeStringMaps merges n maps with a later map's keys overriding earlier maps. func MergeStringMaps(maps ...map[string]string) map[string]string { diff --git a/internal/common/ttlmap/ttl_map.go b/internal/common/ttlmap/ttl_map.go index b96b691b5597..235d2f3040e2 100644 --- a/internal/common/ttlmap/ttl_map.go +++ b/internal/common/ttlmap/ttl_map.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ttlmap +package ttlmap // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/common/ttlmap" import ( "sync" diff --git a/internal/components/components.go b/internal/components/components.go index 89d95e78bea2..d92a7b173d5c 100644 --- a/internal/components/components.go +++ b/internal/components/components.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package components +package components // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/components" import ( "go.opentelemetry.io/collector/component" diff --git a/internal/components/unstable_components_disabled.go b/internal/components/unstable_components_disabled.go index 5c4a6f564943..9ee7979e0abb 100644 --- a/internal/components/unstable_components_disabled.go +++ b/internal/components/unstable_components_disabled.go @@ -15,7 +15,7 @@ //go:build !enable_unstable // +build !enable_unstable -package components +package components // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/components" import ( "go.opentelemetry.io/collector/component" diff --git a/internal/components/unstable_components_enabled.go b/internal/components/unstable_components_enabled.go index cd0c3a0a7d53..223bf10a6cb0 100644 --- a/internal/components/unstable_components_enabled.go +++ b/internal/components/unstable_components_enabled.go @@ -15,7 +15,7 @@ //go:build enable_unstable // +build enable_unstable -package components +package components // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/components" import ( "go.opentelemetry.io/collector/component" diff --git a/internal/coreinternal/attraction/attraction.go b/internal/coreinternal/attraction/attraction.go index f90d628528c3..5f01293709ff 100644 --- a/internal/coreinternal/attraction/attraction.go +++ b/internal/coreinternal/attraction/attraction.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package attraction +package attraction // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/attraction" import ( "fmt" diff --git a/internal/coreinternal/attraction/hasher.go b/internal/coreinternal/attraction/hasher.go index 88526f7e32c2..a1643cc88bb5 100644 --- a/internal/coreinternal/attraction/hasher.go +++ b/internal/coreinternal/attraction/hasher.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package attraction +package attraction // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/attraction" import ( // #nosec diff --git a/internal/coreinternal/goldendataset/generator_commons.go b/internal/coreinternal/goldendataset/generator_commons.go index a4e31175ce66..91380c4c0258 100644 --- a/internal/coreinternal/goldendataset/generator_commons.go +++ b/internal/coreinternal/goldendataset/generator_commons.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package goldendataset +package goldendataset // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/goldendataset" import ( "encoding/csv" diff --git a/internal/coreinternal/goldendataset/metrics_gen.go b/internal/coreinternal/goldendataset/metrics_gen.go index f0c94f0348bd..e78db19b0c97 100644 --- a/internal/coreinternal/goldendataset/metrics_gen.go +++ b/internal/coreinternal/goldendataset/metrics_gen.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package goldendataset +package goldendataset // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/goldendataset" import ( "fmt" diff --git a/internal/coreinternal/goldendataset/pict_metrics_gen.go b/internal/coreinternal/goldendataset/pict_metrics_gen.go index ca67e062e762..f0d914aca163 100644 --- a/internal/coreinternal/goldendataset/pict_metrics_gen.go +++ b/internal/coreinternal/goldendataset/pict_metrics_gen.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package goldendataset +package goldendataset // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/goldendataset" import ( "fmt" diff --git a/internal/coreinternal/goldendataset/pict_metrics_input_defs.go b/internal/coreinternal/goldendataset/pict_metrics_input_defs.go index 3a5a8183aa33..16a6af901536 100644 --- a/internal/coreinternal/goldendataset/pict_metrics_input_defs.go +++ b/internal/coreinternal/goldendataset/pict_metrics_input_defs.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package goldendataset +package goldendataset // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/goldendataset" // Start of PICT inputs for generating golden dataset metrics (pict_input_metrics.txt) diff --git a/internal/coreinternal/goldendataset/pict_tracing_input_defs.go b/internal/coreinternal/goldendataset/pict_tracing_input_defs.go index 4d45fb27f099..1a9ccdc1bd16 100644 --- a/internal/coreinternal/goldendataset/pict_tracing_input_defs.go +++ b/internal/coreinternal/goldendataset/pict_tracing_input_defs.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package goldendataset +package goldendataset // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/goldendataset" // Start of PICT inputs for generating golden dataset ResourceSpans (pict_input_traces.txt) diff --git a/internal/coreinternal/goldendataset/resource_generator.go b/internal/coreinternal/goldendataset/resource_generator.go index 59c67d3f7a23..56065f504938 100644 --- a/internal/coreinternal/goldendataset/resource_generator.go +++ b/internal/coreinternal/goldendataset/resource_generator.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package goldendataset +package goldendataset // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/goldendataset" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/internal/coreinternal/goldendataset/span_generator.go b/internal/coreinternal/goldendataset/span_generator.go index 9f19a5b9dc7d..5a82c0cdb81b 100644 --- a/internal/coreinternal/goldendataset/span_generator.go +++ b/internal/coreinternal/goldendataset/span_generator.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package goldendataset +package goldendataset // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/goldendataset" import ( "fmt" diff --git a/internal/coreinternal/goldendataset/traces_generator.go b/internal/coreinternal/goldendataset/traces_generator.go index 16d544b20c93..d7d8e1c50d76 100644 --- a/internal/coreinternal/goldendataset/traces_generator.go +++ b/internal/coreinternal/goldendataset/traces_generator.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package goldendataset +package goldendataset // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/goldendataset" import ( "fmt" diff --git a/internal/coreinternal/idutils/big_endian_converter.go b/internal/coreinternal/idutils/big_endian_converter.go index 13e0aea28783..23006bf8c00c 100644 --- a/internal/coreinternal/idutils/big_endian_converter.go +++ b/internal/coreinternal/idutils/big_endian_converter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package idutils +package idutils // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/idutils" import ( "encoding/binary" diff --git a/internal/coreinternal/idutils/doc.go b/internal/coreinternal/idutils/doc.go index 6440859283b5..1e73b371850f 100644 --- a/internal/coreinternal/idutils/doc.go +++ b/internal/coreinternal/idutils/doc.go @@ -16,4 +16,4 @@ // // Functions in big_endian_converter.go help converting uint64 ids to TraceID // and SpanID using big endian, and vice versa. -package idutils // import "go.opentelemetry.io/collector/internal/idutils" +package idutils // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/idutils" diff --git a/internal/coreinternal/metricstestutil/metricsutil.go b/internal/coreinternal/metricstestutil/metricsutil.go index 7340b83a07cf..613e6e284f39 100644 --- a/internal/coreinternal/metricstestutil/metricsutil.go +++ b/internal/coreinternal/metricstestutil/metricsutil.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metricstestutil +package metricstestutil // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/metricstestutil" import ( "time" diff --git a/internal/coreinternal/occonventions/opencensus.go b/internal/coreinternal/occonventions/opencensus.go index 2a1b8898db69..b2f688db98fb 100644 --- a/internal/coreinternal/occonventions/opencensus.go +++ b/internal/coreinternal/occonventions/opencensus.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package occonventions +package occonventions // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/occonventions" // OTLP attributes to map certain OpenCensus proto fields. These fields don't have // corresponding fields in OTLP, nor are defined in OTLP semantic conventions. diff --git a/internal/coreinternal/processor/filterconfig/config.go b/internal/coreinternal/processor/filterconfig/config.go index 2ffa999cd88a..ebde3f9c688d 100644 --- a/internal/coreinternal/processor/filterconfig/config.go +++ b/internal/coreinternal/processor/filterconfig/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filterconfig +package filterconfig // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterconfig" import ( "errors" diff --git a/internal/coreinternal/processor/filterexpr/matcher.go b/internal/coreinternal/processor/filterexpr/matcher.go index 351fa61596e2..e342f492f5ea 100644 --- a/internal/coreinternal/processor/filterexpr/matcher.go +++ b/internal/coreinternal/processor/filterexpr/matcher.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filterexpr +package filterexpr // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterexpr" import ( "github.com/antonmedv/expr" diff --git a/internal/coreinternal/processor/filterhelper/filterhelper.go b/internal/coreinternal/processor/filterhelper/filterhelper.go index 66c43f476a6b..4967cdc34ee0 100644 --- a/internal/coreinternal/processor/filterhelper/filterhelper.go +++ b/internal/coreinternal/processor/filterhelper/filterhelper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filterhelper +package filterhelper // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterhelper" import ( "fmt" diff --git a/internal/coreinternal/processor/filterlog/filterlog.go b/internal/coreinternal/processor/filterlog/filterlog.go index 289afbdce6b5..6216163e53c6 100644 --- a/internal/coreinternal/processor/filterlog/filterlog.go +++ b/internal/coreinternal/processor/filterlog/filterlog.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filterlog +package filterlog // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterlog" import ( "fmt" diff --git a/internal/coreinternal/processor/filtermatcher/attributematcher.go b/internal/coreinternal/processor/filtermatcher/attributematcher.go index cfd63ebab08a..75c89f2298f3 100644 --- a/internal/coreinternal/processor/filtermatcher/attributematcher.go +++ b/internal/coreinternal/processor/filtermatcher/attributematcher.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filtermatcher +package filtermatcher // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filtermatcher" import ( "errors" diff --git a/internal/coreinternal/processor/filtermatcher/filtermatcher.go b/internal/coreinternal/processor/filtermatcher/filtermatcher.go index 8ffdb22643e2..e4e4198f5b72 100644 --- a/internal/coreinternal/processor/filtermatcher/filtermatcher.go +++ b/internal/coreinternal/processor/filtermatcher/filtermatcher.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filtermatcher +package filtermatcher // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filtermatcher" import ( "fmt" diff --git a/internal/coreinternal/processor/filtermetric/config.go b/internal/coreinternal/processor/filtermetric/config.go index 466c4fd35f6a..cb90b2899f0a 100644 --- a/internal/coreinternal/processor/filtermetric/config.go +++ b/internal/coreinternal/processor/filtermetric/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filtermetric +package filtermetric // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filtermetric" import ( "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterconfig" diff --git a/internal/coreinternal/processor/filtermetric/doc.go b/internal/coreinternal/processor/filtermetric/doc.go index 29a0f50b1c87..d4e9865f5cb5 100644 --- a/internal/coreinternal/processor/filtermetric/doc.go +++ b/internal/coreinternal/processor/filtermetric/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package filtermetric is a helper package for processing metrics. -package filtermetric +package filtermetric // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filtermetric" diff --git a/internal/coreinternal/processor/filtermetric/expr_matcher.go b/internal/coreinternal/processor/filtermetric/expr_matcher.go index f07012700f4c..d39467315770 100644 --- a/internal/coreinternal/processor/filtermetric/expr_matcher.go +++ b/internal/coreinternal/processor/filtermetric/expr_matcher.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filtermetric +package filtermetric // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filtermetric" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/internal/coreinternal/processor/filtermetric/filtermetric.go b/internal/coreinternal/processor/filtermetric/filtermetric.go index 6983aeb7b83e..2bd3ab695e5e 100644 --- a/internal/coreinternal/processor/filtermetric/filtermetric.go +++ b/internal/coreinternal/processor/filtermetric/filtermetric.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filtermetric +package filtermetric // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filtermetric" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/internal/coreinternal/processor/filtermetric/name_matcher.go b/internal/coreinternal/processor/filtermetric/name_matcher.go index c4557b4555dd..4b0efcd67909 100644 --- a/internal/coreinternal/processor/filtermetric/name_matcher.go +++ b/internal/coreinternal/processor/filtermetric/name_matcher.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filtermetric +package filtermetric // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filtermetric" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/internal/coreinternal/processor/filterset/config.go b/internal/coreinternal/processor/filterset/config.go index f5a977fda121..669537d9d0aa 100644 --- a/internal/coreinternal/processor/filterset/config.go +++ b/internal/coreinternal/processor/filterset/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filterset +package filterset // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterset" import ( "fmt" diff --git a/internal/coreinternal/processor/filterset/doc.go b/internal/coreinternal/processor/filterset/doc.go index 6dc697bc0cb6..d2526bdcde62 100644 --- a/internal/coreinternal/processor/filterset/doc.go +++ b/internal/coreinternal/processor/filterset/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package filterset provides an interface for matching strings against a set of string filters. -package filterset +package filterset // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterset" diff --git a/internal/coreinternal/processor/filterset/filterset.go b/internal/coreinternal/processor/filterset/filterset.go index 137c5e5746b7..e9131d5998f0 100644 --- a/internal/coreinternal/processor/filterset/filterset.go +++ b/internal/coreinternal/processor/filterset/filterset.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filterset +package filterset // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterset" // FilterSet is an interface for matching strings against a set of filters. type FilterSet interface { diff --git a/internal/coreinternal/processor/filterset/regexp/config.go b/internal/coreinternal/processor/filterset/regexp/config.go index 01bafe2f5fbc..829e370d9ed9 100644 --- a/internal/coreinternal/processor/filterset/regexp/config.go +++ b/internal/coreinternal/processor/filterset/regexp/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package regexp +package regexp // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterset/regexp" // Config represents the options for a NewFilterSet. type Config struct { diff --git a/internal/coreinternal/processor/filterset/regexp/doc.go b/internal/coreinternal/processor/filterset/regexp/doc.go index 4c8ab33f0664..74155e9ce002 100644 --- a/internal/coreinternal/processor/filterset/regexp/doc.go +++ b/internal/coreinternal/processor/filterset/regexp/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package regexp provides an implementation to match strings against a set of regexp string filters. -package regexp +package regexp // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterset/regexp" diff --git a/internal/coreinternal/processor/filterset/regexp/regexpfilterset.go b/internal/coreinternal/processor/filterset/regexp/regexpfilterset.go index d6ced6b00e36..c132044f4daa 100644 --- a/internal/coreinternal/processor/filterset/regexp/regexpfilterset.go +++ b/internal/coreinternal/processor/filterset/regexp/regexpfilterset.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package regexp +package regexp // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterset/regexp" import ( "regexp" diff --git a/internal/coreinternal/processor/filterset/strict/doc.go b/internal/coreinternal/processor/filterset/strict/doc.go index 9a069ab9a9c7..fce533f5b48a 100644 --- a/internal/coreinternal/processor/filterset/strict/doc.go +++ b/internal/coreinternal/processor/filterset/strict/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package strict provides an implementation to match strings against a set of exact match string filters. -package strict +package strict // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterset/strict" diff --git a/internal/coreinternal/processor/filterset/strict/strictfilterset.go b/internal/coreinternal/processor/filterset/strict/strictfilterset.go index 8394b2560306..0d23da5623b1 100644 --- a/internal/coreinternal/processor/filterset/strict/strictfilterset.go +++ b/internal/coreinternal/processor/filterset/strict/strictfilterset.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package strict +package strict // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterset/strict" // FilterSet encapsulates a set of exact string match filters. // FilterSet is exported for convenience, but has unexported fields and should be constructed through NewFilterSet. diff --git a/internal/coreinternal/processor/filterspan/filterspan.go b/internal/coreinternal/processor/filterspan/filterspan.go index e7d7c522579c..72724b0dae57 100644 --- a/internal/coreinternal/processor/filterspan/filterspan.go +++ b/internal/coreinternal/processor/filterspan/filterspan.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filterspan +package filterspan // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterspan" import ( "fmt" diff --git a/internal/coreinternal/testutil/testutil.go b/internal/coreinternal/testutil/testutil.go index 59fee0b8b6a7..bfe3e2eba299 100644 --- a/internal/coreinternal/testutil/testutil.go +++ b/internal/coreinternal/testutil/testutil.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package testutil +package testutil // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testutil" import ( "net" diff --git a/internal/coreinternal/tracetranslator/protospan_translation.go b/internal/coreinternal/tracetranslator/protospan_translation.go index 9888bcb70fde..155033dbba49 100644 --- a/internal/coreinternal/tracetranslator/protospan_translation.go +++ b/internal/coreinternal/tracetranslator/protospan_translation.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tracetranslator +package tracetranslator // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/tracetranslator" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/internal/docker/config.go b/internal/docker/config.go index a0fc91b292da..409ccbdaeea6 100644 --- a/internal/docker/config.go +++ b/internal/docker/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package docker +package docker // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/docker" import ( "errors" diff --git a/internal/docker/docker.go b/internal/docker/docker.go index 25a1c35aad0a..527879fe47c1 100644 --- a/internal/docker/docker.go +++ b/internal/docker/docker.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package docker +package docker // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/docker" import ( "context" diff --git a/internal/docker/matcher.go b/internal/docker/matcher.go index 898abb6e0c62..df209fed884c 100644 --- a/internal/docker/matcher.go +++ b/internal/docker/matcher.go @@ -17,7 +17,7 @@ // monitors. Filter instances have a Matches function which takes an instance // of the type that they items and return whether that instance matches the // items. -package docker +package docker // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/docker" import ( "fmt" diff --git a/internal/k8sconfig/config.go b/internal/k8sconfig/config.go index 3ab81a2087c3..fb2385eeb28e 100644 --- a/internal/k8sconfig/config.go +++ b/internal/k8sconfig/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sconfig +package k8sconfig // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/k8sconfig" import ( "fmt" diff --git a/internal/kubelet/cert.go b/internal/kubelet/cert.go index 0a276f4c186e..9f981cc4794c 100644 --- a/internal/kubelet/cert.go +++ b/internal/kubelet/cert.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kubelet +package kubelet // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/kubelet" import ( "crypto/x509" diff --git a/internal/kubelet/client.go b/internal/kubelet/client.go index 42eb007a3fb6..c171cc977ee3 100644 --- a/internal/kubelet/client.go +++ b/internal/kubelet/client.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kubelet +package kubelet // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/kubelet" import ( "crypto/tls" diff --git a/internal/kubelet/client_config.go b/internal/kubelet/client_config.go index 73da9fd9f7ee..2fcbdc3135d5 100644 --- a/internal/kubelet/client_config.go +++ b/internal/kubelet/client_config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kubelet +package kubelet // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/kubelet" import ( "go.opentelemetry.io/collector/config/configtls" diff --git a/internal/scrapertest/expected.go b/internal/scrapertest/expected.go index cc8aa5eb6fd5..0d30dbca0938 100644 --- a/internal/scrapertest/expected.go +++ b/internal/scrapertest/expected.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package scrapertest +package scrapertest // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/scrapertest" import ( "encoding/json" diff --git a/internal/scrapertest/scrapertest.go b/internal/scrapertest/scrapertest.go index 243318553f2a..60200e27d46f 100644 --- a/internal/scrapertest/scrapertest.go +++ b/internal/scrapertest/scrapertest.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package scrapertest +package scrapertest // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/scrapertest" import ( "fmt" diff --git a/internal/sharedcomponent/sharedcomponent.go b/internal/sharedcomponent/sharedcomponent.go index 66e6487f7e13..008d99a4821f 100644 --- a/internal/sharedcomponent/sharedcomponent.go +++ b/internal/sharedcomponent/sharedcomponent.go @@ -14,7 +14,7 @@ // Package sharedcomponent exposes util functionality for receivers and exporters // that need to share state between different signal types instances such as net.Listener or os.File. -package sharedcomponent +package sharedcomponent // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/sharedcomponent" import ( "context" diff --git a/internal/splunk/common.go b/internal/splunk/common.go index 98ba46c8de8d..7c5abba0e495 100644 --- a/internal/splunk/common.go +++ b/internal/splunk/common.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package splunk +package splunk // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/splunk" import ( "encoding/json" diff --git a/internal/splunk/hostid.go b/internal/splunk/hostid.go index fc9fed1b5002..52fbeef69609 100644 --- a/internal/splunk/hostid.go +++ b/internal/splunk/hostid.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package splunk +package splunk // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/splunk" import ( "fmt" diff --git a/internal/splunk/httprequest.go b/internal/splunk/httprequest.go index 0c3aab9f07ff..96e0c872c6a0 100644 --- a/internal/splunk/httprequest.go +++ b/internal/splunk/httprequest.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package splunk +package splunk // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/splunk" import ( "fmt" diff --git a/internal/stanza/config.go b/internal/stanza/config.go index 4c08f334564e..f4bdfeafee8c 100644 --- a/internal/stanza/config.go +++ b/internal/stanza/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package stanza +package stanza // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/stanza" import ( "time" diff --git a/internal/stanza/converter.go b/internal/stanza/converter.go index 9169524c01aa..8a108edcca44 100644 --- a/internal/stanza/converter.go +++ b/internal/stanza/converter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package stanza +package stanza // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/stanza" import ( "context" diff --git a/internal/stanza/emitter.go b/internal/stanza/emitter.go index 01ae05d68f96..e251bd11cb8e 100644 --- a/internal/stanza/emitter.go +++ b/internal/stanza/emitter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package stanza +package stanza // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/stanza" import ( "context" diff --git a/internal/stanza/factory.go b/internal/stanza/factory.go index 40ae60cc5efc..de108762a565 100644 --- a/internal/stanza/factory.go +++ b/internal/stanza/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package stanza +package stanza // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/stanza" import ( "context" diff --git a/internal/stanza/receiver.go b/internal/stanza/receiver.go index fd1871c9fdaf..0a117b86d1bf 100644 --- a/internal/stanza/receiver.go +++ b/internal/stanza/receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package stanza +package stanza // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/stanza" import ( "context" diff --git a/internal/stanza/register.go b/internal/stanza/register.go index d44079c80573..08ce0b0214c9 100644 --- a/internal/stanza/register.go +++ b/internal/stanza/register.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package stanza +package stanza // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/stanza" import ( // Register parsers and transformers for stanza-based log receivers diff --git a/internal/stanza/storage.go b/internal/stanza/storage.go index ae61354626aa..cd3fa35d07cf 100644 --- a/internal/stanza/storage.go +++ b/internal/stanza/storage.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package stanza +package stanza // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/stanza" import ( "context" diff --git a/internal/tools/go.mod b/internal/tools/go.mod index 49f0c89d95d6..09e16110ea3c 100644 --- a/internal/tools/go.mod +++ b/internal/tools/go.mod @@ -6,6 +6,7 @@ require ( github.com/client9/misspell v0.3.4 github.com/golangci/golangci-lint v1.43.0 github.com/google/addlicense v1.0.0 + github.com/jcchavezs/porto v0.4.0 github.com/jstemmer/go-junit-report v0.9.1 github.com/pavius/impi v0.0.3 github.com/prometheus/common v0.29.0 // indirect diff --git a/internal/tools/go.sum b/internal/tools/go.sum index b8af48c31c45..5a42d17f79fb 100644 --- a/internal/tools/go.sum +++ b/internal/tools/go.sum @@ -453,6 +453,8 @@ github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANyt github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= +github.com/jcchavezs/porto v0.4.0 h1:Zj7RligrxmDdKGo6fBO2xYAHxEgrVBfs1YAja20WbV4= +github.com/jcchavezs/porto v0.4.0/go.mod h1:fESH0gzDHiutHRdX2hv27ojnOVFco37hg1W6E9EZF4A= github.com/jgautheron/goconst v1.5.1 h1:HxVbL1MhydKs8R8n/HE5NPvzfaYmQJA3o879lE4+WcM= github.com/jgautheron/goconst v1.5.1/go.mod h1:aAosetZ5zaeC/2EfMeRswtxUFBpe2Hr7HzkgX4fanO4= github.com/jhump/protoreflect v1.6.1/go.mod h1:RZQ/lnuN+zqeRVpQigTwO6o0AJUkxbnSnpuG7toUTG4= diff --git a/internal/tools/tools.go b/internal/tools/tools.go index 17187391e4fd..c2951ab0fcd1 100644 --- a/internal/tools/tools.go +++ b/internal/tools/tools.go @@ -15,7 +15,7 @@ //go:build tools // +build tools -package tools +package tools // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/tools" // This file follows the recommendation at // https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module @@ -26,6 +26,7 @@ import ( _ "github.com/client9/misspell/cmd/misspell" _ "github.com/golangci/golangci-lint/cmd/golangci-lint" _ "github.com/google/addlicense" + _ "github.com/jcchavezs/porto/cmd/porto" _ "github.com/jstemmer/go-junit-report" _ "github.com/pavius/impi/cmd/impi" _ "github.com/tcnksm/ghr" diff --git a/internal/version/version.go b/internal/version/version.go index abf638cb898f..45d973d2becc 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package version +package version // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/version" // Version variable will be replaced at link time after `make` has been run. var Version = "latest" diff --git a/pkg/batchperresourceattr/batchperresourceattr.go b/pkg/batchperresourceattr/batchperresourceattr.go index b977a62d41dd..d620884b3108 100644 --- a/pkg/batchperresourceattr/batchperresourceattr.go +++ b/pkg/batchperresourceattr/batchperresourceattr.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package batchperresourceattr +package batchperresourceattr // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/batchperresourceattr" import ( "context" diff --git a/pkg/batchpersignal/batchpersignal.go b/pkg/batchpersignal/batchpersignal.go index 1964db36e9f0..18c5c5fe9ed0 100644 --- a/pkg/batchpersignal/batchpersignal.go +++ b/pkg/batchpersignal/batchpersignal.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package batchpersignal +package batchpersignal // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/batchpersignal" import "go.opentelemetry.io/collector/model/pdata" diff --git a/pkg/experimentalmetricmetadata/metadata.go b/pkg/experimentalmetricmetadata/metadata.go index 12a210b44d52..a7a50889019e 100644 --- a/pkg/experimentalmetricmetadata/metadata.go +++ b/pkg/experimentalmetricmetadata/metadata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package experimentalmetricmetadata +package experimentalmetricmetadata // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/experimentalmetricmetadata" // MetadataExporter provides an interface to implement // ConsumeMetadata in Exporters that support metadata. diff --git a/pkg/resourcetotelemetry/resource_to_telemetry.go b/pkg/resourcetotelemetry/resource_to_telemetry.go index 209acaf2c5af..85ff6f247ecd 100644 --- a/pkg/resourcetotelemetry/resource_to_telemetry.go +++ b/pkg/resourcetotelemetry/resource_to_telemetry.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package resourcetotelemetry +package resourcetotelemetry // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/resourcetotelemetry" import ( "context" diff --git a/pkg/translator/jaeger/constants.go b/pkg/translator/jaeger/constants.go index 9228f254629c..cc002e019edc 100644 --- a/pkg/translator/jaeger/constants.go +++ b/pkg/translator/jaeger/constants.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package jaeger +package jaeger // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/jaeger" import ( "errors" diff --git a/pkg/translator/jaeger/jaegerproto_to_traces.go b/pkg/translator/jaeger/jaegerproto_to_traces.go index f9c23a871815..9b5fe2efc5c1 100644 --- a/pkg/translator/jaeger/jaegerproto_to_traces.go +++ b/pkg/translator/jaeger/jaegerproto_to_traces.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package jaeger +package jaeger // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/jaeger" import ( "encoding/base64" diff --git a/pkg/translator/jaeger/jaegerthrift_to_traces.go b/pkg/translator/jaeger/jaegerthrift_to_traces.go index e54d38388126..61110172ad4b 100644 --- a/pkg/translator/jaeger/jaegerthrift_to_traces.go +++ b/pkg/translator/jaeger/jaegerthrift_to_traces.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package jaeger +package jaeger // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/jaeger" import ( "encoding/base64" diff --git a/pkg/translator/jaeger/traces_to_jaegerproto.go b/pkg/translator/jaeger/traces_to_jaegerproto.go index 21a0614bfeee..9c977c4b4255 100644 --- a/pkg/translator/jaeger/traces_to_jaegerproto.go +++ b/pkg/translator/jaeger/traces_to_jaegerproto.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package jaeger +package jaeger // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/jaeger" import ( "fmt" diff --git a/pkg/translator/opencensus/metrics_to_oc.go b/pkg/translator/opencensus/metrics_to_oc.go index 6ac7507821e0..088fc2221465 100644 --- a/pkg/translator/opencensus/metrics_to_oc.go +++ b/pkg/translator/opencensus/metrics_to_oc.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package opencensus +package opencensus // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/opencensus" import ( "sort" diff --git a/pkg/translator/opencensus/oc_to_metrics.go b/pkg/translator/opencensus/oc_to_metrics.go index 78014939e3d7..68de01a45143 100644 --- a/pkg/translator/opencensus/oc_to_metrics.go +++ b/pkg/translator/opencensus/oc_to_metrics.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package opencensus +package opencensus // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/opencensus" import ( occommon "github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1" diff --git a/pkg/translator/opencensus/oc_to_resource.go b/pkg/translator/opencensus/oc_to_resource.go index 70c4b87ed3e5..da0b3b550c76 100644 --- a/pkg/translator/opencensus/oc_to_resource.go +++ b/pkg/translator/opencensus/oc_to_resource.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package opencensus +package opencensus // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/opencensus" import ( "time" diff --git a/pkg/translator/opencensus/oc_to_traces.go b/pkg/translator/opencensus/oc_to_traces.go index 67d3e6679d15..1886341a8235 100644 --- a/pkg/translator/opencensus/oc_to_traces.go +++ b/pkg/translator/opencensus/oc_to_traces.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package opencensus +package opencensus // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/opencensus" import ( "strings" diff --git a/pkg/translator/opencensus/resource_to_oc.go b/pkg/translator/opencensus/resource_to_oc.go index 29d85db10328..7323085504a9 100644 --- a/pkg/translator/opencensus/resource_to_oc.go +++ b/pkg/translator/opencensus/resource_to_oc.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package opencensus +package opencensus // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/opencensus" import ( "strconv" diff --git a/pkg/translator/opencensus/timestamp.go b/pkg/translator/opencensus/timestamp.go index 1d029d49232a..cf0c6d224394 100644 --- a/pkg/translator/opencensus/timestamp.go +++ b/pkg/translator/opencensus/timestamp.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package opencensus +package opencensus // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/opencensus" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/pkg/translator/opencensus/traces_to_oc.go b/pkg/translator/opencensus/traces_to_oc.go index 6f673463d65b..0796b1d78744 100644 --- a/pkg/translator/opencensus/traces_to_oc.go +++ b/pkg/translator/opencensus/traces_to_oc.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package opencensus +package opencensus // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/opencensus" import ( "fmt" diff --git a/pkg/translator/zipkin/internal/zipkin/attributes.go b/pkg/translator/zipkin/internal/zipkin/attributes.go index ba309f6bedca..840d377ed25c 100644 --- a/pkg/translator/zipkin/internal/zipkin/attributes.go +++ b/pkg/translator/zipkin/internal/zipkin/attributes.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package zipkin +package zipkin // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/zipkin/internal/zipkin" import ( "regexp" diff --git a/pkg/translator/zipkin/zipkinv1/consumerdata.go b/pkg/translator/zipkin/zipkinv1/consumerdata.go index 65fdd62d770b..ce9ed5137909 100644 --- a/pkg/translator/zipkin/zipkinv1/consumerdata.go +++ b/pkg/translator/zipkin/zipkinv1/consumerdata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package zipkinv1 +package zipkinv1 // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/zipkin/zipkinv1" import ( commonpb "github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1" diff --git a/pkg/translator/zipkin/zipkinv1/grpc_http_mapper.go b/pkg/translator/zipkin/zipkinv1/grpc_http_mapper.go index e3a1beb64284..161ab2fa3bd5 100644 --- a/pkg/translator/zipkin/zipkinv1/grpc_http_mapper.go +++ b/pkg/translator/zipkin/zipkinv1/grpc_http_mapper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package zipkinv1 +package zipkinv1 // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/zipkin/zipkinv1" // https://github.com/googleapis/googleapis/blob/bee79fbe03254a35db125dc6d2f1e9b752b390fe/google/rpc/code.proto#L33-L186 const ( diff --git a/pkg/translator/zipkin/zipkinv1/json.go b/pkg/translator/zipkin/zipkinv1/json.go index f56cab241d7c..0c6ea6832182 100644 --- a/pkg/translator/zipkin/zipkinv1/json.go +++ b/pkg/translator/zipkin/zipkinv1/json.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package zipkinv1 +package zipkinv1 // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/zipkin/zipkinv1" import ( "encoding/json" diff --git a/pkg/translator/zipkin/zipkinv1/status_code.go b/pkg/translator/zipkin/zipkinv1/status_code.go index c526ac283504..8af35458598a 100644 --- a/pkg/translator/zipkin/zipkinv1/status_code.go +++ b/pkg/translator/zipkin/zipkinv1/status_code.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package zipkinv1 +package zipkinv1 // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/zipkin/zipkinv1" import ( "fmt" diff --git a/pkg/translator/zipkin/zipkinv1/thrift.go b/pkg/translator/zipkin/zipkinv1/thrift.go index bb175dc96cb3..04f30d4bccc3 100644 --- a/pkg/translator/zipkin/zipkinv1/thrift.go +++ b/pkg/translator/zipkin/zipkinv1/thrift.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package zipkinv1 +package zipkinv1 // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/zipkin/zipkinv1" import ( "bytes" diff --git a/pkg/translator/zipkin/zipkinv1/to_translator.go b/pkg/translator/zipkin/zipkinv1/to_translator.go index 8b84afb14388..e5d0e017cac2 100644 --- a/pkg/translator/zipkin/zipkinv1/to_translator.go +++ b/pkg/translator/zipkin/zipkinv1/to_translator.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package zipkinv1 +package zipkinv1 // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/zipkin/zipkinv1" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/pkg/translator/zipkin/zipkinv2/from_translator.go b/pkg/translator/zipkin/zipkinv2/from_translator.go index 3d34e8330c57..0757f7a48c2f 100644 --- a/pkg/translator/zipkin/zipkinv2/from_translator.go +++ b/pkg/translator/zipkin/zipkinv2/from_translator.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package zipkinv2 +package zipkinv2 // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/zipkin/zipkinv2" import ( "encoding/json" diff --git a/pkg/translator/zipkin/zipkinv2/json.go b/pkg/translator/zipkin/zipkinv2/json.go index 54c5844fdeee..c590fef3200d 100644 --- a/pkg/translator/zipkin/zipkinv2/json.go +++ b/pkg/translator/zipkin/zipkinv2/json.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package zipkinv2 +package zipkinv2 // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/zipkin/zipkinv2" import ( "encoding/json" diff --git a/pkg/translator/zipkin/zipkinv2/marshaler.go b/pkg/translator/zipkin/zipkinv2/marshaler.go index ec294e2bc338..1c929e96d775 100644 --- a/pkg/translator/zipkin/zipkinv2/marshaler.go +++ b/pkg/translator/zipkin/zipkinv2/marshaler.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package zipkinv2 +package zipkinv2 // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/zipkin/zipkinv2" import ( zipkinreporter "github.com/openzipkin/zipkin-go/reporter" diff --git a/pkg/translator/zipkin/zipkinv2/protobuf.go b/pkg/translator/zipkin/zipkinv2/protobuf.go index 397ee5aad943..2f9d67449dc9 100644 --- a/pkg/translator/zipkin/zipkinv2/protobuf.go +++ b/pkg/translator/zipkin/zipkinv2/protobuf.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package zipkinv2 +package zipkinv2 // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/zipkin/zipkinv2" import ( "github.com/openzipkin/zipkin-go/proto/zipkin_proto3" diff --git a/pkg/translator/zipkin/zipkinv2/to_translator.go b/pkg/translator/zipkin/zipkinv2/to_translator.go index 2992533194a3..fb387fff8390 100644 --- a/pkg/translator/zipkin/zipkinv2/to_translator.go +++ b/pkg/translator/zipkin/zipkinv2/to_translator.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package zipkinv2 +package zipkinv2 // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/zipkin/zipkinv2" import ( "encoding/hex" diff --git a/processor/attributesprocessor/attributes_log.go b/processor/attributesprocessor/attributes_log.go index cc2bb3f0862f..3ad13a776bff 100644 --- a/processor/attributesprocessor/attributes_log.go +++ b/processor/attributesprocessor/attributes_log.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package attributesprocessor +package attributesprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/attributesprocessor" import ( "context" diff --git a/processor/attributesprocessor/attributes_trace.go b/processor/attributesprocessor/attributes_trace.go index 9227271e2866..78bf5d2a59ff 100644 --- a/processor/attributesprocessor/attributes_trace.go +++ b/processor/attributesprocessor/attributes_trace.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package attributesprocessor +package attributesprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/attributesprocessor" import ( "context" diff --git a/processor/attributesprocessor/config.go b/processor/attributesprocessor/config.go index 5f86b5c0694c..02d24c93c20c 100644 --- a/processor/attributesprocessor/config.go +++ b/processor/attributesprocessor/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package attributesprocessor +package attributesprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/attributesprocessor" import ( "go.opentelemetry.io/collector/config" diff --git a/processor/attributesprocessor/doc.go b/processor/attributesprocessor/doc.go index 6f8455a17220..5c00abca396a 100644 --- a/processor/attributesprocessor/doc.go +++ b/processor/attributesprocessor/doc.go @@ -14,4 +14,4 @@ // Package attributesprocessor contains the logic to modify attributes of a span. // It supports insert, update, upsert and delete as actions. -package attributesprocessor +package attributesprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/attributesprocessor" diff --git a/processor/attributesprocessor/factory.go b/processor/attributesprocessor/factory.go index 12d4805f1750..c49eb74fce0d 100644 --- a/processor/attributesprocessor/factory.go +++ b/processor/attributesprocessor/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package attributesprocessor +package attributesprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/attributesprocessor" import ( "context" diff --git a/processor/cumulativetodeltaprocessor/config.go b/processor/cumulativetodeltaprocessor/config.go index a002939fa329..2743e2c1791e 100644 --- a/processor/cumulativetodeltaprocessor/config.go +++ b/processor/cumulativetodeltaprocessor/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package cumulativetodeltaprocessor +package cumulativetodeltaprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/cumulativetodeltaprocessor" import ( "fmt" diff --git a/processor/cumulativetodeltaprocessor/doc.go b/processor/cumulativetodeltaprocessor/doc.go index c3899072d327..0f885696f6a4 100644 --- a/processor/cumulativetodeltaprocessor/doc.go +++ b/processor/cumulativetodeltaprocessor/doc.go @@ -14,4 +14,4 @@ // package cumulativetodeltaprocessor implements a processor which // converts cumulative sum metrics to cumulative delta. -package cumulativetodeltaprocessor +package cumulativetodeltaprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/cumulativetodeltaprocessor" diff --git a/processor/cumulativetodeltaprocessor/factory.go b/processor/cumulativetodeltaprocessor/factory.go index bfa4d1c0560d..9c5f516de850 100644 --- a/processor/cumulativetodeltaprocessor/factory.go +++ b/processor/cumulativetodeltaprocessor/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package cumulativetodeltaprocessor +package cumulativetodeltaprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/cumulativetodeltaprocessor" import ( "context" diff --git a/processor/cumulativetodeltaprocessor/internal/tracking/identity.go b/processor/cumulativetodeltaprocessor/internal/tracking/identity.go index 46530d7991ef..1fb038ad9009 100644 --- a/processor/cumulativetodeltaprocessor/internal/tracking/identity.go +++ b/processor/cumulativetodeltaprocessor/internal/tracking/identity.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tracking +package tracking // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/cumulativetodeltaprocessor/internal/tracking" import ( "bytes" diff --git a/processor/cumulativetodeltaprocessor/internal/tracking/metric.go b/processor/cumulativetodeltaprocessor/internal/tracking/metric.go index 20524bec5e01..776e739b74d8 100644 --- a/processor/cumulativetodeltaprocessor/internal/tracking/metric.go +++ b/processor/cumulativetodeltaprocessor/internal/tracking/metric.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tracking +package tracking // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/cumulativetodeltaprocessor/internal/tracking" type MetricPoint struct { Identity MetricIdentity diff --git a/processor/cumulativetodeltaprocessor/internal/tracking/tracker.go b/processor/cumulativetodeltaprocessor/internal/tracking/tracker.go index 90774a9432d4..74a0c83b160a 100644 --- a/processor/cumulativetodeltaprocessor/internal/tracking/tracker.go +++ b/processor/cumulativetodeltaprocessor/internal/tracking/tracker.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tracking +package tracking // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/cumulativetodeltaprocessor/internal/tracking" import ( "bytes" diff --git a/processor/cumulativetodeltaprocessor/internal/tracking/value.go b/processor/cumulativetodeltaprocessor/internal/tracking/value.go index f113c9492fbc..4185b50d989c 100644 --- a/processor/cumulativetodeltaprocessor/internal/tracking/value.go +++ b/processor/cumulativetodeltaprocessor/internal/tracking/value.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tracking +package tracking // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/cumulativetodeltaprocessor/internal/tracking" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/processor/cumulativetodeltaprocessor/processor.go b/processor/cumulativetodeltaprocessor/processor.go index 2cd01677b2b1..76da4bf1fde9 100644 --- a/processor/cumulativetodeltaprocessor/processor.go +++ b/processor/cumulativetodeltaprocessor/processor.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package cumulativetodeltaprocessor +package cumulativetodeltaprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/cumulativetodeltaprocessor" import ( "context" diff --git a/processor/deltatorateprocessor/config.go b/processor/deltatorateprocessor/config.go index d638483bf6bf..571d25f52a51 100644 --- a/processor/deltatorateprocessor/config.go +++ b/processor/deltatorateprocessor/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package deltatorateprocessor +package deltatorateprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/deltatorateprocessor" import ( "fmt" diff --git a/processor/deltatorateprocessor/doc.go b/processor/deltatorateprocessor/doc.go index 8dd39c5d88cd..3260def947c4 100644 --- a/processor/deltatorateprocessor/doc.go +++ b/processor/deltatorateprocessor/doc.go @@ -14,4 +14,4 @@ // package deltatorateprocessor implements a processor which // converts delta sum metrics to rates. -package deltatorateprocessor +package deltatorateprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/deltatorateprocessor" diff --git a/processor/deltatorateprocessor/factory.go b/processor/deltatorateprocessor/factory.go index d1c68204d5bd..d559a8419c3c 100644 --- a/processor/deltatorateprocessor/factory.go +++ b/processor/deltatorateprocessor/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package deltatorateprocessor +package deltatorateprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/deltatorateprocessor" import ( "context" diff --git a/processor/deltatorateprocessor/processor.go b/processor/deltatorateprocessor/processor.go index 7414252b6662..31aeb9321138 100644 --- a/processor/deltatorateprocessor/processor.go +++ b/processor/deltatorateprocessor/processor.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package deltatorateprocessor +package deltatorateprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/deltatorateprocessor" import ( "context" diff --git a/processor/filterprocessor/config.go b/processor/filterprocessor/config.go index f4f85a549f00..799ae9f8c374 100644 --- a/processor/filterprocessor/config.go +++ b/processor/filterprocessor/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filterprocessor +package filterprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/filterprocessor" import ( "go.opentelemetry.io/collector/config" diff --git a/processor/filterprocessor/doc.go b/processor/filterprocessor/doc.go index 8c0dc18f116e..e68bc0dfd393 100644 --- a/processor/filterprocessor/doc.go +++ b/processor/filterprocessor/doc.go @@ -14,4 +14,4 @@ // Package filterprocessor implements a processor for filtering // (dropping) metrics and/or spans by various properties. -package filterprocessor +package filterprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/filterprocessor" diff --git a/processor/filterprocessor/factory.go b/processor/filterprocessor/factory.go index 2a1366d76cbc..7a5e98a29199 100644 --- a/processor/filterprocessor/factory.go +++ b/processor/filterprocessor/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filterprocessor +package filterprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/filterprocessor" import ( "context" diff --git a/processor/filterprocessor/filter_processor.go b/processor/filterprocessor/filter_processor.go index ce314cfd8d1e..763e99d3551f 100644 --- a/processor/filterprocessor/filter_processor.go +++ b/processor/filterprocessor/filter_processor.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filterprocessor +package filterprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/filterprocessor" import ( "context" diff --git a/processor/filterprocessor/filter_processor_logs.go b/processor/filterprocessor/filter_processor_logs.go index 103d631db4cf..1f4ae4c0643c 100644 --- a/processor/filterprocessor/filter_processor_logs.go +++ b/processor/filterprocessor/filter_processor_logs.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filterprocessor +package filterprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/filterprocessor" import ( "context" diff --git a/processor/groupbyattrsprocessor/attribute_groups.go b/processor/groupbyattrsprocessor/attribute_groups.go index dbb35470537c..ae307aa2a33b 100644 --- a/processor/groupbyattrsprocessor/attribute_groups.go +++ b/processor/groupbyattrsprocessor/attribute_groups.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package groupbyattrsprocessor +package groupbyattrsprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbyattrsprocessor" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/processor/groupbyattrsprocessor/config.go b/processor/groupbyattrsprocessor/config.go index 9d399a321295..6527e7423873 100644 --- a/processor/groupbyattrsprocessor/config.go +++ b/processor/groupbyattrsprocessor/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package groupbyattrsprocessor +package groupbyattrsprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbyattrsprocessor" import ( "go.opentelemetry.io/collector/config" diff --git a/processor/groupbyattrsprocessor/factory.go b/processor/groupbyattrsprocessor/factory.go index 4809ce5cf56b..9f69d4962a87 100644 --- a/processor/groupbyattrsprocessor/factory.go +++ b/processor/groupbyattrsprocessor/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package groupbyattrsprocessor +package groupbyattrsprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbyattrsprocessor" import ( "context" diff --git a/processor/groupbyattrsprocessor/metrics.go b/processor/groupbyattrsprocessor/metrics.go index 0e1eb22a98ff..6a9a49243ae5 100644 --- a/processor/groupbyattrsprocessor/metrics.go +++ b/processor/groupbyattrsprocessor/metrics.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package groupbyattrsprocessor +package groupbyattrsprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbyattrsprocessor" import ( "go.opencensus.io/stats" diff --git a/processor/groupbyattrsprocessor/processor.go b/processor/groupbyattrsprocessor/processor.go index 7063b51e93b1..350dc1b6d0d6 100644 --- a/processor/groupbyattrsprocessor/processor.go +++ b/processor/groupbyattrsprocessor/processor.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package groupbyattrsprocessor +package groupbyattrsprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbyattrsprocessor" import ( "context" diff --git a/processor/groupbytraceprocessor/config.go b/processor/groupbytraceprocessor/config.go index fde9864cebc9..1bfeccd9e9ec 100644 --- a/processor/groupbytraceprocessor/config.go +++ b/processor/groupbytraceprocessor/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package groupbytraceprocessor +package groupbytraceprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbytraceprocessor" import ( "time" diff --git a/processor/groupbytraceprocessor/doc.go b/processor/groupbytraceprocessor/doc.go index 81193a8eb12c..5c6487248db8 100644 --- a/processor/groupbytraceprocessor/doc.go +++ b/processor/groupbytraceprocessor/doc.go @@ -12,4 +12,4 @@ // See the License for the specific language governing permissions and // limitations under the License. -package groupbytraceprocessor +package groupbytraceprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbytraceprocessor" diff --git a/processor/groupbytraceprocessor/event.go b/processor/groupbytraceprocessor/event.go index eef2127da771..fec34787a6cc 100644 --- a/processor/groupbytraceprocessor/event.go +++ b/processor/groupbytraceprocessor/event.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package groupbytraceprocessor +package groupbytraceprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbytraceprocessor" import ( "context" diff --git a/processor/groupbytraceprocessor/factory.go b/processor/groupbytraceprocessor/factory.go index d543cc18520f..9a9c744f6950 100644 --- a/processor/groupbytraceprocessor/factory.go +++ b/processor/groupbytraceprocessor/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package groupbytraceprocessor +package groupbytraceprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbytraceprocessor" import ( "context" diff --git a/processor/groupbytraceprocessor/metrics.go b/processor/groupbytraceprocessor/metrics.go index 76bb88a66ee9..21a54f2a44c0 100644 --- a/processor/groupbytraceprocessor/metrics.go +++ b/processor/groupbytraceprocessor/metrics.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package groupbytraceprocessor +package groupbytraceprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbytraceprocessor" import ( "go.opencensus.io/stats" diff --git a/processor/groupbytraceprocessor/processor.go b/processor/groupbytraceprocessor/processor.go index 9878a4bf4af7..57276d56e3d7 100644 --- a/processor/groupbytraceprocessor/processor.go +++ b/processor/groupbytraceprocessor/processor.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package groupbytraceprocessor +package groupbytraceprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbytraceprocessor" import ( "context" diff --git a/processor/groupbytraceprocessor/ring_buffer.go b/processor/groupbytraceprocessor/ring_buffer.go index 7597f39bf261..24c92c5f9694 100644 --- a/processor/groupbytraceprocessor/ring_buffer.go +++ b/processor/groupbytraceprocessor/ring_buffer.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package groupbytraceprocessor +package groupbytraceprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbytraceprocessor" import "go.opentelemetry.io/collector/model/pdata" diff --git a/processor/groupbytraceprocessor/storage.go b/processor/groupbytraceprocessor/storage.go index 43b5c4415e58..dee327af5d80 100644 --- a/processor/groupbytraceprocessor/storage.go +++ b/processor/groupbytraceprocessor/storage.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package groupbytraceprocessor +package groupbytraceprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbytraceprocessor" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/processor/groupbytraceprocessor/storage_memory.go b/processor/groupbytraceprocessor/storage_memory.go index 2c031b8368ee..292bbeca63c5 100644 --- a/processor/groupbytraceprocessor/storage_memory.go +++ b/processor/groupbytraceprocessor/storage_memory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package groupbytraceprocessor +package groupbytraceprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbytraceprocessor" import ( "context" diff --git a/processor/k8sattributesprocessor/config.go b/processor/k8sattributesprocessor/config.go index 7945055d18c9..0e8a7145ed51 100644 --- a/processor/k8sattributesprocessor/config.go +++ b/processor/k8sattributesprocessor/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sattributesprocessor +package k8sattributesprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor" import ( "go.opentelemetry.io/collector/config" diff --git a/processor/k8sattributesprocessor/doc.go b/processor/k8sattributesprocessor/doc.go index b0810d465b97..c0673420e7d1 100644 --- a/processor/k8sattributesprocessor/doc.go +++ b/processor/k8sattributesprocessor/doc.go @@ -180,4 +180,4 @@ // as a sidecar. While this can be done, we think it is simpler to just use the kubernetes // downward API to inject environment variables into the pods and directly use their values // as tags. -package k8sattributesprocessor +package k8sattributesprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor" diff --git a/processor/k8sattributesprocessor/factory.go b/processor/k8sattributesprocessor/factory.go index b9c9e7bb4ad3..41428916ba38 100644 --- a/processor/k8sattributesprocessor/factory.go +++ b/processor/k8sattributesprocessor/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sattributesprocessor +package k8sattributesprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor" import ( "context" diff --git a/processor/k8sattributesprocessor/kube/client.go b/processor/k8sattributesprocessor/kube/client.go index 8e9fafc36193..8318fa3a8447 100644 --- a/processor/k8sattributesprocessor/kube/client.go +++ b/processor/k8sattributesprocessor/kube/client.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kube +package kube // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor/kube" import ( "fmt" diff --git a/processor/k8sattributesprocessor/kube/fake_informer.go b/processor/k8sattributesprocessor/kube/fake_informer.go index d071b1df9018..e175ce660b16 100644 --- a/processor/k8sattributesprocessor/kube/fake_informer.go +++ b/processor/k8sattributesprocessor/kube/fake_informer.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kube +package kube // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor/kube" import ( "sync" diff --git a/processor/k8sattributesprocessor/kube/informer.go b/processor/k8sattributesprocessor/kube/informer.go index 8352d65a65f4..ea2825ffaa8e 100644 --- a/processor/k8sattributesprocessor/kube/informer.go +++ b/processor/k8sattributesprocessor/kube/informer.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kube +package kube // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor/kube" import ( "context" diff --git a/processor/k8sattributesprocessor/kube/kube.go b/processor/k8sattributesprocessor/kube/kube.go index a2b1057948ce..0c8fdb74df21 100644 --- a/processor/k8sattributesprocessor/kube/kube.go +++ b/processor/k8sattributesprocessor/kube/kube.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kube +package kube // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor/kube" import ( "regexp" diff --git a/processor/k8sattributesprocessor/observability/observability.go b/processor/k8sattributesprocessor/observability/observability.go index efda52eb7317..a6657777d7cf 100644 --- a/processor/k8sattributesprocessor/observability/observability.go +++ b/processor/k8sattributesprocessor/observability/observability.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package observability +package observability // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor/observability" import ( "context" diff --git a/processor/k8sattributesprocessor/options.go b/processor/k8sattributesprocessor/options.go index 61e22b59b47c..0ff6783e77d9 100644 --- a/processor/k8sattributesprocessor/options.go +++ b/processor/k8sattributesprocessor/options.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sattributesprocessor +package k8sattributesprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor" import ( "fmt" diff --git a/processor/k8sattributesprocessor/pod_association.go b/processor/k8sattributesprocessor/pod_association.go index 948d99b4d147..6120c6144a41 100644 --- a/processor/k8sattributesprocessor/pod_association.go +++ b/processor/k8sattributesprocessor/pod_association.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sattributesprocessor +package k8sattributesprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor" import ( "context" diff --git a/processor/k8sattributesprocessor/processor.go b/processor/k8sattributesprocessor/processor.go index b7f14db48d6d..7de02229441a 100644 --- a/processor/k8sattributesprocessor/processor.go +++ b/processor/k8sattributesprocessor/processor.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sattributesprocessor +package k8sattributesprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor" import ( "context" diff --git a/processor/metricsgenerationprocessor/config.go b/processor/metricsgenerationprocessor/config.go index 95257079cb48..0f0a0d48d165 100644 --- a/processor/metricsgenerationprocessor/config.go +++ b/processor/metricsgenerationprocessor/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metricsgenerationprocessor +package metricsgenerationprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricsgenerationprocessor" import ( "fmt" diff --git a/processor/metricsgenerationprocessor/doc.go b/processor/metricsgenerationprocessor/doc.go index 842b0817da1c..4badec54208c 100644 --- a/processor/metricsgenerationprocessor/doc.go +++ b/processor/metricsgenerationprocessor/doc.go @@ -14,4 +14,4 @@ // package metricsgenerationprocessor implements a processor which calculates // a new metric from existing metrics. -package metricsgenerationprocessor +package metricsgenerationprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricsgenerationprocessor" diff --git a/processor/metricsgenerationprocessor/factory.go b/processor/metricsgenerationprocessor/factory.go index 3aed368a12c8..d139af41dda5 100644 --- a/processor/metricsgenerationprocessor/factory.go +++ b/processor/metricsgenerationprocessor/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metricsgenerationprocessor +package metricsgenerationprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricsgenerationprocessor" import ( "context" diff --git a/processor/metricsgenerationprocessor/processor.go b/processor/metricsgenerationprocessor/processor.go index 275e11274ac9..61731f5e0d6f 100644 --- a/processor/metricsgenerationprocessor/processor.go +++ b/processor/metricsgenerationprocessor/processor.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metricsgenerationprocessor +package metricsgenerationprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricsgenerationprocessor" import ( "context" diff --git a/processor/metricsgenerationprocessor/utils.go b/processor/metricsgenerationprocessor/utils.go index a12f850bbc17..6683d0ba8598 100644 --- a/processor/metricsgenerationprocessor/utils.go +++ b/processor/metricsgenerationprocessor/utils.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metricsgenerationprocessor +package metricsgenerationprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricsgenerationprocessor" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/processor/metricstransformprocessor/config.go b/processor/metricstransformprocessor/config.go index 66d2b4cc2ffc..17a4afc00681 100644 --- a/processor/metricstransformprocessor/config.go +++ b/processor/metricstransformprocessor/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metricstransformprocessor +package metricstransformprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricstransformprocessor" import ( "go.opentelemetry.io/collector/config" diff --git a/processor/metricstransformprocessor/datapoint_aggregation.go b/processor/metricstransformprocessor/datapoint_aggregation.go index 6117393ad039..ec3b70ef1071 100644 --- a/processor/metricstransformprocessor/datapoint_aggregation.go +++ b/processor/metricstransformprocessor/datapoint_aggregation.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metricstransformprocessor +package metricstransformprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricstransformprocessor" import ( "math" diff --git a/processor/metricstransformprocessor/doc.go b/processor/metricstransformprocessor/doc.go index 6f0810f31fc6..665ff5a53101 100644 --- a/processor/metricstransformprocessor/doc.go +++ b/processor/metricstransformprocessor/doc.go @@ -14,4 +14,4 @@ // Package metricstransformprocessor implements a processor for transforming metrics. // The supported transformations are included in the README -package metricstransformprocessor +package metricstransformprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricstransformprocessor" diff --git a/processor/metricstransformprocessor/factory.go b/processor/metricstransformprocessor/factory.go index 4151a6b77390..10232c43383a 100644 --- a/processor/metricstransformprocessor/factory.go +++ b/processor/metricstransformprocessor/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metricstransformprocessor +package metricstransformprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricstransformprocessor" import ( "context" diff --git a/processor/metricstransformprocessor/metrics_transform_processor.go b/processor/metricstransformprocessor/metrics_transform_processor.go index b05cf8fcd0df..abbb6289ca76 100644 --- a/processor/metricstransformprocessor/metrics_transform_processor.go +++ b/processor/metricstransformprocessor/metrics_transform_processor.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metricstransformprocessor +package metricstransformprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricstransformprocessor" import ( "context" diff --git a/processor/metricstransformprocessor/operation_add_label.go b/processor/metricstransformprocessor/operation_add_label.go index f6551bcf725b..fa8158c7be05 100644 --- a/processor/metricstransformprocessor/operation_add_label.go +++ b/processor/metricstransformprocessor/operation_add_label.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metricstransformprocessor +package metricstransformprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricstransformprocessor" import metricspb "github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1" diff --git a/processor/metricstransformprocessor/operation_aggregate_label_values.go b/processor/metricstransformprocessor/operation_aggregate_label_values.go index c44cfa61767d..e71947d3d5ed 100644 --- a/processor/metricstransformprocessor/operation_aggregate_label_values.go +++ b/processor/metricstransformprocessor/operation_aggregate_label_values.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metricstransformprocessor +package metricstransformprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricstransformprocessor" import ( "fmt" diff --git a/processor/metricstransformprocessor/operation_aggregate_labels.go b/processor/metricstransformprocessor/operation_aggregate_labels.go index 06205f5b2cc1..812c362aa024 100644 --- a/processor/metricstransformprocessor/operation_aggregate_labels.go +++ b/processor/metricstransformprocessor/operation_aggregate_labels.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metricstransformprocessor +package metricstransformprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricstransformprocessor" import ( "fmt" diff --git a/processor/metricstransformprocessor/operation_delete_label_value.go b/processor/metricstransformprocessor/operation_delete_label_value.go index 0fa5afd12d22..423cdec2482d 100644 --- a/processor/metricstransformprocessor/operation_delete_label_value.go +++ b/processor/metricstransformprocessor/operation_delete_label_value.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metricstransformprocessor +package metricstransformprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricstransformprocessor" import ( metricspb "github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1" diff --git a/processor/metricstransformprocessor/operation_scale_value.go b/processor/metricstransformprocessor/operation_scale_value.go index 5d1510b4066e..a51138893eac 100644 --- a/processor/metricstransformprocessor/operation_scale_value.go +++ b/processor/metricstransformprocessor/operation_scale_value.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metricstransformprocessor +package metricstransformprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricstransformprocessor" import metricspb "github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1" diff --git a/processor/metricstransformprocessor/operation_toggle_scalar_datatype.go b/processor/metricstransformprocessor/operation_toggle_scalar_datatype.go index 9dda1ba2c4a1..0027f526acbf 100644 --- a/processor/metricstransformprocessor/operation_toggle_scalar_datatype.go +++ b/processor/metricstransformprocessor/operation_toggle_scalar_datatype.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metricstransformprocessor +package metricstransformprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricstransformprocessor" import metricspb "github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1" diff --git a/processor/metricstransformprocessor/operation_update_label.go b/processor/metricstransformprocessor/operation_update_label.go index 450db301b051..ccf28de870bc 100644 --- a/processor/metricstransformprocessor/operation_update_label.go +++ b/processor/metricstransformprocessor/operation_update_label.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metricstransformprocessor +package metricstransformprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/metricstransformprocessor" import ( metricspb "github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1" diff --git a/processor/probabilisticsamplerprocessor/config.go b/processor/probabilisticsamplerprocessor/config.go index 6fa0f03af096..d7dd5dada8c0 100644 --- a/processor/probabilisticsamplerprocessor/config.go +++ b/processor/probabilisticsamplerprocessor/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package probabilisticsamplerprocessor +package probabilisticsamplerprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/probabilisticsamplerprocessor" import ( "go.opentelemetry.io/collector/config" diff --git a/processor/probabilisticsamplerprocessor/factory.go b/processor/probabilisticsamplerprocessor/factory.go index 89147286f4ef..1c342eae47ba 100644 --- a/processor/probabilisticsamplerprocessor/factory.go +++ b/processor/probabilisticsamplerprocessor/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package probabilisticsamplerprocessor +package probabilisticsamplerprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/probabilisticsamplerprocessor" import ( "context" diff --git a/processor/probabilisticsamplerprocessor/probabilisticsampler.go b/processor/probabilisticsamplerprocessor/probabilisticsampler.go index 536f1a79a200..40b87decf0e2 100644 --- a/processor/probabilisticsamplerprocessor/probabilisticsampler.go +++ b/processor/probabilisticsamplerprocessor/probabilisticsampler.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package probabilisticsamplerprocessor +package probabilisticsamplerprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/probabilisticsamplerprocessor" import ( "context" diff --git a/processor/resourcedetectionprocessor/config.go b/processor/resourcedetectionprocessor/config.go index 05d1929f2d83..733f73eb549e 100644 --- a/processor/resourcedetectionprocessor/config.go +++ b/processor/resourcedetectionprocessor/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package resourcedetectionprocessor +package resourcedetectionprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor" import ( "time" diff --git a/processor/resourcedetectionprocessor/doc.go b/processor/resourcedetectionprocessor/doc.go index 2ae41765f43a..ad5e83e62741 100644 --- a/processor/resourcedetectionprocessor/doc.go +++ b/processor/resourcedetectionprocessor/doc.go @@ -14,4 +14,4 @@ // package resourcedetectionprocessor implements a processor for specifying resource // labels to be added to OpenCensus trace data and metrics data. -package resourcedetectionprocessor +package resourcedetectionprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor" diff --git a/processor/resourcedetectionprocessor/factory.go b/processor/resourcedetectionprocessor/factory.go index b3a347bcb4ca..ff448cf9e18a 100644 --- a/processor/resourcedetectionprocessor/factory.go +++ b/processor/resourcedetectionprocessor/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package resourcedetectionprocessor +package resourcedetectionprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor" import ( "context" diff --git a/processor/resourcedetectionprocessor/internal/aws/ec2/config.go b/processor/resourcedetectionprocessor/internal/aws/ec2/config.go index 04c89f48f89d..f3f64c47f243 100644 --- a/processor/resourcedetectionprocessor/internal/aws/ec2/config.go +++ b/processor/resourcedetectionprocessor/internal/aws/ec2/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ec2 +package ec2 // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/aws/ec2" // Config defines user-specified configurations unique to the EC2 detector type Config struct { diff --git a/processor/resourcedetectionprocessor/internal/aws/ec2/ec2.go b/processor/resourcedetectionprocessor/internal/aws/ec2/ec2.go index b8ddfccbb828..a03a59da22ae 100644 --- a/processor/resourcedetectionprocessor/internal/aws/ec2/ec2.go +++ b/processor/resourcedetectionprocessor/internal/aws/ec2/ec2.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ec2 +package ec2 // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/aws/ec2" import ( "context" diff --git a/processor/resourcedetectionprocessor/internal/aws/ec2/metadata.go b/processor/resourcedetectionprocessor/internal/aws/ec2/metadata.go index 693096546fa3..7e8f021ca925 100644 --- a/processor/resourcedetectionprocessor/internal/aws/ec2/metadata.go +++ b/processor/resourcedetectionprocessor/internal/aws/ec2/metadata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ec2 +package ec2 // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/aws/ec2" import ( "context" diff --git a/processor/resourcedetectionprocessor/internal/aws/ecs/ecs.go b/processor/resourcedetectionprocessor/internal/aws/ecs/ecs.go index ccdc9b85e54e..e4231c7b4b58 100644 --- a/processor/resourcedetectionprocessor/internal/aws/ecs/ecs.go +++ b/processor/resourcedetectionprocessor/internal/aws/ecs/ecs.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecs +package ecs // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/aws/ecs" import ( "bytes" diff --git a/processor/resourcedetectionprocessor/internal/aws/eks/detector.go b/processor/resourcedetectionprocessor/internal/aws/eks/detector.go index c5324cd3d3a2..8c9623da3ab1 100644 --- a/processor/resourcedetectionprocessor/internal/aws/eks/detector.go +++ b/processor/resourcedetectionprocessor/internal/aws/eks/detector.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package eks +package eks // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/aws/eks" import ( "context" diff --git a/processor/resourcedetectionprocessor/internal/aws/elasticbeanstalk/elasticbeanstalk.go b/processor/resourcedetectionprocessor/internal/aws/elasticbeanstalk/elasticbeanstalk.go index 80956679267c..35e9a42840a0 100644 --- a/processor/resourcedetectionprocessor/internal/aws/elasticbeanstalk/elasticbeanstalk.go +++ b/processor/resourcedetectionprocessor/internal/aws/elasticbeanstalk/elasticbeanstalk.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package elasticbeanstalk +package elasticbeanstalk // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/aws/elasticbeanstalk" import ( "context" diff --git a/processor/resourcedetectionprocessor/internal/aws/elasticbeanstalk/fs.go b/processor/resourcedetectionprocessor/internal/aws/elasticbeanstalk/fs.go index 659b29458106..505614e853ed 100644 --- a/processor/resourcedetectionprocessor/internal/aws/elasticbeanstalk/fs.go +++ b/processor/resourcedetectionprocessor/internal/aws/elasticbeanstalk/fs.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package elasticbeanstalk +package elasticbeanstalk // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/aws/elasticbeanstalk" import ( "io" diff --git a/processor/resourcedetectionprocessor/internal/azure/aks/aks.go b/processor/resourcedetectionprocessor/internal/azure/aks/aks.go index c0102f7713f9..a36a437e9226 100644 --- a/processor/resourcedetectionprocessor/internal/azure/aks/aks.go +++ b/processor/resourcedetectionprocessor/internal/azure/aks/aks.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package aks +package aks // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/azure/aks" import ( "context" diff --git a/processor/resourcedetectionprocessor/internal/azure/azure.go b/processor/resourcedetectionprocessor/internal/azure/azure.go index cbc8d2116fa0..77d0622ed49c 100644 --- a/processor/resourcedetectionprocessor/internal/azure/azure.go +++ b/processor/resourcedetectionprocessor/internal/azure/azure.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package azure +package azure // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/azure" import ( "context" diff --git a/processor/resourcedetectionprocessor/internal/azure/metadata.go b/processor/resourcedetectionprocessor/internal/azure/metadata.go index 7562de41e157..ce2b6b6797b0 100644 --- a/processor/resourcedetectionprocessor/internal/azure/metadata.go +++ b/processor/resourcedetectionprocessor/internal/azure/metadata.go @@ -15,7 +15,7 @@ // This file contains code based on the Azure IMDS samples, https://github.com/microsoft/azureimds // under the Apache License 2.0 -package azure +package azure // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/azure" import ( "context" diff --git a/processor/resourcedetectionprocessor/internal/azure/mockprovider.go b/processor/resourcedetectionprocessor/internal/azure/mockprovider.go index c75f89174af2..6dc738509f26 100644 --- a/processor/resourcedetectionprocessor/internal/azure/mockprovider.go +++ b/processor/resourcedetectionprocessor/internal/azure/mockprovider.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package azure +package azure // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/azure" import ( "context" diff --git a/processor/resourcedetectionprocessor/internal/docker/docker.go b/processor/resourcedetectionprocessor/internal/docker/docker.go index 2e92b2685259..cd81c0fd5304 100644 --- a/processor/resourcedetectionprocessor/internal/docker/docker.go +++ b/processor/resourcedetectionprocessor/internal/docker/docker.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package docker +package docker // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/docker" import ( "context" diff --git a/processor/resourcedetectionprocessor/internal/docker/metadata.go b/processor/resourcedetectionprocessor/internal/docker/metadata.go index 577a008c2772..5679d822401d 100644 --- a/processor/resourcedetectionprocessor/internal/docker/metadata.go +++ b/processor/resourcedetectionprocessor/internal/docker/metadata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package docker +package docker // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/docker" import ( "context" diff --git a/processor/resourcedetectionprocessor/internal/env/env.go b/processor/resourcedetectionprocessor/internal/env/env.go index 1f73a23f69e0..b2022e1d321d 100644 --- a/processor/resourcedetectionprocessor/internal/env/env.go +++ b/processor/resourcedetectionprocessor/internal/env/env.go @@ -16,7 +16,7 @@ // the OTEL_RESOURCE environment variable. A list of labels of the form // `=,=,...` is accepted. Domain names and // paths are accepted as label keys. -package env +package env // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/env" import ( "context" diff --git a/processor/resourcedetectionprocessor/internal/gcp/gce/gce.go b/processor/resourcedetectionprocessor/internal/gcp/gce/gce.go index cc1cd464d07f..a45ba11658dd 100644 --- a/processor/resourcedetectionprocessor/internal/gcp/gce/gce.go +++ b/processor/resourcedetectionprocessor/internal/gcp/gce/gce.go @@ -14,7 +14,7 @@ // Package gce provides a detector that loads resource information from // the GCE metatdata -package gce +package gce // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/gcp/gce" import ( "context" diff --git a/processor/resourcedetectionprocessor/internal/gcp/gke/gke.go b/processor/resourcedetectionprocessor/internal/gcp/gke/gke.go index 4f4bed3d2bd9..7c9f1a8bc018 100644 --- a/processor/resourcedetectionprocessor/internal/gcp/gke/gke.go +++ b/processor/resourcedetectionprocessor/internal/gcp/gke/gke.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package gke +package gke // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/gcp/gke" import ( "context" diff --git a/processor/resourcedetectionprocessor/internal/gcp/metadata.go b/processor/resourcedetectionprocessor/internal/gcp/metadata.go index 167965259c24..934699dafd07 100644 --- a/processor/resourcedetectionprocessor/internal/gcp/metadata.go +++ b/processor/resourcedetectionprocessor/internal/gcp/metadata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package gcp +package gcp // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/gcp" import "cloud.google.com/go/compute/metadata" diff --git a/processor/resourcedetectionprocessor/internal/gcp/mockmetadata.go b/processor/resourcedetectionprocessor/internal/gcp/mockmetadata.go index a029df76c485..e2fe0dee02bb 100644 --- a/processor/resourcedetectionprocessor/internal/gcp/mockmetadata.go +++ b/processor/resourcedetectionprocessor/internal/gcp/mockmetadata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package gcp +package gcp // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/gcp" import ( "github.com/stretchr/testify/mock" diff --git a/processor/resourcedetectionprocessor/internal/resourcedetection.go b/processor/resourcedetectionprocessor/internal/resourcedetection.go index 29b82977e17f..ca1880a11ec0 100644 --- a/processor/resourcedetectionprocessor/internal/resourcedetection.go +++ b/processor/resourcedetectionprocessor/internal/resourcedetection.go @@ -14,7 +14,7 @@ // Package internal contains an interface for detecting resource information, // and a provider to merge the resources returned by a slice of custom detectors. -package internal +package internal // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal" import ( "context" diff --git a/processor/resourcedetectionprocessor/internal/system/config.go b/processor/resourcedetectionprocessor/internal/system/config.go index 78ea3acd0e82..a689e2ed9790 100644 --- a/processor/resourcedetectionprocessor/internal/system/config.go +++ b/processor/resourcedetectionprocessor/internal/system/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package system +package system // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/system" import "fmt" diff --git a/processor/resourcedetectionprocessor/internal/system/metadata.go b/processor/resourcedetectionprocessor/internal/system/metadata.go index 368acfa09826..da1bd55e74bd 100644 --- a/processor/resourcedetectionprocessor/internal/system/metadata.go +++ b/processor/resourcedetectionprocessor/internal/system/metadata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package system +package system // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/system" import ( "os" diff --git a/processor/resourcedetectionprocessor/internal/system/system.go b/processor/resourcedetectionprocessor/internal/system/system.go index 66febe7c3e99..396f004549b5 100644 --- a/processor/resourcedetectionprocessor/internal/system/system.go +++ b/processor/resourcedetectionprocessor/internal/system/system.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package system +package system // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/system" import ( "context" diff --git a/processor/resourcedetectionprocessor/internal/testutils.go b/processor/resourcedetectionprocessor/internal/testutils.go index dc958320cde8..a61ea23d93df 100644 --- a/processor/resourcedetectionprocessor/internal/testutils.go +++ b/processor/resourcedetectionprocessor/internal/testutils.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internal +package internal // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal" import "go.opentelemetry.io/collector/model/pdata" diff --git a/processor/resourcedetectionprocessor/resourcedetection_processor.go b/processor/resourcedetectionprocessor/resourcedetection_processor.go index 7003f825b8cb..c83ae4c3834b 100644 --- a/processor/resourcedetectionprocessor/resourcedetection_processor.go +++ b/processor/resourcedetectionprocessor/resourcedetection_processor.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package resourcedetectionprocessor +package resourcedetectionprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor" import ( "context" diff --git a/processor/resourceprocessor/config.go b/processor/resourceprocessor/config.go index 99f36e8281c8..45c42898ba9a 100644 --- a/processor/resourceprocessor/config.go +++ b/processor/resourceprocessor/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package resourceprocessor +package resourceprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourceprocessor" import ( "go.opentelemetry.io/collector/config" diff --git a/processor/resourceprocessor/doc.go b/processor/resourceprocessor/doc.go index 7e350de1f077..6ac170e5119c 100644 --- a/processor/resourceprocessor/doc.go +++ b/processor/resourceprocessor/doc.go @@ -14,4 +14,4 @@ // Package resourceprocessor implements a processor for specifying resource // labels to be added to OpenCensus trace data and metrics data. -package resourceprocessor +package resourceprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourceprocessor" diff --git a/processor/resourceprocessor/factory.go b/processor/resourceprocessor/factory.go index da24d95b083e..43d9225ac88c 100644 --- a/processor/resourceprocessor/factory.go +++ b/processor/resourceprocessor/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package resourceprocessor +package resourceprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourceprocessor" import ( "context" diff --git a/processor/resourceprocessor/resource_processor.go b/processor/resourceprocessor/resource_processor.go index 8ff78d41b6b0..4b0ecff35f67 100644 --- a/processor/resourceprocessor/resource_processor.go +++ b/processor/resourceprocessor/resource_processor.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package resourceprocessor +package resourceprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourceprocessor" import ( "context" diff --git a/processor/routingprocessor/config.go b/processor/routingprocessor/config.go index 69da0ebfdb30..9aa5e778c368 100644 --- a/processor/routingprocessor/config.go +++ b/processor/routingprocessor/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package routingprocessor +package routingprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/routingprocessor" import ( "fmt" diff --git a/processor/routingprocessor/extract.go b/processor/routingprocessor/extract.go index 08c2178cde03..37233ba2ae8e 100644 --- a/processor/routingprocessor/extract.go +++ b/processor/routingprocessor/extract.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package routingprocessor +package routingprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/routingprocessor" import ( "context" diff --git a/processor/routingprocessor/factory.go b/processor/routingprocessor/factory.go index 7ac559fc763f..84f1873277c9 100644 --- a/processor/routingprocessor/factory.go +++ b/processor/routingprocessor/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package routingprocessor +package routingprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/routingprocessor" import ( "context" diff --git a/processor/routingprocessor/processor.go b/processor/routingprocessor/processor.go index 406b1bd05883..74d08c521f56 100644 --- a/processor/routingprocessor/processor.go +++ b/processor/routingprocessor/processor.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package routingprocessor +package routingprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/routingprocessor" import ( "context" diff --git a/processor/routingprocessor/router.go b/processor/routingprocessor/router.go index d244a9168979..43cf9be18c5b 100644 --- a/processor/routingprocessor/router.go +++ b/processor/routingprocessor/router.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package routingprocessor +package routingprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/routingprocessor" import ( "context" diff --git a/processor/spanmetricsprocessor/config.go b/processor/spanmetricsprocessor/config.go index fa635c306704..ef0c5f94da96 100644 --- a/processor/spanmetricsprocessor/config.go +++ b/processor/spanmetricsprocessor/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package spanmetricsprocessor +package spanmetricsprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/spanmetricsprocessor" import ( "time" diff --git a/processor/spanmetricsprocessor/factory.go b/processor/spanmetricsprocessor/factory.go index 109dbd51cff6..0b209c44dbcb 100644 --- a/processor/spanmetricsprocessor/factory.go +++ b/processor/spanmetricsprocessor/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package spanmetricsprocessor +package spanmetricsprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/spanmetricsprocessor" import ( "context" diff --git a/processor/spanmetricsprocessor/processor.go b/processor/spanmetricsprocessor/processor.go index 4c4a2d7d685a..081cac207516 100644 --- a/processor/spanmetricsprocessor/processor.go +++ b/processor/spanmetricsprocessor/processor.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package spanmetricsprocessor +package spanmetricsprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/spanmetricsprocessor" import ( "context" diff --git a/processor/spanprocessor/config.go b/processor/spanprocessor/config.go index d6f386576a8e..a6ce4325236d 100644 --- a/processor/spanprocessor/config.go +++ b/processor/spanprocessor/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package spanprocessor +package spanprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/spanprocessor" import ( "go.opentelemetry.io/collector/config" diff --git a/processor/spanprocessor/doc.go b/processor/spanprocessor/doc.go index 2086444e6132..6b50e2df97f6 100644 --- a/processor/spanprocessor/doc.go +++ b/processor/spanprocessor/doc.go @@ -14,4 +14,4 @@ // Package spanprocessor contains logic to modify top level settings of a span, such // as its name. -package spanprocessor +package spanprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/spanprocessor" diff --git a/processor/spanprocessor/factory.go b/processor/spanprocessor/factory.go index 2abbfd6a32ae..e6c7012e1fbe 100644 --- a/processor/spanprocessor/factory.go +++ b/processor/spanprocessor/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package spanprocessor +package spanprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/spanprocessor" import ( "context" diff --git a/processor/spanprocessor/span.go b/processor/spanprocessor/span.go index 7cc71619b44e..866af280311e 100644 --- a/processor/spanprocessor/span.go +++ b/processor/spanprocessor/span.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package spanprocessor +package spanprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/spanprocessor" import ( "context" diff --git a/processor/tailsamplingprocessor/composite_helper.go b/processor/tailsamplingprocessor/composite_helper.go index 35a547769f2a..b7ca05b636ae 100644 --- a/processor/tailsamplingprocessor/composite_helper.go +++ b/processor/tailsamplingprocessor/composite_helper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tailsamplingprocessor +package tailsamplingprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor" import ( "fmt" diff --git a/processor/tailsamplingprocessor/config.go b/processor/tailsamplingprocessor/config.go index 0ca887cd8c59..d19b1035b29c 100644 --- a/processor/tailsamplingprocessor/config.go +++ b/processor/tailsamplingprocessor/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tailsamplingprocessor +package tailsamplingprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor" import ( "time" diff --git a/processor/tailsamplingprocessor/factory.go b/processor/tailsamplingprocessor/factory.go index d480e72e25b4..d6364b658ac5 100644 --- a/processor/tailsamplingprocessor/factory.go +++ b/processor/tailsamplingprocessor/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tailsamplingprocessor +package tailsamplingprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor" import ( "context" diff --git a/processor/tailsamplingprocessor/internal/idbatcher/id_batcher.go b/processor/tailsamplingprocessor/internal/idbatcher/id_batcher.go index ec5476d5c82b..c2d6f1dfbcce 100644 --- a/processor/tailsamplingprocessor/internal/idbatcher/id_batcher.go +++ b/processor/tailsamplingprocessor/internal/idbatcher/id_batcher.go @@ -14,7 +14,7 @@ // Package idbatcher defines a pipeline of fixed size in which the // elements are batches of ids. -package idbatcher +package idbatcher // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor/internal/idbatcher" import ( "errors" diff --git a/processor/tailsamplingprocessor/internal/sampling/always_sample.go b/processor/tailsamplingprocessor/internal/sampling/always_sample.go index 3bc0cb3f67bf..25765529e3f7 100644 --- a/processor/tailsamplingprocessor/internal/sampling/always_sample.go +++ b/processor/tailsamplingprocessor/internal/sampling/always_sample.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sampling +package sampling // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor/internal/sampling" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/processor/tailsamplingprocessor/internal/sampling/composite.go b/processor/tailsamplingprocessor/internal/sampling/composite.go index 0a06da458d54..3b9878ce5bf9 100644 --- a/processor/tailsamplingprocessor/internal/sampling/composite.go +++ b/processor/tailsamplingprocessor/internal/sampling/composite.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sampling +package sampling // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor/internal/sampling" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/processor/tailsamplingprocessor/internal/sampling/doc.go b/processor/tailsamplingprocessor/internal/sampling/doc.go index c41ee2577889..c1a14f5d6e77 100644 --- a/processor/tailsamplingprocessor/internal/sampling/doc.go +++ b/processor/tailsamplingprocessor/internal/sampling/doc.go @@ -14,4 +14,4 @@ // Package sampling contains the interfaces and data types used to implement // the various sampling policies. -package sampling +package sampling // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor/internal/sampling" diff --git a/processor/tailsamplingprocessor/internal/sampling/latency.go b/processor/tailsamplingprocessor/internal/sampling/latency.go index c32718e78bba..3ced945034a7 100644 --- a/processor/tailsamplingprocessor/internal/sampling/latency.go +++ b/processor/tailsamplingprocessor/internal/sampling/latency.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sampling +package sampling // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor/internal/sampling" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/processor/tailsamplingprocessor/internal/sampling/numeric_tag_filter.go b/processor/tailsamplingprocessor/internal/sampling/numeric_tag_filter.go index 97dd2e0f9e5b..19cac93744de 100644 --- a/processor/tailsamplingprocessor/internal/sampling/numeric_tag_filter.go +++ b/processor/tailsamplingprocessor/internal/sampling/numeric_tag_filter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sampling +package sampling // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor/internal/sampling" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/processor/tailsamplingprocessor/internal/sampling/policy.go b/processor/tailsamplingprocessor/internal/sampling/policy.go index f446f546f4af..eada320a8ba3 100644 --- a/processor/tailsamplingprocessor/internal/sampling/policy.go +++ b/processor/tailsamplingprocessor/internal/sampling/policy.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sampling +package sampling // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor/internal/sampling" import ( "sync" diff --git a/processor/tailsamplingprocessor/internal/sampling/probabilistic.go b/processor/tailsamplingprocessor/internal/sampling/probabilistic.go index e8bd039a6f8b..d56975ceb5d8 100644 --- a/processor/tailsamplingprocessor/internal/sampling/probabilistic.go +++ b/processor/tailsamplingprocessor/internal/sampling/probabilistic.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sampling +package sampling // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor/internal/sampling" import ( "hash/fnv" diff --git a/processor/tailsamplingprocessor/internal/sampling/rate_limiting.go b/processor/tailsamplingprocessor/internal/sampling/rate_limiting.go index 5c6c0ca85f93..6d0b9f90bec2 100644 --- a/processor/tailsamplingprocessor/internal/sampling/rate_limiting.go +++ b/processor/tailsamplingprocessor/internal/sampling/rate_limiting.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sampling +package sampling // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor/internal/sampling" import ( "time" diff --git a/processor/tailsamplingprocessor/internal/sampling/status_code.go b/processor/tailsamplingprocessor/internal/sampling/status_code.go index 5ffc818237fe..eab73f9b87c0 100644 --- a/processor/tailsamplingprocessor/internal/sampling/status_code.go +++ b/processor/tailsamplingprocessor/internal/sampling/status_code.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sampling +package sampling // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor/internal/sampling" import ( "errors" diff --git a/processor/tailsamplingprocessor/internal/sampling/string_tag_filter.go b/processor/tailsamplingprocessor/internal/sampling/string_tag_filter.go index 960d0cafa551..0715589e9e62 100644 --- a/processor/tailsamplingprocessor/internal/sampling/string_tag_filter.go +++ b/processor/tailsamplingprocessor/internal/sampling/string_tag_filter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sampling +package sampling // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor/internal/sampling" import ( "regexp" diff --git a/processor/tailsamplingprocessor/internal/sampling/time_provider.go b/processor/tailsamplingprocessor/internal/sampling/time_provider.go index 04f0f7374163..0e1f7d4fa19b 100644 --- a/processor/tailsamplingprocessor/internal/sampling/time_provider.go +++ b/processor/tailsamplingprocessor/internal/sampling/time_provider.go @@ -11,7 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -package sampling +package sampling // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor/internal/sampling" import ( "time" diff --git a/processor/tailsamplingprocessor/internal/sampling/util.go b/processor/tailsamplingprocessor/internal/sampling/util.go index a1ac1ec5f8c6..5a484311d852 100644 --- a/processor/tailsamplingprocessor/internal/sampling/util.go +++ b/processor/tailsamplingprocessor/internal/sampling/util.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sampling +package sampling // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor/internal/sampling" import "go.opentelemetry.io/collector/model/pdata" diff --git a/processor/tailsamplingprocessor/metrics.go b/processor/tailsamplingprocessor/metrics.go index 6965e63ba8e6..d5ed4d199a13 100644 --- a/processor/tailsamplingprocessor/metrics.go +++ b/processor/tailsamplingprocessor/metrics.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tailsamplingprocessor +package tailsamplingprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor" import ( "go.opencensus.io/stats" diff --git a/processor/tailsamplingprocessor/processor.go b/processor/tailsamplingprocessor/processor.go index 186af8b80f7e..a452c6294810 100644 --- a/processor/tailsamplingprocessor/processor.go +++ b/processor/tailsamplingprocessor/processor.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tailsamplingprocessor +package tailsamplingprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor" import ( "context" diff --git a/receiver/apachereceiver/config.go b/receiver/apachereceiver/config.go index 31e81d8e928b..100843b25258 100644 --- a/receiver/apachereceiver/config.go +++ b/receiver/apachereceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package apachereceiver +package apachereceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/apachereceiver" import ( "fmt" diff --git a/receiver/apachereceiver/factory.go b/receiver/apachereceiver/factory.go index ec812d1487d6..a09520217f4c 100644 --- a/receiver/apachereceiver/factory.go +++ b/receiver/apachereceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package apachereceiver +package apachereceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/apachereceiver" //go:generate mdatagen metadata.yaml diff --git a/receiver/apachereceiver/scraper.go b/receiver/apachereceiver/scraper.go index 29a46d7f9801..7f0e8e6d6f49 100644 --- a/receiver/apachereceiver/scraper.go +++ b/receiver/apachereceiver/scraper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package apachereceiver +package apachereceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/apachereceiver" import ( "context" diff --git a/receiver/awscontainerinsightreceiver/config.go b/receiver/awscontainerinsightreceiver/config.go index 25fd64381ddc..66b863c29f83 100644 --- a/receiver/awscontainerinsightreceiver/config.go +++ b/receiver/awscontainerinsightreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awscontainerinsightreceiver +package awscontainerinsightreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver" import ( "time" diff --git a/receiver/awscontainerinsightreceiver/doc.go b/receiver/awscontainerinsightreceiver/doc.go index 4a3d4e7b068c..3c00c7a29536 100644 --- a/receiver/awscontainerinsightreceiver/doc.go +++ b/receiver/awscontainerinsightreceiver/doc.go @@ -12,4 +12,4 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awscontainerinsightreceiver +package awscontainerinsightreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver" diff --git a/receiver/awscontainerinsightreceiver/factory.go b/receiver/awscontainerinsightreceiver/factory.go index 453206d32cde..3100cbcf2b2e 100644 --- a/receiver/awscontainerinsightreceiver/factory.go +++ b/receiver/awscontainerinsightreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awscontainerinsightreceiver +package awscontainerinsightreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver" import ( "context" diff --git a/receiver/awscontainerinsightreceiver/internal/cadvisor/cadvisor_linux.go b/receiver/awscontainerinsightreceiver/internal/cadvisor/cadvisor_linux.go index 5be8cff12e98..baf1410b14a0 100644 --- a/receiver/awscontainerinsightreceiver/internal/cadvisor/cadvisor_linux.go +++ b/receiver/awscontainerinsightreceiver/internal/cadvisor/cadvisor_linux.go @@ -15,7 +15,7 @@ //go:build linux // +build linux -package cadvisor +package cadvisor // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/cadvisor" import ( "encoding/json" diff --git a/receiver/awscontainerinsightreceiver/internal/cadvisor/cadvisor_nolinux.go b/receiver/awscontainerinsightreceiver/internal/cadvisor/cadvisor_nolinux.go index 107966245bb5..44429b286a5e 100644 --- a/receiver/awscontainerinsightreceiver/internal/cadvisor/cadvisor_nolinux.go +++ b/receiver/awscontainerinsightreceiver/internal/cadvisor/cadvisor_nolinux.go @@ -15,7 +15,7 @@ //go:build !linux // +build !linux -package cadvisor +package cadvisor // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/cadvisor" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/receiver/awscontainerinsightreceiver/internal/cadvisor/container_info_processor.go b/receiver/awscontainerinsightreceiver/internal/cadvisor/container_info_processor.go index 3fcc27257ff2..050247ca6dd7 100644 --- a/receiver/awscontainerinsightreceiver/internal/cadvisor/container_info_processor.go +++ b/receiver/awscontainerinsightreceiver/internal/cadvisor/container_info_processor.go @@ -15,7 +15,7 @@ //go:build linux // +build linux -package cadvisor +package cadvisor // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/cadvisor" import ( "fmt" diff --git a/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors/cpu_extractor.go b/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors/cpu_extractor.go index 80cd92506de2..a6638f68e73c 100644 --- a/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors/cpu_extractor.go +++ b/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors/cpu_extractor.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package extractors +package extractors // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors" import ( cInfo "github.com/google/cadvisor/info/v1" diff --git a/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors/diskio_extractor.go b/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors/diskio_extractor.go index 5528a2dc53d1..48fbbb85fb4f 100644 --- a/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors/diskio_extractor.go +++ b/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors/diskio_extractor.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package extractors +package extractors // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors" import ( "fmt" diff --git a/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors/extractor.go b/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors/extractor.go index dbb5dc5c0003..c3ed3113c344 100644 --- a/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors/extractor.go +++ b/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors/extractor.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package extractors +package extractors // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors" import ( "fmt" diff --git a/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors/fs_extractor.go b/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors/fs_extractor.go index 108a45e3c9cd..749bf10180f1 100644 --- a/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors/fs_extractor.go +++ b/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors/fs_extractor.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package extractors +package extractors // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors" import ( "regexp" diff --git a/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors/mem_extractor.go b/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors/mem_extractor.go index e9b968bbd20a..53d68435f8e5 100644 --- a/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors/mem_extractor.go +++ b/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors/mem_extractor.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package extractors +package extractors // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors" import ( "time" diff --git a/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors/net_extractor.go b/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors/net_extractor.go index 3bcde959bc48..a3e5aa4e36ca 100644 --- a/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors/net_extractor.go +++ b/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors/net_extractor.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package extractors +package extractors // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/cadvisor/extractors" import ( "time" diff --git a/receiver/awscontainerinsightreceiver/internal/cadvisor/testutils/ecshelpers.go b/receiver/awscontainerinsightreceiver/internal/cadvisor/testutils/ecshelpers.go index 71290f22bb42..f3c040f85569 100644 --- a/receiver/awscontainerinsightreceiver/internal/cadvisor/testutils/ecshelpers.go +++ b/receiver/awscontainerinsightreceiver/internal/cadvisor/testutils/ecshelpers.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package testutils +package testutils // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/cadvisor/testutils" type MockECSInfo struct { ClusterName string diff --git a/receiver/awscontainerinsightreceiver/internal/cadvisor/testutils/helpers.go b/receiver/awscontainerinsightreceiver/internal/cadvisor/testutils/helpers.go index a09970848d10..64d9d300cef6 100644 --- a/receiver/awscontainerinsightreceiver/internal/cadvisor/testutils/helpers.go +++ b/receiver/awscontainerinsightreceiver/internal/cadvisor/testutils/helpers.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package testutils +package testutils // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/cadvisor/testutils" import ( "bytes" diff --git a/receiver/awscontainerinsightreceiver/internal/ecsInfo/cgroup.go b/receiver/awscontainerinsightreceiver/internal/ecsInfo/cgroup.go index 29d79d3edd66..9e85a5839ade 100644 --- a/receiver/awscontainerinsightreceiver/internal/ecsInfo/cgroup.go +++ b/receiver/awscontainerinsightreceiver/internal/ecsInfo/cgroup.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecsinfo +package ecsinfo // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/ecsInfo" import ( "bufio" diff --git a/receiver/awscontainerinsightreceiver/internal/ecsInfo/ecs_instance_info.go b/receiver/awscontainerinsightreceiver/internal/ecsInfo/ecs_instance_info.go index 5af7fd3e8949..d5b30939ff81 100644 --- a/receiver/awscontainerinsightreceiver/internal/ecsInfo/ecs_instance_info.go +++ b/receiver/awscontainerinsightreceiver/internal/ecsInfo/ecs_instance_info.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecsinfo +package ecsinfo // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/ecsInfo" import ( "context" diff --git a/receiver/awscontainerinsightreceiver/internal/ecsInfo/ecs_task_info.go b/receiver/awscontainerinsightreceiver/internal/ecsInfo/ecs_task_info.go index c56fe2fa2c7f..38ab245c3bce 100644 --- a/receiver/awscontainerinsightreceiver/internal/ecsInfo/ecs_task_info.go +++ b/receiver/awscontainerinsightreceiver/internal/ecsInfo/ecs_task_info.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecsinfo +package ecsinfo // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/ecsInfo" import ( "context" diff --git a/receiver/awscontainerinsightreceiver/internal/ecsInfo/ecsinfo.go b/receiver/awscontainerinsightreceiver/internal/ecsInfo/ecsinfo.go index 6f305bccba97..de2b6deee4d2 100644 --- a/receiver/awscontainerinsightreceiver/internal/ecsInfo/ecsinfo.go +++ b/receiver/awscontainerinsightreceiver/internal/ecsInfo/ecsinfo.go @@ -12,7 +12,7 @@ //See the License for the specific language governing permissions and //limitations under the License. -package ecsinfo +package ecsinfo // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/ecsInfo" import ( "context" diff --git a/receiver/awscontainerinsightreceiver/internal/ecsInfo/utils.go b/receiver/awscontainerinsightreceiver/internal/ecsInfo/utils.go index f53539e75128..bb06245d781e 100644 --- a/receiver/awscontainerinsightreceiver/internal/ecsInfo/utils.go +++ b/receiver/awscontainerinsightreceiver/internal/ecsInfo/utils.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ecsinfo +package ecsinfo // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/ecsInfo" import ( "context" diff --git a/receiver/awscontainerinsightreceiver/internal/host/ebsvolume.go b/receiver/awscontainerinsightreceiver/internal/host/ebsvolume.go index 795199f5e67c..8bdf893ad936 100644 --- a/receiver/awscontainerinsightreceiver/internal/host/ebsvolume.go +++ b/receiver/awscontainerinsightreceiver/internal/host/ebsvolume.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package host +package host // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/host" import ( "bufio" diff --git a/receiver/awscontainerinsightreceiver/internal/host/ec2metadata.go b/receiver/awscontainerinsightreceiver/internal/host/ec2metadata.go index 7aa7dc4f5800..0f8dae25001d 100644 --- a/receiver/awscontainerinsightreceiver/internal/host/ec2metadata.go +++ b/receiver/awscontainerinsightreceiver/internal/host/ec2metadata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package host +package host // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/host" import ( "context" diff --git a/receiver/awscontainerinsightreceiver/internal/host/ec2tags.go b/receiver/awscontainerinsightreceiver/internal/host/ec2tags.go index 7c94dd9ad444..db447cb478db 100644 --- a/receiver/awscontainerinsightreceiver/internal/host/ec2tags.go +++ b/receiver/awscontainerinsightreceiver/internal/host/ec2tags.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package host +package host // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/host" import ( "context" diff --git a/receiver/awscontainerinsightreceiver/internal/host/hostinfo.go b/receiver/awscontainerinsightreceiver/internal/host/hostinfo.go index 8225ffe8349d..efe28e0ebc39 100644 --- a/receiver/awscontainerinsightreceiver/internal/host/hostinfo.go +++ b/receiver/awscontainerinsightreceiver/internal/host/hostinfo.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package host +package host // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/host" import ( "context" diff --git a/receiver/awscontainerinsightreceiver/internal/host/nodeCapacity.go b/receiver/awscontainerinsightreceiver/internal/host/nodeCapacity.go index 58d254aa20c2..6ffc7658587d 100644 --- a/receiver/awscontainerinsightreceiver/internal/host/nodeCapacity.go +++ b/receiver/awscontainerinsightreceiver/internal/host/nodeCapacity.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package host +package host // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/host" import ( "fmt" diff --git a/receiver/awscontainerinsightreceiver/internal/host/utils.go b/receiver/awscontainerinsightreceiver/internal/host/utils.go index 615da06a4b00..303c01dfc073 100644 --- a/receiver/awscontainerinsightreceiver/internal/host/utils.go +++ b/receiver/awscontainerinsightreceiver/internal/host/utils.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package host +package host // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/host" import ( "context" diff --git a/receiver/awscontainerinsightreceiver/internal/k8sapiserver/k8sapiserver.go b/receiver/awscontainerinsightreceiver/internal/k8sapiserver/k8sapiserver.go index 34d152398013..246b96cdc592 100644 --- a/receiver/awscontainerinsightreceiver/internal/k8sapiserver/k8sapiserver.go +++ b/receiver/awscontainerinsightreceiver/internal/k8sapiserver/k8sapiserver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sapiserver +package k8sapiserver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/k8sapiserver" import ( "context" diff --git a/receiver/awscontainerinsightreceiver/internal/stores/kubeletutil/kubeletclient.go b/receiver/awscontainerinsightreceiver/internal/stores/kubeletutil/kubeletclient.go index 72e2177dddb1..84f67e1a0bdd 100644 --- a/receiver/awscontainerinsightreceiver/internal/stores/kubeletutil/kubeletclient.go +++ b/receiver/awscontainerinsightreceiver/internal/stores/kubeletutil/kubeletclient.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kubeletutil +package kubeletutil // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/stores/kubeletutil" import ( "encoding/json" diff --git a/receiver/awscontainerinsightreceiver/internal/stores/nodeinfo.go b/receiver/awscontainerinsightreceiver/internal/stores/nodeinfo.go index 90740940e241..38cca796be64 100644 --- a/receiver/awscontainerinsightreceiver/internal/stores/nodeinfo.go +++ b/receiver/awscontainerinsightreceiver/internal/stores/nodeinfo.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package stores +package stores // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/stores" import ( "fmt" diff --git a/receiver/awscontainerinsightreceiver/internal/stores/podstore.go b/receiver/awscontainerinsightreceiver/internal/stores/podstore.go index c6a4c9bf1ed3..aa18f1df79a4 100644 --- a/receiver/awscontainerinsightreceiver/internal/stores/podstore.go +++ b/receiver/awscontainerinsightreceiver/internal/stores/podstore.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package stores +package stores // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/stores" import ( "context" diff --git a/receiver/awscontainerinsightreceiver/internal/stores/servicestore.go b/receiver/awscontainerinsightreceiver/internal/stores/servicestore.go index c4574f547376..60035bef74ba 100644 --- a/receiver/awscontainerinsightreceiver/internal/stores/servicestore.go +++ b/receiver/awscontainerinsightreceiver/internal/stores/servicestore.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package stores +package stores // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/stores" import ( "context" diff --git a/receiver/awscontainerinsightreceiver/internal/stores/store.go b/receiver/awscontainerinsightreceiver/internal/stores/store.go index 5fc1086a3f83..751605041b3b 100644 --- a/receiver/awscontainerinsightreceiver/internal/stores/store.go +++ b/receiver/awscontainerinsightreceiver/internal/stores/store.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package stores +package stores // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/stores" import ( "context" diff --git a/receiver/awscontainerinsightreceiver/internal/stores/utils.go b/receiver/awscontainerinsightreceiver/internal/stores/utils.go index b40936670237..c33b04dcd991 100644 --- a/receiver/awscontainerinsightreceiver/internal/stores/utils.go +++ b/receiver/awscontainerinsightreceiver/internal/stores/utils.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package stores +package stores // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver/internal/stores" import ( "context" diff --git a/receiver/awscontainerinsightreceiver/receiver.go b/receiver/awscontainerinsightreceiver/receiver.go index 9b68b0bb187f..07b58292c2d9 100644 --- a/receiver/awscontainerinsightreceiver/receiver.go +++ b/receiver/awscontainerinsightreceiver/receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awscontainerinsightreceiver +package awscontainerinsightreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver" import ( "context" diff --git a/receiver/awsecscontainermetricsreceiver/config.go b/receiver/awsecscontainermetricsreceiver/config.go index c11250b004ca..0902c52da82e 100644 --- a/receiver/awsecscontainermetricsreceiver/config.go +++ b/receiver/awsecscontainermetricsreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsecscontainermetricsreceiver +package awsecscontainermetricsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver" import ( "time" diff --git a/receiver/awsecscontainermetricsreceiver/doc.go b/receiver/awsecscontainermetricsreceiver/doc.go index 6afc75653e31..472226994d4d 100644 --- a/receiver/awsecscontainermetricsreceiver/doc.go +++ b/receiver/awsecscontainermetricsreceiver/doc.go @@ -12,4 +12,4 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsecscontainermetricsreceiver +package awsecscontainermetricsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver" diff --git a/receiver/awsecscontainermetricsreceiver/factory.go b/receiver/awsecscontainermetricsreceiver/factory.go index e98da47dbb8f..503fd6d045f1 100644 --- a/receiver/awsecscontainermetricsreceiver/factory.go +++ b/receiver/awsecscontainermetricsreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsecscontainermetricsreceiver +package awsecscontainermetricsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver" import ( "context" diff --git a/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/accumulator.go b/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/accumulator.go index 0128c3fb3f5f..4d169a309d72 100644 --- a/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/accumulator.go +++ b/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/accumulator.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsecscontainermetrics +package awsecscontainermetrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics" import ( "time" diff --git a/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/constant.go b/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/constant.go index e7864d616494..675812a3fed3 100644 --- a/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/constant.go +++ b/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/constant.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsecscontainermetrics +package awsecscontainermetrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics" // Constant attributes for aws ecs container metrics. const ( diff --git a/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/docker_stats.go b/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/docker_stats.go index 70b2f72f2493..a2d873552861 100644 --- a/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/docker_stats.go +++ b/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/docker_stats.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsecscontainermetrics +package awsecscontainermetrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics" import "time" diff --git a/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/ecs_metrics.go b/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/ecs_metrics.go index 88ca3c50fe7c..deca4cbf8158 100644 --- a/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/ecs_metrics.go +++ b/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/ecs_metrics.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsecscontainermetrics +package awsecscontainermetrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics" // ECSMetrics defines the structure container/task level metrics type ECSMetrics struct { diff --git a/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/metrics.go b/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/metrics.go index f94ef19ce6c4..9adbc7a30e70 100644 --- a/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/metrics.go +++ b/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/metrics.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsecscontainermetrics +package awsecscontainermetrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/metrics_helper.go b/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/metrics_helper.go index 47d47b6c7aa0..28c61df6651c 100644 --- a/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/metrics_helper.go +++ b/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/metrics_helper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsecscontainermetrics +package awsecscontainermetrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics" import ( "go.uber.org/zap" diff --git a/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/resource.go b/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/resource.go index 9b66b4eca1df..1da37d11f90e 100644 --- a/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/resource.go +++ b/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/resource.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsecscontainermetrics +package awsecscontainermetrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics" import ( "strings" diff --git a/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/stats_provider.go b/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/stats_provider.go index 20a1fc9cf641..2421f36c59c3 100644 --- a/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/stats_provider.go +++ b/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/stats_provider.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsecscontainermetrics +package awsecscontainermetrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics" import ( "encoding/json" diff --git a/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/translator.go b/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/translator.go index 1d0fb8243813..5c88683daffd 100644 --- a/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/translator.go +++ b/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/translator.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsecscontainermetrics +package awsecscontainermetrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/utils.go b/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/utils.go index 99218680f3ba..93a9cf862ed7 100644 --- a/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/utils.go +++ b/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics/utils.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsecscontainermetrics +package awsecscontainermetrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver/internal/awsecscontainermetrics" import ( "strconv" diff --git a/receiver/awsecscontainermetricsreceiver/receiver.go b/receiver/awsecscontainermetricsreceiver/receiver.go index 1ceb5553d7a0..ba5405ef8aca 100644 --- a/receiver/awsecscontainermetricsreceiver/receiver.go +++ b/receiver/awsecscontainermetricsreceiver/receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsecscontainermetricsreceiver +package awsecscontainermetricsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver" import ( "context" diff --git a/receiver/awsxrayreceiver/config.go b/receiver/awsxrayreceiver/config.go index 12ad4148cd8b..5afb9c6a8558 100644 --- a/receiver/awsxrayreceiver/config.go +++ b/receiver/awsxrayreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsxrayreceiver +package awsxrayreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsxrayreceiver" import ( "go.opentelemetry.io/collector/config" diff --git a/receiver/awsxrayreceiver/doc.go b/receiver/awsxrayreceiver/doc.go index 4aaef4faa48f..b232a1e15cfa 100644 --- a/receiver/awsxrayreceiver/doc.go +++ b/receiver/awsxrayreceiver/doc.go @@ -16,4 +16,4 @@ // Opentelemetry collector to receive traces in the AWS X-Ray segment format. // More details can be found on: // https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html -package awsxrayreceiver +package awsxrayreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsxrayreceiver" diff --git a/receiver/awsxrayreceiver/factory.go b/receiver/awsxrayreceiver/factory.go index 727d7768e7f6..0084074baadf 100644 --- a/receiver/awsxrayreceiver/factory.go +++ b/receiver/awsxrayreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsxrayreceiver +package awsxrayreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsxrayreceiver" import ( "context" diff --git a/receiver/awsxrayreceiver/internal/errors/errors.go b/receiver/awsxrayreceiver/internal/errors/errors.go index 0f1795ff70c8..6c1a612a95b1 100644 --- a/receiver/awsxrayreceiver/internal/errors/errors.go +++ b/receiver/awsxrayreceiver/internal/errors/errors.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsxrayreceiver +package awsxrayreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsxrayreceiver/internal/errors" // ErrRecoverable represents an error that can be ignored // so that the receiver can continue to function. diff --git a/receiver/awsxrayreceiver/internal/socketconn/socketconn.go b/receiver/awsxrayreceiver/internal/socketconn/socketconn.go index 018e0d7bfcf5..3674015a6a40 100644 --- a/receiver/awsxrayreceiver/internal/socketconn/socketconn.go +++ b/receiver/awsxrayreceiver/internal/socketconn/socketconn.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package socketconn +package socketconn // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsxrayreceiver/internal/socketconn" // SocketConn is an interface for socket connection. type SocketConn interface { diff --git a/receiver/awsxrayreceiver/internal/tracesegment/tracesegment.go b/receiver/awsxrayreceiver/internal/tracesegment/tracesegment.go index 133cfb7d7a53..82b84632b015 100644 --- a/receiver/awsxrayreceiver/internal/tracesegment/tracesegment.go +++ b/receiver/awsxrayreceiver/internal/tracesegment/tracesegment.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tracesegment +package tracesegment // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsxrayreceiver/internal/tracesegment" import ( "strings" diff --git a/receiver/awsxrayreceiver/internal/tracesegment/util.go b/receiver/awsxrayreceiver/internal/tracesegment/util.go index 1ba8e254094a..a1fd27f74921 100644 --- a/receiver/awsxrayreceiver/internal/tracesegment/util.go +++ b/receiver/awsxrayreceiver/internal/tracesegment/util.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tracesegment +package tracesegment // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsxrayreceiver/internal/tracesegment" import ( "bytes" diff --git a/receiver/awsxrayreceiver/internal/translator/addtoattrs.go b/receiver/awsxrayreceiver/internal/translator/addtoattrs.go index 5dd0bcb84708..a4adae4db038 100644 --- a/receiver/awsxrayreceiver/internal/translator/addtoattrs.go +++ b/receiver/awsxrayreceiver/internal/translator/addtoattrs.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translator +package translator // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsxrayreceiver/internal/translator" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/receiver/awsxrayreceiver/internal/translator/annotations.go b/receiver/awsxrayreceiver/internal/translator/annotations.go index b554b8818fe4..a9d201a819e1 100644 --- a/receiver/awsxrayreceiver/internal/translator/annotations.go +++ b/receiver/awsxrayreceiver/internal/translator/annotations.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translator +package translator // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsxrayreceiver/internal/translator" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/receiver/awsxrayreceiver/internal/translator/aws.go b/receiver/awsxrayreceiver/internal/translator/aws.go index cd16c606806b..d7bf41d267bb 100644 --- a/receiver/awsxrayreceiver/internal/translator/aws.go +++ b/receiver/awsxrayreceiver/internal/translator/aws.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translator +package translator // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsxrayreceiver/internal/translator" import ( "strconv" diff --git a/receiver/awsxrayreceiver/internal/translator/cause.go b/receiver/awsxrayreceiver/internal/translator/cause.go index 4846efeed4f6..ad1b6e88de51 100644 --- a/receiver/awsxrayreceiver/internal/translator/cause.go +++ b/receiver/awsxrayreceiver/internal/translator/cause.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translator +package translator // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsxrayreceiver/internal/translator" import ( "strconv" diff --git a/receiver/awsxrayreceiver/internal/translator/http.go b/receiver/awsxrayreceiver/internal/translator/http.go index 682e7f6726e6..cb30d40fce46 100644 --- a/receiver/awsxrayreceiver/internal/translator/http.go +++ b/receiver/awsxrayreceiver/internal/translator/http.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translator +package translator // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsxrayreceiver/internal/translator" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/receiver/awsxrayreceiver/internal/translator/metadata.go b/receiver/awsxrayreceiver/internal/translator/metadata.go index 840b431b95bb..fc4cfeb901c9 100644 --- a/receiver/awsxrayreceiver/internal/translator/metadata.go +++ b/receiver/awsxrayreceiver/internal/translator/metadata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translator +package translator // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsxrayreceiver/internal/translator" import ( "encoding/json" diff --git a/receiver/awsxrayreceiver/internal/translator/name.go b/receiver/awsxrayreceiver/internal/translator/name.go index 0369dc72653c..c3b317d5cded 100644 --- a/receiver/awsxrayreceiver/internal/translator/name.go +++ b/receiver/awsxrayreceiver/internal/translator/name.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translator +package translator // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsxrayreceiver/internal/translator" import ( "fmt" diff --git a/receiver/awsxrayreceiver/internal/translator/sdk.go b/receiver/awsxrayreceiver/internal/translator/sdk.go index 0ae747cdd26f..3f0adec8c33c 100644 --- a/receiver/awsxrayreceiver/internal/translator/sdk.go +++ b/receiver/awsxrayreceiver/internal/translator/sdk.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translator +package translator // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsxrayreceiver/internal/translator" import ( "strings" diff --git a/receiver/awsxrayreceiver/internal/translator/sql.go b/receiver/awsxrayreceiver/internal/translator/sql.go index d3d66c8236af..140ca4461f53 100644 --- a/receiver/awsxrayreceiver/internal/translator/sql.go +++ b/receiver/awsxrayreceiver/internal/translator/sql.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translator +package translator // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsxrayreceiver/internal/translator" import ( "fmt" diff --git a/receiver/awsxrayreceiver/internal/translator/time.go b/receiver/awsxrayreceiver/internal/translator/time.go index b382410fbe93..2d8e906b4b1a 100644 --- a/receiver/awsxrayreceiver/internal/translator/time.go +++ b/receiver/awsxrayreceiver/internal/translator/time.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translator +package translator // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsxrayreceiver/internal/translator" import ( "time" diff --git a/receiver/awsxrayreceiver/internal/translator/translator.go b/receiver/awsxrayreceiver/internal/translator/translator.go index 3a340250caac..b4a95fe71106 100644 --- a/receiver/awsxrayreceiver/internal/translator/translator.go +++ b/receiver/awsxrayreceiver/internal/translator/translator.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package translator +package translator // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsxrayreceiver/internal/translator" import ( "encoding/hex" diff --git a/receiver/awsxrayreceiver/internal/udppoller/poller.go b/receiver/awsxrayreceiver/internal/udppoller/poller.go index 5d2cd2fdb82d..7ce07c8e01d2 100644 --- a/receiver/awsxrayreceiver/internal/udppoller/poller.go +++ b/receiver/awsxrayreceiver/internal/udppoller/poller.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package udppoller +package udppoller // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsxrayreceiver/internal/udppoller" import ( "context" diff --git a/receiver/awsxrayreceiver/receiver.go b/receiver/awsxrayreceiver/receiver.go index 6d0f7a5b7da4..024415e5d159 100644 --- a/receiver/awsxrayreceiver/receiver.go +++ b/receiver/awsxrayreceiver/receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package awsxrayreceiver +package awsxrayreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsxrayreceiver" import ( "context" diff --git a/receiver/carbonreceiver/config.go b/receiver/carbonreceiver/config.go index 5b205fa1ad86..e3bf7be89197 100644 --- a/receiver/carbonreceiver/config.go +++ b/receiver/carbonreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package carbonreceiver +package carbonreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/carbonreceiver" import ( "fmt" diff --git a/receiver/carbonreceiver/doc.go b/receiver/carbonreceiver/doc.go index b798ffb53de4..bfa82defe226 100644 --- a/receiver/carbonreceiver/doc.go +++ b/receiver/carbonreceiver/doc.go @@ -16,4 +16,4 @@ // OpenTelemetry collector to receive data in the Carbon supported formats. // Carbon is the backend used by Graphite, see // https://graphite.readthedocs.io/en/latest/carbon-daemons.html -package carbonreceiver +package carbonreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/carbonreceiver" diff --git a/receiver/carbonreceiver/factory.go b/receiver/carbonreceiver/factory.go index 5ec095deb0f7..25f408bfa73c 100644 --- a/receiver/carbonreceiver/factory.go +++ b/receiver/carbonreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package carbonreceiver +package carbonreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/carbonreceiver" import ( "context" diff --git a/receiver/carbonreceiver/protocol/config.go b/receiver/carbonreceiver/protocol/config.go index 3e7b99afb7d0..97ed448ec9b9 100644 --- a/receiver/carbonreceiver/protocol/config.go +++ b/receiver/carbonreceiver/protocol/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package protocol +package protocol // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/carbonreceiver/protocol" import ( "fmt" diff --git a/receiver/carbonreceiver/protocol/parser.go b/receiver/carbonreceiver/protocol/parser.go index ebcd908d9f22..16b47fd40ac2 100644 --- a/receiver/carbonreceiver/protocol/parser.go +++ b/receiver/carbonreceiver/protocol/parser.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package protocol +package protocol // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/carbonreceiver/protocol" import ( metricspb "github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1" diff --git a/receiver/carbonreceiver/protocol/path_parser_helper.go b/receiver/carbonreceiver/protocol/path_parser_helper.go index 6b1427e84780..84fce3d0cf47 100644 --- a/receiver/carbonreceiver/protocol/path_parser_helper.go +++ b/receiver/carbonreceiver/protocol/path_parser_helper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package protocol +package protocol // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/carbonreceiver/protocol" import ( "errors" diff --git a/receiver/carbonreceiver/protocol/plaintext_parser.go b/receiver/carbonreceiver/protocol/plaintext_parser.go index 9d9df27b2305..0e92dbdc7d1f 100644 --- a/receiver/carbonreceiver/protocol/plaintext_parser.go +++ b/receiver/carbonreceiver/protocol/plaintext_parser.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package protocol +package protocol // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/carbonreceiver/protocol" import ( "fmt" diff --git a/receiver/carbonreceiver/protocol/regex_parser.go b/receiver/carbonreceiver/protocol/regex_parser.go index 18149797396d..2627f20a700b 100644 --- a/receiver/carbonreceiver/protocol/regex_parser.go +++ b/receiver/carbonreceiver/protocol/regex_parser.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package protocol +package protocol // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/carbonreceiver/protocol" import ( "errors" diff --git a/receiver/carbonreceiver/receiver.go b/receiver/carbonreceiver/receiver.go index ff628ffe41a0..c9c4befde225 100644 --- a/receiver/carbonreceiver/receiver.go +++ b/receiver/carbonreceiver/receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package carbonreceiver +package carbonreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/carbonreceiver" import ( "context" diff --git a/receiver/carbonreceiver/reporter.go b/receiver/carbonreceiver/reporter.go index c41a123f322e..010225a2f189 100644 --- a/receiver/carbonreceiver/reporter.go +++ b/receiver/carbonreceiver/reporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package carbonreceiver +package carbonreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/carbonreceiver" import ( "context" diff --git a/receiver/carbonreceiver/transport/client/plaintext_client.go b/receiver/carbonreceiver/transport/client/plaintext_client.go index 8e633c92a9e9..5e5a436e499f 100644 --- a/receiver/carbonreceiver/transport/client/plaintext_client.go +++ b/receiver/carbonreceiver/transport/client/plaintext_client.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package client +package client // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/carbonreceiver/transport/client" import ( "fmt" diff --git a/receiver/carbonreceiver/transport/mock_reporter.go b/receiver/carbonreceiver/transport/mock_reporter.go index a77a76600974..a263d2105444 100644 --- a/receiver/carbonreceiver/transport/mock_reporter.go +++ b/receiver/carbonreceiver/transport/mock_reporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package transport +package transport // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/carbonreceiver/transport" import ( "context" diff --git a/receiver/carbonreceiver/transport/server.go b/receiver/carbonreceiver/transport/server.go index 4666e5dc5bff..f1940805993c 100644 --- a/receiver/carbonreceiver/transport/server.go +++ b/receiver/carbonreceiver/transport/server.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package transport +package transport // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/carbonreceiver/transport" import ( "context" diff --git a/receiver/carbonreceiver/transport/tcp_server.go b/receiver/carbonreceiver/transport/tcp_server.go index c756e309abe5..c9851d212cc0 100644 --- a/receiver/carbonreceiver/transport/tcp_server.go +++ b/receiver/carbonreceiver/transport/tcp_server.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package transport +package transport // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/carbonreceiver/transport" import ( "bufio" diff --git a/receiver/carbonreceiver/transport/udp_server.go b/receiver/carbonreceiver/transport/udp_server.go index b27d1ead3e49..90e5f0c4d2ae 100644 --- a/receiver/carbonreceiver/transport/udp_server.go +++ b/receiver/carbonreceiver/transport/udp_server.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package transport +package transport // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/carbonreceiver/transport" import ( "bytes" diff --git a/receiver/cloudfoundryreceiver/config.go b/receiver/cloudfoundryreceiver/config.go index 8af5040d14a2..65a566a51851 100644 --- a/receiver/cloudfoundryreceiver/config.go +++ b/receiver/cloudfoundryreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package cloudfoundryreceiver +package cloudfoundryreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/cloudfoundryreceiver" import ( "errors" diff --git a/receiver/cloudfoundryreceiver/doc.go b/receiver/cloudfoundryreceiver/doc.go index bea60a4a8293..8a9e46886571 100644 --- a/receiver/cloudfoundryreceiver/doc.go +++ b/receiver/cloudfoundryreceiver/doc.go @@ -17,4 +17,4 @@ // Log Proxy (RLP) Gateway component. The protocol is handled by the // go-loggregator library, which uses HTTP to connect to the gateway and receive // JSON-protobuf encoded v2 Envelope messages as documented by loggregator-api. -package cloudfoundryreceiver +package cloudfoundryreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/cloudfoundryreceiver" diff --git a/receiver/cloudfoundryreceiver/factory.go b/receiver/cloudfoundryreceiver/factory.go index aa6c1dfde017..f65df050c0b9 100644 --- a/receiver/cloudfoundryreceiver/factory.go +++ b/receiver/cloudfoundryreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package cloudfoundryreceiver +package cloudfoundryreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/cloudfoundryreceiver" import ( "context" diff --git a/receiver/cloudfoundryreceiver/receiver.go b/receiver/cloudfoundryreceiver/receiver.go index 9e834242b529..a54980e30390 100644 --- a/receiver/cloudfoundryreceiver/receiver.go +++ b/receiver/cloudfoundryreceiver/receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package cloudfoundryreceiver +package cloudfoundryreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/cloudfoundryreceiver" import ( "context" diff --git a/receiver/collectdreceiver/collectd.go b/receiver/collectdreceiver/collectd.go index 16a31c1d548d..889b55ee2053 100644 --- a/receiver/collectdreceiver/collectd.go +++ b/receiver/collectdreceiver/collectd.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package collectdreceiver +package collectdreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/collectdreceiver" import ( "encoding/json" diff --git a/receiver/collectdreceiver/config.go b/receiver/collectdreceiver/config.go index 395c963c5151..731ef0ad1c56 100644 --- a/receiver/collectdreceiver/config.go +++ b/receiver/collectdreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package collectdreceiver +package collectdreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/collectdreceiver" import ( "time" diff --git a/receiver/collectdreceiver/doc.go b/receiver/collectdreceiver/doc.go index d005cbf2af76..49237ba71869 100644 --- a/receiver/collectdreceiver/doc.go +++ b/receiver/collectdreceiver/doc.go @@ -15,4 +15,4 @@ // Package collectdreceiver implements a receiver that can be used by the // Opentelemetry collector to receive traces from CollectD http_write plugin // in JSON format. -package collectdreceiver +package collectdreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/collectdreceiver" diff --git a/receiver/collectdreceiver/factory.go b/receiver/collectdreceiver/factory.go index f15282149d45..204c2a770c02 100644 --- a/receiver/collectdreceiver/factory.go +++ b/receiver/collectdreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package collectdreceiver +package collectdreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/collectdreceiver" import ( "context" diff --git a/receiver/collectdreceiver/observability.go b/receiver/collectdreceiver/observability.go index 522f176e508d..699ea249b861 100644 --- a/receiver/collectdreceiver/observability.go +++ b/receiver/collectdreceiver/observability.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package collectdreceiver +package collectdreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/collectdreceiver" import ( "context" diff --git a/receiver/collectdreceiver/receiver.go b/receiver/collectdreceiver/receiver.go index e84a6818f70b..e7b16f0777c3 100644 --- a/receiver/collectdreceiver/receiver.go +++ b/receiver/collectdreceiver/receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package collectdreceiver +package collectdreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/collectdreceiver" import ( "context" diff --git a/receiver/dockerstatsreceiver/config.go b/receiver/dockerstatsreceiver/config.go index 9be0da949ca1..a3e7b5626c40 100644 --- a/receiver/dockerstatsreceiver/config.go +++ b/receiver/dockerstatsreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dockerstatsreceiver +package dockerstatsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dockerstatsreceiver" import ( "errors" diff --git a/receiver/dockerstatsreceiver/factory.go b/receiver/dockerstatsreceiver/factory.go index 4267562dca19..6bf0c50c4a05 100644 --- a/receiver/dockerstatsreceiver/factory.go +++ b/receiver/dockerstatsreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dockerstatsreceiver +package dockerstatsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dockerstatsreceiver" import ( "context" diff --git a/receiver/dockerstatsreceiver/metrics.go b/receiver/dockerstatsreceiver/metrics.go index 3d7fe132d5b7..4c3c2d64fd3f 100644 --- a/receiver/dockerstatsreceiver/metrics.go +++ b/receiver/dockerstatsreceiver/metrics.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dockerstatsreceiver +package dockerstatsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dockerstatsreceiver" import ( "fmt" diff --git a/receiver/dockerstatsreceiver/receiver.go b/receiver/dockerstatsreceiver/receiver.go index e9f9ccccc41d..842110e51b5a 100644 --- a/receiver/dockerstatsreceiver/receiver.go +++ b/receiver/dockerstatsreceiver/receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dockerstatsreceiver +package dockerstatsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dockerstatsreceiver" import ( "context" diff --git a/receiver/dotnetdiagnosticsreceiver/config.go b/receiver/dotnetdiagnosticsreceiver/config.go index 4dc13595cf48..bfe650b8820b 100644 --- a/receiver/dotnetdiagnosticsreceiver/config.go +++ b/receiver/dotnetdiagnosticsreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dotnetdiagnosticsreceiver +package dotnetdiagnosticsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver" import ( "go.opentelemetry.io/collector/receiver/scraperhelper" diff --git a/receiver/dotnetdiagnosticsreceiver/dotnet/common.go b/receiver/dotnetdiagnosticsreceiver/dotnet/common.go index eb48277dcdb6..f809ddf3fa21 100644 --- a/receiver/dotnetdiagnosticsreceiver/dotnet/common.go +++ b/receiver/dotnetdiagnosticsreceiver/dotnet/common.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dotnet +package dotnet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/dotnet" import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/network" diff --git a/receiver/dotnetdiagnosticsreceiver/dotnet/event_header.go b/receiver/dotnetdiagnosticsreceiver/dotnet/event_header.go index 7ab3c22bab4b..1f2ceb2fcb96 100644 --- a/receiver/dotnetdiagnosticsreceiver/dotnet/event_header.go +++ b/receiver/dotnetdiagnosticsreceiver/dotnet/event_header.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dotnet +package dotnet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/dotnet" import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/network" diff --git a/receiver/dotnetdiagnosticsreceiver/dotnet/event_parser.go b/receiver/dotnetdiagnosticsreceiver/dotnet/event_parser.go index 3c4751469552..35980af420a4 100644 --- a/receiver/dotnetdiagnosticsreceiver/dotnet/event_parser.go +++ b/receiver/dotnetdiagnosticsreceiver/dotnet/event_parser.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dotnet +package dotnet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/dotnet" import ( "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/network" diff --git a/receiver/dotnetdiagnosticsreceiver/dotnet/ipc_parser.go b/receiver/dotnetdiagnosticsreceiver/dotnet/ipc_parser.go index e4667b05c03a..9d811493c75f 100644 --- a/receiver/dotnetdiagnosticsreceiver/dotnet/ipc_parser.go +++ b/receiver/dotnetdiagnosticsreceiver/dotnet/ipc_parser.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dotnet +package dotnet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/dotnet" import ( "errors" diff --git a/receiver/dotnetdiagnosticsreceiver/dotnet/metadata_parser.go b/receiver/dotnetdiagnosticsreceiver/dotnet/metadata_parser.go index 8cdfcd8387d2..923cc0042674 100644 --- a/receiver/dotnetdiagnosticsreceiver/dotnet/metadata_parser.go +++ b/receiver/dotnetdiagnosticsreceiver/dotnet/metadata_parser.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dotnet +package dotnet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/dotnet" import ( "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/network" diff --git a/receiver/dotnetdiagnosticsreceiver/dotnet/metric.go b/receiver/dotnetdiagnosticsreceiver/dotnet/metric.go index 829cad566202..832d01dfe98d 100644 --- a/receiver/dotnetdiagnosticsreceiver/dotnet/metric.go +++ b/receiver/dotnetdiagnosticsreceiver/dotnet/metric.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dotnet +package dotnet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/dotnet" // Metric is a map containing all of the keys and values for a Metric extracted // from the event parser. Most metrics will have some subset of the keys defined diff --git a/receiver/dotnetdiagnosticsreceiver/dotnet/nettrace_parser.go b/receiver/dotnetdiagnosticsreceiver/dotnet/nettrace_parser.go index 7444b1561173..ec924efbc273 100644 --- a/receiver/dotnetdiagnosticsreceiver/dotnet/nettrace_parser.go +++ b/receiver/dotnetdiagnosticsreceiver/dotnet/nettrace_parser.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dotnet +package dotnet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/dotnet" import ( "fmt" diff --git a/receiver/dotnetdiagnosticsreceiver/dotnet/parser.go b/receiver/dotnetdiagnosticsreceiver/dotnet/parser.go index d5ce579d4e63..5a0ba8a78443 100644 --- a/receiver/dotnetdiagnosticsreceiver/dotnet/parser.go +++ b/receiver/dotnetdiagnosticsreceiver/dotnet/parser.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dotnet +package dotnet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/dotnet" import ( "context" diff --git a/receiver/dotnetdiagnosticsreceiver/dotnet/request.go b/receiver/dotnetdiagnosticsreceiver/dotnet/request.go index fee0297ebd2d..fb912899a3df 100644 --- a/receiver/dotnetdiagnosticsreceiver/dotnet/request.go +++ b/receiver/dotnetdiagnosticsreceiver/dotnet/request.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dotnet +package dotnet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/dotnet" import ( "bytes" diff --git a/receiver/dotnetdiagnosticsreceiver/dotnet/sequence_parser.go b/receiver/dotnetdiagnosticsreceiver/dotnet/sequence_parser.go index 81d915c48a7a..fc22a5e61f9d 100644 --- a/receiver/dotnetdiagnosticsreceiver/dotnet/sequence_parser.go +++ b/receiver/dotnetdiagnosticsreceiver/dotnet/sequence_parser.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dotnet +package dotnet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/dotnet" import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/network" diff --git a/receiver/dotnetdiagnosticsreceiver/dotnet/serialization_type.go b/receiver/dotnetdiagnosticsreceiver/dotnet/serialization_type.go index 7672334a4ecb..90b38fc4cbf2 100644 --- a/receiver/dotnetdiagnosticsreceiver/dotnet/serialization_type.go +++ b/receiver/dotnetdiagnosticsreceiver/dotnet/serialization_type.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dotnet +package dotnet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/dotnet" import ( "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/network" diff --git a/receiver/dotnetdiagnosticsreceiver/dotnet/stack_parser.go b/receiver/dotnetdiagnosticsreceiver/dotnet/stack_parser.go index 0eaf27a78743..612ef294252e 100644 --- a/receiver/dotnetdiagnosticsreceiver/dotnet/stack_parser.go +++ b/receiver/dotnetdiagnosticsreceiver/dotnet/stack_parser.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dotnet +package dotnet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/dotnet" import ( "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/network" diff --git a/receiver/dotnetdiagnosticsreceiver/dotnet/trace_parser.go b/receiver/dotnetdiagnosticsreceiver/dotnet/trace_parser.go index 3175e148fbff..096df56f1b73 100644 --- a/receiver/dotnetdiagnosticsreceiver/dotnet/trace_parser.go +++ b/receiver/dotnetdiagnosticsreceiver/dotnet/trace_parser.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dotnet +package dotnet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/dotnet" import ( "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/network" diff --git a/receiver/dotnetdiagnosticsreceiver/factory.go b/receiver/dotnetdiagnosticsreceiver/factory.go index b84377b8fcca..f64f6f22cc06 100644 --- a/receiver/dotnetdiagnosticsreceiver/factory.go +++ b/receiver/dotnetdiagnosticsreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dotnetdiagnosticsreceiver +package dotnetdiagnosticsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver" import ( "context" diff --git a/receiver/dotnetdiagnosticsreceiver/metrics/converter.go b/receiver/dotnetdiagnosticsreceiver/metrics/converter.go index 686545eac93b..0ad72fece4e7 100644 --- a/receiver/dotnetdiagnosticsreceiver/metrics/converter.go +++ b/receiver/dotnetdiagnosticsreceiver/metrics/converter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metrics +package metrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/metrics" import ( "time" diff --git a/receiver/dotnetdiagnosticsreceiver/metrics/sender.go b/receiver/dotnetdiagnosticsreceiver/metrics/sender.go index 19dfa7140fd1..82daedd40a91 100644 --- a/receiver/dotnetdiagnosticsreceiver/metrics/sender.go +++ b/receiver/dotnetdiagnosticsreceiver/metrics/sender.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metrics +package metrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/metrics" import ( "context" diff --git a/receiver/dotnetdiagnosticsreceiver/network/blob_writer.go b/receiver/dotnetdiagnosticsreceiver/network/blob_writer.go index 3d5720d7fd08..a95d311d5c70 100644 --- a/receiver/dotnetdiagnosticsreceiver/network/blob_writer.go +++ b/receiver/dotnetdiagnosticsreceiver/network/blob_writer.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package network +package network // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/network" import ( "io/ioutil" diff --git a/receiver/dotnetdiagnosticsreceiver/network/fake_rw.go b/receiver/dotnetdiagnosticsreceiver/network/fake_rw.go index f28d33fa1807..dcff339e78a6 100644 --- a/receiver/dotnetdiagnosticsreceiver/network/fake_rw.go +++ b/receiver/dotnetdiagnosticsreceiver/network/fake_rw.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package network +package network // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/network" import ( "fmt" diff --git a/receiver/dotnetdiagnosticsreceiver/network/net.go b/receiver/dotnetdiagnosticsreceiver/network/net.go index eb68297df296..d350902ccca4 100644 --- a/receiver/dotnetdiagnosticsreceiver/network/net.go +++ b/receiver/dotnetdiagnosticsreceiver/network/net.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package network +package network // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/network" import ( "fmt" diff --git a/receiver/dotnetdiagnosticsreceiver/network/reader.go b/receiver/dotnetdiagnosticsreceiver/network/reader.go index 93e27a2e084d..44dd3e14b309 100644 --- a/receiver/dotnetdiagnosticsreceiver/network/reader.go +++ b/receiver/dotnetdiagnosticsreceiver/network/reader.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package network +package network // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/network" import ( "encoding/binary" diff --git a/receiver/dotnetdiagnosticsreceiver/network/writer.go b/receiver/dotnetdiagnosticsreceiver/network/writer.go index 50fa4bcce972..bc012ce0fced 100644 --- a/receiver/dotnetdiagnosticsreceiver/network/writer.go +++ b/receiver/dotnetdiagnosticsreceiver/network/writer.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package network +package network // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver/network" import ( "bytes" diff --git a/receiver/dotnetdiagnosticsreceiver/receiver.go b/receiver/dotnetdiagnosticsreceiver/receiver.go index 6cebaa931443..c2f672b061ee 100644 --- a/receiver/dotnetdiagnosticsreceiver/receiver.go +++ b/receiver/dotnetdiagnosticsreceiver/receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package dotnetdiagnosticsreceiver +package dotnetdiagnosticsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dotnetdiagnosticsreceiver" import ( "context" diff --git a/receiver/filelogreceiver/doc.go b/receiver/filelogreceiver/doc.go index 2e8f2a3fa80d..6c78da655a94 100644 --- a/receiver/filelogreceiver/doc.go +++ b/receiver/filelogreceiver/doc.go @@ -14,4 +14,4 @@ // Package stanzareceiver implements a receiver that can be used by the // Opentelemetry collector to receive logs using the stanza log agent -package filelogreceiver +package filelogreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filelogreceiver" diff --git a/receiver/filelogreceiver/filelog.go b/receiver/filelogreceiver/filelog.go index 53df522cfcb2..2b7cd7a4a90d 100644 --- a/receiver/filelogreceiver/filelog.go +++ b/receiver/filelogreceiver/filelog.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filelogreceiver +package filelogreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filelogreceiver" import ( "github.com/open-telemetry/opentelemetry-log-collection/operator" diff --git a/receiver/fluentforwardreceiver/ack.go b/receiver/fluentforwardreceiver/ack.go index dba73f616b77..75618c5560b3 100644 --- a/receiver/fluentforwardreceiver/ack.go +++ b/receiver/fluentforwardreceiver/ack.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package fluentforwardreceiver +package fluentforwardreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/fluentforwardreceiver" import "github.com/tinylib/msgp/msgp" diff --git a/receiver/fluentforwardreceiver/collector.go b/receiver/fluentforwardreceiver/collector.go index 8ed40cab6d59..3427df175c32 100644 --- a/receiver/fluentforwardreceiver/collector.go +++ b/receiver/fluentforwardreceiver/collector.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package fluentforwardreceiver +package fluentforwardreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/fluentforwardreceiver" import ( "context" diff --git a/receiver/fluentforwardreceiver/config.go b/receiver/fluentforwardreceiver/config.go index afe02fe66391..6b5585f16bda 100644 --- a/receiver/fluentforwardreceiver/config.go +++ b/receiver/fluentforwardreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package fluentforwardreceiver +package fluentforwardreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/fluentforwardreceiver" import "go.opentelemetry.io/collector/config" diff --git a/receiver/fluentforwardreceiver/conversion.go b/receiver/fluentforwardreceiver/conversion.go index 8598a5f21ad7..fa4943004191 100644 --- a/receiver/fluentforwardreceiver/conversion.go +++ b/receiver/fluentforwardreceiver/conversion.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package fluentforwardreceiver +package fluentforwardreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/fluentforwardreceiver" import ( "bytes" diff --git a/receiver/fluentforwardreceiver/factory.go b/receiver/fluentforwardreceiver/factory.go index fee14e3cdd41..ae1c1157da3f 100644 --- a/receiver/fluentforwardreceiver/factory.go +++ b/receiver/fluentforwardreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package fluentforwardreceiver +package fluentforwardreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/fluentforwardreceiver" import ( "context" diff --git a/receiver/fluentforwardreceiver/heartbeat.go b/receiver/fluentforwardreceiver/heartbeat.go index c9cb68d2c7ab..2ed1d7a93fdd 100644 --- a/receiver/fluentforwardreceiver/heartbeat.go +++ b/receiver/fluentforwardreceiver/heartbeat.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package fluentforwardreceiver +package fluentforwardreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/fluentforwardreceiver" import ( "context" diff --git a/receiver/fluentforwardreceiver/observ/metrics.go b/receiver/fluentforwardreceiver/observ/metrics.go index 49d0c77c0ee2..1d445d956c27 100644 --- a/receiver/fluentforwardreceiver/observ/metrics.go +++ b/receiver/fluentforwardreceiver/observ/metrics.go @@ -14,7 +14,7 @@ // Package observ contains logic pertaining to the internal observation // of the fluent forward receiver. -package observ +package observ // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/fluentforwardreceiver/observ" import ( "go.opencensus.io/stats" diff --git a/receiver/fluentforwardreceiver/receiver.go b/receiver/fluentforwardreceiver/receiver.go index 2bae4125d996..7f2cb88b2e14 100644 --- a/receiver/fluentforwardreceiver/receiver.go +++ b/receiver/fluentforwardreceiver/receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package fluentforwardreceiver +package fluentforwardreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/fluentforwardreceiver" import ( "context" diff --git a/receiver/fluentforwardreceiver/server.go b/receiver/fluentforwardreceiver/server.go index 5eb5dea580fb..4e607f73f2ef 100644 --- a/receiver/fluentforwardreceiver/server.go +++ b/receiver/fluentforwardreceiver/server.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package fluentforwardreceiver +package fluentforwardreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/fluentforwardreceiver" import ( "context" diff --git a/receiver/fluentforwardreceiver/timeext.go b/receiver/fluentforwardreceiver/timeext.go index 101b10a11d03..333293b383db 100644 --- a/receiver/fluentforwardreceiver/timeext.go +++ b/receiver/fluentforwardreceiver/timeext.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package fluentforwardreceiver +package fluentforwardreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/fluentforwardreceiver" import ( "encoding/binary" diff --git a/receiver/googlecloudpubsubreceiver/config.go b/receiver/googlecloudpubsubreceiver/config.go index 236a248f2dcb..3a7a015eced1 100644 --- a/receiver/googlecloudpubsubreceiver/config.go +++ b/receiver/googlecloudpubsubreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package googlecloudpubsubreceiver +package googlecloudpubsubreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudpubsubreceiver" import ( "fmt" diff --git a/receiver/googlecloudpubsubreceiver/factory.go b/receiver/googlecloudpubsubreceiver/factory.go index c2e152bffd94..363da3707e5b 100644 --- a/receiver/googlecloudpubsubreceiver/factory.go +++ b/receiver/googlecloudpubsubreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package googlecloudpubsubreceiver +package googlecloudpubsubreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudpubsubreceiver" import ( "context" diff --git a/receiver/googlecloudpubsubreceiver/receiver.go b/receiver/googlecloudpubsubreceiver/receiver.go index 49377303d35f..2974fa63ed90 100644 --- a/receiver/googlecloudpubsubreceiver/receiver.go +++ b/receiver/googlecloudpubsubreceiver/receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package googlecloudpubsubreceiver +package googlecloudpubsubreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudpubsubreceiver" import ( "context" diff --git a/receiver/googlecloudspannerreceiver/config.go b/receiver/googlecloudspannerreceiver/config.go index 23b357a54524..1ec5201f1aeb 100644 --- a/receiver/googlecloudspannerreceiver/config.go +++ b/receiver/googlecloudspannerreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package googlecloudspannerreceiver +package googlecloudspannerreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver" import ( "fmt" diff --git a/receiver/googlecloudspannerreceiver/doc.go b/receiver/googlecloudspannerreceiver/doc.go index b533b43f2c00..7f032e86428f 100644 --- a/receiver/googlecloudspannerreceiver/doc.go +++ b/receiver/googlecloudspannerreceiver/doc.go @@ -12,4 +12,4 @@ // See the License for the specific language governing permissions and // limitations under the License. -package googlecloudspannerreceiver +package googlecloudspannerreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver" diff --git a/receiver/googlecloudspannerreceiver/factory.go b/receiver/googlecloudspannerreceiver/factory.go index 29b1f2541ec5..f80dd2ff8f44 100644 --- a/receiver/googlecloudspannerreceiver/factory.go +++ b/receiver/googlecloudspannerreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package googlecloudspannerreceiver +package googlecloudspannerreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver" import ( "context" diff --git a/receiver/googlecloudspannerreceiver/internal/datasource/database.go b/receiver/googlecloudspannerreceiver/internal/datasource/database.go index 96b1c65fca14..07ab173bc3b0 100644 --- a/receiver/googlecloudspannerreceiver/internal/datasource/database.go +++ b/receiver/googlecloudspannerreceiver/internal/datasource/database.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datasource +package datasource // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/datasource" import ( "context" diff --git a/receiver/googlecloudspannerreceiver/internal/datasource/databaseid.go b/receiver/googlecloudspannerreceiver/internal/datasource/databaseid.go index 5c05af33cfcf..bfdbcf0e5c99 100644 --- a/receiver/googlecloudspannerreceiver/internal/datasource/databaseid.go +++ b/receiver/googlecloudspannerreceiver/internal/datasource/databaseid.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datasource +package datasource // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/datasource" import "fmt" diff --git a/receiver/googlecloudspannerreceiver/internal/filter/itemcardinality.go b/receiver/googlecloudspannerreceiver/internal/filter/itemcardinality.go index 03e614e3cf80..4a91d4c6f1f7 100644 --- a/receiver/googlecloudspannerreceiver/internal/filter/itemcardinality.go +++ b/receiver/googlecloudspannerreceiver/internal/filter/itemcardinality.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filter +package filter // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/filter" import ( "fmt" diff --git a/receiver/googlecloudspannerreceiver/internal/filter/nopitemcardinality.go b/receiver/googlecloudspannerreceiver/internal/filter/nopitemcardinality.go index 6622e349bf21..f518111b632a 100644 --- a/receiver/googlecloudspannerreceiver/internal/filter/nopitemcardinality.go +++ b/receiver/googlecloudspannerreceiver/internal/filter/nopitemcardinality.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filter +package filter // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/filter" type nopItemCardinalityFilter struct { // No fields here diff --git a/receiver/googlecloudspannerreceiver/internal/filterfactory/filterbuilder.go b/receiver/googlecloudspannerreceiver/internal/filterfactory/filterbuilder.go index 32f21836c9b5..91175ab1800f 100644 --- a/receiver/googlecloudspannerreceiver/internal/filterfactory/filterbuilder.go +++ b/receiver/googlecloudspannerreceiver/internal/filterfactory/filterbuilder.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filterfactory +package filterfactory // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/filterfactory" import ( "errors" diff --git a/receiver/googlecloudspannerreceiver/internal/filterfactory/itemfilterfactory.go b/receiver/googlecloudspannerreceiver/internal/filterfactory/itemfilterfactory.go index bbb480b293ce..ce46b701ef8f 100644 --- a/receiver/googlecloudspannerreceiver/internal/filterfactory/itemfilterfactory.go +++ b/receiver/googlecloudspannerreceiver/internal/filterfactory/itemfilterfactory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filterfactory +package filterfactory // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/filterfactory" import ( "errors" diff --git a/receiver/googlecloudspannerreceiver/internal/metadata/labelvalue.go b/receiver/googlecloudspannerreceiver/internal/metadata/labelvalue.go index 2cd7bf9569d3..02f0df372a4d 100644 --- a/receiver/googlecloudspannerreceiver/internal/metadata/labelvalue.go +++ b/receiver/googlecloudspannerreceiver/internal/metadata/labelvalue.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metadata +package metadata // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/metadata" import ( "fmt" diff --git a/receiver/googlecloudspannerreceiver/internal/metadata/metricdatatype.go b/receiver/googlecloudspannerreceiver/internal/metadata/metricdatatype.go index 891dfb9a307b..37d27046fbc9 100644 --- a/receiver/googlecloudspannerreceiver/internal/metadata/metricdatatype.go +++ b/receiver/googlecloudspannerreceiver/internal/metadata/metricdatatype.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metadata +package metadata // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/metadata" import "go.opentelemetry.io/collector/model/pdata" diff --git a/receiver/googlecloudspannerreceiver/internal/metadata/metricsbuilder.go b/receiver/googlecloudspannerreceiver/internal/metadata/metricsbuilder.go index 375474afe67c..2f12151bc5b9 100644 --- a/receiver/googlecloudspannerreceiver/internal/metadata/metricsbuilder.go +++ b/receiver/googlecloudspannerreceiver/internal/metadata/metricsbuilder.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metadata +package metadata // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/metadata" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/receiver/googlecloudspannerreceiver/internal/metadata/metricsdatapoint.go b/receiver/googlecloudspannerreceiver/internal/metadata/metricsdatapoint.go index 086834ff9812..17d9fe178019 100644 --- a/receiver/googlecloudspannerreceiver/internal/metadata/metricsdatapoint.go +++ b/receiver/googlecloudspannerreceiver/internal/metadata/metricsdatapoint.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metadata +package metadata // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/metadata" import ( "fmt" diff --git a/receiver/googlecloudspannerreceiver/internal/metadata/metricsmetadata.go b/receiver/googlecloudspannerreceiver/internal/metadata/metricsmetadata.go index a2e01c45c1b1..7d041fef8834 100644 --- a/receiver/googlecloudspannerreceiver/internal/metadata/metricsmetadata.go +++ b/receiver/googlecloudspannerreceiver/internal/metadata/metricsmetadata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metadata +package metadata // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/metadata" import ( "fmt" diff --git a/receiver/googlecloudspannerreceiver/internal/metadata/metricvalue.go b/receiver/googlecloudspannerreceiver/internal/metadata/metricvalue.go index 7abcc49fb2ea..7e415140911c 100644 --- a/receiver/googlecloudspannerreceiver/internal/metadata/metricvalue.go +++ b/receiver/googlecloudspannerreceiver/internal/metadata/metricvalue.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metadata +package metadata // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/metadata" import ( "fmt" diff --git a/receiver/googlecloudspannerreceiver/internal/metadata/valuemetadata.go b/receiver/googlecloudspannerreceiver/internal/metadata/valuemetadata.go index b0f3ab951d75..13ba760433fd 100644 --- a/receiver/googlecloudspannerreceiver/internal/metadata/valuemetadata.go +++ b/receiver/googlecloudspannerreceiver/internal/metadata/valuemetadata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metadata +package metadata // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/metadata" type ValueType string diff --git a/receiver/googlecloudspannerreceiver/internal/metadataparser/label.go b/receiver/googlecloudspannerreceiver/internal/metadataparser/label.go index 14e65ceacbb1..8c24b4e6d76d 100644 --- a/receiver/googlecloudspannerreceiver/internal/metadataparser/label.go +++ b/receiver/googlecloudspannerreceiver/internal/metadataparser/label.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metadataparser +package metadataparser // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/metadataparser" import ( "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/metadata" diff --git a/receiver/googlecloudspannerreceiver/internal/metadataparser/metadata.go b/receiver/googlecloudspannerreceiver/internal/metadataparser/metadata.go index eef4e2d01273..b17a248cc935 100644 --- a/receiver/googlecloudspannerreceiver/internal/metadataparser/metadata.go +++ b/receiver/googlecloudspannerreceiver/internal/metadataparser/metadata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metadataparser +package metadataparser // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/metadataparser" import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/metadata" diff --git a/receiver/googlecloudspannerreceiver/internal/metadataparser/metadataconfig.go b/receiver/googlecloudspannerreceiver/internal/metadataparser/metadataconfig.go index 22dd53fbe2ea..40bd993078d7 100644 --- a/receiver/googlecloudspannerreceiver/internal/metadataparser/metadataconfig.go +++ b/receiver/googlecloudspannerreceiver/internal/metadataparser/metadataconfig.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metadataparser +package metadataparser // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/metadataparser" type MetadataConfig struct { Metadata []Metadata `yaml:"metadata"` diff --git a/receiver/googlecloudspannerreceiver/internal/metadataparser/metadataparser.go b/receiver/googlecloudspannerreceiver/internal/metadataparser/metadataparser.go index b04b77df10c2..92a45ea5cf69 100644 --- a/receiver/googlecloudspannerreceiver/internal/metadataparser/metadataparser.go +++ b/receiver/googlecloudspannerreceiver/internal/metadataparser/metadataparser.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metadataparser +package metadataparser // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/metadataparser" import ( "gopkg.in/yaml.v3" diff --git a/receiver/googlecloudspannerreceiver/internal/metadataparser/metric.go b/receiver/googlecloudspannerreceiver/internal/metadataparser/metric.go index 183dc8e0c7e5..6d25c504bfd4 100644 --- a/receiver/googlecloudspannerreceiver/internal/metadataparser/metric.go +++ b/receiver/googlecloudspannerreceiver/internal/metadataparser/metric.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metadataparser +package metadataparser // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/metadataparser" import ( "fmt" diff --git a/receiver/googlecloudspannerreceiver/internal/metadataparser/metrictype.go b/receiver/googlecloudspannerreceiver/internal/metadataparser/metrictype.go index 280f1e98c0ac..baa0f7d53bd8 100644 --- a/receiver/googlecloudspannerreceiver/internal/metadataparser/metrictype.go +++ b/receiver/googlecloudspannerreceiver/internal/metadataparser/metrictype.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metadataparser +package metadataparser // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/metadataparser" import ( "errors" diff --git a/receiver/googlecloudspannerreceiver/internal/statsreader/currentstatsreader.go b/receiver/googlecloudspannerreceiver/internal/statsreader/currentstatsreader.go index 633207679335..4ca37b496531 100644 --- a/receiver/googlecloudspannerreceiver/internal/statsreader/currentstatsreader.go +++ b/receiver/googlecloudspannerreceiver/internal/statsreader/currentstatsreader.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package statsreader +package statsreader // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/statsreader" import ( "context" diff --git a/receiver/googlecloudspannerreceiver/internal/statsreader/databasereader.go b/receiver/googlecloudspannerreceiver/internal/statsreader/databasereader.go index df3ebf8c5e1a..115d27a6b923 100644 --- a/receiver/googlecloudspannerreceiver/internal/statsreader/databasereader.go +++ b/receiver/googlecloudspannerreceiver/internal/statsreader/databasereader.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package statsreader +package statsreader // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/statsreader" import ( "context" diff --git a/receiver/googlecloudspannerreceiver/internal/statsreader/intervalstatsreader.go b/receiver/googlecloudspannerreceiver/internal/statsreader/intervalstatsreader.go index f9e0a72e0646..616775dc37bb 100644 --- a/receiver/googlecloudspannerreceiver/internal/statsreader/intervalstatsreader.go +++ b/receiver/googlecloudspannerreceiver/internal/statsreader/intervalstatsreader.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package statsreader +package statsreader // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/statsreader" import ( "context" diff --git a/receiver/googlecloudspannerreceiver/internal/statsreader/projectreader.go b/receiver/googlecloudspannerreceiver/internal/statsreader/projectreader.go index 02949d2e47d1..c97e4b7aea22 100644 --- a/receiver/googlecloudspannerreceiver/internal/statsreader/projectreader.go +++ b/receiver/googlecloudspannerreceiver/internal/statsreader/projectreader.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package statsreader +package statsreader // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/statsreader" import ( "context" diff --git a/receiver/googlecloudspannerreceiver/internal/statsreader/reader.go b/receiver/googlecloudspannerreceiver/internal/statsreader/reader.go index 8d30a889a87a..c43dd1ffab4d 100644 --- a/receiver/googlecloudspannerreceiver/internal/statsreader/reader.go +++ b/receiver/googlecloudspannerreceiver/internal/statsreader/reader.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package statsreader +package statsreader // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/statsreader" import ( "context" diff --git a/receiver/googlecloudspannerreceiver/internal/statsreader/statements.go b/receiver/googlecloudspannerreceiver/internal/statsreader/statements.go index d34b825eb753..70fe8252c579 100644 --- a/receiver/googlecloudspannerreceiver/internal/statsreader/statements.go +++ b/receiver/googlecloudspannerreceiver/internal/statsreader/statements.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package statsreader +package statsreader // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/statsreader" import ( "time" diff --git a/receiver/googlecloudspannerreceiver/internal/statsreader/timestampsgenerator.go b/receiver/googlecloudspannerreceiver/internal/statsreader/timestampsgenerator.go index eccb2dd4b568..cc9c085fc429 100644 --- a/receiver/googlecloudspannerreceiver/internal/statsreader/timestampsgenerator.go +++ b/receiver/googlecloudspannerreceiver/internal/statsreader/timestampsgenerator.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package statsreader +package statsreader // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver/internal/statsreader" import "time" diff --git a/receiver/googlecloudspannerreceiver/receiver.go b/receiver/googlecloudspannerreceiver/receiver.go index f5e4e6f434a9..3f6141d21f30 100644 --- a/receiver/googlecloudspannerreceiver/receiver.go +++ b/receiver/googlecloudspannerreceiver/receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package googlecloudspannerreceiver +package googlecloudspannerreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudspannerreceiver" import ( "context" diff --git a/receiver/hostmetricsreceiver/config.go b/receiver/hostmetricsreceiver/config.go index 47cac8bcf522..1fd0ad79915a 100644 --- a/receiver/hostmetricsreceiver/config.go +++ b/receiver/hostmetricsreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package hostmetricsreceiver +package hostmetricsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver" import ( "errors" diff --git a/receiver/hostmetricsreceiver/doc.go b/receiver/hostmetricsreceiver/doc.go index db945b425f7a..3eb3cdd3540d 100644 --- a/receiver/hostmetricsreceiver/doc.go +++ b/receiver/hostmetricsreceiver/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package hostmetricsreceiver reads metrics like CPU usage, disk usage, and network usage from the host. -package hostmetricsreceiver +package hostmetricsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver" diff --git a/receiver/hostmetricsreceiver/factory.go b/receiver/hostmetricsreceiver/factory.go index c053f7c890f6..acd215451645 100644 --- a/receiver/hostmetricsreceiver/factory.go +++ b/receiver/hostmetricsreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package hostmetricsreceiver +package hostmetricsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver" import ( "context" diff --git a/receiver/hostmetricsreceiver/internal/perfcounters/doc.go b/receiver/hostmetricsreceiver/internal/perfcounters/doc.go index 6ce1037f0334..e974e2a69bec 100644 --- a/receiver/hostmetricsreceiver/internal/perfcounters/doc.go +++ b/receiver/hostmetricsreceiver/internal/perfcounters/doc.go @@ -16,4 +16,4 @@ // https://godoc.org/github.com/leoluk/perflib_exporter/perflib that // provides functions to scrape raw performance counter data, without // calculating rates or formatting them, from the registry. -package perfcounters +package perfcounters // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/perfcounters" diff --git a/receiver/hostmetricsreceiver/internal/perfcounters/perfcounter_scraper.go b/receiver/hostmetricsreceiver/internal/perfcounters/perfcounter_scraper.go index 88ee583a8260..6a937635b709 100644 --- a/receiver/hostmetricsreceiver/internal/perfcounters/perfcounter_scraper.go +++ b/receiver/hostmetricsreceiver/internal/perfcounters/perfcounter_scraper.go @@ -15,7 +15,7 @@ //go:build windows // +build windows -package perfcounters +package perfcounters // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/perfcounters" import ( "fmt" diff --git a/receiver/hostmetricsreceiver/internal/perfcounters/perfcounter_scraper_mock.go b/receiver/hostmetricsreceiver/internal/perfcounters/perfcounter_scraper_mock.go index 1702b9fa97dd..039f8b250d3b 100644 --- a/receiver/hostmetricsreceiver/internal/perfcounters/perfcounter_scraper_mock.go +++ b/receiver/hostmetricsreceiver/internal/perfcounters/perfcounter_scraper_mock.go @@ -15,7 +15,7 @@ //go:build windows // +build windows -package perfcounters +package perfcounters // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/perfcounters" import ( "fmt" diff --git a/receiver/hostmetricsreceiver/internal/scraper.go b/receiver/hostmetricsreceiver/internal/scraper.go index 0545e00f6ae1..48ed4f8e61a6 100644 --- a/receiver/hostmetricsreceiver/internal/scraper.go +++ b/receiver/hostmetricsreceiver/internal/scraper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internal +package internal // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal" import ( "context" diff --git a/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/codegen.go b/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/codegen.go index 90caa7d128be..66d337ec5674 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/codegen.go +++ b/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/codegen.go @@ -17,4 +17,4 @@ //go:generate mdatagen metadata.yaml -package cpuscraper +package cpuscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/cpuscraper" diff --git a/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/config.go b/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/config.go index db5b4da417a2..8b0134310198 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/config.go +++ b/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package cpuscraper +package cpuscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/cpuscraper" import ( "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal" diff --git a/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/cpu_scraper.go b/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/cpu_scraper.go index ff19454752de..e24414119978 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/cpu_scraper.go +++ b/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/cpu_scraper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package cpuscraper +package cpuscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/cpuscraper" import ( "context" diff --git a/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/cpu_scraper_linux.go b/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/cpu_scraper_linux.go index a340b422987e..743004e0200d 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/cpu_scraper_linux.go +++ b/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/cpu_scraper_linux.go @@ -15,7 +15,7 @@ //go:build linux // +build linux -package cpuscraper +package cpuscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/cpuscraper" import ( "github.com/shirou/gopsutil/cpu" diff --git a/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/cpu_scraper_others.go b/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/cpu_scraper_others.go index ce1b20621efc..bd8f32fd0170 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/cpu_scraper_others.go +++ b/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/cpu_scraper_others.go @@ -15,7 +15,7 @@ //go:build !linux // +build !linux -package cpuscraper +package cpuscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/cpuscraper" import ( "github.com/shirou/gopsutil/cpu" diff --git a/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/factory.go b/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/factory.go index b1ab8d1e1e4e..a91e2dfea62c 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/factory.go +++ b/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package cpuscraper +package cpuscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/cpuscraper" import ( "context" diff --git a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/codegen.go b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/codegen.go index 6621cc6eb1e3..b65d7c2b6d0d 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/codegen.go +++ b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/codegen.go @@ -17,4 +17,4 @@ //go:generate mdatagen metadata.yaml -package diskscraper +package diskscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/diskscraper" diff --git a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/config.go b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/config.go index 18a63a462765..3c9d6aee8380 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/config.go +++ b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package diskscraper +package diskscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/diskscraper" import ( "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterset" diff --git a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/disk_scraper_others.go b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/disk_scraper_others.go index 86bbb1b6ec96..6ea258c5a034 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/disk_scraper_others.go +++ b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/disk_scraper_others.go @@ -15,7 +15,7 @@ //go:build !windows // +build !windows -package diskscraper +package diskscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/diskscraper" import ( "context" diff --git a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/disk_scraper_others_fallback.go b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/disk_scraper_others_fallback.go index 51b1e95072a6..65a9eea07bb6 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/disk_scraper_others_fallback.go +++ b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/disk_scraper_others_fallback.go @@ -15,7 +15,7 @@ //go:build !linux && !windows // +build !linux,!windows -package diskscraper +package diskscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/diskscraper" import ( "github.com/shirou/gopsutil/disk" diff --git a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/disk_scraper_others_linux.go b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/disk_scraper_others_linux.go index e357eac9d3eb..a3ccccc17f51 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/disk_scraper_others_linux.go +++ b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/disk_scraper_others_linux.go @@ -15,7 +15,7 @@ //go:build linux // +build linux -package diskscraper +package diskscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/diskscraper" import ( "github.com/shirou/gopsutil/disk" diff --git a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/disk_scraper_windows.go b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/disk_scraper_windows.go index 9d739115b18c..7f4ec9ce370b 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/disk_scraper_windows.go +++ b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/disk_scraper_windows.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package diskscraper +package diskscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/diskscraper" import ( "context" diff --git a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/factory.go b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/factory.go index bc64ec53ed4d..77ea0e3a4ddc 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/factory.go +++ b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package diskscraper +package diskscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/diskscraper" import ( "context" diff --git a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/utils.go b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/utils.go index 0d27d556e650..05fe97724080 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/utils.go +++ b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/utils.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package diskscraper +package diskscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/diskscraper" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/codegen.go b/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/codegen.go index a48175bd6ce4..ff9cc989d8da 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/codegen.go +++ b/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/codegen.go @@ -17,4 +17,4 @@ //go:generate mdatagen metadata.yaml -package filesystemscraper +package filesystemscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper" diff --git a/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/config.go b/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/config.go index 77edcb919e3b..e67cfabb71ce 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/config.go +++ b/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filesystemscraper +package filesystemscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper" import ( "fmt" diff --git a/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/factory.go b/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/factory.go index 65bd69512c20..6e792737a317 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/factory.go +++ b/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filesystemscraper +package filesystemscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper" import ( "context" diff --git a/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/filesystem_scraper.go b/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/filesystem_scraper.go index 271e8c5db548..abdf5be802c7 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/filesystem_scraper.go +++ b/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/filesystem_scraper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package filesystemscraper +package filesystemscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper" import ( "context" diff --git a/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/filesystem_scraper_others.go b/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/filesystem_scraper_others.go index 44c78372b8e7..b125dab76d2f 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/filesystem_scraper_others.go +++ b/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/filesystem_scraper_others.go @@ -15,7 +15,7 @@ //go:build !linux && !darwin && !freebsd && !openbsd && !solaris // +build !linux,!darwin,!freebsd,!openbsd,!solaris -package filesystemscraper +package filesystemscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/filesystem_scraper_unix.go b/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/filesystem_scraper_unix.go index b5c4e9b76604..d5250c563b26 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/filesystem_scraper_unix.go +++ b/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/filesystem_scraper_unix.go @@ -15,7 +15,7 @@ //go:build linux || darwin || freebsd || openbsd || solaris // +build linux darwin freebsd openbsd solaris -package filesystemscraper +package filesystemscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/receiver/hostmetricsreceiver/internal/scraper/loadscraper/codegen.go b/receiver/hostmetricsreceiver/internal/scraper/loadscraper/codegen.go index 785319f14b25..e7ced353fbcd 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/loadscraper/codegen.go +++ b/receiver/hostmetricsreceiver/internal/scraper/loadscraper/codegen.go @@ -17,4 +17,4 @@ //go:generate mdatagen metadata.yaml -package loadscraper +package loadscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/loadscraper" diff --git a/receiver/hostmetricsreceiver/internal/scraper/loadscraper/config.go b/receiver/hostmetricsreceiver/internal/scraper/loadscraper/config.go index 634cb51a4dc5..dc8be601c61d 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/loadscraper/config.go +++ b/receiver/hostmetricsreceiver/internal/scraper/loadscraper/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package loadscraper +package loadscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/loadscraper" import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal" diff --git a/receiver/hostmetricsreceiver/internal/scraper/loadscraper/factory.go b/receiver/hostmetricsreceiver/internal/scraper/loadscraper/factory.go index 89506d0268f2..6f2c10598b1e 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/loadscraper/factory.go +++ b/receiver/hostmetricsreceiver/internal/scraper/loadscraper/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package loadscraper +package loadscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/loadscraper" import ( "context" diff --git a/receiver/hostmetricsreceiver/internal/scraper/loadscraper/load_scraper.go b/receiver/hostmetricsreceiver/internal/scraper/loadscraper/load_scraper.go index 5e9091212916..7f38944e48cc 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/loadscraper/load_scraper.go +++ b/receiver/hostmetricsreceiver/internal/scraper/loadscraper/load_scraper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package loadscraper +package loadscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/loadscraper" import ( "context" diff --git a/receiver/hostmetricsreceiver/internal/scraper/loadscraper/load_scraper_others.go b/receiver/hostmetricsreceiver/internal/scraper/loadscraper/load_scraper_others.go index cf87f36e121a..816cc2fac1db 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/loadscraper/load_scraper_others.go +++ b/receiver/hostmetricsreceiver/internal/scraper/loadscraper/load_scraper_others.go @@ -15,7 +15,7 @@ //go:build !windows // +build !windows -package loadscraper +package loadscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/loadscraper" import ( "context" diff --git a/receiver/hostmetricsreceiver/internal/scraper/loadscraper/load_scraper_windows.go b/receiver/hostmetricsreceiver/internal/scraper/loadscraper/load_scraper_windows.go index 3fa733f289ac..3c5d2979581a 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/loadscraper/load_scraper_windows.go +++ b/receiver/hostmetricsreceiver/internal/scraper/loadscraper/load_scraper_windows.go @@ -15,7 +15,7 @@ //go:build windows // +build windows -package loadscraper +package loadscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/loadscraper" import ( "context" diff --git a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/codegen.go b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/codegen.go index be5e667f4bc0..1e2a50ea0133 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/codegen.go +++ b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/codegen.go @@ -17,4 +17,4 @@ //go:generate mdatagen metadata.yaml -package memoryscraper +package memoryscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/memoryscraper" diff --git a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/config.go b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/config.go index fcf1dad94954..c5f754f78d77 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/config.go +++ b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package memoryscraper +package memoryscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/memoryscraper" import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal" diff --git a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/factory.go b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/factory.go index b20651acb882..a865edb4bb50 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/factory.go +++ b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package memoryscraper +package memoryscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/memoryscraper" import ( "context" diff --git a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/memory_scraper.go b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/memory_scraper.go index c23a21f174bb..e28495b2e831 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/memory_scraper.go +++ b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/memory_scraper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package memoryscraper +package memoryscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/memoryscraper" import ( "context" diff --git a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/memory_scraper_linux.go b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/memory_scraper_linux.go index 11debec20b3f..117b78954ca8 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/memory_scraper_linux.go +++ b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/memory_scraper_linux.go @@ -15,7 +15,7 @@ //go:build linux // +build linux -package memoryscraper +package memoryscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/memoryscraper" import ( "github.com/shirou/gopsutil/mem" diff --git a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/memory_scraper_others.go b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/memory_scraper_others.go index c3a382c3b4d8..9634896f6f04 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/memory_scraper_others.go +++ b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/memory_scraper_others.go @@ -15,7 +15,7 @@ //go:build !linux && !windows // +build !linux,!windows -package memoryscraper +package memoryscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/memoryscraper" import ( "github.com/shirou/gopsutil/mem" diff --git a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/memory_scraper_windows.go b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/memory_scraper_windows.go index 35f9419ed072..2f7cef614b51 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/memory_scraper_windows.go +++ b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/memory_scraper_windows.go @@ -15,7 +15,7 @@ //go:build windows // +build windows -package memoryscraper +package memoryscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/memoryscraper" import ( "github.com/shirou/gopsutil/mem" diff --git a/receiver/hostmetricsreceiver/internal/scraper/networkscraper/codegen.go b/receiver/hostmetricsreceiver/internal/scraper/networkscraper/codegen.go index e4b79c7ccaed..6ae0ccba6eba 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/networkscraper/codegen.go +++ b/receiver/hostmetricsreceiver/internal/scraper/networkscraper/codegen.go @@ -17,4 +17,4 @@ //go:generate mdatagen metadata.yaml -package networkscraper +package networkscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/networkscraper" diff --git a/receiver/hostmetricsreceiver/internal/scraper/networkscraper/config.go b/receiver/hostmetricsreceiver/internal/scraper/networkscraper/config.go index a64b94e8542f..0b93c47e66d3 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/networkscraper/config.go +++ b/receiver/hostmetricsreceiver/internal/scraper/networkscraper/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package networkscraper +package networkscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/networkscraper" import ( "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterset" diff --git a/receiver/hostmetricsreceiver/internal/scraper/networkscraper/factory.go b/receiver/hostmetricsreceiver/internal/scraper/networkscraper/factory.go index f1df12dcb212..abe758e5400f 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/networkscraper/factory.go +++ b/receiver/hostmetricsreceiver/internal/scraper/networkscraper/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package networkscraper +package networkscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/networkscraper" import ( "context" diff --git a/receiver/hostmetricsreceiver/internal/scraper/networkscraper/network_linux.go b/receiver/hostmetricsreceiver/internal/scraper/networkscraper/network_linux.go index b08881ecbbab..20316d86f52d 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/networkscraper/network_linux.go +++ b/receiver/hostmetricsreceiver/internal/scraper/networkscraper/network_linux.go @@ -15,7 +15,7 @@ //go:build linux // +build linux -package networkscraper +package networkscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/networkscraper" var allTCPStates = []string{ "CLOSE_WAIT", diff --git a/receiver/hostmetricsreceiver/internal/scraper/networkscraper/network_others.go b/receiver/hostmetricsreceiver/internal/scraper/networkscraper/network_others.go index 8d209f2e2362..356cb36734dc 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/networkscraper/network_others.go +++ b/receiver/hostmetricsreceiver/internal/scraper/networkscraper/network_others.go @@ -15,7 +15,7 @@ //go:build !linux // +build !linux -package networkscraper +package networkscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/networkscraper" var allTCPStates = []string{ "CLOSE_WAIT", diff --git a/receiver/hostmetricsreceiver/internal/scraper/networkscraper/network_scraper.go b/receiver/hostmetricsreceiver/internal/scraper/networkscraper/network_scraper.go index 093aa1461d5b..167ba00c9683 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/networkscraper/network_scraper.go +++ b/receiver/hostmetricsreceiver/internal/scraper/networkscraper/network_scraper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package networkscraper +package networkscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/networkscraper" import ( "context" diff --git a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/codegen.go b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/codegen.go index 0ba241131b6e..1e7fcb4f1416 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/codegen.go +++ b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/codegen.go @@ -17,4 +17,4 @@ //go:generate mdatagen metadata.yaml -package pagingscraper +package pagingscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/pagingscraper" diff --git a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/config.go b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/config.go index 1d654f9ea7bc..68cdae64634c 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/config.go +++ b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package pagingscraper +package pagingscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/pagingscraper" import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal" diff --git a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/factory.go b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/factory.go index 8ec4586bbcb3..df5ad77055e5 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/factory.go +++ b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package pagingscraper +package pagingscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/pagingscraper" import ( "context" diff --git a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/pagefile.go b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/pagefile.go index ad1af80e434c..b1bae024ac9f 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/pagefile.go +++ b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/pagefile.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package pagingscraper +package pagingscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/pagingscraper" type pageFileStats struct { deviceName string // Optional diff --git a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/pagefile_linux.go b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/pagefile_linux.go index b9429af23ce9..a624e155c974 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/pagefile_linux.go +++ b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/pagefile_linux.go @@ -15,7 +15,7 @@ //go:build linux // +build linux -package pagingscraper +package pagingscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/pagingscraper" import ( "bufio" diff --git a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/pagefile_others.go b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/pagefile_others.go index 56aec9d45320..a553f6b22501 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/pagefile_others.go +++ b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/pagefile_others.go @@ -15,7 +15,7 @@ //go:build !windows && !linux // +build !windows,!linux -package pagingscraper +package pagingscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/pagingscraper" import "github.com/shirou/gopsutil/mem" diff --git a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/pagefile_windows.go b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/pagefile_windows.go index 22d2c22bdbb8..8182804efcad 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/pagefile_windows.go +++ b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/pagefile_windows.go @@ -15,7 +15,7 @@ //go:build windows // +build windows -package pagingscraper +package pagingscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/pagingscraper" import ( "sync" diff --git a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/paging_scraper_others.go b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/paging_scraper_others.go index 08df81fa0912..b42fac85f0e0 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/paging_scraper_others.go +++ b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/paging_scraper_others.go @@ -15,7 +15,7 @@ //go:build !windows // +build !windows -package pagingscraper +package pagingscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/pagingscraper" import ( "context" diff --git a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/paging_scraper_windows.go b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/paging_scraper_windows.go index 4b3bad7047c7..e611e8dd647a 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/paging_scraper_windows.go +++ b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/paging_scraper_windows.go @@ -15,7 +15,7 @@ //go:build windows // +build windows -package pagingscraper +package pagingscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/pagingscraper" import ( "context" diff --git a/receiver/hostmetricsreceiver/internal/scraper/processesscraper/codegen.go b/receiver/hostmetricsreceiver/internal/scraper/processesscraper/codegen.go index 0e38e75de1dc..bc5cf0354f16 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processesscraper/codegen.go +++ b/receiver/hostmetricsreceiver/internal/scraper/processesscraper/codegen.go @@ -17,4 +17,4 @@ //go:generate mdatagen metadata.yaml -package processesscraper +package processesscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/processesscraper" diff --git a/receiver/hostmetricsreceiver/internal/scraper/processesscraper/config.go b/receiver/hostmetricsreceiver/internal/scraper/processesscraper/config.go index 3286a4b401e4..4b5b0accb5e7 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processesscraper/config.go +++ b/receiver/hostmetricsreceiver/internal/scraper/processesscraper/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package processesscraper +package processesscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/processesscraper" import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal" diff --git a/receiver/hostmetricsreceiver/internal/scraper/processesscraper/factory.go b/receiver/hostmetricsreceiver/internal/scraper/processesscraper/factory.go index de5f412b1815..213f3739f593 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processesscraper/factory.go +++ b/receiver/hostmetricsreceiver/internal/scraper/processesscraper/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package processesscraper +package processesscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/processesscraper" import ( "context" diff --git a/receiver/hostmetricsreceiver/internal/scraper/processesscraper/processes_scraper.go b/receiver/hostmetricsreceiver/internal/scraper/processesscraper/processes_scraper.go index c18f603ce601..fe7b5e9f56e8 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processesscraper/processes_scraper.go +++ b/receiver/hostmetricsreceiver/internal/scraper/processesscraper/processes_scraper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package processesscraper +package processesscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/processesscraper" import ( "context" diff --git a/receiver/hostmetricsreceiver/internal/scraper/processesscraper/processes_scraper_fallback.go b/receiver/hostmetricsreceiver/internal/scraper/processesscraper/processes_scraper_fallback.go index b3c07a17b13e..fe43d25ae84c 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processesscraper/processes_scraper_fallback.go +++ b/receiver/hostmetricsreceiver/internal/scraper/processesscraper/processes_scraper_fallback.go @@ -15,7 +15,7 @@ //go:build !linux && !darwin && !freebsd && !openbsd // +build !linux,!darwin,!freebsd,!openbsd -package processesscraper +package processesscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/processesscraper" const enableProcessesCount = false const enableProcessesCreated = false diff --git a/receiver/hostmetricsreceiver/internal/scraper/processesscraper/processes_scraper_unix.go b/receiver/hostmetricsreceiver/internal/scraper/processesscraper/processes_scraper_unix.go index 532c777f8fb0..4c99716342df 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processesscraper/processes_scraper_unix.go +++ b/receiver/hostmetricsreceiver/internal/scraper/processesscraper/processes_scraper_unix.go @@ -15,7 +15,7 @@ //go:build linux || darwin || freebsd || openbsd // +build linux darwin freebsd openbsd -package processesscraper +package processesscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/processesscraper" import ( "runtime" diff --git a/receiver/hostmetricsreceiver/internal/scraper/processscraper/codegen.go b/receiver/hostmetricsreceiver/internal/scraper/processscraper/codegen.go index 0f7532b99b69..3630baa3860a 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processscraper/codegen.go +++ b/receiver/hostmetricsreceiver/internal/scraper/processscraper/codegen.go @@ -17,4 +17,4 @@ //go:generate mdatagen metadata.yaml -package processscraper +package processscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/processscraper" diff --git a/receiver/hostmetricsreceiver/internal/scraper/processscraper/config.go b/receiver/hostmetricsreceiver/internal/scraper/processscraper/config.go index 4f07121f3d29..35103c6a84a7 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processscraper/config.go +++ b/receiver/hostmetricsreceiver/internal/scraper/processscraper/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package processscraper +package processscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/processscraper" import ( "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterset" diff --git a/receiver/hostmetricsreceiver/internal/scraper/processscraper/factory.go b/receiver/hostmetricsreceiver/internal/scraper/processscraper/factory.go index 9f66ad0b8c51..5f9483dec951 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processscraper/factory.go +++ b/receiver/hostmetricsreceiver/internal/scraper/processscraper/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package processscraper +package processscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/processscraper" import ( "context" diff --git a/receiver/hostmetricsreceiver/internal/scraper/processscraper/process.go b/receiver/hostmetricsreceiver/internal/scraper/processscraper/process.go index 2bfd58475153..b2841a5e7084 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processscraper/process.go +++ b/receiver/hostmetricsreceiver/internal/scraper/processscraper/process.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package processscraper +package processscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/processscraper" import ( "strings" diff --git a/receiver/hostmetricsreceiver/internal/scraper/processscraper/process_scraper.go b/receiver/hostmetricsreceiver/internal/scraper/processscraper/process_scraper.go index 0d9eef7562e8..32f724bf62f3 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processscraper/process_scraper.go +++ b/receiver/hostmetricsreceiver/internal/scraper/processscraper/process_scraper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package processscraper +package processscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/processscraper" import ( "context" diff --git a/receiver/hostmetricsreceiver/internal/scraper/processscraper/process_scraper_linux.go b/receiver/hostmetricsreceiver/internal/scraper/processscraper/process_scraper_linux.go index 68554dbd886e..837a74ed8221 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processscraper/process_scraper_linux.go +++ b/receiver/hostmetricsreceiver/internal/scraper/processscraper/process_scraper_linux.go @@ -15,7 +15,7 @@ //go:build linux // +build linux -package processscraper +package processscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/processscraper" import ( "github.com/shirou/gopsutil/cpu" diff --git a/receiver/hostmetricsreceiver/internal/scraper/processscraper/process_scraper_others.go b/receiver/hostmetricsreceiver/internal/scraper/processscraper/process_scraper_others.go index e7d7da00ba81..1b67954a6b0d 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processscraper/process_scraper_others.go +++ b/receiver/hostmetricsreceiver/internal/scraper/processscraper/process_scraper_others.go @@ -15,7 +15,7 @@ //go:build !linux && !windows // +build !linux,!windows -package processscraper +package processscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/processscraper" import ( "github.com/shirou/gopsutil/cpu" diff --git a/receiver/hostmetricsreceiver/internal/scraper/processscraper/process_scraper_windows.go b/receiver/hostmetricsreceiver/internal/scraper/processscraper/process_scraper_windows.go index e88efbcb7154..03acc1d6bbc4 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processscraper/process_scraper_windows.go +++ b/receiver/hostmetricsreceiver/internal/scraper/processscraper/process_scraper_windows.go @@ -15,7 +15,7 @@ //go:build windows // +build windows -package processscraper +package processscraper // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/processscraper" import ( "path/filepath" diff --git a/receiver/hostmetricsreceiver/internal/testutils.go b/receiver/hostmetricsreceiver/internal/testutils.go index afc8300bd904..3035cc7c60d8 100644 --- a/receiver/hostmetricsreceiver/internal/testutils.go +++ b/receiver/hostmetricsreceiver/internal/testutils.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internal +package internal // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal" import ( "testing" diff --git a/receiver/influxdbreceiver/config.go b/receiver/influxdbreceiver/config.go index f73134336955..21242fe1de1f 100644 --- a/receiver/influxdbreceiver/config.go +++ b/receiver/influxdbreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package influxdbreceiver +package influxdbreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/influxdbreceiver" import ( "go.opentelemetry.io/collector/config" diff --git a/receiver/influxdbreceiver/factory.go b/receiver/influxdbreceiver/factory.go index 7628ae343bc6..474870183bf1 100644 --- a/receiver/influxdbreceiver/factory.go +++ b/receiver/influxdbreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package influxdbreceiver +package influxdbreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/influxdbreceiver" import ( "context" diff --git a/receiver/influxdbreceiver/logger.go b/receiver/influxdbreceiver/logger.go index bff48252d8e0..5aee9d892f8c 100644 --- a/receiver/influxdbreceiver/logger.go +++ b/receiver/influxdbreceiver/logger.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package influxdbreceiver +package influxdbreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/influxdbreceiver" import ( "github.com/influxdata/influxdb-observability/common" diff --git a/receiver/influxdbreceiver/receiver.go b/receiver/influxdbreceiver/receiver.go index 8117a8ccc560..0af357a7a4af 100644 --- a/receiver/influxdbreceiver/receiver.go +++ b/receiver/influxdbreceiver/receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package influxdbreceiver +package influxdbreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/influxdbreceiver" import ( "context" diff --git a/receiver/jaegerreceiver/config.go b/receiver/jaegerreceiver/config.go index 0427cf133043..86496ad752eb 100644 --- a/receiver/jaegerreceiver/config.go +++ b/receiver/jaegerreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package jaegerreceiver +package jaegerreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jaegerreceiver" import ( "fmt" diff --git a/receiver/jaegerreceiver/doc.go b/receiver/jaegerreceiver/doc.go index e037dfb2ce6f..38005536e471 100644 --- a/receiver/jaegerreceiver/doc.go +++ b/receiver/jaegerreceiver/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package jaegerreceiver receives Jaeger traces. -package jaegerreceiver +package jaegerreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jaegerreceiver" diff --git a/receiver/jaegerreceiver/errors.go b/receiver/jaegerreceiver/errors.go index 41d41846b5a3..2d14c8c6a346 100644 --- a/receiver/jaegerreceiver/errors.go +++ b/receiver/jaegerreceiver/errors.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package jaegerreceiver +package jaegerreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jaegerreceiver" type httpError struct { msg string diff --git a/receiver/jaegerreceiver/factory.go b/receiver/jaegerreceiver/factory.go index 597c0938c52f..1c92075c5a7e 100644 --- a/receiver/jaegerreceiver/factory.go +++ b/receiver/jaegerreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package jaegerreceiver +package jaegerreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jaegerreceiver" // This file implements factory for Jaeger receiver. diff --git a/receiver/jaegerreceiver/trace_receiver.go b/receiver/jaegerreceiver/trace_receiver.go index a3794dd98afc..8f8aa17b6276 100644 --- a/receiver/jaegerreceiver/trace_receiver.go +++ b/receiver/jaegerreceiver/trace_receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package jaegerreceiver +package jaegerreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jaegerreceiver" import ( "context" diff --git a/receiver/jmxreceiver/config.go b/receiver/jmxreceiver/config.go index e47978a79b5c..83d7a4039255 100644 --- a/receiver/jmxreceiver/config.go +++ b/receiver/jmxreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package jmxreceiver +package jmxreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jmxreceiver" import ( "fmt" diff --git a/receiver/jmxreceiver/factory.go b/receiver/jmxreceiver/factory.go index bf910aaee26b..ddeea995d715 100644 --- a/receiver/jmxreceiver/factory.go +++ b/receiver/jmxreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package jmxreceiver +package jmxreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jmxreceiver" import ( "context" diff --git a/receiver/jmxreceiver/internal/subprocess/subprocess.go b/receiver/jmxreceiver/internal/subprocess/subprocess.go index a3d64f20226f..29eb6395237c 100644 --- a/receiver/jmxreceiver/internal/subprocess/subprocess.go +++ b/receiver/jmxreceiver/internal/subprocess/subprocess.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package subprocess +package subprocess // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jmxreceiver/internal/subprocess" import ( "bufio" diff --git a/receiver/jmxreceiver/internal/subprocess/subprocess_linux.go b/receiver/jmxreceiver/internal/subprocess/subprocess_linux.go index f74e13243937..572b3103244d 100644 --- a/receiver/jmxreceiver/internal/subprocess/subprocess_linux.go +++ b/receiver/jmxreceiver/internal/subprocess/subprocess_linux.go @@ -15,7 +15,7 @@ //go:build linux // +build linux -package subprocess +package subprocess // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jmxreceiver/internal/subprocess" import ( "os/exec" diff --git a/receiver/jmxreceiver/internal/subprocess/subprocess_others.go b/receiver/jmxreceiver/internal/subprocess/subprocess_others.go index ec536f5d1796..6dd3c8763ad9 100644 --- a/receiver/jmxreceiver/internal/subprocess/subprocess_others.go +++ b/receiver/jmxreceiver/internal/subprocess/subprocess_others.go @@ -15,7 +15,7 @@ //go:build !linux // +build !linux -package subprocess +package subprocess // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jmxreceiver/internal/subprocess" import ( "os/exec" diff --git a/receiver/jmxreceiver/receiver.go b/receiver/jmxreceiver/receiver.go index d1e7708132a5..d1c6a4b8b41e 100644 --- a/receiver/jmxreceiver/receiver.go +++ b/receiver/jmxreceiver/receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package jmxreceiver +package jmxreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jmxreceiver" import ( "context" diff --git a/receiver/journaldreceiver/doc.go b/receiver/journaldreceiver/doc.go index 8b28c2069e8a..8525137a4022 100644 --- a/receiver/journaldreceiver/doc.go +++ b/receiver/journaldreceiver/doc.go @@ -12,4 +12,4 @@ // See the License for the specific language governing permissions and // limitations under the License. -package journaldreceiver +package journaldreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/journaldreceiver" diff --git a/receiver/journaldreceiver/journald.go b/receiver/journaldreceiver/journald.go index ccbf4662e9b8..eb69cf6a04aa 100644 --- a/receiver/journaldreceiver/journald.go +++ b/receiver/journaldreceiver/journald.go @@ -15,7 +15,7 @@ //go:build linux // +build linux -package journaldreceiver +package journaldreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/journaldreceiver" import ( "github.com/open-telemetry/opentelemetry-log-collection/operator" diff --git a/receiver/journaldreceiver/journald_nonlinux.go b/receiver/journaldreceiver/journald_nonlinux.go index 90192af2d510..3c0147647013 100644 --- a/receiver/journaldreceiver/journald_nonlinux.go +++ b/receiver/journaldreceiver/journald_nonlinux.go @@ -15,7 +15,7 @@ //go:build !linux // +build !linux -package journaldreceiver +package journaldreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/journaldreceiver" import ( "context" diff --git a/receiver/k8sclusterreceiver/config.go b/receiver/k8sclusterreceiver/config.go index a750463e6c77..14288d5385bd 100644 --- a/receiver/k8sclusterreceiver/config.go +++ b/receiver/k8sclusterreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sclusterreceiver +package k8sclusterreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver" import ( "time" diff --git a/receiver/k8sclusterreceiver/factory.go b/receiver/k8sclusterreceiver/factory.go index 3bedb28c85aa..f1fc01afd5bc 100644 --- a/receiver/k8sclusterreceiver/factory.go +++ b/receiver/k8sclusterreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sclusterreceiver +package k8sclusterreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver" import ( "context" diff --git a/receiver/k8sclusterreceiver/internal/collection/clusteresourcequotas.go b/receiver/k8sclusterreceiver/internal/collection/clusteresourcequotas.go index a170bfe30c47..1eb28f3e56b2 100644 --- a/receiver/k8sclusterreceiver/internal/collection/clusteresourcequotas.go +++ b/receiver/k8sclusterreceiver/internal/collection/clusteresourcequotas.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package collection +package collection // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/collection" import ( "strings" diff --git a/receiver/k8sclusterreceiver/internal/collection/collector.go b/receiver/k8sclusterreceiver/internal/collection/collector.go index 1ae56d021d57..28ff9e62ce5a 100644 --- a/receiver/k8sclusterreceiver/internal/collection/collector.go +++ b/receiver/k8sclusterreceiver/internal/collection/collector.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package collection +package collection // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/collection" import ( "reflect" diff --git a/receiver/k8sclusterreceiver/internal/collection/containers.go b/receiver/k8sclusterreceiver/internal/collection/containers.go index 98bf542db6cd..ff8f3ddbe747 100644 --- a/receiver/k8sclusterreceiver/internal/collection/containers.go +++ b/receiver/k8sclusterreceiver/internal/collection/containers.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package collection +package collection // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/collection" import ( "fmt" diff --git a/receiver/k8sclusterreceiver/internal/collection/cronjobs.go b/receiver/k8sclusterreceiver/internal/collection/cronjobs.go index 2f6c7ecefc36..e8a33f8e88a7 100644 --- a/receiver/k8sclusterreceiver/internal/collection/cronjobs.go +++ b/receiver/k8sclusterreceiver/internal/collection/cronjobs.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package collection +package collection // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/collection" import ( metricspb "github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1" diff --git a/receiver/k8sclusterreceiver/internal/collection/daemonsets.go b/receiver/k8sclusterreceiver/internal/collection/daemonsets.go index 4d394c5a04ce..bd69d2c24ce6 100644 --- a/receiver/k8sclusterreceiver/internal/collection/daemonsets.go +++ b/receiver/k8sclusterreceiver/internal/collection/daemonsets.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package collection +package collection // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/collection" import ( metricspb "github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1" diff --git a/receiver/k8sclusterreceiver/internal/collection/deployments.go b/receiver/k8sclusterreceiver/internal/collection/deployments.go index cc6b36b887e8..0b790b9e2cf1 100644 --- a/receiver/k8sclusterreceiver/internal/collection/deployments.go +++ b/receiver/k8sclusterreceiver/internal/collection/deployments.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package collection +package collection // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/collection" import ( resourcepb "github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1" diff --git a/receiver/k8sclusterreceiver/internal/collection/hpa.go b/receiver/k8sclusterreceiver/internal/collection/hpa.go index ca341923f626..47ee703442df 100644 --- a/receiver/k8sclusterreceiver/internal/collection/hpa.go +++ b/receiver/k8sclusterreceiver/internal/collection/hpa.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package collection +package collection // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/collection" import ( metricspb "github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1" diff --git a/receiver/k8sclusterreceiver/internal/collection/jobs.go b/receiver/k8sclusterreceiver/internal/collection/jobs.go index a25e6a06c748..d692de0d2e3c 100644 --- a/receiver/k8sclusterreceiver/internal/collection/jobs.go +++ b/receiver/k8sclusterreceiver/internal/collection/jobs.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package collection +package collection // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/collection" import ( metricspb "github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1" diff --git a/receiver/k8sclusterreceiver/internal/collection/metadata.go b/receiver/k8sclusterreceiver/internal/collection/metadata.go index d8ebfe98bf4e..fb745e4e31b9 100644 --- a/receiver/k8sclusterreceiver/internal/collection/metadata.go +++ b/receiver/k8sclusterreceiver/internal/collection/metadata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package collection +package collection // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/collection" import ( "fmt" diff --git a/receiver/k8sclusterreceiver/internal/collection/metadatastore.go b/receiver/k8sclusterreceiver/internal/collection/metadatastore.go index fd7ea9106c92..1dcd193dead3 100644 --- a/receiver/k8sclusterreceiver/internal/collection/metadatastore.go +++ b/receiver/k8sclusterreceiver/internal/collection/metadatastore.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package collection +package collection // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/collection" import ( appsv1 "k8s.io/api/apps/v1" diff --git a/receiver/k8sclusterreceiver/internal/collection/metricsstore.go b/receiver/k8sclusterreceiver/internal/collection/metricsstore.go index 414dc57fb7e4..d99cde3b622c 100644 --- a/receiver/k8sclusterreceiver/internal/collection/metricsstore.go +++ b/receiver/k8sclusterreceiver/internal/collection/metricsstore.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package collection +package collection // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/collection" import ( "sync" diff --git a/receiver/k8sclusterreceiver/internal/collection/namespaces.go b/receiver/k8sclusterreceiver/internal/collection/namespaces.go index 744bf0d1e784..31115deb63a9 100644 --- a/receiver/k8sclusterreceiver/internal/collection/namespaces.go +++ b/receiver/k8sclusterreceiver/internal/collection/namespaces.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package collection +package collection // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/collection" import ( metricspb "github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1" diff --git a/receiver/k8sclusterreceiver/internal/collection/nodes.go b/receiver/k8sclusterreceiver/internal/collection/nodes.go index 8626d0ee0eff..2100258a65e9 100644 --- a/receiver/k8sclusterreceiver/internal/collection/nodes.go +++ b/receiver/k8sclusterreceiver/internal/collection/nodes.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package collection +package collection // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/collection" import ( "fmt" diff --git a/receiver/k8sclusterreceiver/internal/collection/pods.go b/receiver/k8sclusterreceiver/internal/collection/pods.go index 3d0f1a4b0ccf..8fe68982e826 100644 --- a/receiver/k8sclusterreceiver/internal/collection/pods.go +++ b/receiver/k8sclusterreceiver/internal/collection/pods.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package collection +package collection // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/collection" import ( "fmt" diff --git a/receiver/k8sclusterreceiver/internal/collection/replica.go b/receiver/k8sclusterreceiver/internal/collection/replica.go index ffcbc014cefe..e0f523cac5fd 100644 --- a/receiver/k8sclusterreceiver/internal/collection/replica.go +++ b/receiver/k8sclusterreceiver/internal/collection/replica.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package collection +package collection // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/collection" import ( "fmt" diff --git a/receiver/k8sclusterreceiver/internal/collection/replicasets.go b/receiver/k8sclusterreceiver/internal/collection/replicasets.go index 6045eb405485..9ef123a50d1e 100644 --- a/receiver/k8sclusterreceiver/internal/collection/replicasets.go +++ b/receiver/k8sclusterreceiver/internal/collection/replicasets.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package collection +package collection // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/collection" import ( resourcepb "github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1" diff --git a/receiver/k8sclusterreceiver/internal/collection/replicationcontrollers.go b/receiver/k8sclusterreceiver/internal/collection/replicationcontrollers.go index 72947a45c669..dc02257c174d 100644 --- a/receiver/k8sclusterreceiver/internal/collection/replicationcontrollers.go +++ b/receiver/k8sclusterreceiver/internal/collection/replicationcontrollers.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package collection +package collection // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/collection" import ( resourcepb "github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1" diff --git a/receiver/k8sclusterreceiver/internal/collection/resourcequotas.go b/receiver/k8sclusterreceiver/internal/collection/resourcequotas.go index 8ecb2a5437e4..6e1e27cb7255 100644 --- a/receiver/k8sclusterreceiver/internal/collection/resourcequotas.go +++ b/receiver/k8sclusterreceiver/internal/collection/resourcequotas.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package collection +package collection // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/collection" import ( "strings" diff --git a/receiver/k8sclusterreceiver/internal/collection/statefulsets.go b/receiver/k8sclusterreceiver/internal/collection/statefulsets.go index 2b3f53c44fa2..fe89b74151c2 100644 --- a/receiver/k8sclusterreceiver/internal/collection/statefulsets.go +++ b/receiver/k8sclusterreceiver/internal/collection/statefulsets.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package collection +package collection // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/collection" import ( metricspb "github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1" diff --git a/receiver/k8sclusterreceiver/internal/testutils/metrics.go b/receiver/k8sclusterreceiver/internal/testutils/metrics.go index 95e86f8719ad..a03fd971e4ae 100644 --- a/receiver/k8sclusterreceiver/internal/testutils/metrics.go +++ b/receiver/k8sclusterreceiver/internal/testutils/metrics.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package testutils +package testutils // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/testutils" import ( "testing" diff --git a/receiver/k8sclusterreceiver/internal/testutils/mock_cache_store.go b/receiver/k8sclusterreceiver/internal/testutils/mock_cache_store.go index af7271a13309..e87e16c4d043 100644 --- a/receiver/k8sclusterreceiver/internal/testutils/mock_cache_store.go +++ b/receiver/k8sclusterreceiver/internal/testutils/mock_cache_store.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package testutils +package testutils // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/testutils" import ( "errors" diff --git a/receiver/k8sclusterreceiver/internal/utils/kube.go b/receiver/k8sclusterreceiver/internal/utils/kube.go index 2bcf5a2fc48e..19250f9f513d 100644 --- a/receiver/k8sclusterreceiver/internal/utils/kube.go +++ b/receiver/k8sclusterreceiver/internal/utils/kube.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package utils +package utils // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/utils" import ( "errors" diff --git a/receiver/k8sclusterreceiver/internal/utils/set.go b/receiver/k8sclusterreceiver/internal/utils/set.go index f1f41a0d73fa..64a672512a99 100644 --- a/receiver/k8sclusterreceiver/internal/utils/set.go +++ b/receiver/k8sclusterreceiver/internal/utils/set.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package utils +package utils // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/utils" // StringSliceToMap converts a slice of strings into a map with keys from the slice func StringSliceToMap(strings []string) map[string]bool { diff --git a/receiver/k8sclusterreceiver/internal/utils/timeseries.go b/receiver/k8sclusterreceiver/internal/utils/timeseries.go index 5748a698f738..f8af70071964 100644 --- a/receiver/k8sclusterreceiver/internal/utils/timeseries.go +++ b/receiver/k8sclusterreceiver/internal/utils/timeseries.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package utils +package utils // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver/internal/utils" import v1 "github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1" diff --git a/receiver/k8sclusterreceiver/receiver.go b/receiver/k8sclusterreceiver/receiver.go index 3666a4423008..ec072a64f228 100644 --- a/receiver/k8sclusterreceiver/receiver.go +++ b/receiver/k8sclusterreceiver/receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sclusterreceiver +package k8sclusterreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver" import ( "context" diff --git a/receiver/k8sclusterreceiver/watcher.go b/receiver/k8sclusterreceiver/watcher.go index d1e7167cc6cf..0578310b81fd 100644 --- a/receiver/k8sclusterreceiver/watcher.go +++ b/receiver/k8sclusterreceiver/watcher.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8sclusterreceiver +package k8sclusterreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver" import ( "context" diff --git a/receiver/k8seventsreceiver/config.go b/receiver/k8seventsreceiver/config.go index bf3ffa1e0e4f..fbd03566f46b 100644 --- a/receiver/k8seventsreceiver/config.go +++ b/receiver/k8seventsreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8seventsreceiver +package k8seventsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8seventsreceiver" import ( "go.opentelemetry.io/collector/config" diff --git a/receiver/k8seventsreceiver/factory.go b/receiver/k8seventsreceiver/factory.go index a4584c03b847..83eee2206188 100644 --- a/receiver/k8seventsreceiver/factory.go +++ b/receiver/k8seventsreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package k8seventsreceiver +package k8seventsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8seventsreceiver" import ( "context" diff --git a/receiver/kafkametricsreceiver/broker_scraper.go b/receiver/kafkametricsreceiver/broker_scraper.go index 0c0101d2e71d..57d7f7eceedf 100644 --- a/receiver/kafkametricsreceiver/broker_scraper.go +++ b/receiver/kafkametricsreceiver/broker_scraper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kafkametricsreceiver +package kafkametricsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkametricsreceiver" import ( "context" diff --git a/receiver/kafkametricsreceiver/codegen.go b/receiver/kafkametricsreceiver/codegen.go index 909225085d6f..3b014044c480 100644 --- a/receiver/kafkametricsreceiver/codegen.go +++ b/receiver/kafkametricsreceiver/codegen.go @@ -17,4 +17,4 @@ //go:generate mdatagen metadata.yaml -package kafkametricsreceiver +package kafkametricsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkametricsreceiver" diff --git a/receiver/kafkametricsreceiver/config.go b/receiver/kafkametricsreceiver/config.go index 0e92ce5869ae..1f011fafcdd0 100644 --- a/receiver/kafkametricsreceiver/config.go +++ b/receiver/kafkametricsreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kafkametricsreceiver +package kafkametricsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkametricsreceiver" import ( "go.opentelemetry.io/collector/receiver/scraperhelper" diff --git a/receiver/kafkametricsreceiver/consumer_scraper.go b/receiver/kafkametricsreceiver/consumer_scraper.go index b3a1bacc3a05..6d0dfe8ca6fd 100644 --- a/receiver/kafkametricsreceiver/consumer_scraper.go +++ b/receiver/kafkametricsreceiver/consumer_scraper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kafkametricsreceiver +package kafkametricsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkametricsreceiver" import ( "context" diff --git a/receiver/kafkametricsreceiver/factory.go b/receiver/kafkametricsreceiver/factory.go index d6c1962efb98..1c66c2e78b7a 100644 --- a/receiver/kafkametricsreceiver/factory.go +++ b/receiver/kafkametricsreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kafkametricsreceiver +package kafkametricsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkametricsreceiver" import ( "context" diff --git a/receiver/kafkametricsreceiver/receiver.go b/receiver/kafkametricsreceiver/receiver.go index fdf85c6d0b2c..f91e78dca4c5 100644 --- a/receiver/kafkametricsreceiver/receiver.go +++ b/receiver/kafkametricsreceiver/receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kafkametricsreceiver +package kafkametricsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkametricsreceiver" import ( "context" diff --git a/receiver/kafkametricsreceiver/scraper_test_helper.go b/receiver/kafkametricsreceiver/scraper_test_helper.go index 46333dfd5515..a2d1833171f4 100644 --- a/receiver/kafkametricsreceiver/scraper_test_helper.go +++ b/receiver/kafkametricsreceiver/scraper_test_helper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kafkametricsreceiver +package kafkametricsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkametricsreceiver" import ( "fmt" diff --git a/receiver/kafkametricsreceiver/topic_scraper.go b/receiver/kafkametricsreceiver/topic_scraper.go index 8550e25c482e..3136078421b4 100644 --- a/receiver/kafkametricsreceiver/topic_scraper.go +++ b/receiver/kafkametricsreceiver/topic_scraper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kafkametricsreceiver +package kafkametricsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkametricsreceiver" import ( "context" diff --git a/receiver/kafkareceiver/config.go b/receiver/kafkareceiver/config.go index dd7fca538ff2..46ca83819526 100644 --- a/receiver/kafkareceiver/config.go +++ b/receiver/kafkareceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kafkareceiver +package kafkareceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkareceiver" import ( "time" diff --git a/receiver/kafkareceiver/doc.go b/receiver/kafkareceiver/doc.go index c675e583a546..fb19e4089ea6 100644 --- a/receiver/kafkareceiver/doc.go +++ b/receiver/kafkareceiver/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package kafkareceiver receives traces from Kafka. -package kafkareceiver +package kafkareceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkareceiver" diff --git a/receiver/kafkareceiver/factory.go b/receiver/kafkareceiver/factory.go index 21a981408731..96da5035b002 100644 --- a/receiver/kafkareceiver/factory.go +++ b/receiver/kafkareceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kafkareceiver +package kafkareceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkareceiver" import ( "context" diff --git a/receiver/kafkareceiver/jaeger_unmarshaler.go b/receiver/kafkareceiver/jaeger_unmarshaler.go index cb9e36d4f81a..d7b3e837c5fa 100644 --- a/receiver/kafkareceiver/jaeger_unmarshaler.go +++ b/receiver/kafkareceiver/jaeger_unmarshaler.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kafkareceiver +package kafkareceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkareceiver" import ( "bytes" diff --git a/receiver/kafkareceiver/kafka_receiver.go b/receiver/kafkareceiver/kafka_receiver.go index 2994d39a8095..6e0c1a5e8fe2 100644 --- a/receiver/kafkareceiver/kafka_receiver.go +++ b/receiver/kafkareceiver/kafka_receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kafkareceiver +package kafkareceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkareceiver" import ( "context" diff --git a/receiver/kafkareceiver/metrics.go b/receiver/kafkareceiver/metrics.go index 41b0e960c8e5..f379d8f59f33 100644 --- a/receiver/kafkareceiver/metrics.go +++ b/receiver/kafkareceiver/metrics.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kafkareceiver +package kafkareceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkareceiver" import ( "go.opencensus.io/stats" diff --git a/receiver/kafkareceiver/pdata_unmarshaler.go b/receiver/kafkareceiver/pdata_unmarshaler.go index 6907c5d3e4f4..e81a563ca3a6 100644 --- a/receiver/kafkareceiver/pdata_unmarshaler.go +++ b/receiver/kafkareceiver/pdata_unmarshaler.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kafkareceiver +package kafkareceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkareceiver" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/receiver/kafkareceiver/unmarshaler.go b/receiver/kafkareceiver/unmarshaler.go index 426508989109..55045d7a2bb0 100644 --- a/receiver/kafkareceiver/unmarshaler.go +++ b/receiver/kafkareceiver/unmarshaler.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kafkareceiver +package kafkareceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkareceiver" import ( "go.opentelemetry.io/collector/model/otlp" diff --git a/receiver/kafkareceiver/zipkin_unmarshaler.go b/receiver/kafkareceiver/zipkin_unmarshaler.go index 1a73db5ced58..da9574ea3226 100644 --- a/receiver/kafkareceiver/zipkin_unmarshaler.go +++ b/receiver/kafkareceiver/zipkin_unmarshaler.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kafkareceiver +package kafkareceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkareceiver" import ( "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/zipkin/zipkinv1" diff --git a/receiver/kubeletstatsreceiver/codegen.go b/receiver/kubeletstatsreceiver/codegen.go index 283f8add4560..022e323883a9 100644 --- a/receiver/kubeletstatsreceiver/codegen.go +++ b/receiver/kubeletstatsreceiver/codegen.go @@ -17,4 +17,4 @@ //go:generate mdatagen metadata.yaml -package kubeletstatsreceiver +package kubeletstatsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver" diff --git a/receiver/kubeletstatsreceiver/config.go b/receiver/kubeletstatsreceiver/config.go index 2beced5edb66..d300a96e50a3 100644 --- a/receiver/kubeletstatsreceiver/config.go +++ b/receiver/kubeletstatsreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kubeletstatsreceiver +package kubeletstatsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver" import ( "errors" diff --git a/receiver/kubeletstatsreceiver/factory.go b/receiver/kubeletstatsreceiver/factory.go index c420f527c083..fd877719bad0 100644 --- a/receiver/kubeletstatsreceiver/factory.go +++ b/receiver/kubeletstatsreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kubeletstatsreceiver +package kubeletstatsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver" import ( "context" diff --git a/receiver/kubeletstatsreceiver/internal/kubelet/accumulator.go b/receiver/kubeletstatsreceiver/internal/kubelet/accumulator.go index c222476ace78..d712ed3ca037 100644 --- a/receiver/kubeletstatsreceiver/internal/kubelet/accumulator.go +++ b/receiver/kubeletstatsreceiver/internal/kubelet/accumulator.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kubelet +package kubelet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver/internal/kubelet" import ( "time" diff --git a/receiver/kubeletstatsreceiver/internal/kubelet/conventions.go b/receiver/kubeletstatsreceiver/internal/kubelet/conventions.go index 2e1a82567518..f1541e04aab5 100644 --- a/receiver/kubeletstatsreceiver/internal/kubelet/conventions.go +++ b/receiver/kubeletstatsreceiver/internal/kubelet/conventions.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kubelet +package kubelet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver/internal/kubelet" const ( labelPersistentVolumeClaimName = "k8s.persistentvolumeclaim.name" diff --git a/receiver/kubeletstatsreceiver/internal/kubelet/cpu.go b/receiver/kubeletstatsreceiver/internal/kubelet/cpu.go index f88ab722838b..0ecfb143fcd7 100644 --- a/receiver/kubeletstatsreceiver/internal/kubelet/cpu.go +++ b/receiver/kubeletstatsreceiver/internal/kubelet/cpu.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kubelet +package kubelet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver/internal/kubelet" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/receiver/kubeletstatsreceiver/internal/kubelet/fs.go b/receiver/kubeletstatsreceiver/internal/kubelet/fs.go index 29a8376059e7..c3aa7504a309 100644 --- a/receiver/kubeletstatsreceiver/internal/kubelet/fs.go +++ b/receiver/kubeletstatsreceiver/internal/kubelet/fs.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kubelet +package kubelet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver/internal/kubelet" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/receiver/kubeletstatsreceiver/internal/kubelet/mem.go b/receiver/kubeletstatsreceiver/internal/kubelet/mem.go index 5c998a904ceb..b495bdcfa81c 100644 --- a/receiver/kubeletstatsreceiver/internal/kubelet/mem.go +++ b/receiver/kubeletstatsreceiver/internal/kubelet/mem.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kubelet +package kubelet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver/internal/kubelet" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/receiver/kubeletstatsreceiver/internal/kubelet/metadata.go b/receiver/kubeletstatsreceiver/internal/kubelet/metadata.go index bd36a23a1526..10dfde12f708 100644 --- a/receiver/kubeletstatsreceiver/internal/kubelet/metadata.go +++ b/receiver/kubeletstatsreceiver/internal/kubelet/metadata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kubelet +package kubelet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver/internal/kubelet" import ( "errors" diff --git a/receiver/kubeletstatsreceiver/internal/kubelet/metadata_provider.go b/receiver/kubeletstatsreceiver/internal/kubelet/metadata_provider.go index a527a6048232..a3bb99fe8246 100644 --- a/receiver/kubeletstatsreceiver/internal/kubelet/metadata_provider.go +++ b/receiver/kubeletstatsreceiver/internal/kubelet/metadata_provider.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kubelet +package kubelet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver/internal/kubelet" import ( "encoding/json" diff --git a/receiver/kubeletstatsreceiver/internal/kubelet/metrics.go b/receiver/kubeletstatsreceiver/internal/kubelet/metrics.go index 0c331be00092..bebbd15011bb 100644 --- a/receiver/kubeletstatsreceiver/internal/kubelet/metrics.go +++ b/receiver/kubeletstatsreceiver/internal/kubelet/metrics.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kubelet +package kubelet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver/internal/kubelet" import ( "time" diff --git a/receiver/kubeletstatsreceiver/internal/kubelet/network.go b/receiver/kubeletstatsreceiver/internal/kubelet/network.go index 0db015d46d09..d2ab8c05026c 100644 --- a/receiver/kubeletstatsreceiver/internal/kubelet/network.go +++ b/receiver/kubeletstatsreceiver/internal/kubelet/network.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kubelet +package kubelet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver/internal/kubelet" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/receiver/kubeletstatsreceiver/internal/kubelet/resource.go b/receiver/kubeletstatsreceiver/internal/kubelet/resource.go index 5e25451c8029..f0bb011b666c 100644 --- a/receiver/kubeletstatsreceiver/internal/kubelet/resource.go +++ b/receiver/kubeletstatsreceiver/internal/kubelet/resource.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kubelet +package kubelet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver/internal/kubelet" import ( "fmt" diff --git a/receiver/kubeletstatsreceiver/internal/kubelet/rest_client.go b/receiver/kubeletstatsreceiver/internal/kubelet/rest_client.go index cb820c7791a2..d8a0913d7892 100644 --- a/receiver/kubeletstatsreceiver/internal/kubelet/rest_client.go +++ b/receiver/kubeletstatsreceiver/internal/kubelet/rest_client.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kubelet +package kubelet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver/internal/kubelet" import ( kube "github.com/open-telemetry/opentelemetry-collector-contrib/internal/kubelet" diff --git a/receiver/kubeletstatsreceiver/internal/kubelet/stats_provider.go b/receiver/kubeletstatsreceiver/internal/kubelet/stats_provider.go index ddf8f574f2df..899a41261240 100644 --- a/receiver/kubeletstatsreceiver/internal/kubelet/stats_provider.go +++ b/receiver/kubeletstatsreceiver/internal/kubelet/stats_provider.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kubelet +package kubelet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver/internal/kubelet" import ( "encoding/json" diff --git a/receiver/kubeletstatsreceiver/internal/kubelet/utils.go b/receiver/kubeletstatsreceiver/internal/kubelet/utils.go index dcb1828038b7..7784be59d05a 100644 --- a/receiver/kubeletstatsreceiver/internal/kubelet/utils.go +++ b/receiver/kubeletstatsreceiver/internal/kubelet/utils.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kubelet +package kubelet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver/internal/kubelet" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/receiver/kubeletstatsreceiver/internal/kubelet/volume.go b/receiver/kubeletstatsreceiver/internal/kubelet/volume.go index b70e3a4be4a7..c13f97074be1 100644 --- a/receiver/kubeletstatsreceiver/internal/kubelet/volume.go +++ b/receiver/kubeletstatsreceiver/internal/kubelet/volume.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kubelet +package kubelet // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver/internal/kubelet" import ( "strconv" diff --git a/receiver/kubeletstatsreceiver/scraper.go b/receiver/kubeletstatsreceiver/scraper.go index 4a5fac59fd19..41eb16b62f73 100644 --- a/receiver/kubeletstatsreceiver/scraper.go +++ b/receiver/kubeletstatsreceiver/scraper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package kubeletstatsreceiver +package kubeletstatsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver" import ( "context" diff --git a/receiver/memcachedreceiver/client.go b/receiver/memcachedreceiver/client.go index 13f48490d047..cdfc70149857 100644 --- a/receiver/memcachedreceiver/client.go +++ b/receiver/memcachedreceiver/client.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package memcachedreceiver +package memcachedreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/memcachedreceiver" import ( "net" diff --git a/receiver/memcachedreceiver/codegen.go b/receiver/memcachedreceiver/codegen.go index 2269318b01c7..9173ba0e5bef 100644 --- a/receiver/memcachedreceiver/codegen.go +++ b/receiver/memcachedreceiver/codegen.go @@ -17,4 +17,4 @@ //go:generate mdatagen metadata.yaml -package memcachedreceiver +package memcachedreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/memcachedreceiver" diff --git a/receiver/memcachedreceiver/config.go b/receiver/memcachedreceiver/config.go index a37c2ba7564d..d73d1cf722b3 100644 --- a/receiver/memcachedreceiver/config.go +++ b/receiver/memcachedreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package memcachedreceiver +package memcachedreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/memcachedreceiver" import ( "time" diff --git a/receiver/memcachedreceiver/factory.go b/receiver/memcachedreceiver/factory.go index d139672bb1ce..4b3828389d99 100644 --- a/receiver/memcachedreceiver/factory.go +++ b/receiver/memcachedreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package memcachedreceiver +package memcachedreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/memcachedreceiver" //go:generate mdatagen metadata.yaml diff --git a/receiver/memcachedreceiver/scraper.go b/receiver/memcachedreceiver/scraper.go index 3d2076f16920..7fe7278a5975 100644 --- a/receiver/memcachedreceiver/scraper.go +++ b/receiver/memcachedreceiver/scraper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package memcachedreceiver +package memcachedreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/memcachedreceiver" import ( "context" diff --git a/receiver/mongodbatlasreceiver/codegen.go b/receiver/mongodbatlasreceiver/codegen.go index fc2ac8137f74..8debb189ff76 100644 --- a/receiver/mongodbatlasreceiver/codegen.go +++ b/receiver/mongodbatlasreceiver/codegen.go @@ -17,4 +17,4 @@ //go:generate mdatagen metadata.yaml -package mongodbatlasreceiver +package mongodbatlasreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mongodbatlasreceiver" diff --git a/receiver/mongodbatlasreceiver/config.go b/receiver/mongodbatlasreceiver/config.go index be03bb6320a6..9d1a60e6b1d6 100644 --- a/receiver/mongodbatlasreceiver/config.go +++ b/receiver/mongodbatlasreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package mongodbatlasreceiver +package mongodbatlasreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mongodbatlasreceiver" import ( "go.opentelemetry.io/collector/config" diff --git a/receiver/mongodbatlasreceiver/factory.go b/receiver/mongodbatlasreceiver/factory.go index 726188c0046e..444268e85a4d 100644 --- a/receiver/mongodbatlasreceiver/factory.go +++ b/receiver/mongodbatlasreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package mongodbatlasreceiver +package mongodbatlasreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mongodbatlasreceiver" import ( "context" diff --git a/receiver/mongodbatlasreceiver/internal/metadata/metric_name_mapping.go b/receiver/mongodbatlasreceiver/internal/metadata/metric_name_mapping.go index f5a92d81e738..abf7e93286bd 100644 --- a/receiver/mongodbatlasreceiver/internal/metadata/metric_name_mapping.go +++ b/receiver/mongodbatlasreceiver/internal/metadata/metric_name_mapping.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metadata +package metadata // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mongodbatlasreceiver/internal/metadata" import ( "fmt" diff --git a/receiver/mongodbatlasreceiver/internal/metric_conversion.go b/receiver/mongodbatlasreceiver/internal/metric_conversion.go index f9286785426c..2cb84de3deb9 100644 --- a/receiver/mongodbatlasreceiver/internal/metric_conversion.go +++ b/receiver/mongodbatlasreceiver/internal/metric_conversion.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internal +package internal // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mongodbatlasreceiver/internal" import ( "errors" diff --git a/receiver/mongodbatlasreceiver/internal/mongodb_atlas_client.go b/receiver/mongodbatlasreceiver/internal/mongodb_atlas_client.go index 93179e564f10..412ec9294750 100644 --- a/receiver/mongodbatlasreceiver/internal/mongodb_atlas_client.go +++ b/receiver/mongodbatlasreceiver/internal/mongodb_atlas_client.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internal +package internal // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mongodbatlasreceiver/internal" import ( "context" diff --git a/receiver/mongodbatlasreceiver/receiver.go b/receiver/mongodbatlasreceiver/receiver.go index 82c9069de5f8..a1a470c9d830 100644 --- a/receiver/mongodbatlasreceiver/receiver.go +++ b/receiver/mongodbatlasreceiver/receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package mongodbatlasreceiver +package mongodbatlasreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mongodbatlasreceiver" import ( "context" diff --git a/receiver/mysqlreceiver/client.go b/receiver/mysqlreceiver/client.go index d34bca7205f3..5e93b2f1cc66 100644 --- a/receiver/mysqlreceiver/client.go +++ b/receiver/mysqlreceiver/client.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package mysqlreceiver +package mysqlreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mysqlreceiver" import ( "database/sql" diff --git a/receiver/mysqlreceiver/config.go b/receiver/mysqlreceiver/config.go index c241a7b8e84a..7fb99586c49a 100644 --- a/receiver/mysqlreceiver/config.go +++ b/receiver/mysqlreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package mysqlreceiver +package mysqlreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mysqlreceiver" import ( "errors" diff --git a/receiver/mysqlreceiver/factory.go b/receiver/mysqlreceiver/factory.go index 25f8840c9e6c..a95eec01fae3 100644 --- a/receiver/mysqlreceiver/factory.go +++ b/receiver/mysqlreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package mysqlreceiver +package mysqlreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mysqlreceiver" //go:generate mdatagen metadata.yaml diff --git a/receiver/mysqlreceiver/scraper.go b/receiver/mysqlreceiver/scraper.go index 62e7dc5a2e2a..b0c4e8577cd5 100644 --- a/receiver/mysqlreceiver/scraper.go +++ b/receiver/mysqlreceiver/scraper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package mysqlreceiver +package mysqlreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mysqlreceiver" import ( "context" diff --git a/receiver/nginxreceiver/codegen.go b/receiver/nginxreceiver/codegen.go index 01cf38c7ff95..8fb249dee9e9 100644 --- a/receiver/nginxreceiver/codegen.go +++ b/receiver/nginxreceiver/codegen.go @@ -17,4 +17,4 @@ //go:generate mdatagen metadata.yaml -package nginxreceiver +package nginxreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/nginxreceiver" diff --git a/receiver/nginxreceiver/config.go b/receiver/nginxreceiver/config.go index 43f8b2ef3d8f..f68d0f0f74db 100644 --- a/receiver/nginxreceiver/config.go +++ b/receiver/nginxreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package nginxreceiver +package nginxreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/nginxreceiver" import ( "go.opentelemetry.io/collector/config/confighttp" diff --git a/receiver/nginxreceiver/factory.go b/receiver/nginxreceiver/factory.go index 1572eaf50bfe..c16502b77119 100644 --- a/receiver/nginxreceiver/factory.go +++ b/receiver/nginxreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package nginxreceiver +package nginxreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/nginxreceiver" //go:generate mdatagen metadata.yaml diff --git a/receiver/nginxreceiver/scraper.go b/receiver/nginxreceiver/scraper.go index 878e5d802bc8..021ac7cab33b 100644 --- a/receiver/nginxreceiver/scraper.go +++ b/receiver/nginxreceiver/scraper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package nginxreceiver +package nginxreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/nginxreceiver" import ( "context" diff --git a/receiver/opencensusreceiver/config.go b/receiver/opencensusreceiver/config.go index 0aa804cb018d..531937e24a3b 100644 --- a/receiver/opencensusreceiver/config.go +++ b/receiver/opencensusreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package opencensusreceiver +package opencensusreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/opencensusreceiver" import ( "go.opentelemetry.io/collector/config" diff --git a/receiver/opencensusreceiver/doc.go b/receiver/opencensusreceiver/doc.go index a2919660ed33..ea077b1c1133 100644 --- a/receiver/opencensusreceiver/doc.go +++ b/receiver/opencensusreceiver/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package opencensusreceiver receives OpenCensus traces. -package opencensusreceiver +package opencensusreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/opencensusreceiver" diff --git a/receiver/opencensusreceiver/factory.go b/receiver/opencensusreceiver/factory.go index a1f8e0d507fc..f8829cdc2d87 100644 --- a/receiver/opencensusreceiver/factory.go +++ b/receiver/opencensusreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package opencensusreceiver +package opencensusreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/opencensusreceiver" import ( "context" diff --git a/receiver/opencensusreceiver/internal/ocmetrics/doc.go b/receiver/opencensusreceiver/internal/ocmetrics/doc.go index 6d1d12e3c973..c552a6bee449 100644 --- a/receiver/opencensusreceiver/internal/ocmetrics/doc.go +++ b/receiver/opencensusreceiver/internal/ocmetrics/doc.go @@ -14,4 +14,4 @@ // Package ocmetrics is the logic for receiving OpenCensus metrics proto from // already instrumented applications and then passing them onto a metricsink instance. -package ocmetrics +package ocmetrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/opencensusreceiver/internal/ocmetrics" diff --git a/receiver/opencensusreceiver/internal/ocmetrics/opencensus.go b/receiver/opencensusreceiver/internal/ocmetrics/opencensus.go index ac342b34a209..805d41c78287 100644 --- a/receiver/opencensusreceiver/internal/ocmetrics/opencensus.go +++ b/receiver/opencensusreceiver/internal/ocmetrics/opencensus.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ocmetrics +package ocmetrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/opencensusreceiver/internal/ocmetrics" import ( "context" diff --git a/receiver/opencensusreceiver/internal/octrace/doc.go b/receiver/opencensusreceiver/internal/octrace/doc.go index e79a3e855e05..2cf53464946c 100644 --- a/receiver/opencensusreceiver/internal/octrace/doc.go +++ b/receiver/opencensusreceiver/internal/octrace/doc.go @@ -14,4 +14,4 @@ // Package octrace is the logic for receiving OpenCensus trace protobuf defined spans from // already instrumented applications and then passing them onto a TracesReceiverSink instance. -package octrace +package octrace // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/opencensusreceiver/internal/octrace" diff --git a/receiver/opencensusreceiver/internal/octrace/opencensus.go b/receiver/opencensusreceiver/internal/octrace/opencensus.go index d04dc4aeaef0..1d460247c2d6 100644 --- a/receiver/opencensusreceiver/internal/octrace/opencensus.go +++ b/receiver/opencensusreceiver/internal/octrace/opencensus.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package octrace +package octrace // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/opencensusreceiver/internal/octrace" import ( "context" diff --git a/receiver/opencensusreceiver/opencensus.go b/receiver/opencensusreceiver/opencensus.go index 6770d3d8d488..b262dc1ef377 100644 --- a/receiver/opencensusreceiver/opencensus.go +++ b/receiver/opencensusreceiver/opencensus.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package opencensusreceiver +package opencensusreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/opencensusreceiver" import ( "context" diff --git a/receiver/opencensusreceiver/options.go b/receiver/opencensusreceiver/options.go index 289610c3a1b8..f62727d3b9b9 100644 --- a/receiver/opencensusreceiver/options.go +++ b/receiver/opencensusreceiver/options.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package opencensusreceiver +package opencensusreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/opencensusreceiver" import ( "go.opentelemetry.io/collector/config/configgrpc" diff --git a/receiver/podmanreceiver/config.go b/receiver/podmanreceiver/config.go index dd00f333ed95..265eec358b5a 100644 --- a/receiver/podmanreceiver/config.go +++ b/receiver/podmanreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package podmanreceiver +package podmanreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/podmanreceiver" import ( "errors" diff --git a/receiver/podmanreceiver/factory.go b/receiver/podmanreceiver/factory.go index 5132833e7981..a96738dcbef0 100644 --- a/receiver/podmanreceiver/factory.go +++ b/receiver/podmanreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package podmanreceiver +package podmanreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/podmanreceiver" import ( "context" diff --git a/receiver/podmanreceiver/metrics.go b/receiver/podmanreceiver/metrics.go index f414d9e1a1f1..1c226e557caa 100644 --- a/receiver/podmanreceiver/metrics.go +++ b/receiver/podmanreceiver/metrics.go @@ -15,7 +15,7 @@ //go:build !windows // +build !windows -package podmanreceiver +package podmanreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/podmanreceiver" import ( "fmt" diff --git a/receiver/podmanreceiver/podman_client.go b/receiver/podmanreceiver/podman_client.go index 3929f3ead7d3..8a4bfdc563c7 100644 --- a/receiver/podmanreceiver/podman_client.go +++ b/receiver/podmanreceiver/podman_client.go @@ -15,7 +15,7 @@ //go:build !windows // +build !windows -package podmanreceiver +package podmanreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/podmanreceiver" import ( "context" diff --git a/receiver/podmanreceiver/podman_connection.go b/receiver/podmanreceiver/podman_connection.go index 2f2b3d6b8da0..fd4dfb797308 100644 --- a/receiver/podmanreceiver/podman_connection.go +++ b/receiver/podmanreceiver/podman_connection.go @@ -15,7 +15,7 @@ //go:build !windows // +build !windows -package podmanreceiver +package podmanreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/podmanreceiver" import ( "bufio" diff --git a/receiver/podmanreceiver/receiver.go b/receiver/podmanreceiver/receiver.go index e45f859b53bd..db55c32d7f87 100644 --- a/receiver/podmanreceiver/receiver.go +++ b/receiver/podmanreceiver/receiver.go @@ -15,7 +15,7 @@ //go:build !windows // +build !windows -package podmanreceiver +package podmanreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/podmanreceiver" import ( "context" diff --git a/receiver/podmanreceiver/receiver_windows.go b/receiver/podmanreceiver/receiver_windows.go index 1b855bbc064e..b431b105328f 100644 --- a/receiver/podmanreceiver/receiver_windows.go +++ b/receiver/podmanreceiver/receiver_windows.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package podmanreceiver +package podmanreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/podmanreceiver" import ( "context" diff --git a/receiver/postgresqlreceiver/config.go b/receiver/postgresqlreceiver/config.go index ec093d8ef5fb..7074d37136ff 100644 --- a/receiver/postgresqlreceiver/config.go +++ b/receiver/postgresqlreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package postgresqlreceiver +package postgresqlreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/postgresqlreceiver" import ( "errors" diff --git a/receiver/postgresqlreceiver/factory.go b/receiver/postgresqlreceiver/factory.go index c932c6ebbaad..6b5ebda7fb2b 100644 --- a/receiver/postgresqlreceiver/factory.go +++ b/receiver/postgresqlreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package postgresqlreceiver +package postgresqlreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/postgresqlreceiver" //go:generate mdatagen metadata.yaml diff --git a/receiver/prometheusexecreceiver/config.go b/receiver/prometheusexecreceiver/config.go index dd5342654eb3..77f818292bdc 100644 --- a/receiver/prometheusexecreceiver/config.go +++ b/receiver/prometheusexecreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package prometheusexecreceiver +package prometheusexecreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusexecreceiver" import ( "time" diff --git a/receiver/prometheusexecreceiver/factory.go b/receiver/prometheusexecreceiver/factory.go index da8d555ada79..28f095e7db19 100644 --- a/receiver/prometheusexecreceiver/factory.go +++ b/receiver/prometheusexecreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package prometheusexecreceiver +package prometheusexecreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusexecreceiver" import ( "context" diff --git a/receiver/prometheusexecreceiver/receiver.go b/receiver/prometheusexecreceiver/receiver.go index 9afc8688ad0b..527cccca3264 100644 --- a/receiver/prometheusexecreceiver/receiver.go +++ b/receiver/prometheusexecreceiver/receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package prometheusexecreceiver +package prometheusexecreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusexecreceiver" import ( "context" diff --git a/receiver/prometheusexecreceiver/subprocessmanager/config.go b/receiver/prometheusexecreceiver/subprocessmanager/config.go index 402f95e3abf6..2fc4ca49c993 100644 --- a/receiver/prometheusexecreceiver/subprocessmanager/config.go +++ b/receiver/prometheusexecreceiver/subprocessmanager/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package subprocessmanager +package subprocessmanager // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusexecreceiver/subprocessmanager" // SubprocessConfig is the config definition for the subprocess manager type SubprocessConfig struct { diff --git a/receiver/prometheusexecreceiver/subprocessmanager/manager.go b/receiver/prometheusexecreceiver/subprocessmanager/manager.go index fe204b831a5e..21b38a94bbaa 100644 --- a/receiver/prometheusexecreceiver/subprocessmanager/manager.go +++ b/receiver/prometheusexecreceiver/subprocessmanager/manager.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package subprocessmanager +package subprocessmanager // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusexecreceiver/subprocessmanager" import ( "bufio" diff --git a/receiver/prometheusreceiver/config.go b/receiver/prometheusreceiver/config.go index 67117fa9cebd..6dfd2f54f73c 100644 --- a/receiver/prometheusreceiver/config.go +++ b/receiver/prometheusreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package prometheusreceiver +package prometheusreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver" import ( "encoding/json" diff --git a/receiver/prometheusreceiver/doc.go b/receiver/prometheusreceiver/doc.go index f90c46918814..ba754aef807e 100644 --- a/receiver/prometheusreceiver/doc.go +++ b/receiver/prometheusreceiver/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package prometheusreceiver autodiscovers and scrapes Prometheus metrics handlers, often served at /metrics. -package prometheusreceiver +package prometheusreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver" diff --git a/receiver/prometheusreceiver/factory.go b/receiver/prometheusreceiver/factory.go index 0115cc69706a..9b12bd686717 100644 --- a/receiver/prometheusreceiver/factory.go +++ b/receiver/prometheusreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package prometheusreceiver +package prometheusreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver" import ( "context" diff --git a/receiver/prometheusreceiver/internal/logger.go b/receiver/prometheusreceiver/internal/logger.go index 71eacd18f701..5cfb210742be 100644 --- a/receiver/prometheusreceiver/internal/logger.go +++ b/receiver/prometheusreceiver/internal/logger.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internal +package internal // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver/internal" import ( gokitLog "github.com/go-kit/log" diff --git a/receiver/prometheusreceiver/internal/metadata.go b/receiver/prometheusreceiver/internal/metadata.go index 0898f252a762..52d38195769c 100644 --- a/receiver/prometheusreceiver/internal/metadata.go +++ b/receiver/prometheusreceiver/internal/metadata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internal +package internal // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver/internal" import ( "errors" diff --git a/receiver/prometheusreceiver/internal/metricfamily.go b/receiver/prometheusreceiver/internal/metricfamily.go index bcb04ddf0606..06d4a24ced64 100644 --- a/receiver/prometheusreceiver/internal/metricfamily.go +++ b/receiver/prometheusreceiver/internal/metricfamily.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internal +package internal // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver/internal" import ( "fmt" diff --git a/receiver/prometheusreceiver/internal/metrics_adjuster.go b/receiver/prometheusreceiver/internal/metrics_adjuster.go index 14d69f7e0f61..6cd18a855245 100644 --- a/receiver/prometheusreceiver/internal/metrics_adjuster.go +++ b/receiver/prometheusreceiver/internal/metrics_adjuster.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internal +package internal // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver/internal" import ( "fmt" diff --git a/receiver/prometheusreceiver/internal/metricsbuilder.go b/receiver/prometheusreceiver/internal/metricsbuilder.go index e2c7fddf5ac6..6d34fb1ffdf9 100644 --- a/receiver/prometheusreceiver/internal/metricsbuilder.go +++ b/receiver/prometheusreceiver/internal/metricsbuilder.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internal +package internal // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver/internal" import ( "errors" diff --git a/receiver/prometheusreceiver/internal/ocastore.go b/receiver/prometheusreceiver/internal/ocastore.go index 772ff1fb839a..85804da115c7 100644 --- a/receiver/prometheusreceiver/internal/ocastore.go +++ b/receiver/prometheusreceiver/internal/ocastore.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internal +package internal // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver/internal" import ( "context" diff --git a/receiver/prometheusreceiver/internal/otlp_metricfamily.go b/receiver/prometheusreceiver/internal/otlp_metricfamily.go index 7982faa2cc9c..f39dc6c9abbe 100644 --- a/receiver/prometheusreceiver/internal/otlp_metricfamily.go +++ b/receiver/prometheusreceiver/internal/otlp_metricfamily.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internal +package internal // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver/internal" import ( "sort" diff --git a/receiver/prometheusreceiver/internal/otlp_metricsbuilder.go b/receiver/prometheusreceiver/internal/otlp_metricsbuilder.go index 9aa519ffd26b..9bcc3f9e196d 100644 --- a/receiver/prometheusreceiver/internal/otlp_metricsbuilder.go +++ b/receiver/prometheusreceiver/internal/otlp_metricsbuilder.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internal +package internal // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver/internal" import ( "fmt" diff --git a/receiver/prometheusreceiver/internal/prom_to_otlp.go b/receiver/prometheusreceiver/internal/prom_to_otlp.go index 3ce2440759c3..6cd9dfa8de7a 100644 --- a/receiver/prometheusreceiver/internal/prom_to_otlp.go +++ b/receiver/prometheusreceiver/internal/prom_to_otlp.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internal +package internal // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver/internal" import ( "net" diff --git a/receiver/prometheusreceiver/internal/transaction.go b/receiver/prometheusreceiver/internal/transaction.go index 11351f98ea9d..7d74457a0bb6 100644 --- a/receiver/prometheusreceiver/internal/transaction.go +++ b/receiver/prometheusreceiver/internal/transaction.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internal +package internal // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver/internal" import ( "context" diff --git a/receiver/prometheusreceiver/metrics_receiver.go b/receiver/prometheusreceiver/metrics_receiver.go index afe04fa8f650..c19cd69be8ef 100644 --- a/receiver/prometheusreceiver/metrics_receiver.go +++ b/receiver/prometheusreceiver/metrics_receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package prometheusreceiver +package prometheusreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver" import ( "context" diff --git a/receiver/receivercreator/config.go b/receiver/receivercreator/config.go index 85e5b463f3d9..5d5f561b30db 100644 --- a/receiver/receivercreator/config.go +++ b/receiver/receivercreator/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package receivercreator +package receivercreator // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/receivercreator" import ( "fmt" diff --git a/receiver/receivercreator/config_expansion.go b/receiver/receivercreator/config_expansion.go index c4aeece56336..c60a5a4d5934 100644 --- a/receiver/receivercreator/config_expansion.go +++ b/receiver/receivercreator/config_expansion.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package receivercreator +package receivercreator // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/receivercreator" import ( "errors" diff --git a/receiver/receivercreator/doc.go b/receiver/receivercreator/doc.go index 0f9cf9bec0cb..4b8d9ebeabd5 100644 --- a/receiver/receivercreator/doc.go +++ b/receiver/receivercreator/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package receivercreator implements receiver_creator that can instantiate other receivers at runtime. -package receivercreator +package receivercreator // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/receivercreator" diff --git a/receiver/receivercreator/factory.go b/receiver/receivercreator/factory.go index 696fb811a93a..be35f56351c1 100644 --- a/receiver/receivercreator/factory.go +++ b/receiver/receivercreator/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package receivercreator +package receivercreator // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/receivercreator" import ( "context" diff --git a/receiver/receivercreator/observerhandler.go b/receiver/receivercreator/observerhandler.go index db054e014b1f..72da74c17e57 100644 --- a/receiver/receivercreator/observerhandler.go +++ b/receiver/receivercreator/observerhandler.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package receivercreator +package receivercreator // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/receivercreator" import ( "fmt" diff --git a/receiver/receivercreator/receiver.go b/receiver/receivercreator/receiver.go index 497be9b48af7..f23064bba19d 100644 --- a/receiver/receivercreator/receiver.go +++ b/receiver/receivercreator/receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package receivercreator +package receivercreator // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/receivercreator" import ( "context" diff --git a/receiver/receivercreator/receivermap.go b/receiver/receivercreator/receivermap.go index 93c2f862bd71..7de6d2d95874 100644 --- a/receiver/receivercreator/receivermap.go +++ b/receiver/receivercreator/receivermap.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package receivercreator +package receivercreator // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/receivercreator" import ( "go.opentelemetry.io/collector/component" diff --git a/receiver/receivercreator/resourceenhancer.go b/receiver/receivercreator/resourceenhancer.go index 872701db7564..ad9065b7f54f 100644 --- a/receiver/receivercreator/resourceenhancer.go +++ b/receiver/receivercreator/resourceenhancer.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package receivercreator +package receivercreator // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/receivercreator" import ( "context" diff --git a/receiver/receivercreator/rules.go b/receiver/receivercreator/rules.go index d6fcfdd835fc..08cc282b89f6 100644 --- a/receiver/receivercreator/rules.go +++ b/receiver/receivercreator/rules.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package receivercreator +package receivercreator // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/receivercreator" import ( "errors" diff --git a/receiver/receivercreator/runner.go b/receiver/receivercreator/runner.go index 540440b823cc..009b18ed3f8d 100644 --- a/receiver/receivercreator/runner.go +++ b/receiver/receivercreator/runner.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package receivercreator +package receivercreator // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/receivercreator" import ( "context" diff --git a/receiver/redisreceiver/client.go b/receiver/redisreceiver/client.go index cc620b60a3a8..293495464533 100644 --- a/receiver/redisreceiver/client.go +++ b/receiver/redisreceiver/client.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package redisreceiver +package redisreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/redisreceiver" import ( "github.com/go-redis/redis/v7" diff --git a/receiver/redisreceiver/config.go b/receiver/redisreceiver/config.go index facbf37c2ba1..0c7d3155e6b2 100644 --- a/receiver/redisreceiver/config.go +++ b/receiver/redisreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package redisreceiver +package redisreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/redisreceiver" import ( "go.opentelemetry.io/collector/config/confignet" diff --git a/receiver/redisreceiver/factory.go b/receiver/redisreceiver/factory.go index f1384d20acff..3d9a0c8feb4e 100644 --- a/receiver/redisreceiver/factory.go +++ b/receiver/redisreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package redisreceiver +package redisreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/redisreceiver" import ( "context" diff --git a/receiver/redisreceiver/info.go b/receiver/redisreceiver/info.go index 2ded0c49510f..ea4fbcfd11b7 100644 --- a/receiver/redisreceiver/info.go +++ b/receiver/redisreceiver/info.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package redisreceiver +package redisreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/redisreceiver" import ( "errors" diff --git a/receiver/redisreceiver/keyspace.go b/receiver/redisreceiver/keyspace.go index 763e89540a32..727179bcf3ef 100644 --- a/receiver/redisreceiver/keyspace.go +++ b/receiver/redisreceiver/keyspace.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package redisreceiver +package redisreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/redisreceiver" import ( "fmt" diff --git a/receiver/redisreceiver/metric_functions.go b/receiver/redisreceiver/metric_functions.go index 087db3ae5fb7..2f2b7e681d0e 100644 --- a/receiver/redisreceiver/metric_functions.go +++ b/receiver/redisreceiver/metric_functions.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package redisreceiver +package redisreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/redisreceiver" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/receiver/redisreceiver/pdata.go b/receiver/redisreceiver/pdata.go index fb258b19604e..f8f19fdad2ae 100644 --- a/receiver/redisreceiver/pdata.go +++ b/receiver/redisreceiver/pdata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package redisreceiver +package redisreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/redisreceiver" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/receiver/redisreceiver/redis_metric.go b/receiver/redisreceiver/redis_metric.go index 579246a4f2aa..776a82203966 100644 --- a/receiver/redisreceiver/redis_metric.go +++ b/receiver/redisreceiver/redis_metric.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package redisreceiver +package redisreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/redisreceiver" import ( "strconv" diff --git a/receiver/redisreceiver/redis_scraper.go b/receiver/redisreceiver/redis_scraper.go index 46613fa08f93..2f0827dd06f5 100644 --- a/receiver/redisreceiver/redis_scraper.go +++ b/receiver/redisreceiver/redis_scraper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package redisreceiver +package redisreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/redisreceiver" import ( "context" diff --git a/receiver/redisreceiver/redis_svc.go b/receiver/redisreceiver/redis_svc.go index b7cb12f71c77..5b75fdcad26b 100644 --- a/receiver/redisreceiver/redis_svc.go +++ b/receiver/redisreceiver/redis_svc.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package redisreceiver +package redisreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/redisreceiver" import "strings" diff --git a/receiver/redisreceiver/time_bundle.go b/receiver/redisreceiver/time_bundle.go index d0071eae5622..cd31cd2001e0 100644 --- a/receiver/redisreceiver/time_bundle.go +++ b/receiver/redisreceiver/time_bundle.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package redisreceiver +package redisreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/redisreceiver" import "time" diff --git a/receiver/sapmreceiver/config.go b/receiver/sapmreceiver/config.go index 79c0af8cbd75..def18f167da3 100644 --- a/receiver/sapmreceiver/config.go +++ b/receiver/sapmreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sapmreceiver +package sapmreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sapmreceiver" import ( "go.opentelemetry.io/collector/config" diff --git a/receiver/sapmreceiver/doc.go b/receiver/sapmreceiver/doc.go index 13effb1a52a6..57ebe81f8b99 100644 --- a/receiver/sapmreceiver/doc.go +++ b/receiver/sapmreceiver/doc.go @@ -14,4 +14,4 @@ // Package sapmreceiver implements a receiver that can be used by the // Opentelemetry collector to receive traces in the Splunk SAPM format. -package sapmreceiver +package sapmreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sapmreceiver" diff --git a/receiver/sapmreceiver/factory.go b/receiver/sapmreceiver/factory.go index 2ea2d5c6ba3b..dbeb9f15fc1a 100644 --- a/receiver/sapmreceiver/factory.go +++ b/receiver/sapmreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sapmreceiver +package sapmreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sapmreceiver" // This file implements factory for SAPM receiver. diff --git a/receiver/sapmreceiver/trace_receiver.go b/receiver/sapmreceiver/trace_receiver.go index f907d5bb3a38..116bd63e51ad 100644 --- a/receiver/sapmreceiver/trace_receiver.go +++ b/receiver/sapmreceiver/trace_receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sapmreceiver +package sapmreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sapmreceiver" import ( "bytes" diff --git a/receiver/signalfxreceiver/config.go b/receiver/signalfxreceiver/config.go index d3f8353f7214..f41711027f2f 100644 --- a/receiver/signalfxreceiver/config.go +++ b/receiver/signalfxreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package signalfxreceiver +package signalfxreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/signalfxreceiver" import ( "go.opentelemetry.io/collector/config" diff --git a/receiver/signalfxreceiver/doc.go b/receiver/signalfxreceiver/doc.go index de298d5b1250..c67478a49ea6 100644 --- a/receiver/signalfxreceiver/doc.go +++ b/receiver/signalfxreceiver/doc.go @@ -14,4 +14,4 @@ // Package signalfxreceiver implements a receiver that can be used by the // OpenTelemetry collector to receive data in the SignalFx supported formats. -package signalfxreceiver +package signalfxreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/signalfxreceiver" diff --git a/receiver/signalfxreceiver/factory.go b/receiver/signalfxreceiver/factory.go index f8e1addab057..d3eab11b5156 100644 --- a/receiver/signalfxreceiver/factory.go +++ b/receiver/signalfxreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package signalfxreceiver +package signalfxreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/signalfxreceiver" import ( "context" diff --git a/receiver/signalfxreceiver/receiver.go b/receiver/signalfxreceiver/receiver.go index 736e086c5991..87530224a7d0 100644 --- a/receiver/signalfxreceiver/receiver.go +++ b/receiver/signalfxreceiver/receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package signalfxreceiver +package signalfxreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/signalfxreceiver" import ( "compress/gzip" diff --git a/receiver/signalfxreceiver/signalfxv2_event_to_logdata.go b/receiver/signalfxreceiver/signalfxv2_event_to_logdata.go index 1ffa2520e0fd..0302706b8c20 100644 --- a/receiver/signalfxreceiver/signalfxv2_event_to_logdata.go +++ b/receiver/signalfxreceiver/signalfxv2_event_to_logdata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package signalfxreceiver +package signalfxreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/signalfxreceiver" import ( sfxpb "github.com/signalfx/com_signalfx_metrics_protobuf/model" diff --git a/receiver/signalfxreceiver/signalfxv2_to_metricdata.go b/receiver/signalfxreceiver/signalfxv2_to_metricdata.go index 2a8a68b9f364..26c878aae05d 100644 --- a/receiver/signalfxreceiver/signalfxv2_to_metricdata.go +++ b/receiver/signalfxreceiver/signalfxv2_to_metricdata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package signalfxreceiver +package signalfxreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/signalfxreceiver" import ( "errors" diff --git a/receiver/simpleprometheusreceiver/config.go b/receiver/simpleprometheusreceiver/config.go index 0e8115bb8dad..7e9d94a8af37 100644 --- a/receiver/simpleprometheusreceiver/config.go +++ b/receiver/simpleprometheusreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package simpleprometheusreceiver +package simpleprometheusreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/simpleprometheusreceiver" import ( "net/url" diff --git a/receiver/simpleprometheusreceiver/factory.go b/receiver/simpleprometheusreceiver/factory.go index f0633220a914..9c1bebf803f3 100644 --- a/receiver/simpleprometheusreceiver/factory.go +++ b/receiver/simpleprometheusreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package simpleprometheusreceiver +package simpleprometheusreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/simpleprometheusreceiver" import ( "context" diff --git a/receiver/simpleprometheusreceiver/receiver.go b/receiver/simpleprometheusreceiver/receiver.go index e0a2c731def5..2f13b338d40e 100644 --- a/receiver/simpleprometheusreceiver/receiver.go +++ b/receiver/simpleprometheusreceiver/receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package simpleprometheusreceiver +package simpleprometheusreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/simpleprometheusreceiver" import ( "context" diff --git a/receiver/splunkhecreceiver/config.go b/receiver/splunkhecreceiver/config.go index edbd48b5af7a..94096688ef1a 100644 --- a/receiver/splunkhecreceiver/config.go +++ b/receiver/splunkhecreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package splunkhecreceiver +package splunkhecreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/splunkhecreceiver" import ( "go.opentelemetry.io/collector/config" diff --git a/receiver/splunkhecreceiver/doc.go b/receiver/splunkhecreceiver/doc.go index 6cb6e7c8a65f..0ca6f3afc88f 100644 --- a/receiver/splunkhecreceiver/doc.go +++ b/receiver/splunkhecreceiver/doc.go @@ -14,4 +14,4 @@ // Package splunkhecreceiver implements a receiver that can be used by the // OpenTelemetry collector to receive data in the Splunk HEC supported formats. -package splunkhecreceiver +package splunkhecreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/splunkhecreceiver" diff --git a/receiver/splunkhecreceiver/factory.go b/receiver/splunkhecreceiver/factory.go index 75caa37cf1b3..c12e7228d8bc 100644 --- a/receiver/splunkhecreceiver/factory.go +++ b/receiver/splunkhecreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package splunkhecreceiver +package splunkhecreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/splunkhecreceiver" import ( "context" diff --git a/receiver/splunkhecreceiver/receiver.go b/receiver/splunkhecreceiver/receiver.go index 40aa8199c4d1..f70b9a98d22c 100644 --- a/receiver/splunkhecreceiver/receiver.go +++ b/receiver/splunkhecreceiver/receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package splunkhecreceiver +package splunkhecreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/splunkhecreceiver" import ( "bufio" diff --git a/receiver/splunkhecreceiver/splunk_to_logdata.go b/receiver/splunkhecreceiver/splunk_to_logdata.go index 7f6d04f650ab..01e795bf8455 100644 --- a/receiver/splunkhecreceiver/splunk_to_logdata.go +++ b/receiver/splunkhecreceiver/splunk_to_logdata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package splunkhecreceiver +package splunkhecreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/splunkhecreceiver" import ( "errors" diff --git a/receiver/splunkhecreceiver/splunkhec_to_metricdata.go b/receiver/splunkhecreceiver/splunkhec_to_metricdata.go index 174773dc08b7..79d9198f72d9 100644 --- a/receiver/splunkhecreceiver/splunkhec_to_metricdata.go +++ b/receiver/splunkhecreceiver/splunkhec_to_metricdata.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package splunkhecreceiver +package splunkhecreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/splunkhecreceiver" import ( "fmt" diff --git a/receiver/statsdreceiver/config.go b/receiver/statsdreceiver/config.go index e3277213fe9a..62f62ede94ae 100644 --- a/receiver/statsdreceiver/config.go +++ b/receiver/statsdreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package statsdreceiver +package statsdreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver" import ( "fmt" diff --git a/receiver/statsdreceiver/doc.go b/receiver/statsdreceiver/doc.go index b68d368f4154..a2875965f302 100644 --- a/receiver/statsdreceiver/doc.go +++ b/receiver/statsdreceiver/doc.go @@ -15,4 +15,4 @@ // Package statsdreceiver implements a collector receiver that listens // on UDP port 8125 by default for incoming StatsD messages and parses // them into OTLP equivalent metric representations. -package statsdreceiver +package statsdreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver" diff --git a/receiver/statsdreceiver/factory.go b/receiver/statsdreceiver/factory.go index df7c25c28cdf..a45530f51ed0 100644 --- a/receiver/statsdreceiver/factory.go +++ b/receiver/statsdreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package statsdreceiver +package statsdreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver" import ( "context" diff --git a/receiver/statsdreceiver/protocol/metric_translator.go b/receiver/statsdreceiver/protocol/metric_translator.go index e395acd415a9..55b6005a5753 100644 --- a/receiver/statsdreceiver/protocol/metric_translator.go +++ b/receiver/statsdreceiver/protocol/metric_translator.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package protocol +package protocol // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver/protocol" import ( "sort" diff --git a/receiver/statsdreceiver/protocol/parser.go b/receiver/statsdreceiver/protocol/parser.go index fa62ae7bf30d..2da0197d8f27 100644 --- a/receiver/statsdreceiver/protocol/parser.go +++ b/receiver/statsdreceiver/protocol/parser.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package protocol +package protocol // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver/protocol" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/receiver/statsdreceiver/protocol/statsd_parser.go b/receiver/statsdreceiver/protocol/statsd_parser.go index 6a5fa3e45362..9ec5df7dca44 100644 --- a/receiver/statsdreceiver/protocol/statsd_parser.go +++ b/receiver/statsdreceiver/protocol/statsd_parser.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package protocol +package protocol // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver/protocol" import ( "errors" diff --git a/receiver/statsdreceiver/receiver.go b/receiver/statsdreceiver/receiver.go index e580fa456f5f..9655dcdac360 100644 --- a/receiver/statsdreceiver/receiver.go +++ b/receiver/statsdreceiver/receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package statsdreceiver +package statsdreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver" import ( "context" diff --git a/receiver/statsdreceiver/reporter.go b/receiver/statsdreceiver/reporter.go index 6755151a3396..917b4282b457 100644 --- a/receiver/statsdreceiver/reporter.go +++ b/receiver/statsdreceiver/reporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package statsdreceiver +package statsdreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver" import ( "context" diff --git a/receiver/statsdreceiver/transport/client/client.go b/receiver/statsdreceiver/transport/client/client.go index c96cdcef44b7..16f952b930dd 100644 --- a/receiver/statsdreceiver/transport/client/client.go +++ b/receiver/statsdreceiver/transport/client/client.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package client +package client // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver/transport/client" import ( "fmt" diff --git a/receiver/statsdreceiver/transport/mock_reporter.go b/receiver/statsdreceiver/transport/mock_reporter.go index e09a96c68fc4..7cce9b2f93fa 100644 --- a/receiver/statsdreceiver/transport/mock_reporter.go +++ b/receiver/statsdreceiver/transport/mock_reporter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package transport +package transport // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver/transport" import ( "context" diff --git a/receiver/statsdreceiver/transport/server.go b/receiver/statsdreceiver/transport/server.go index 8cba0332a6ae..3720ee3e0a6e 100644 --- a/receiver/statsdreceiver/transport/server.go +++ b/receiver/statsdreceiver/transport/server.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package transport +package transport // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver/transport" import ( "context" diff --git a/receiver/statsdreceiver/transport/udp_server.go b/receiver/statsdreceiver/transport/udp_server.go index 95436809fb4f..a1fe147f12fd 100644 --- a/receiver/statsdreceiver/transport/udp_server.go +++ b/receiver/statsdreceiver/transport/udp_server.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package transport +package transport // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver/transport" import ( "bytes" diff --git a/receiver/syslogreceiver/doc.go b/receiver/syslogreceiver/doc.go index 0810a2c655df..08ac3c7779d1 100644 --- a/receiver/syslogreceiver/doc.go +++ b/receiver/syslogreceiver/doc.go @@ -12,4 +12,4 @@ // See the License for the specific language governing permissions and // limitations under the License. -package syslogreceiver +package syslogreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/syslogreceiver" diff --git a/receiver/syslogreceiver/syslog.go b/receiver/syslogreceiver/syslog.go index ad11eadea1ef..29b54723b710 100644 --- a/receiver/syslogreceiver/syslog.go +++ b/receiver/syslogreceiver/syslog.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package syslogreceiver +package syslogreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/syslogreceiver" import ( "github.com/open-telemetry/opentelemetry-log-collection/operator" diff --git a/receiver/tcplogreceiver/doc.go b/receiver/tcplogreceiver/doc.go index 8a4ff361c0da..d87d20cfb657 100644 --- a/receiver/tcplogreceiver/doc.go +++ b/receiver/tcplogreceiver/doc.go @@ -12,4 +12,4 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tcplogreceiver +package tcplogreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/tcplogreceiver" diff --git a/receiver/tcplogreceiver/tcp.go b/receiver/tcplogreceiver/tcp.go index 6aedaae4a123..014ec14605ec 100644 --- a/receiver/tcplogreceiver/tcp.go +++ b/receiver/tcplogreceiver/tcp.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tcplogreceiver +package tcplogreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/tcplogreceiver" import ( "github.com/open-telemetry/opentelemetry-log-collection/operator" diff --git a/receiver/udplogreceiver/doc.go b/receiver/udplogreceiver/doc.go index 120ea6447039..828a583a51fd 100644 --- a/receiver/udplogreceiver/doc.go +++ b/receiver/udplogreceiver/doc.go @@ -12,4 +12,4 @@ // See the License for the specific language governing permissions and // limitations under the License. -package udplogreceiver +package udplogreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/udplogreceiver" diff --git a/receiver/udplogreceiver/udp.go b/receiver/udplogreceiver/udp.go index cf262e9f3083..06ffffd5f202 100644 --- a/receiver/udplogreceiver/udp.go +++ b/receiver/udplogreceiver/udp.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package udplogreceiver +package udplogreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/udplogreceiver" import ( "github.com/open-telemetry/opentelemetry-log-collection/operator" diff --git a/receiver/wavefrontreceiver/config.go b/receiver/wavefrontreceiver/config.go index 9be861d957cb..fdb10417433d 100644 --- a/receiver/wavefrontreceiver/config.go +++ b/receiver/wavefrontreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package wavefrontreceiver +package wavefrontreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/wavefrontreceiver" import ( "time" diff --git a/receiver/wavefrontreceiver/factory.go b/receiver/wavefrontreceiver/factory.go index b8c940ae627c..ee7828416a09 100644 --- a/receiver/wavefrontreceiver/factory.go +++ b/receiver/wavefrontreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package wavefrontreceiver +package wavefrontreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/wavefrontreceiver" import ( "context" diff --git a/receiver/wavefrontreceiver/wavefront_parser.go b/receiver/wavefrontreceiver/wavefront_parser.go index b0053eceb48a..f3af55eb58ef 100644 --- a/receiver/wavefrontreceiver/wavefront_parser.go +++ b/receiver/wavefrontreceiver/wavefront_parser.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package wavefrontreceiver +package wavefrontreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/wavefrontreceiver" import ( "fmt" diff --git a/receiver/windowsperfcountersreceiver/config.go b/receiver/windowsperfcountersreceiver/config.go index e1e381468e65..396acb242cc3 100644 --- a/receiver/windowsperfcountersreceiver/config.go +++ b/receiver/windowsperfcountersreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package windowsperfcountersreceiver +package windowsperfcountersreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver" import ( "fmt" diff --git a/receiver/windowsperfcountersreceiver/config_windows.go b/receiver/windowsperfcountersreceiver/config_windows.go index ea5789cb0387..fa7362299b05 100644 --- a/receiver/windowsperfcountersreceiver/config_windows.go +++ b/receiver/windowsperfcountersreceiver/config_windows.go @@ -15,7 +15,7 @@ //go:build windows // +build windows -package windowsperfcountersreceiver +package windowsperfcountersreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver" func (pc *PerfCounterConfig) instances() []string { if len(pc.Instances) == 0 { diff --git a/receiver/windowsperfcountersreceiver/doc.go b/receiver/windowsperfcountersreceiver/doc.go index 571b761a74b4..7591f8ba6ab0 100644 --- a/receiver/windowsperfcountersreceiver/doc.go +++ b/receiver/windowsperfcountersreceiver/doc.go @@ -18,4 +18,4 @@ // representations. // // This receiver is only compatible with Windows. -package windowsperfcountersreceiver +package windowsperfcountersreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver" diff --git a/receiver/windowsperfcountersreceiver/factory.go b/receiver/windowsperfcountersreceiver/factory.go index 2b8fa461ef7b..31576f06cab6 100644 --- a/receiver/windowsperfcountersreceiver/factory.go +++ b/receiver/windowsperfcountersreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package windowsperfcountersreceiver +package windowsperfcountersreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver" import ( "time" diff --git a/receiver/windowsperfcountersreceiver/factory_others.go b/receiver/windowsperfcountersreceiver/factory_others.go index 91ff4c1dc169..beb26a2011b1 100644 --- a/receiver/windowsperfcountersreceiver/factory_others.go +++ b/receiver/windowsperfcountersreceiver/factory_others.go @@ -15,7 +15,7 @@ //go:build !windows // +build !windows -package windowsperfcountersreceiver +package windowsperfcountersreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver" import ( "context" diff --git a/receiver/windowsperfcountersreceiver/factory_windows.go b/receiver/windowsperfcountersreceiver/factory_windows.go index f99ef9a004e8..fca7bd0e19f9 100644 --- a/receiver/windowsperfcountersreceiver/factory_windows.go +++ b/receiver/windowsperfcountersreceiver/factory_windows.go @@ -15,7 +15,7 @@ //go:build windows // +build windows -package windowsperfcountersreceiver +package windowsperfcountersreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver" import ( "context" diff --git a/receiver/windowsperfcountersreceiver/internal/pdh/pdh.go b/receiver/windowsperfcountersreceiver/internal/pdh/pdh.go index 55e55f68e6f6..a8a2821ebcdd 100644 --- a/receiver/windowsperfcountersreceiver/internal/pdh/pdh.go +++ b/receiver/windowsperfcountersreceiver/internal/pdh/pdh.go @@ -15,7 +15,7 @@ //go:build windows // +build windows -package pdh +package pdh // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver/internal/pdh" import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters" diff --git a/receiver/windowsperfcountersreceiver/internal/pdh/pdh_notwindows.go b/receiver/windowsperfcountersreceiver/internal/pdh/pdh_notwindows.go index 95996f187ca5..61f79fa47d21 100644 --- a/receiver/windowsperfcountersreceiver/internal/pdh/pdh_notwindows.go +++ b/receiver/windowsperfcountersreceiver/internal/pdh/pdh_notwindows.go @@ -15,4 +15,4 @@ //go:build !windows // +build !windows -package pdh +package pdh // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver/internal/pdh" diff --git a/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters/kernel32.go b/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters/kernel32.go index 09cbd4be5f18..25f8c2feceeb 100644 --- a/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters/kernel32.go +++ b/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters/kernel32.go @@ -31,7 +31,7 @@ //go:build windows // +build windows -package win_perf_counters +package win_perf_counters // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters" import ( "syscall" diff --git a/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters/pdh.go b/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters/pdh.go index b1363781159e..55c61f3e2a9d 100644 --- a/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters/pdh.go +++ b/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters/pdh.go @@ -31,7 +31,7 @@ //go:build windows // +build windows -package win_perf_counters +package win_perf_counters // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters" import ( "fmt" diff --git a/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters/pdh_386.go b/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters/pdh_386.go index ec572db72447..828e029d6e0a 100644 --- a/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters/pdh_386.go +++ b/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters/pdh_386.go @@ -31,7 +31,7 @@ //go:build windows // +build windows -package win_perf_counters +package win_perf_counters // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters" // Union specialization for double values type PDH_FMT_COUNTERVALUE_DOUBLE struct { diff --git a/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters/pdh_amd64.go b/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters/pdh_amd64.go index 1afedc317260..e956de74b663 100644 --- a/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters/pdh_amd64.go +++ b/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters/pdh_amd64.go @@ -31,7 +31,7 @@ //go:build windows // +build windows -package win_perf_counters +package win_perf_counters // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters" // Union specialization for double values type PDH_FMT_COUNTERVALUE_DOUBLE struct { diff --git a/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters/performance_query.go b/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters/performance_query.go index 249e17541902..8b746f2835e1 100644 --- a/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters/performance_query.go +++ b/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters/performance_query.go @@ -2,7 +2,7 @@ //go:build windows // +build windows -package win_perf_counters +package win_perf_counters // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters" import ( "errors" diff --git a/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters/win_perf_counters_notwindows.go b/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters/win_perf_counters_notwindows.go index 00af92b72255..2202330fdbb3 100644 --- a/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters/win_perf_counters_notwindows.go +++ b/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters/win_perf_counters_notwindows.go @@ -1,4 +1,4 @@ //go:build !windows // +build !windows -package win_perf_counters +package win_perf_counters // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver/internal/third_party/telegraf/win_perf_counters" diff --git a/receiver/windowsperfcountersreceiver/windowsperfcounters_scraper.go b/receiver/windowsperfcountersreceiver/windowsperfcounters_scraper.go index ce5daa10173a..ce450f28c488 100644 --- a/receiver/windowsperfcountersreceiver/windowsperfcounters_scraper.go +++ b/receiver/windowsperfcountersreceiver/windowsperfcounters_scraper.go @@ -15,7 +15,7 @@ //go:build windows // +build windows -package windowsperfcountersreceiver +package windowsperfcountersreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver" import ( "context" diff --git a/receiver/zipkinreceiver/config.go b/receiver/zipkinreceiver/config.go index b54bd03ec047..affa458e9e28 100644 --- a/receiver/zipkinreceiver/config.go +++ b/receiver/zipkinreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package zipkinreceiver +package zipkinreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zipkinreceiver" import ( "go.opentelemetry.io/collector/config" diff --git a/receiver/zipkinreceiver/doc.go b/receiver/zipkinreceiver/doc.go index 1b5b449cd468..1e77569e7eae 100644 --- a/receiver/zipkinreceiver/doc.go +++ b/receiver/zipkinreceiver/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package zipkinreceiver receives Zipkin traces. -package zipkinreceiver +package zipkinreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zipkinreceiver" diff --git a/receiver/zipkinreceiver/factory.go b/receiver/zipkinreceiver/factory.go index f303751c3429..f098fd114b05 100644 --- a/receiver/zipkinreceiver/factory.go +++ b/receiver/zipkinreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package zipkinreceiver +package zipkinreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zipkinreceiver" import ( "context" diff --git a/receiver/zipkinreceiver/trace_receiver.go b/receiver/zipkinreceiver/trace_receiver.go index 07f61a870351..f4e2c17e0019 100644 --- a/receiver/zipkinreceiver/trace_receiver.go +++ b/receiver/zipkinreceiver/trace_receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package zipkinreceiver +package zipkinreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zipkinreceiver" import ( "compress/gzip" diff --git a/receiver/zookeeperreceiver/codegen.go b/receiver/zookeeperreceiver/codegen.go index 5f01d61e9100..cf46ae3d95e4 100644 --- a/receiver/zookeeperreceiver/codegen.go +++ b/receiver/zookeeperreceiver/codegen.go @@ -17,4 +17,4 @@ //go:generate mdatagen metadata.yaml -package zookeeperreceiver +package zookeeperreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zookeeperreceiver" diff --git a/receiver/zookeeperreceiver/config.go b/receiver/zookeeperreceiver/config.go index 8863a01525c6..abe54d43c748 100644 --- a/receiver/zookeeperreceiver/config.go +++ b/receiver/zookeeperreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package zookeeperreceiver +package zookeeperreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zookeeperreceiver" import ( "time" diff --git a/receiver/zookeeperreceiver/factory.go b/receiver/zookeeperreceiver/factory.go index d1fa6f0fd726..a9dc6b25128a 100644 --- a/receiver/zookeeperreceiver/factory.go +++ b/receiver/zookeeperreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package zookeeperreceiver +package zookeeperreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zookeeperreceiver" import ( "context" diff --git a/receiver/zookeeperreceiver/metrics.go b/receiver/zookeeperreceiver/metrics.go index a7b04fe45c87..2a0ab6bb809f 100644 --- a/receiver/zookeeperreceiver/metrics.go +++ b/receiver/zookeeperreceiver/metrics.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package zookeeperreceiver +package zookeeperreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zookeeperreceiver" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/receiver/zookeeperreceiver/scraper.go b/receiver/zookeeperreceiver/scraper.go index b2ac1f065bb0..72eafefc3e75 100644 --- a/receiver/zookeeperreceiver/scraper.go +++ b/receiver/zookeeperreceiver/scraper.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package zookeeperreceiver +package zookeeperreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zookeeperreceiver" import ( "bufio" diff --git a/testbed/correctnesstests/metrics/correctness_test_case.go b/testbed/correctnesstests/metrics/correctness_test_case.go index 814ac82fb255..7901df540099 100644 --- a/testbed/correctnesstests/metrics/correctness_test_case.go +++ b/testbed/correctnesstests/metrics/correctness_test_case.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metrics +package metrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/correctnesstests/metrics" import ( "log" diff --git a/testbed/correctnesstests/metrics/doc.go b/testbed/correctnesstests/metrics/doc.go index 3250346d4d6b..6d5a0e594c3d 100644 --- a/testbed/correctnesstests/metrics/doc.go +++ b/testbed/correctnesstests/metrics/doc.go @@ -32,4 +32,4 @@ // Data-points are supplied to the testHarness by a metricSupplier, which receives all of the metrics it needs // upfront. Those metrics are in turn generated by a metricGenerator, which receives its config from a PICT // generated file, as the trace correctness functionality does. -package metrics +package metrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/correctnesstests/metrics" diff --git a/testbed/correctnesstests/metrics/metric_diff.go b/testbed/correctnesstests/metrics/metric_diff.go index 705d4df96f7d..cb3ff90bc5cb 100644 --- a/testbed/correctnesstests/metrics/metric_diff.go +++ b/testbed/correctnesstests/metrics/metric_diff.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metrics +package metrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/correctnesstests/metrics" import ( "fmt" diff --git a/testbed/correctnesstests/metrics/metric_index.go b/testbed/correctnesstests/metrics/metric_index.go index 091c8e471219..9f56637fec9a 100644 --- a/testbed/correctnesstests/metrics/metric_index.go +++ b/testbed/correctnesstests/metrics/metric_index.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metrics +package metrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/correctnesstests/metrics" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/testbed/correctnesstests/metrics/metric_supplier.go b/testbed/correctnesstests/metrics/metric_supplier.go index 624a2a3b455c..ea0d43df62b2 100644 --- a/testbed/correctnesstests/metrics/metric_supplier.go +++ b/testbed/correctnesstests/metrics/metric_supplier.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metrics +package metrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/correctnesstests/metrics" import ( "go.opentelemetry.io/collector/model/pdata" diff --git a/testbed/correctnesstests/metrics/metrics_test_harness.go b/testbed/correctnesstests/metrics/metrics_test_harness.go index 0900d57e3fe2..583a482d95ca 100644 --- a/testbed/correctnesstests/metrics/metrics_test_harness.go +++ b/testbed/correctnesstests/metrics/metrics_test_harness.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metrics +package metrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/correctnesstests/metrics" import ( "context" diff --git a/testbed/correctnesstests/metrics/results.go b/testbed/correctnesstests/metrics/results.go index 1e896ce58e2e..38e7910d6ee3 100644 --- a/testbed/correctnesstests/metrics/results.go +++ b/testbed/correctnesstests/metrics/results.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metrics +package metrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/correctnesstests/metrics" import ( "fmt" diff --git a/testbed/correctnesstests/metrics/results_dir.go b/testbed/correctnesstests/metrics/results_dir.go index 2ad05ed36a8f..e2704df67c3c 100644 --- a/testbed/correctnesstests/metrics/results_dir.go +++ b/testbed/correctnesstests/metrics/results_dir.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metrics +package metrics // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/correctnesstests/metrics" import ( "os" diff --git a/testbed/correctnesstests/utils.go b/testbed/correctnesstests/utils.go index 05a144ccac83..3ebc85acaf7b 100644 --- a/testbed/correctnesstests/utils.go +++ b/testbed/correctnesstests/utils.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package correctnesstests +package correctnesstests // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/correctnesstests" import ( "bufio" diff --git a/testbed/datareceivers/carbon.go b/testbed/datareceivers/carbon.go index a30fb8510278..f0e3f0ab3970 100644 --- a/testbed/datareceivers/carbon.go +++ b/testbed/datareceivers/carbon.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datareceivers +package datareceivers // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/datareceivers" import ( "context" diff --git a/testbed/datareceivers/jaeger.go b/testbed/datareceivers/jaeger.go index 43812f013857..6c71d9f37d41 100644 --- a/testbed/datareceivers/jaeger.go +++ b/testbed/datareceivers/jaeger.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datareceivers +package datareceivers // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/datareceivers" import ( "context" diff --git a/testbed/datareceivers/mockawsxraydatareceiver.go b/testbed/datareceivers/mockawsxraydatareceiver.go index 910098f73e23..41fe3f45aece 100644 --- a/testbed/datareceivers/mockawsxraydatareceiver.go +++ b/testbed/datareceivers/mockawsxraydatareceiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datareceivers +package datareceivers // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/datareceivers" import ( "context" diff --git a/testbed/datareceivers/opencensus.go b/testbed/datareceivers/opencensus.go index 112320a4d27b..9b4976077002 100644 --- a/testbed/datareceivers/opencensus.go +++ b/testbed/datareceivers/opencensus.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datareceivers +package datareceivers // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/datareceivers" import ( "context" diff --git a/testbed/datareceivers/prometheus.go b/testbed/datareceivers/prometheus.go index 45b755f48691..09f7867da195 100644 --- a/testbed/datareceivers/prometheus.go +++ b/testbed/datareceivers/prometheus.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datareceivers +package datareceivers // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/datareceivers" import ( "context" diff --git a/testbed/datareceivers/sapm.go b/testbed/datareceivers/sapm.go index a650df2e6eb7..a63e3cb42716 100644 --- a/testbed/datareceivers/sapm.go +++ b/testbed/datareceivers/sapm.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datareceivers +package datareceivers // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/datareceivers" import ( "context" diff --git a/testbed/datareceivers/signalfx.go b/testbed/datareceivers/signalfx.go index 2f96a89c2964..f6959928ffaf 100644 --- a/testbed/datareceivers/signalfx.go +++ b/testbed/datareceivers/signalfx.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datareceivers +package datareceivers // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/datareceivers" import ( "context" diff --git a/testbed/datareceivers/splunk.go b/testbed/datareceivers/splunk.go index e95dd15e08a9..9389791adecf 100644 --- a/testbed/datareceivers/splunk.go +++ b/testbed/datareceivers/splunk.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datareceivers +package datareceivers // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/datareceivers" import ( "context" diff --git a/testbed/datareceivers/zipkin.go b/testbed/datareceivers/zipkin.go index e0a5ed84babc..458668b4a113 100644 --- a/testbed/datareceivers/zipkin.go +++ b/testbed/datareceivers/zipkin.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datareceivers +package datareceivers // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/datareceivers" import ( "context" diff --git a/testbed/datasenders/carbon.go b/testbed/datasenders/carbon.go index 4e9d6e0e5164..0876ad2ead75 100644 --- a/testbed/datasenders/carbon.go +++ b/testbed/datasenders/carbon.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datasenders +package datasenders // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/datasenders" import ( "context" diff --git a/testbed/datasenders/fluent.go b/testbed/datasenders/fluent.go index 058b920b674f..a6dfb98e6cf0 100644 --- a/testbed/datasenders/fluent.go +++ b/testbed/datasenders/fluent.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datasenders +package datasenders // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/datasenders" import ( "context" diff --git a/testbed/datasenders/fluentbit.go b/testbed/datasenders/fluentbit.go index dddeca5b4624..162c0584942f 100644 --- a/testbed/datasenders/fluentbit.go +++ b/testbed/datasenders/fluentbit.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datasenders +package datasenders // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/datasenders" import ( "context" diff --git a/testbed/datasenders/jaeger.go b/testbed/datasenders/jaeger.go index 5b1fa3376e03..ed3d293d2b46 100644 --- a/testbed/datasenders/jaeger.go +++ b/testbed/datasenders/jaeger.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datasenders +package datasenders // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/datasenders" import ( "context" diff --git a/testbed/datasenders/k8s.go b/testbed/datasenders/k8s.go index e518d8a2da0a..a862c1a3a0e1 100644 --- a/testbed/datasenders/k8s.go +++ b/testbed/datasenders/k8s.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datasenders +package datasenders // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/datasenders" import ( "context" diff --git a/testbed/datasenders/opencensus.go b/testbed/datasenders/opencensus.go index abcc1579d2f5..e20008555f6b 100644 --- a/testbed/datasenders/opencensus.go +++ b/testbed/datasenders/opencensus.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datasenders +package datasenders // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/datasenders" import ( "context" diff --git a/testbed/datasenders/prometheus.go b/testbed/datasenders/prometheus.go index f5e787d3d242..b1e55f7aa4d3 100644 --- a/testbed/datasenders/prometheus.go +++ b/testbed/datasenders/prometheus.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datasenders +package datasenders // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/datasenders" import ( "context" diff --git a/testbed/datasenders/sapm.go b/testbed/datasenders/sapm.go index ac175bdeb572..dd0d0e623eeb 100644 --- a/testbed/datasenders/sapm.go +++ b/testbed/datasenders/sapm.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datasenders +package datasenders // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/datasenders" import ( "context" diff --git a/testbed/datasenders/signalfx.go b/testbed/datasenders/signalfx.go index 42b9965a12a7..ac2610ba0d4a 100644 --- a/testbed/datasenders/signalfx.go +++ b/testbed/datasenders/signalfx.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datasenders +package datasenders // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/datasenders" import ( "context" diff --git a/testbed/datasenders/stanza.go b/testbed/datasenders/stanza.go index d180e7d34b64..f84623591a54 100644 --- a/testbed/datasenders/stanza.go +++ b/testbed/datasenders/stanza.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datasenders +package datasenders // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/datasenders" import ( "context" diff --git a/testbed/datasenders/syslog.go b/testbed/datasenders/syslog.go index 89a9f64836a9..d8473fa50f8c 100644 --- a/testbed/datasenders/syslog.go +++ b/testbed/datasenders/syslog.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datasenders +package datasenders // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/datasenders" import ( "bytes" diff --git a/testbed/datasenders/tcpudp.go b/testbed/datasenders/tcpudp.go index b35ef37f537c..a223a2413737 100644 --- a/testbed/datasenders/tcpudp.go +++ b/testbed/datasenders/tcpudp.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datasenders +package datasenders // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/datasenders" import ( "bytes" diff --git a/testbed/datasenders/zipkin.go b/testbed/datasenders/zipkin.go index 66a77445504d..f48cddb7b02a 100644 --- a/testbed/datasenders/zipkin.go +++ b/testbed/datasenders/zipkin.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package datasenders +package datasenders // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/datasenders" import ( "context" diff --git a/testbed/mockdatareceivers/mockawsxrayreceiver/config.go b/testbed/mockdatareceivers/mockawsxrayreceiver/config.go index d88d7c61151e..9d1d5b7e6853 100644 --- a/testbed/mockdatareceivers/mockawsxrayreceiver/config.go +++ b/testbed/mockdatareceivers/mockawsxrayreceiver/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package mockawsxrayreceiver +package mockawsxrayreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/mockdatareceivers/mockawsxrayreceiver" import ( "go.opentelemetry.io/collector/config" diff --git a/testbed/mockdatareceivers/mockawsxrayreceiver/factory.go b/testbed/mockdatareceivers/mockawsxrayreceiver/factory.go index 037c6ffc233d..c0cacb9d8f1a 100644 --- a/testbed/mockdatareceivers/mockawsxrayreceiver/factory.go +++ b/testbed/mockdatareceivers/mockawsxrayreceiver/factory.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package mockawsxrayreceiver +package mockawsxrayreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/mockdatareceivers/mockawsxrayreceiver" import ( "context" diff --git a/testbed/mockdatareceivers/mockawsxrayreceiver/trace_receiver.go b/testbed/mockdatareceivers/mockawsxrayreceiver/trace_receiver.go index cca646b08f92..f074bface379 100644 --- a/testbed/mockdatareceivers/mockawsxrayreceiver/trace_receiver.go +++ b/testbed/mockdatareceivers/mockawsxrayreceiver/trace_receiver.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package mockawsxrayreceiver +package mockawsxrayreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/mockdatareceivers/mockawsxrayreceiver" import ( "context" diff --git a/testbed/testbed/child_process_collector.go b/testbed/testbed/child_process_collector.go index cc0f88751be8..b2ed7b0f3d41 100644 --- a/testbed/testbed/child_process_collector.go +++ b/testbed/testbed/child_process_collector.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package testbed +package testbed // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/testbed" import ( "bytes" diff --git a/testbed/testbed/data_providers.go b/testbed/testbed/data_providers.go index 75472f6a73ec..0efc19d5afe4 100644 --- a/testbed/testbed/data_providers.go +++ b/testbed/testbed/data_providers.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package testbed +package testbed // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/testbed" import ( "io/ioutil" diff --git a/testbed/testbed/in_process_collector.go b/testbed/testbed/in_process_collector.go index e6282916b6c9..1df8101c5204 100644 --- a/testbed/testbed/in_process_collector.go +++ b/testbed/testbed/in_process_collector.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package testbed +package testbed // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/testbed" import ( "context" diff --git a/testbed/testbed/load_generator.go b/testbed/testbed/load_generator.go index dbd4b90c63e8..470c3542a118 100644 --- a/testbed/testbed/load_generator.go +++ b/testbed/testbed/load_generator.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package testbed +package testbed // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/testbed" import ( "context" diff --git a/testbed/testbed/mock_backend.go b/testbed/testbed/mock_backend.go index 1d783627e501..d7fc1442fd90 100644 --- a/testbed/testbed/mock_backend.go +++ b/testbed/testbed/mock_backend.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package testbed +package testbed // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/testbed" import ( "context" diff --git a/testbed/testbed/options.go b/testbed/testbed/options.go index 00cd7f1672c1..8bc6cf03ad65 100644 --- a/testbed/testbed/options.go +++ b/testbed/testbed/options.go @@ -15,7 +15,7 @@ // Package tests contains test cases. To run the tests go to tests directory and run: // RUN_TESTBED=1 go test -v -package testbed +package testbed // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/testbed" import ( "time" diff --git a/testbed/testbed/otelcol_runner.go b/testbed/testbed/otelcol_runner.go index 725253e01943..a3948b59bbb9 100644 --- a/testbed/testbed/otelcol_runner.go +++ b/testbed/testbed/otelcol_runner.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package testbed +package testbed // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/testbed" import ( "github.com/shirou/gopsutil/v3/process" diff --git a/testbed/testbed/receivers.go b/testbed/testbed/receivers.go index 8b00adcb7469..09fecadec1a9 100644 --- a/testbed/testbed/receivers.go +++ b/testbed/testbed/receivers.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package testbed +package testbed // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/testbed" import ( "context" diff --git a/testbed/testbed/results.go b/testbed/testbed/results.go index 161e39b54086..ca9d91992cdc 100644 --- a/testbed/testbed/results.go +++ b/testbed/testbed/results.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package testbed +package testbed // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/testbed" import ( "fmt" diff --git a/testbed/testbed/senders.go b/testbed/testbed/senders.go index a3ec52a025f5..dd38644f3519 100644 --- a/testbed/testbed/senders.go +++ b/testbed/testbed/senders.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package testbed +package testbed // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/testbed" import ( "context" diff --git a/testbed/testbed/test_bed.go b/testbed/testbed/test_bed.go index 5c2b4c2b795d..fdb43e5bab7f 100644 --- a/testbed/testbed/test_bed.go +++ b/testbed/testbed/test_bed.go @@ -21,7 +21,7 @@ // // Agent and load generator must be pre-built and their paths must be specified in // test bed config file. RUN_TESTBED env variable must be defined for tests to run. -package testbed +package testbed // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/testbed" import ( "log" diff --git a/testbed/testbed/test_case.go b/testbed/testbed/test_case.go index fdff9da5a8fa..560bf38e5f42 100644 --- a/testbed/testbed/test_case.go +++ b/testbed/testbed/test_case.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package testbed +package testbed // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/testbed" import ( "fmt" diff --git a/testbed/testbed/utils.go b/testbed/testbed/utils.go index eb2eb7b4232b..00f4b015b654 100644 --- a/testbed/testbed/utils.go +++ b/testbed/testbed/utils.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package testbed +package testbed // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/testbed" import ( "testing" diff --git a/testbed/testbed/validator.go b/testbed/testbed/validator.go index 2d1eb2223cd8..79bdd5cc2d40 100644 --- a/testbed/testbed/validator.go +++ b/testbed/testbed/validator.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package testbed +package testbed // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/testbed" import ( "fmt" diff --git a/testbed/tests/scenarios.go b/testbed/tests/scenarios.go index 16f1f20078f3..20799f16ca95 100644 --- a/testbed/tests/scenarios.go +++ b/testbed/tests/scenarios.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tests +package tests // import "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/tests" // This file defines parametrized test scenarios and makes them public so that they can be // also used by tests in custom builds of Collector (e.g. Collector Contrib). diff --git a/tracegen/internal/tracegen/config.go b/tracegen/internal/tracegen/config.go index eab3dac1bbd9..8ac6ff3e145b 100644 --- a/tracegen/internal/tracegen/config.go +++ b/tracegen/internal/tracegen/config.go @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tracegen +package tracegen // import "github.com/open-telemetry/opentelemetry-collector-contrib/tracegen/internal/tracegen" import ( "flag" diff --git a/tracegen/internal/tracegen/worker.go b/tracegen/internal/tracegen/worker.go index 844fa589b4e6..571454790a61 100644 --- a/tracegen/internal/tracegen/worker.go +++ b/tracegen/internal/tracegen/worker.go @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tracegen +package tracegen // import "github.com/open-telemetry/opentelemetry-collector-contrib/tracegen/internal/tracegen" import ( "context"