From e14795bbf4fbd1837a9e3428aafb40b4b1dda99d Mon Sep 17 00:00:00 2001 From: Ben Kochie Date: Mon, 5 Jan 2026 13:46:21 +0100 Subject: [PATCH] Remove copyright date from headers (#17785) Remove copyright dates from various files as part of [PROM-50]. [PROM-50]: https://github.com/prometheus/proposals/blob/main/proposals/0050-remove-copyright-dates.md Signed-off-by: SuperQ --- Makefile | 2 +- Makefile.common | 2 +- cmd/prometheus/main.go | 2 +- cmd/prometheus/main_test.go | 2 +- cmd/prometheus/main_unix_test.go | 2 +- cmd/prometheus/query_log_test.go | 2 +- cmd/prometheus/reload_test.go | 2 +- cmd/prometheus/scrape_failure_log_test.go | 2 +- cmd/prometheus/upload_test.go | 2 +- cmd/promtool/analyze.go | 2 +- cmd/promtool/analyze_test.go | 2 +- cmd/promtool/archive.go | 2 +- cmd/promtool/backfill.go | 2 +- cmd/promtool/backfill_test.go | 2 +- cmd/promtool/debug.go | 2 +- cmd/promtool/main.go | 2 +- cmd/promtool/main_test.go | 2 +- cmd/promtool/metrics.go | 2 +- cmd/promtool/metrics_test.go | 2 +- cmd/promtool/query.go | 2 +- cmd/promtool/rules.go | 2 +- cmd/promtool/rules_test.go | 2 +- cmd/promtool/sd.go | 2 +- cmd/promtool/sd_test.go | 2 +- cmd/promtool/tsdb.go | 2 +- cmd/promtool/tsdb_posix_test.go | 2 +- cmd/promtool/tsdb_test.go | 2 +- cmd/promtool/unittest.go | 2 +- cmd/promtool/unittest_test.go | 2 +- config/config.go | 2 +- config/config_default_test.go | 2 +- config/config_test.go | 2 +- config/config_windows_test.go | 2 +- config/reload.go | 2 +- config/reload_test.go | 2 +- discovery/aws/ec2.go | 2 +- discovery/aws/ec2_test.go | 2 +- discovery/aws/lightsail.go | 2 +- discovery/aws/metrics_ec2.go | 2 +- discovery/aws/metrics_lightsail.go | 2 +- discovery/azure/azure.go | 2 +- discovery/azure/azure_test.go | 2 +- discovery/azure/metrics.go | 2 +- discovery/consul/consul.go | 2 +- discovery/consul/consul_test.go | 2 +- discovery/consul/metrics.go | 2 +- discovery/digitalocean/digitalocean.go | 2 +- discovery/digitalocean/digitalocean_test.go | 2 +- discovery/digitalocean/metrics.go | 2 +- discovery/digitalocean/mock_test.go | 2 +- discovery/discoverer_metrics_noop.go | 2 +- discovery/discovery.go | 2 +- discovery/discovery_test.go | 2 +- discovery/dns/dns.go | 2 +- discovery/dns/dns_test.go | 2 +- discovery/dns/metrics.go | 2 +- discovery/eureka/client.go | 2 +- discovery/eureka/client_test.go | 2 +- discovery/eureka/eureka.go | 2 +- discovery/eureka/eureka_test.go | 2 +- discovery/eureka/metrics.go | 2 +- discovery/file/file.go | 2 +- discovery/file/file_test.go | 2 +- discovery/file/metrics.go | 2 +- discovery/gce/gce.go | 2 +- discovery/gce/metrics.go | 2 +- discovery/hetzner/hcloud.go | 2 +- discovery/hetzner/hcloud_test.go | 2 +- discovery/hetzner/hetzner.go | 2 +- discovery/hetzner/metrics.go | 2 +- discovery/hetzner/mock_test.go | 2 +- discovery/hetzner/robot.go | 2 +- discovery/hetzner/robot_test.go | 2 +- discovery/http/http.go | 2 +- discovery/http/http_test.go | 2 +- discovery/http/metrics.go | 2 +- discovery/install/install.go | 2 +- discovery/ionos/ionos.go | 2 +- discovery/ionos/metrics.go | 2 +- discovery/ionos/server.go | 2 +- discovery/ionos/server_test.go | 2 +- discovery/kubernetes/endpoints.go | 2 +- discovery/kubernetes/endpoints_test.go | 2 +- discovery/kubernetes/endpointslice.go | 2 +- discovery/kubernetes/endpointslice_test.go | 2 +- discovery/kubernetes/ingress.go | 2 +- discovery/kubernetes/ingress_test.go | 2 +- discovery/kubernetes/kubernetes.go | 2 +- discovery/kubernetes/kubernetes_test.go | 2 +- discovery/kubernetes/metrics.go | 2 +- discovery/kubernetes/node.go | 2 +- discovery/kubernetes/node_test.go | 2 +- discovery/kubernetes/pod.go | 2 +- discovery/kubernetes/pod_test.go | 2 +- discovery/kubernetes/service.go | 2 +- discovery/kubernetes/service_test.go | 2 +- discovery/linode/linode.go | 2 +- discovery/linode/linode_test.go | 2 +- discovery/linode/metrics.go | 2 +- discovery/linode/mock_test.go | 2 +- discovery/manager.go | 2 +- discovery/manager_test.go | 2 +- discovery/marathon/marathon.go | 2 +- discovery/marathon/marathon_test.go | 2 +- discovery/marathon/metrics.go | 2 +- discovery/metrics.go | 2 +- discovery/metrics_k8s_client.go | 2 +- discovery/metrics_refresh.go | 2 +- discovery/moby/docker.go | 2 +- discovery/moby/docker_test.go | 2 +- discovery/moby/dockerswarm.go | 2 +- discovery/moby/metrics_docker.go | 2 +- discovery/moby/metrics_dockerswarm.go | 2 +- discovery/moby/mock_test.go | 2 +- discovery/moby/network.go | 2 +- discovery/moby/nodes.go | 2 +- discovery/moby/nodes_test.go | 2 +- discovery/moby/services.go | 2 +- discovery/moby/services_test.go | 2 +- discovery/moby/tasks.go | 2 +- discovery/moby/tasks_test.go | 2 +- discovery/nomad/metrics.go | 2 +- discovery/nomad/nomad.go | 2 +- discovery/nomad/nomad_test.go | 2 +- discovery/openstack/hypervisor.go | 2 +- discovery/openstack/hypervisor_test.go | 2 +- discovery/openstack/instance.go | 2 +- discovery/openstack/instance_test.go | 2 +- discovery/openstack/loadbalancer.go | 2 +- discovery/openstack/loadbalancer_test.go | 2 +- discovery/openstack/metrics.go | 2 +- discovery/openstack/mock_test.go | 2 +- discovery/openstack/openstack.go | 2 +- discovery/ovhcloud/dedicated_server.go | 2 +- discovery/ovhcloud/dedicated_server_test.go | 2 +- discovery/ovhcloud/metrics.go | 2 +- discovery/ovhcloud/ovhcloud.go | 2 +- discovery/ovhcloud/ovhcloud_test.go | 2 +- discovery/ovhcloud/vps.go | 2 +- discovery/ovhcloud/vps_test.go | 2 +- discovery/puppetdb/metrics.go | 2 +- discovery/puppetdb/puppetdb.go | 2 +- discovery/puppetdb/puppetdb_test.go | 2 +- discovery/puppetdb/resources.go | 2 +- discovery/refresh/refresh.go | 2 +- discovery/refresh/refresh_test.go | 2 +- discovery/registry.go | 2 +- discovery/scaleway/baremetal.go | 2 +- discovery/scaleway/instance.go | 2 +- discovery/scaleway/instance_test.go | 2 +- discovery/scaleway/metrics.go | 2 +- discovery/scaleway/scaleway.go | 2 +- discovery/stackit/metrics.go | 2 +- discovery/stackit/mock_test.go | 2 +- discovery/stackit/server.go | 2 +- discovery/stackit/server_test.go | 2 +- discovery/stackit/stackit.go | 2 +- discovery/stackit/types.go | 2 +- discovery/targetgroup/targetgroup.go | 2 +- discovery/targetgroup/targetgroup_test.go | 2 +- discovery/triton/metrics.go | 2 +- discovery/triton/triton.go | 2 +- discovery/triton/triton_test.go | 2 +- discovery/util.go | 2 +- discovery/uyuni/metrics.go | 2 +- discovery/uyuni/uyuni.go | 2 +- discovery/uyuni/uyuni_test.go | 2 +- discovery/vultr/metrics.go | 2 +- discovery/vultr/mock_test.go | 2 +- discovery/vultr/vultr.go | 2 +- discovery/vultr/vultr_test.go | 2 +- discovery/xds/client.go | 2 +- discovery/xds/client_test.go | 2 +- discovery/xds/kuma.go | 2 +- discovery/xds/kuma_mads.pb.go | 2 +- discovery/xds/kuma_test.go | 2 +- discovery/xds/metrics.go | 2 +- discovery/xds/xds.go | 2 +- discovery/xds/xds_test.go | 2 +- discovery/zookeeper/zookeeper.go | 2 +- discovery/zookeeper/zookeeper_test.go | 2 +- documentation/examples/Makefile | 2 +- documentation/examples/custom-sd/adapter-usage/main.go | 2 +- documentation/examples/custom-sd/adapter/adapter.go | 2 +- documentation/examples/custom-sd/adapter/adapter_test.go | 2 +- documentation/examples/remote_storage/Makefile | 2 +- .../examples/remote_storage/example_write_adapter/server.go | 2 +- .../remote_storage/remote_storage_adapter/graphite/client.go | 2 +- .../remote_storage_adapter/graphite/client_test.go | 2 +- .../remote_storage/remote_storage_adapter/graphite/escape.go | 2 +- .../remote_storage/remote_storage_adapter/influxdb/client.go | 2 +- .../remote_storage_adapter/influxdb/client_test.go | 2 +- .../examples/remote_storage/remote_storage_adapter/main.go | 2 +- .../remote_storage/remote_storage_adapter/opentsdb/client.go | 2 +- .../remote_storage_adapter/opentsdb/client_test.go | 2 +- .../remote_storage_adapter/opentsdb/tagvalue.go | 2 +- .../remote_storage_adapter/opentsdb/tagvalue_test.go | 2 +- internal/tools/tools.go | 2 +- model/exemplar/exemplar.go | 2 +- model/histogram/float_histogram.go | 2 +- model/histogram/float_histogram_test.go | 2 +- model/histogram/generic.go | 2 +- model/histogram/generic_test.go | 2 +- model/histogram/histogram.go | 2 +- model/histogram/histogram_test.go | 2 +- model/histogram/test_utils.go | 2 +- model/labels/labels_common.go | 2 +- model/labels/labels_dedupelabels.go | 2 +- model/labels/labels_dedupelabels_test.go | 2 +- model/labels/labels_slicelabels.go | 2 +- model/labels/labels_slicelabels_test.go | 2 +- model/labels/labels_stringlabels.go | 2 +- model/labels/labels_stringlabels_test.go | 2 +- model/labels/labels_test.go | 2 +- model/labels/matcher.go | 2 +- model/labels/matcher_test.go | 2 +- model/labels/regexp.go | 2 +- model/labels/regexp_test.go | 2 +- model/labels/sharding.go | 2 +- model/labels/sharding_dedupelabels.go | 2 +- model/labels/sharding_stringlabels.go | 2 +- model/labels/sharding_test.go | 2 +- model/labels/test_utils.go | 2 +- model/relabel/relabel.go | 2 +- model/relabel/relabel_test.go | 2 +- model/rulefmt/rulefmt.go | 2 +- model/rulefmt/rulefmt_test.go | 2 +- model/textparse/benchmark_test.go | 2 +- model/textparse/interface.go | 2 +- model/textparse/interface_test.go | 2 +- model/textparse/nhcbparse.go | 2 +- model/textparse/nhcbparse_test.go | 2 +- model/textparse/openmetricsparse.go | 2 +- model/textparse/openmetricsparse_test.go | 2 +- model/textparse/promparse.go | 2 +- model/textparse/promparse_test.go | 2 +- model/textparse/protobufparse.go | 2 +- model/textparse/protobufparse_test.go | 2 +- model/timestamp/timestamp.go | 2 +- model/value/value.go | 2 +- notifier/alert.go | 2 +- notifier/alertmanager.go | 2 +- notifier/alertmanager_test.go | 2 +- notifier/alertmanagerset.go | 2 +- notifier/manager.go | 2 +- notifier/manager_test.go | 2 +- notifier/metric.go | 2 +- notifier/util.go | 2 +- notifier/util_test.go | 2 +- plugins/generate.go | 4 ++-- plugins/minimum.go | 2 +- plugins/plugins.go | 2 +- prompb/codec.go | 2 +- prompb/custom.go | 2 +- prompb/io/prometheus/client/decoder.go | 2 +- prompb/io/prometheus/client/decoder_test.go | 2 +- prompb/io/prometheus/write/v2/codec.go | 2 +- prompb/io/prometheus/write/v2/custom.go | 2 +- prompb/io/prometheus/write/v2/custom_test.go | 2 +- prompb/io/prometheus/write/v2/symbols.go | 2 +- prompb/io/prometheus/write/v2/symbols_test.go | 2 +- prompb/io/prometheus/write/v2/types_test.go | 2 +- prompb/rwcommon/codec_test.go | 2 +- promql/bench_test.go | 2 +- promql/durations.go | 2 +- promql/durations_test.go | 2 +- promql/engine.go | 2 +- promql/engine_internal_test.go | 2 +- promql/engine_test.go | 2 +- promql/functions.go | 2 +- promql/functions_internal_test.go | 2 +- promql/functions_test.go | 2 +- promql/fuzz.go | 2 +- promql/fuzz_test.go | 2 +- promql/histogram_stats_iterator.go | 2 +- promql/histogram_stats_iterator_test.go | 2 +- promql/info.go | 2 +- promql/parser/ast.go | 2 +- promql/parser/functions.go | 2 +- promql/parser/lex.go | 2 +- promql/parser/lex_test.go | 2 +- promql/parser/parse.go | 2 +- promql/parser/parse_test.go | 2 +- promql/parser/posrange/posrange.go | 2 +- promql/parser/prettier.go | 2 +- promql/parser/prettier_test.go | 2 +- promql/parser/printer.go | 2 +- promql/parser/printer_test.go | 2 +- promql/parser/value.go | 2 +- promql/promql_test.go | 2 +- promql/promqltest/cmd/migrate/main.go | 2 +- promql/promqltest/test.go | 2 +- promql/promqltest/test_migrate.go | 2 +- promql/promqltest/test_migrate_test.go | 2 +- promql/promqltest/test_test.go | 2 +- promql/quantile.go | 2 +- promql/quantile_test.go | 2 +- promql/query_logger.go | 2 +- promql/query_logger_test.go | 2 +- promql/value.go | 2 +- promql/value_test.go | 2 +- rules/alerting.go | 2 +- rules/alerting_test.go | 2 +- rules/group.go | 2 +- rules/group_test.go | 2 +- rules/manager.go | 2 +- rules/manager_test.go | 2 +- rules/origin.go | 2 +- rules/origin_test.go | 2 +- rules/recording.go | 2 +- rules/recording_test.go | 2 +- rules/rule.go | 2 +- schema/labels.go | 2 +- schema/labels_test.go | 2 +- scrape/clientprotobuf.go | 2 +- scrape/metrics.go | 2 +- storage/buffer.go | 2 +- storage/buffer_test.go | 2 +- storage/errors.go | 2 +- storage/errors_test.go | 2 +- storage/fanout.go | 2 +- storage/fanout_test.go | 2 +- storage/generic.go | 2 +- storage/interface.go | 2 +- storage/interface_test.go | 2 +- storage/lazy.go | 2 +- storage/memoized_iterator.go | 2 +- storage/memoized_iterator_test.go | 2 +- storage/merge.go | 2 +- storage/merge_test.go | 2 +- storage/noop.go | 2 +- storage/remote/azuread/azuread.go | 2 +- storage/remote/azuread/azuread_test.go | 2 +- storage/remote/chunked.go | 2 +- storage/remote/chunked_test.go | 2 +- storage/remote/client.go | 2 +- storage/remote/client_test.go | 2 +- storage/remote/codec.go | 2 +- storage/remote/codec_test.go | 2 +- storage/remote/dial_context.go | 2 +- storage/remote/dial_context_test.go | 2 +- storage/remote/ewma.go | 2 +- storage/remote/googleiam/googleiam.go | 2 +- storage/remote/intern.go | 2 +- storage/remote/intern_test.go | 2 +- storage/remote/max_timestamp.go | 2 +- storage/remote/metadata_watcher.go | 2 +- storage/remote/metadata_watcher_test.go | 2 +- .../prometheusremotewrite/combined_appender_test.go | 2 +- .../remote/otlptranslator/prometheusremotewrite/context.go | 2 +- .../otlptranslator/prometheusremotewrite/context_test.go | 2 +- storage/remote/otlptranslator/prometheusremotewrite/helper.go | 2 +- .../otlptranslator/prometheusremotewrite/helper_test.go | 2 +- .../remote/otlptranslator/prometheusremotewrite/histograms.go | 2 +- .../otlptranslator/prometheusremotewrite/histograms_test.go | 2 +- .../otlptranslator/prometheusremotewrite/metrics_to_prw.go | 2 +- .../prometheusremotewrite/metrics_to_prw_test.go | 2 +- .../prometheusremotewrite/number_data_points.go | 2 +- .../prometheusremotewrite/number_data_points_test.go | 2 +- .../prometheusremotewrite/otlp_to_openmetrics_metadata.go | 2 +- .../otlptranslator/prometheusremotewrite/testutil_test.go | 2 +- storage/remote/queue_manager.go | 2 +- storage/remote/queue_manager_test.go | 2 +- storage/remote/read.go | 2 +- storage/remote/read_handler.go | 2 +- storage/remote/read_handler_test.go | 2 +- storage/remote/read_test.go | 2 +- storage/remote/stats.go | 2 +- storage/remote/storage.go | 2 +- storage/remote/storage_test.go | 2 +- storage/remote/write.go | 2 +- storage/remote/write_handler.go | 2 +- storage/remote/write_handler_test.go | 2 +- storage/remote/write_test.go | 2 +- storage/secondary.go | 2 +- storage/series.go | 2 +- storage/series_test.go | 2 +- template/template.go | 2 +- template/template_amd64_test.go | 2 +- template/template_test.go | 2 +- tracing/tracing.go | 2 +- tracing/tracing_test.go | 2 +- tsdb/agent/db.go | 2 +- tsdb/agent/db_test.go | 2 +- tsdb/agent/series.go | 2 +- tsdb/agent/series_test.go | 2 +- tsdb/block.go | 2 +- tsdb/block_test.go | 2 +- tsdb/blockwriter.go | 2 +- tsdb/blockwriter_test.go | 2 +- tsdb/chunkenc/bstream.go | 2 +- tsdb/chunkenc/bstream_test.go | 2 +- tsdb/chunkenc/chunk.go | 2 +- tsdb/chunkenc/chunk_test.go | 2 +- tsdb/chunkenc/float_histogram.go | 2 +- tsdb/chunkenc/float_histogram_test.go | 2 +- tsdb/chunkenc/histogram.go | 2 +- tsdb/chunkenc/histogram_meta.go | 2 +- tsdb/chunkenc/histogram_meta_test.go | 2 +- tsdb/chunkenc/histogram_test.go | 2 +- tsdb/chunkenc/varbit.go | 2 +- tsdb/chunkenc/varbit_test.go | 2 +- tsdb/chunkenc/xor.go | 2 +- tsdb/chunkenc/xor_test.go | 2 +- tsdb/chunks/chunk_write_queue.go | 2 +- tsdb/chunks/chunk_write_queue_test.go | 2 +- tsdb/chunks/chunks.go | 2 +- tsdb/chunks/chunks_test.go | 2 +- tsdb/chunks/head_chunks.go | 2 +- tsdb/chunks/head_chunks_other.go | 2 +- tsdb/chunks/head_chunks_test.go | 2 +- tsdb/chunks/head_chunks_windows.go | 2 +- tsdb/chunks/queue.go | 2 +- tsdb/chunks/queue_test.go | 2 +- tsdb/chunks/samples.go | 2 +- tsdb/compact.go | 2 +- tsdb/compact_test.go | 2 +- tsdb/db.go | 2 +- tsdb/db_test.go | 2 +- tsdb/encoding/encoding.go | 2 +- tsdb/errors/errors.go | 2 +- tsdb/errors/errors_test.go | 2 +- tsdb/example_test.go | 2 +- tsdb/exemplar.go | 2 +- tsdb/exemplar_test.go | 2 +- tsdb/fileutil/dir.go | 2 +- tsdb/fileutil/dir_unix.go | 2 +- tsdb/fileutil/dir_windows.go | 2 +- tsdb/fileutil/direct_io.go | 2 +- tsdb/fileutil/direct_io_force.go | 2 +- tsdb/fileutil/direct_io_linux.go | 2 +- tsdb/fileutil/direct_io_unsupported.go | 2 +- tsdb/fileutil/direct_io_writer.go | 2 +- tsdb/fileutil/direct_io_writer_test.go | 2 +- tsdb/fileutil/fileutil.go | 2 +- tsdb/fileutil/flock.go | 2 +- tsdb/fileutil/flock_js.go | 2 +- tsdb/fileutil/flock_plan9.go | 2 +- tsdb/fileutil/flock_solaris.go | 2 +- tsdb/fileutil/flock_test.go | 2 +- tsdb/fileutil/flock_unix.go | 2 +- tsdb/fileutil/flock_windows.go | 2 +- tsdb/fileutil/mmap.go | 2 +- tsdb/fileutil/mmap_386.go | 2 +- tsdb/fileutil/mmap_amd64.go | 2 +- tsdb/fileutil/mmap_arm64.go | 2 +- tsdb/fileutil/mmap_js.go | 2 +- tsdb/fileutil/mmap_unix.go | 2 +- tsdb/fileutil/mmap_windows.go | 2 +- tsdb/fileutil/preallocate.go | 2 +- tsdb/fileutil/preallocate_darwin.go | 2 +- tsdb/fileutil/preallocate_linux.go | 2 +- tsdb/fileutil/preallocate_other.go | 2 +- tsdb/fileutil/sync.go | 2 +- tsdb/fileutil/sync_darwin.go | 2 +- tsdb/fileutil/sync_linux.go | 2 +- tsdb/goversion/goversion.go | 2 +- tsdb/goversion/goversion_test.go | 2 +- tsdb/goversion/init.go | 2 +- tsdb/head.go | 2 +- tsdb/head_append.go | 2 +- tsdb/head_bench_test.go | 2 +- tsdb/head_dedupelabels.go | 2 +- tsdb/head_other.go | 2 +- tsdb/head_read.go | 2 +- tsdb/head_read_test.go | 2 +- tsdb/head_test.go | 2 +- tsdb/head_wal.go | 2 +- tsdb/index/index.go | 2 +- tsdb/index/index_test.go | 2 +- tsdb/index/postings.go | 2 +- tsdb/index/postings_test.go | 2 +- tsdb/index/postingsstats.go | 2 +- tsdb/index/postingsstats_test.go | 2 +- tsdb/isolation.go | 2 +- tsdb/isolation_test.go | 2 +- tsdb/mocks_test.go | 2 +- tsdb/ooo_head.go | 2 +- tsdb/ooo_head_read.go | 2 +- tsdb/ooo_head_read_test.go | 2 +- tsdb/ooo_head_test.go | 2 +- tsdb/ooo_isolation.go | 2 +- tsdb/ooo_isolation_test.go | 2 +- tsdb/querier.go | 2 +- tsdb/querier_bench_test.go | 2 +- tsdb/querier_test.go | 2 +- tsdb/record/record.go | 2 +- tsdb/record/record_test.go | 2 +- tsdb/repair.go | 2 +- tsdb/repair_test.go | 2 +- tsdb/testutil.go | 2 +- tsdb/tombstones/tombstones.go | 2 +- tsdb/tombstones/tombstones_test.go | 2 +- tsdb/tsdbblockutil.go | 2 +- tsdb/tsdbutil/dir_locker.go | 2 +- tsdb/tsdbutil/dir_locker_test.go | 2 +- tsdb/tsdbutil/dir_locker_testutil.go | 2 +- tsdb/tsdbutil/histogram.go | 2 +- tsdb/wlog/checkpoint.go | 2 +- tsdb/wlog/checkpoint_test.go | 2 +- tsdb/wlog/live_reader.go | 2 +- tsdb/wlog/reader.go | 2 +- tsdb/wlog/reader_test.go | 2 +- tsdb/wlog/watcher.go | 2 +- tsdb/wlog/watcher_test.go | 2 +- tsdb/wlog/wlog.go | 2 +- tsdb/wlog/wlog_test.go | 2 +- util/almost/almost.go | 2 +- util/almost/almost_test.go | 2 +- util/annotations/annotations.go | 2 +- util/compression/buffers.go | 2 +- util/compression/compression.go | 2 +- util/compression/compression_test.go | 2 +- util/convertnhcb/convertnhcb.go | 2 +- util/convertnhcb/convertnhcb_test.go | 2 +- util/documentcli/documentcli.go | 2 +- util/fmtutil/format.go | 2 +- util/fmtutil/format_test.go | 2 +- util/gate/gate.go | 2 +- util/httputil/compression.go | 2 +- util/httputil/compression_test.go | 2 +- util/httputil/context.go | 2 +- util/httputil/cors.go | 2 +- util/httputil/cors_test.go | 2 +- util/jsonutil/marshal.go | 2 +- util/junitxml/junitxml.go | 2 +- util/junitxml/junitxml_test.go | 2 +- util/logging/dedupe.go | 2 +- util/logging/dedupe_test.go | 2 +- util/logging/file.go | 2 +- util/logging/file_test.go | 2 +- util/namevalidationutil/namevalidationutil.go | 2 +- util/namevalidationutil/namevalidationutil_test.go | 2 +- util/netconnlimit/netconnlimit.go | 2 +- util/netconnlimit/netconnlimit_test.go | 2 +- util/notifications/notifications.go | 2 +- util/notifications/notifications_test.go | 2 +- util/osutil/hostname.go | 2 +- util/pool/pool.go | 2 +- util/pool/pool_test.go | 2 +- util/runtime/limits_default.go | 2 +- util/runtime/limits_windows.go | 2 +- util/runtime/statfs.go | 2 +- util/runtime/statfs_default.go | 2 +- util/runtime/statfs_linux_386.go | 2 +- util/runtime/statfs_uint32.go | 2 +- util/runtime/uname_default.go | 2 +- util/runtime/uname_linux.go | 2 +- util/runtime/vmlimits_default.go | 2 +- util/runtime/vmlimits_openbsd.go | 2 +- util/runutil/runutil.go | 2 +- util/stats/query_stats.go | 2 +- util/stats/stats_test.go | 2 +- util/stats/timer.go | 2 +- util/strutil/quote.go | 2 +- util/strutil/quote_test.go | 2 +- util/strutil/strconv.go | 2 +- util/strutil/strconv_test.go | 2 +- util/teststorage/storage.go | 2 +- util/testutil/cmp.go | 2 +- util/testutil/context.go | 2 +- util/testutil/directory.go | 2 +- util/testutil/port.go | 2 +- util/testutil/roundtrip.go | 2 +- util/testutil/synctest/disabled.go | 2 +- util/testutil/synctest/enabled.go | 2 +- util/testutil/synctest/synctest.go | 2 +- util/treecache/treecache.go | 2 +- util/zeropool/pool.go | 2 +- util/zeropool/pool_test.go | 2 +- web/api/v1/api.go | 2 +- web/api/v1/api_test.go | 2 +- web/api/v1/codec.go | 2 +- web/api/v1/codec_test.go | 2 +- web/api/v1/errors_test.go | 2 +- web/api/v1/json_codec.go | 2 +- web/api/v1/json_codec_test.go | 2 +- web/api/v1/translate_ast.go | 2 +- web/federate.go | 2 +- web/federate_test.go | 2 +- web/ui/assets_embed.go | 2 +- web/ui/mantine-ui/src/promql/tools/gen_functions_docs/main.go | 2 +- web/ui/mantine-ui/src/promql/tools/gen_functions_list/main.go | 2 +- web/ui/module/lezer-promql/src/highlight.js | 2 +- web/ui/module/lezer-promql/src/tokens.js | 2 +- web/ui/ui.go | 2 +- web/web.go | 2 +- web/web_test.go | 2 +- 588 files changed, 589 insertions(+), 589 deletions(-) diff --git a/Makefile b/Makefile index 197fd17c19..bc5d67da6b 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# Copyright 2018 The Prometheus Authors +# Copyright The Prometheus Authors # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/Makefile.common b/Makefile.common index f70443272f..7beae6e58f 100644 --- a/Makefile.common +++ b/Makefile.common @@ -1,4 +1,4 @@ -# Copyright 2018 The Prometheus Authors +# Copyright The Prometheus Authors # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/cmd/prometheus/main.go b/cmd/prometheus/main.go index cb6541607e..c330671b1e 100644 --- a/cmd/prometheus/main.go +++ b/cmd/prometheus/main.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/prometheus/main_test.go b/cmd/prometheus/main_test.go index 2a1c9816b8..6765bae900 100644 --- a/cmd/prometheus/main_test.go +++ b/cmd/prometheus/main_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/prometheus/main_unix_test.go b/cmd/prometheus/main_unix_test.go index 66bfe9b60a..ea130b3bf9 100644 --- a/cmd/prometheus/main_unix_test.go +++ b/cmd/prometheus/main_unix_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/prometheus/query_log_test.go b/cmd/prometheus/query_log_test.go index 645ac31145..5e5a9ac3b7 100644 --- a/cmd/prometheus/query_log_test.go +++ b/cmd/prometheus/query_log_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/prometheus/reload_test.go b/cmd/prometheus/reload_test.go index 6feb2bf3a5..bbe108c9a6 100644 --- a/cmd/prometheus/reload_test.go +++ b/cmd/prometheus/reload_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/prometheus/scrape_failure_log_test.go b/cmd/prometheus/scrape_failure_log_test.go index f35cb7bee6..c3f459f601 100644 --- a/cmd/prometheus/scrape_failure_log_test.go +++ b/cmd/prometheus/scrape_failure_log_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/prometheus/upload_test.go b/cmd/prometheus/upload_test.go index 565531b016..97a98351a7 100644 --- a/cmd/prometheus/upload_test.go +++ b/cmd/prometheus/upload_test.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/promtool/analyze.go b/cmd/promtool/analyze.go index aea72a193b..a725772f5d 100644 --- a/cmd/promtool/analyze.go +++ b/cmd/promtool/analyze.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/promtool/analyze_test.go b/cmd/promtool/analyze_test.go index 3de4283a15..d2e81da2c8 100644 --- a/cmd/promtool/analyze_test.go +++ b/cmd/promtool/analyze_test.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/promtool/archive.go b/cmd/promtool/archive.go index 7b565c57cc..23baea2700 100644 --- a/cmd/promtool/archive.go +++ b/cmd/promtool/archive.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/promtool/backfill.go b/cmd/promtool/backfill.go index 47de3b5c1c..f04a76b0a5 100644 --- a/cmd/promtool/backfill.go +++ b/cmd/promtool/backfill.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/promtool/backfill_test.go b/cmd/promtool/backfill_test.go index 8a599510a9..499b90e99a 100644 --- a/cmd/promtool/backfill_test.go +++ b/cmd/promtool/backfill_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/promtool/debug.go b/cmd/promtool/debug.go index 6383aaface..b6e82ef981 100644 --- a/cmd/promtool/debug.go +++ b/cmd/promtool/debug.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/promtool/main.go b/cmd/promtool/main.go index d379d6e587..16cc40233a 100644 --- a/cmd/promtool/main.go +++ b/cmd/promtool/main.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/promtool/main_test.go b/cmd/promtool/main_test.go index 094852a01b..4f4ca3de71 100644 --- a/cmd/promtool/main_test.go +++ b/cmd/promtool/main_test.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/promtool/metrics.go b/cmd/promtool/metrics.go index c21ef15fd8..b1a2beb72e 100644 --- a/cmd/promtool/metrics.go +++ b/cmd/promtool/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/promtool/metrics_test.go b/cmd/promtool/metrics_test.go index 938f1cadfd..d5a3bf63cc 100644 --- a/cmd/promtool/metrics_test.go +++ b/cmd/promtool/metrics_test.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/promtool/query.go b/cmd/promtool/query.go index 0d7cb12cf4..1342f148f8 100644 --- a/cmd/promtool/query.go +++ b/cmd/promtool/query.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/promtool/rules.go b/cmd/promtool/rules.go index 98f2c38b58..3960206f6b 100644 --- a/cmd/promtool/rules.go +++ b/cmd/promtool/rules.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/promtool/rules_test.go b/cmd/promtool/rules_test.go index 6fe7d8c5a1..678e2b4d50 100644 --- a/cmd/promtool/rules_test.go +++ b/cmd/promtool/rules_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/promtool/sd.go b/cmd/promtool/sd.go index 884864205c..6b844c699a 100644 --- a/cmd/promtool/sd.go +++ b/cmd/promtool/sd.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/promtool/sd_test.go b/cmd/promtool/sd_test.go index e41c9893b2..9f43764f55 100644 --- a/cmd/promtool/sd_test.go +++ b/cmd/promtool/sd_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/promtool/tsdb.go b/cmd/promtool/tsdb.go index 914d13289a..9ccd1da714 100644 --- a/cmd/promtool/tsdb.go +++ b/cmd/promtool/tsdb.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/promtool/tsdb_posix_test.go b/cmd/promtool/tsdb_posix_test.go index 8a83aead70..9d0034844f 100644 --- a/cmd/promtool/tsdb_posix_test.go +++ b/cmd/promtool/tsdb_posix_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/promtool/tsdb_test.go b/cmd/promtool/tsdb_test.go index 286456fee3..3a2a5aff72 100644 --- a/cmd/promtool/tsdb_test.go +++ b/cmd/promtool/tsdb_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/promtool/unittest.go b/cmd/promtool/unittest.go index 944ffc9d7c..105e626eba 100644 --- a/cmd/promtool/unittest.go +++ b/cmd/promtool/unittest.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/cmd/promtool/unittest_test.go b/cmd/promtool/unittest_test.go index bf4de02ccd..32886fc4df 100644 --- a/cmd/promtool/unittest_test.go +++ b/cmd/promtool/unittest_test.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/config/config.go b/config/config.go index 51a8cefe3b..cce8fc4168 100644 --- a/config/config.go +++ b/config/config.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/config/config_default_test.go b/config/config_default_test.go index e5f43e1f50..91c290ae4e 100644 --- a/config/config_default_test.go +++ b/config/config_default_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/config/config_test.go b/config/config_test.go index 1804f4925e..aefdd5248c 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/config/config_windows_test.go b/config/config_windows_test.go index 9d338b99e7..72a56ff41a 100644 --- a/config/config_windows_test.go +++ b/config/config_windows_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/config/reload.go b/config/reload.go index 07a077a6a9..a250693169 100644 --- a/config/reload.go +++ b/config/reload.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/config/reload_test.go b/config/reload_test.go index 3e77260ab3..cb60d47651 100644 --- a/config/reload_test.go +++ b/config/reload_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/aws/ec2.go b/discovery/aws/ec2.go index 0aae35d75d..19ecebd491 100644 --- a/discovery/aws/ec2.go +++ b/discovery/aws/ec2.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/aws/ec2_test.go b/discovery/aws/ec2_test.go index 46ab8e771d..bd1047ffc0 100644 --- a/discovery/aws/ec2_test.go +++ b/discovery/aws/ec2_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/aws/lightsail.go b/discovery/aws/lightsail.go index c9ca3eaee9..b13f26cc5f 100644 --- a/discovery/aws/lightsail.go +++ b/discovery/aws/lightsail.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/aws/metrics_ec2.go b/discovery/aws/metrics_ec2.go index 45227c3534..1a37347b40 100644 --- a/discovery/aws/metrics_ec2.go +++ b/discovery/aws/metrics_ec2.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/aws/metrics_lightsail.go b/discovery/aws/metrics_lightsail.go index 4dfe14c60c..40f7639459 100644 --- a/discovery/aws/metrics_lightsail.go +++ b/discovery/aws/metrics_lightsail.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/azure/azure.go b/discovery/azure/azure.go index 3c38bbf3e6..32fc97fdfa 100644 --- a/discovery/azure/azure.go +++ b/discovery/azure/azure.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/azure/azure_test.go b/discovery/azure/azure_test.go index a6e3a6713b..23c120ac6b 100644 --- a/discovery/azure/azure_test.go +++ b/discovery/azure/azure_test.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/azure/metrics.go b/discovery/azure/metrics.go index 3e3dbdbfbb..dc0291cdb8 100644 --- a/discovery/azure/metrics.go +++ b/discovery/azure/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/consul/consul.go b/discovery/consul/consul.go index 74b5d0724e..1004d0941a 100644 --- a/discovery/consul/consul.go +++ b/discovery/consul/consul.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/consul/consul_test.go b/discovery/consul/consul_test.go index a6ff4a625e..feec5d4747 100644 --- a/discovery/consul/consul_test.go +++ b/discovery/consul/consul_test.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/consul/metrics.go b/discovery/consul/metrics.go index b49509bd8f..903fba5cef 100644 --- a/discovery/consul/metrics.go +++ b/discovery/consul/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/digitalocean/digitalocean.go b/discovery/digitalocean/digitalocean.go index d2fbee1d94..0a185c2915 100644 --- a/discovery/digitalocean/digitalocean.go +++ b/discovery/digitalocean/digitalocean.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/digitalocean/digitalocean_test.go b/discovery/digitalocean/digitalocean_test.go index ca99e83b20..560d8d533a 100644 --- a/discovery/digitalocean/digitalocean_test.go +++ b/discovery/digitalocean/digitalocean_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/digitalocean/metrics.go b/discovery/digitalocean/metrics.go index 7f68b39e56..4b11b825e5 100644 --- a/discovery/digitalocean/metrics.go +++ b/discovery/digitalocean/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/digitalocean/mock_test.go b/discovery/digitalocean/mock_test.go index 62d963c3b3..d5703d7702 100644 --- a/discovery/digitalocean/mock_test.go +++ b/discovery/digitalocean/mock_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/discoverer_metrics_noop.go b/discovery/discoverer_metrics_noop.go index 4321204b6c..b75474dfec 100644 --- a/discovery/discoverer_metrics_noop.go +++ b/discovery/discoverer_metrics_noop.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/discovery.go b/discovery/discovery.go index e643cb10af..c4f8c8d458 100644 --- a/discovery/discovery.go +++ b/discovery/discovery.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/discovery_test.go b/discovery/discovery_test.go index 116095fd62..53539b6d40 100644 --- a/discovery/discovery_test.go +++ b/discovery/discovery_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/dns/dns.go b/discovery/dns/dns.go index 1e0a78698b..4d9200d734 100644 --- a/discovery/dns/dns.go +++ b/discovery/dns/dns.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/dns/dns_test.go b/discovery/dns/dns_test.go index 4a7170cc7d..eeb1137878 100644 --- a/discovery/dns/dns_test.go +++ b/discovery/dns/dns_test.go @@ -1,4 +1,4 @@ -// Copyright 2019 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/dns/metrics.go b/discovery/dns/metrics.go index 27c96b53e0..b65db5e6c0 100644 --- a/discovery/dns/metrics.go +++ b/discovery/dns/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/eureka/client.go b/discovery/eureka/client.go index e4b54faae6..252b152637 100644 --- a/discovery/eureka/client.go +++ b/discovery/eureka/client.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/eureka/client_test.go b/discovery/eureka/client_test.go index f85409a11e..19812b1f5d 100644 --- a/discovery/eureka/client_test.go +++ b/discovery/eureka/client_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/eureka/eureka.go b/discovery/eureka/eureka.go index 6d726966bc..0d46667437 100644 --- a/discovery/eureka/eureka.go +++ b/discovery/eureka/eureka.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/eureka/eureka_test.go b/discovery/eureka/eureka_test.go index def6126e86..69612fedb7 100644 --- a/discovery/eureka/eureka_test.go +++ b/discovery/eureka/eureka_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/eureka/metrics.go b/discovery/eureka/metrics.go index 72cfe47096..5a0720a8d5 100644 --- a/discovery/eureka/metrics.go +++ b/discovery/eureka/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/file/file.go b/discovery/file/file.go index e0225891ce..c654297e0a 100644 --- a/discovery/file/file.go +++ b/discovery/file/file.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/file/file_test.go b/discovery/file/file_test.go index c80744f8c3..d8a36df399 100644 --- a/discovery/file/file_test.go +++ b/discovery/file/file_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/file/metrics.go b/discovery/file/metrics.go index 3e3df7bbf6..0371338d46 100644 --- a/discovery/file/metrics.go +++ b/discovery/file/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/gce/gce.go b/discovery/gce/gce.go index 106028ff93..96eed2b27b 100644 --- a/discovery/gce/gce.go +++ b/discovery/gce/gce.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/gce/metrics.go b/discovery/gce/metrics.go index 7ea69b1a89..c4020f0a53 100644 --- a/discovery/gce/metrics.go +++ b/discovery/gce/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/hetzner/hcloud.go b/discovery/hetzner/hcloud.go index 88fe09bd3e..61869459a3 100644 --- a/discovery/hetzner/hcloud.go +++ b/discovery/hetzner/hcloud.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/hetzner/hcloud_test.go b/discovery/hetzner/hcloud_test.go index fa8291625a..3f20bcb86c 100644 --- a/discovery/hetzner/hcloud_test.go +++ b/discovery/hetzner/hcloud_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/hetzner/hetzner.go b/discovery/hetzner/hetzner.go index 8e52d21e39..932cfc8c93 100644 --- a/discovery/hetzner/hetzner.go +++ b/discovery/hetzner/hetzner.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/hetzner/metrics.go b/discovery/hetzner/metrics.go index 0023018194..cab1d66a3e 100644 --- a/discovery/hetzner/metrics.go +++ b/discovery/hetzner/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/hetzner/mock_test.go b/discovery/hetzner/mock_test.go index d192a4eae9..5f1e9c036b 100644 --- a/discovery/hetzner/mock_test.go +++ b/discovery/hetzner/mock_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/hetzner/robot.go b/discovery/hetzner/robot.go index 33aa2abcd8..ef5de1a30c 100644 --- a/discovery/hetzner/robot.go +++ b/discovery/hetzner/robot.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/hetzner/robot_test.go b/discovery/hetzner/robot_test.go index 2618bd097c..0e8b7954cc 100644 --- a/discovery/hetzner/robot_test.go +++ b/discovery/hetzner/robot_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/http/http.go b/discovery/http/http.go index d792bdacd7..fa9c7208fa 100644 --- a/discovery/http/http.go +++ b/discovery/http/http.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/http/http_test.go b/discovery/http/http_test.go index c553c21504..50a5800fc6 100644 --- a/discovery/http/http_test.go +++ b/discovery/http/http_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/http/metrics.go b/discovery/http/metrics.go index b1f8b84433..57fbcac15a 100644 --- a/discovery/http/metrics.go +++ b/discovery/http/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/install/install.go b/discovery/install/install.go index 9c397f9d36..05598347c1 100644 --- a/discovery/install/install.go +++ b/discovery/install/install.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/ionos/ionos.go b/discovery/ionos/ionos.go index c74013d109..93d57654e8 100644 --- a/discovery/ionos/ionos.go +++ b/discovery/ionos/ionos.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/ionos/metrics.go b/discovery/ionos/metrics.go index e79bded695..7fc78fdfa5 100644 --- a/discovery/ionos/metrics.go +++ b/discovery/ionos/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/ionos/server.go b/discovery/ionos/server.go index 81bb497277..bd351625db 100644 --- a/discovery/ionos/server.go +++ b/discovery/ionos/server.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/ionos/server_test.go b/discovery/ionos/server_test.go index 30f358e325..28fd285f67 100644 --- a/discovery/ionos/server_test.go +++ b/discovery/ionos/server_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/kubernetes/endpoints.go b/discovery/kubernetes/endpoints.go index 21c401da2c..4edcf9d4fa 100644 --- a/discovery/kubernetes/endpoints.go +++ b/discovery/kubernetes/endpoints.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/kubernetes/endpoints_test.go b/discovery/kubernetes/endpoints_test.go index aa0e432bfd..0ac472324d 100644 --- a/discovery/kubernetes/endpoints_test.go +++ b/discovery/kubernetes/endpoints_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/kubernetes/endpointslice.go b/discovery/kubernetes/endpointslice.go index 85b579438f..a6cfb0706a 100644 --- a/discovery/kubernetes/endpointslice.go +++ b/discovery/kubernetes/endpointslice.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/kubernetes/endpointslice_test.go b/discovery/kubernetes/endpointslice_test.go index cfd6be709e..b4dc0c36ce 100644 --- a/discovery/kubernetes/endpointslice_test.go +++ b/discovery/kubernetes/endpointslice_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/kubernetes/ingress.go b/discovery/kubernetes/ingress.go index 551453e513..985cc8f138 100644 --- a/discovery/kubernetes/ingress.go +++ b/discovery/kubernetes/ingress.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/kubernetes/ingress_test.go b/discovery/kubernetes/ingress_test.go index 76c9ff9036..15fa28002a 100644 --- a/discovery/kubernetes/ingress_test.go +++ b/discovery/kubernetes/ingress_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/kubernetes/kubernetes.go b/discovery/kubernetes/kubernetes.go index 1a6f965ecd..678f287ef5 100644 --- a/discovery/kubernetes/kubernetes.go +++ b/discovery/kubernetes/kubernetes.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/kubernetes/kubernetes_test.go b/discovery/kubernetes/kubernetes_test.go index f8edec23cb..a68a7c9a43 100644 --- a/discovery/kubernetes/kubernetes_test.go +++ b/discovery/kubernetes/kubernetes_test.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/kubernetes/metrics.go b/discovery/kubernetes/metrics.go index ba3cb1d32a..cdf158a032 100644 --- a/discovery/kubernetes/metrics.go +++ b/discovery/kubernetes/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/kubernetes/node.go b/discovery/kubernetes/node.go index 131cdcc9e7..cbc69dd0ca 100644 --- a/discovery/kubernetes/node.go +++ b/discovery/kubernetes/node.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/kubernetes/node_test.go b/discovery/kubernetes/node_test.go index bc17efdc01..9e56b95bb9 100644 --- a/discovery/kubernetes/node_test.go +++ b/discovery/kubernetes/node_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/kubernetes/pod.go b/discovery/kubernetes/pod.go index 03089e39d4..1fed78b3a7 100644 --- a/discovery/kubernetes/pod.go +++ b/discovery/kubernetes/pod.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/kubernetes/pod_test.go b/discovery/kubernetes/pod_test.go index 2cf336774a..db5db546d0 100644 --- a/discovery/kubernetes/pod_test.go +++ b/discovery/kubernetes/pod_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/kubernetes/service.go b/discovery/kubernetes/service.go index d676490d6c..ac2d42fc7c 100644 --- a/discovery/kubernetes/service.go +++ b/discovery/kubernetes/service.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/kubernetes/service_test.go b/discovery/kubernetes/service_test.go index 43c2b7922d..56a785d9c2 100644 --- a/discovery/kubernetes/service_test.go +++ b/discovery/kubernetes/service_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/linode/linode.go b/discovery/linode/linode.go index 2dc4d5f796..a5f05600c1 100644 --- a/discovery/linode/linode.go +++ b/discovery/linode/linode.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/linode/linode_test.go b/discovery/linode/linode_test.go index 533bc0fb62..d795d29698 100644 --- a/discovery/linode/linode_test.go +++ b/discovery/linode/linode_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/linode/metrics.go b/discovery/linode/metrics.go index 8f81389226..5bc805a60e 100644 --- a/discovery/linode/metrics.go +++ b/discovery/linode/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/linode/mock_test.go b/discovery/linode/mock_test.go index 50f0572ecd..b8094ec211 100644 --- a/discovery/linode/mock_test.go +++ b/discovery/linode/mock_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/manager.go b/discovery/manager.go index 431050aa0b..3f2b2db652 100644 --- a/discovery/manager.go +++ b/discovery/manager.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/manager_test.go b/discovery/manager_test.go index 5d34cb7ac0..162730d9aa 100644 --- a/discovery/manager_test.go +++ b/discovery/manager_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/marathon/marathon.go b/discovery/marathon/marathon.go index 438b8915df..878d404373 100644 --- a/discovery/marathon/marathon.go +++ b/discovery/marathon/marathon.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/marathon/marathon_test.go b/discovery/marathon/marathon_test.go index 53f7d3a1f9..71c7d73d7e 100644 --- a/discovery/marathon/marathon_test.go +++ b/discovery/marathon/marathon_test.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/marathon/metrics.go b/discovery/marathon/metrics.go index 40e2ade558..3d3d57d9ae 100644 --- a/discovery/marathon/metrics.go +++ b/discovery/marathon/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/metrics.go b/discovery/metrics.go index 356be1ddcb..2a3734fb2d 100644 --- a/discovery/metrics.go +++ b/discovery/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/metrics_k8s_client.go b/discovery/metrics_k8s_client.go index 19dfd4e247..3642eac568 100644 --- a/discovery/metrics_k8s_client.go +++ b/discovery/metrics_k8s_client.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/metrics_refresh.go b/discovery/metrics_refresh.go index 9f3eb27b49..11092d9f96 100644 --- a/discovery/metrics_refresh.go +++ b/discovery/metrics_refresh.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/moby/docker.go b/discovery/moby/docker.go index ec1187278b..aa1cd2eb42 100644 --- a/discovery/moby/docker.go +++ b/discovery/moby/docker.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/moby/docker_test.go b/discovery/moby/docker_test.go index 88c832db1b..effdf90b36 100644 --- a/discovery/moby/docker_test.go +++ b/discovery/moby/docker_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/moby/dockerswarm.go b/discovery/moby/dockerswarm.go index 2761e891b5..5cb12279d8 100644 --- a/discovery/moby/dockerswarm.go +++ b/discovery/moby/dockerswarm.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/moby/metrics_docker.go b/discovery/moby/metrics_docker.go index 716f52b60a..8c2518a75e 100644 --- a/discovery/moby/metrics_docker.go +++ b/discovery/moby/metrics_docker.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/moby/metrics_dockerswarm.go b/discovery/moby/metrics_dockerswarm.go index 17dd30d1b3..e4682b032a 100644 --- a/discovery/moby/metrics_dockerswarm.go +++ b/discovery/moby/metrics_dockerswarm.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/moby/mock_test.go b/discovery/moby/mock_test.go index 2450ca4436..e43319494d 100644 --- a/discovery/moby/mock_test.go +++ b/discovery/moby/mock_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/moby/network.go b/discovery/moby/network.go index ea1ca66bc7..02db2b8a12 100644 --- a/discovery/moby/network.go +++ b/discovery/moby/network.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/moby/nodes.go b/discovery/moby/nodes.go index a11afeee25..76e090c803 100644 --- a/discovery/moby/nodes.go +++ b/discovery/moby/nodes.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/moby/nodes_test.go b/discovery/moby/nodes_test.go index c65b9411ed..1f97016297 100644 --- a/discovery/moby/nodes_test.go +++ b/discovery/moby/nodes_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/moby/services.go b/discovery/moby/services.go index 0698c01e6a..558d544e25 100644 --- a/discovery/moby/services.go +++ b/discovery/moby/services.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/moby/services_test.go b/discovery/moby/services_test.go index 95702ced9b..eb5c75c71e 100644 --- a/discovery/moby/services_test.go +++ b/discovery/moby/services_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/moby/tasks.go b/discovery/moby/tasks.go index 8a3dbe8101..d4e3678ee5 100644 --- a/discovery/moby/tasks.go +++ b/discovery/moby/tasks.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/moby/tasks_test.go b/discovery/moby/tasks_test.go index 3f38135096..60453990c4 100644 --- a/discovery/moby/tasks_test.go +++ b/discovery/moby/tasks_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/nomad/metrics.go b/discovery/nomad/metrics.go index 9707153d91..0e5dca4723 100644 --- a/discovery/nomad/metrics.go +++ b/discovery/nomad/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/nomad/nomad.go b/discovery/nomad/nomad.go index f2971fb01b..da558f54d9 100644 --- a/discovery/nomad/nomad.go +++ b/discovery/nomad/nomad.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/nomad/nomad_test.go b/discovery/nomad/nomad_test.go index 099a347cbf..3a4963e24b 100644 --- a/discovery/nomad/nomad_test.go +++ b/discovery/nomad/nomad_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/openstack/hypervisor.go b/discovery/openstack/hypervisor.go index e7a6362052..141b77c706 100644 --- a/discovery/openstack/hypervisor.go +++ b/discovery/openstack/hypervisor.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/openstack/hypervisor_test.go b/discovery/openstack/hypervisor_test.go index e4a97f32cf..afba84af2d 100644 --- a/discovery/openstack/hypervisor_test.go +++ b/discovery/openstack/hypervisor_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/openstack/instance.go b/discovery/openstack/instance.go index 58bf154555..2a6a777e9a 100644 --- a/discovery/openstack/instance.go +++ b/discovery/openstack/instance.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/openstack/instance_test.go b/discovery/openstack/instance_test.go index 0933b57067..aa202cddff 100644 --- a/discovery/openstack/instance_test.go +++ b/discovery/openstack/instance_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/openstack/loadbalancer.go b/discovery/openstack/loadbalancer.go index 254b713cdd..3b2def0d6a 100644 --- a/discovery/openstack/loadbalancer.go +++ b/discovery/openstack/loadbalancer.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/openstack/loadbalancer_test.go b/discovery/openstack/loadbalancer_test.go index eee21b9831..68be323a5a 100644 --- a/discovery/openstack/loadbalancer_test.go +++ b/discovery/openstack/loadbalancer_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/openstack/metrics.go b/discovery/openstack/metrics.go index 664f5ea6bc..01e7ab3add 100644 --- a/discovery/openstack/metrics.go +++ b/discovery/openstack/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/openstack/mock_test.go b/discovery/openstack/mock_test.go index 34e09c710f..c44dadfbc0 100644 --- a/discovery/openstack/mock_test.go +++ b/discovery/openstack/mock_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/openstack/openstack.go b/discovery/openstack/openstack.go index 61dff847cf..ce365e6cd0 100644 --- a/discovery/openstack/openstack.go +++ b/discovery/openstack/openstack.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/ovhcloud/dedicated_server.go b/discovery/ovhcloud/dedicated_server.go index 2035e92c91..e892607c34 100644 --- a/discovery/ovhcloud/dedicated_server.go +++ b/discovery/ovhcloud/dedicated_server.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/ovhcloud/dedicated_server_test.go b/discovery/ovhcloud/dedicated_server_test.go index 686fa7ef3f..84fa2c4c12 100644 --- a/discovery/ovhcloud/dedicated_server_test.go +++ b/discovery/ovhcloud/dedicated_server_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/ovhcloud/metrics.go b/discovery/ovhcloud/metrics.go index 18492c0ab4..dbcfe130e9 100644 --- a/discovery/ovhcloud/metrics.go +++ b/discovery/ovhcloud/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/ovhcloud/ovhcloud.go b/discovery/ovhcloud/ovhcloud.go index df150b8ce4..863fcfeaf9 100644 --- a/discovery/ovhcloud/ovhcloud.go +++ b/discovery/ovhcloud/ovhcloud.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/ovhcloud/ovhcloud_test.go b/discovery/ovhcloud/ovhcloud_test.go index 8f2272b746..acb1c43fad 100644 --- a/discovery/ovhcloud/ovhcloud_test.go +++ b/discovery/ovhcloud/ovhcloud_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/ovhcloud/vps.go b/discovery/ovhcloud/vps.go index 4e71a877bc..4023c4ff49 100644 --- a/discovery/ovhcloud/vps.go +++ b/discovery/ovhcloud/vps.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/ovhcloud/vps_test.go b/discovery/ovhcloud/vps_test.go index 051d52e85e..d997f2bb0e 100644 --- a/discovery/ovhcloud/vps_test.go +++ b/discovery/ovhcloud/vps_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/puppetdb/metrics.go b/discovery/puppetdb/metrics.go index 83e7975ed5..5a8e9736c2 100644 --- a/discovery/puppetdb/metrics.go +++ b/discovery/puppetdb/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/puppetdb/puppetdb.go b/discovery/puppetdb/puppetdb.go index db5fc2e2fb..52a1cf73c6 100644 --- a/discovery/puppetdb/puppetdb.go +++ b/discovery/puppetdb/puppetdb.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/puppetdb/puppetdb_test.go b/discovery/puppetdb/puppetdb_test.go index a96310553b..b12835b47c 100644 --- a/discovery/puppetdb/puppetdb_test.go +++ b/discovery/puppetdb/puppetdb_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/puppetdb/resources.go b/discovery/puppetdb/resources.go index 487c471c1b..09aa43a776 100644 --- a/discovery/puppetdb/resources.go +++ b/discovery/puppetdb/resources.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/refresh/refresh.go b/discovery/refresh/refresh.go index 0613fd6c6d..3e766d1c84 100644 --- a/discovery/refresh/refresh.go +++ b/discovery/refresh/refresh.go @@ -1,4 +1,4 @@ -// Copyright 2019 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/refresh/refresh_test.go b/discovery/refresh/refresh_test.go index 385c256932..e227d0abc9 100644 --- a/discovery/refresh/refresh_test.go +++ b/discovery/refresh/refresh_test.go @@ -1,4 +1,4 @@ -// Copyright 2019 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/registry.go b/discovery/registry.go index b3b82cdeec..04145e72e4 100644 --- a/discovery/registry.go +++ b/discovery/registry.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/scaleway/baremetal.go b/discovery/scaleway/baremetal.go index 06f13532df..347ed40bab 100644 --- a/discovery/scaleway/baremetal.go +++ b/discovery/scaleway/baremetal.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/scaleway/instance.go b/discovery/scaleway/instance.go index 162a75e407..c0ed5853b3 100644 --- a/discovery/scaleway/instance.go +++ b/discovery/scaleway/instance.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/scaleway/instance_test.go b/discovery/scaleway/instance_test.go index b67b858ae0..2d0f7a67ff 100644 --- a/discovery/scaleway/instance_test.go +++ b/discovery/scaleway/instance_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/scaleway/metrics.go b/discovery/scaleway/metrics.go index d7a4e78556..5871f7e31b 100644 --- a/discovery/scaleway/metrics.go +++ b/discovery/scaleway/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/scaleway/scaleway.go b/discovery/scaleway/scaleway.go index 16a9835848..f8ef6c706c 100644 --- a/discovery/scaleway/scaleway.go +++ b/discovery/scaleway/scaleway.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/stackit/metrics.go b/discovery/stackit/metrics.go index 5ba565eb9c..a44d0728e3 100644 --- a/discovery/stackit/metrics.go +++ b/discovery/stackit/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/stackit/mock_test.go b/discovery/stackit/mock_test.go index 59641ce2bc..d1366508a3 100644 --- a/discovery/stackit/mock_test.go +++ b/discovery/stackit/mock_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/stackit/server.go b/discovery/stackit/server.go index 1be834a689..c553d9b3f3 100644 --- a/discovery/stackit/server.go +++ b/discovery/stackit/server.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/stackit/server_test.go b/discovery/stackit/server_test.go index 117fbdd66d..afb9460851 100644 --- a/discovery/stackit/server_test.go +++ b/discovery/stackit/server_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/stackit/stackit.go b/discovery/stackit/stackit.go index 1f9bd22469..bae76c8897 100644 --- a/discovery/stackit/stackit.go +++ b/discovery/stackit/stackit.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/stackit/types.go b/discovery/stackit/types.go index 84b7d0266c..575acbbe56 100644 --- a/discovery/stackit/types.go +++ b/discovery/stackit/types.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/targetgroup/targetgroup.go b/discovery/targetgroup/targetgroup.go index 5c3b67d6e8..4b1670ae1b 100644 --- a/discovery/targetgroup/targetgroup.go +++ b/discovery/targetgroup/targetgroup.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/targetgroup/targetgroup_test.go b/discovery/targetgroup/targetgroup_test.go index d68e29644a..1c1583d33d 100644 --- a/discovery/targetgroup/targetgroup_test.go +++ b/discovery/targetgroup/targetgroup_test.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/triton/metrics.go b/discovery/triton/metrics.go index ea98eae452..2d4193ee1f 100644 --- a/discovery/triton/metrics.go +++ b/discovery/triton/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/triton/triton.go b/discovery/triton/triton.go index 209e1c4deb..b21beef9d0 100644 --- a/discovery/triton/triton.go +++ b/discovery/triton/triton.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/triton/triton_test.go b/discovery/triton/triton_test.go index 6cbc52d020..f2b6398bc8 100644 --- a/discovery/triton/triton_test.go +++ b/discovery/triton/triton_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/util.go b/discovery/util.go index 4e2a088518..064a5312a7 100644 --- a/discovery/util.go +++ b/discovery/util.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/uyuni/metrics.go b/discovery/uyuni/metrics.go index 85ea9d73d2..e1a9fd4db0 100644 --- a/discovery/uyuni/metrics.go +++ b/discovery/uyuni/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/uyuni/uyuni.go b/discovery/uyuni/uyuni.go index 0320a0490d..6f29fa130c 100644 --- a/discovery/uyuni/uyuni.go +++ b/discovery/uyuni/uyuni.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/uyuni/uyuni_test.go b/discovery/uyuni/uyuni_test.go index 4a73fa9ada..71f1c5afb1 100644 --- a/discovery/uyuni/uyuni_test.go +++ b/discovery/uyuni/uyuni_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/vultr/metrics.go b/discovery/vultr/metrics.go index 65b15eae2f..823fe4bdc0 100644 --- a/discovery/vultr/metrics.go +++ b/discovery/vultr/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/vultr/mock_test.go b/discovery/vultr/mock_test.go index bfc24d06fb..03e5952dd0 100644 --- a/discovery/vultr/mock_test.go +++ b/discovery/vultr/mock_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/vultr/vultr.go b/discovery/vultr/vultr.go index 27f3e11064..b2f6bde52a 100644 --- a/discovery/vultr/vultr.go +++ b/discovery/vultr/vultr.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/vultr/vultr_test.go b/discovery/vultr/vultr_test.go index 8975cfb455..d116c419b7 100644 --- a/discovery/vultr/vultr_test.go +++ b/discovery/vultr/vultr_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/xds/client.go b/discovery/xds/client.go index a27e060fbd..59485ffcba 100644 --- a/discovery/xds/client.go +++ b/discovery/xds/client.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/xds/client_test.go b/discovery/xds/client_test.go index 7e3cd85b6c..e663902161 100644 --- a/discovery/xds/client_test.go +++ b/discovery/xds/client_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/xds/kuma.go b/discovery/xds/kuma.go index 82ca8f2c9a..34bebe7765 100644 --- a/discovery/xds/kuma.go +++ b/discovery/xds/kuma.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/xds/kuma_mads.pb.go b/discovery/xds/kuma_mads.pb.go index 210a5343a4..d234241453 100644 --- a/discovery/xds/kuma_mads.pb.go +++ b/discovery/xds/kuma_mads.pb.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/xds/kuma_test.go b/discovery/xds/kuma_test.go index 3f8a769fe1..6620f9fac6 100644 --- a/discovery/xds/kuma_test.go +++ b/discovery/xds/kuma_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/xds/metrics.go b/discovery/xds/metrics.go index bdc9598f2c..7e5be89bd3 100644 --- a/discovery/xds/metrics.go +++ b/discovery/xds/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/xds/xds.go b/discovery/xds/xds.go index db55a2b6f7..29da7b7c89 100644 --- a/discovery/xds/xds.go +++ b/discovery/xds/xds.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/xds/xds_test.go b/discovery/xds/xds_test.go index 5a2e9d737b..c11cdd2c05 100644 --- a/discovery/xds/xds_test.go +++ b/discovery/xds/xds_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/zookeeper/zookeeper.go b/discovery/zookeeper/zookeeper.go index d5239324cb..6ac9b25cd6 100644 --- a/discovery/zookeeper/zookeeper.go +++ b/discovery/zookeeper/zookeeper.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/discovery/zookeeper/zookeeper_test.go b/discovery/zookeeper/zookeeper_test.go index de0d1f4924..ae2d23e607 100644 --- a/discovery/zookeeper/zookeeper_test.go +++ b/discovery/zookeeper/zookeeper_test.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/documentation/examples/Makefile b/documentation/examples/Makefile index 4085155f80..8ed308899b 100644 --- a/documentation/examples/Makefile +++ b/documentation/examples/Makefile @@ -1,4 +1,4 @@ -# Copyright 2022 The Prometheus Authors +# Copyright The Prometheus Authors # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/documentation/examples/custom-sd/adapter-usage/main.go b/documentation/examples/custom-sd/adapter-usage/main.go index e7f7a69b5d..c0ce03cd0f 100644 --- a/documentation/examples/custom-sd/adapter-usage/main.go +++ b/documentation/examples/custom-sd/adapter-usage/main.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/documentation/examples/custom-sd/adapter/adapter.go b/documentation/examples/custom-sd/adapter/adapter.go index b242c4eaa0..83f0e80c49 100644 --- a/documentation/examples/custom-sd/adapter/adapter.go +++ b/documentation/examples/custom-sd/adapter/adapter.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/documentation/examples/custom-sd/adapter/adapter_test.go b/documentation/examples/custom-sd/adapter/adapter_test.go index 329ca8c29a..0ec69348d8 100644 --- a/documentation/examples/custom-sd/adapter/adapter_test.go +++ b/documentation/examples/custom-sd/adapter/adapter_test.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/documentation/examples/remote_storage/Makefile b/documentation/examples/remote_storage/Makefile index e0dfd4d647..a6c8e48c45 100644 --- a/documentation/examples/remote_storage/Makefile +++ b/documentation/examples/remote_storage/Makefile @@ -1,4 +1,4 @@ -# Copyright 2022 The Prometheus Authors +# Copyright The Prometheus Authors # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/documentation/examples/remote_storage/example_write_adapter/server.go b/documentation/examples/remote_storage/example_write_adapter/server.go index 21267c80e5..c2ec7184e3 100644 --- a/documentation/examples/remote_storage/example_write_adapter/server.go +++ b/documentation/examples/remote_storage/example_write_adapter/server.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/documentation/examples/remote_storage/remote_storage_adapter/graphite/client.go b/documentation/examples/remote_storage/remote_storage_adapter/graphite/client.go index d04355a712..2e78354bd2 100644 --- a/documentation/examples/remote_storage/remote_storage_adapter/graphite/client.go +++ b/documentation/examples/remote_storage/remote_storage_adapter/graphite/client.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/documentation/examples/remote_storage/remote_storage_adapter/graphite/client_test.go b/documentation/examples/remote_storage/remote_storage_adapter/graphite/client_test.go index 535027e076..8a96413443 100644 --- a/documentation/examples/remote_storage/remote_storage_adapter/graphite/client_test.go +++ b/documentation/examples/remote_storage/remote_storage_adapter/graphite/client_test.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/documentation/examples/remote_storage/remote_storage_adapter/graphite/escape.go b/documentation/examples/remote_storage/remote_storage_adapter/graphite/escape.go index 3793973b7b..e7357c001a 100644 --- a/documentation/examples/remote_storage/remote_storage_adapter/graphite/escape.go +++ b/documentation/examples/remote_storage/remote_storage_adapter/graphite/escape.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/documentation/examples/remote_storage/remote_storage_adapter/influxdb/client.go b/documentation/examples/remote_storage/remote_storage_adapter/influxdb/client.go index ffd81802c1..ddf78283e7 100644 --- a/documentation/examples/remote_storage/remote_storage_adapter/influxdb/client.go +++ b/documentation/examples/remote_storage/remote_storage_adapter/influxdb/client.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/documentation/examples/remote_storage/remote_storage_adapter/influxdb/client_test.go b/documentation/examples/remote_storage/remote_storage_adapter/influxdb/client_test.go index f78d4db794..faf48045cb 100644 --- a/documentation/examples/remote_storage/remote_storage_adapter/influxdb/client_test.go +++ b/documentation/examples/remote_storage/remote_storage_adapter/influxdb/client_test.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/documentation/examples/remote_storage/remote_storage_adapter/main.go b/documentation/examples/remote_storage/remote_storage_adapter/main.go index ffcbb5385a..ac891cca50 100644 --- a/documentation/examples/remote_storage/remote_storage_adapter/main.go +++ b/documentation/examples/remote_storage/remote_storage_adapter/main.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/documentation/examples/remote_storage/remote_storage_adapter/opentsdb/client.go b/documentation/examples/remote_storage/remote_storage_adapter/opentsdb/client.go index ffc6c58b88..e2f64be5d8 100644 --- a/documentation/examples/remote_storage/remote_storage_adapter/opentsdb/client.go +++ b/documentation/examples/remote_storage/remote_storage_adapter/opentsdb/client.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/documentation/examples/remote_storage/remote_storage_adapter/opentsdb/client_test.go b/documentation/examples/remote_storage/remote_storage_adapter/opentsdb/client_test.go index bc9703c88c..fa76cc334d 100644 --- a/documentation/examples/remote_storage/remote_storage_adapter/opentsdb/client_test.go +++ b/documentation/examples/remote_storage/remote_storage_adapter/opentsdb/client_test.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/documentation/examples/remote_storage/remote_storage_adapter/opentsdb/tagvalue.go b/documentation/examples/remote_storage/remote_storage_adapter/opentsdb/tagvalue.go index c40f829a56..f822e37808 100644 --- a/documentation/examples/remote_storage/remote_storage_adapter/opentsdb/tagvalue.go +++ b/documentation/examples/remote_storage/remote_storage_adapter/opentsdb/tagvalue.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/documentation/examples/remote_storage/remote_storage_adapter/opentsdb/tagvalue_test.go b/documentation/examples/remote_storage/remote_storage_adapter/opentsdb/tagvalue_test.go index 5adedb3248..071fd5a85a 100644 --- a/documentation/examples/remote_storage/remote_storage_adapter/opentsdb/tagvalue_test.go +++ b/documentation/examples/remote_storage/remote_storage_adapter/opentsdb/tagvalue_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/internal/tools/tools.go b/internal/tools/tools.go index e57e37186f..22e79a56f7 100644 --- a/internal/tools/tools.go +++ b/internal/tools/tools.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/exemplar/exemplar.go b/model/exemplar/exemplar.go index d03940f1b2..5db7c46a68 100644 --- a/model/exemplar/exemplar.go +++ b/model/exemplar/exemplar.go @@ -1,4 +1,4 @@ -// Copyright 2019 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/histogram/float_histogram.go b/model/histogram/float_histogram.go index 0acf9cb28f..75021d2c62 100644 --- a/model/histogram/float_histogram.go +++ b/model/histogram/float_histogram.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/histogram/float_histogram_test.go b/model/histogram/float_histogram_test.go index e79f5a0f49..5c29544c8f 100644 --- a/model/histogram/float_histogram_test.go +++ b/model/histogram/float_histogram_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/histogram/generic.go b/model/histogram/generic.go index 649db769c7..61fc5067f2 100644 --- a/model/histogram/generic.go +++ b/model/histogram/generic.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/histogram/generic_test.go b/model/histogram/generic_test.go index 54324beaff..525c731571 100644 --- a/model/histogram/generic_test.go +++ b/model/histogram/generic_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/histogram/histogram.go b/model/histogram/histogram.go index aa9f696be6..5be60174fc 100644 --- a/model/histogram/histogram.go +++ b/model/histogram/histogram.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/histogram/histogram_test.go b/model/histogram/histogram_test.go index ae17f9be37..a2b4c7c0a8 100644 --- a/model/histogram/histogram_test.go +++ b/model/histogram/histogram_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/histogram/test_utils.go b/model/histogram/test_utils.go index a4871ada31..c86becdcf9 100644 --- a/model/histogram/test_utils.go +++ b/model/histogram/test_utils.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/labels/labels_common.go b/model/labels/labels_common.go index ab82ae6a8f..571064d6c4 100644 --- a/model/labels/labels_common.go +++ b/model/labels/labels_common.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/labels/labels_dedupelabels.go b/model/labels/labels_dedupelabels.go index 4518482c96..ae751fe34a 100644 --- a/model/labels/labels_dedupelabels.go +++ b/model/labels/labels_dedupelabels.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/labels/labels_dedupelabels_test.go b/model/labels/labels_dedupelabels_test.go index 229bb45a8e..b05d18e4cc 100644 --- a/model/labels/labels_dedupelabels_test.go +++ b/model/labels/labels_dedupelabels_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/labels/labels_slicelabels.go b/model/labels/labels_slicelabels.go index 71dbcd0044..2a9056e68f 100644 --- a/model/labels/labels_slicelabels.go +++ b/model/labels/labels_slicelabels.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/labels/labels_slicelabels_test.go b/model/labels/labels_slicelabels_test.go index 0e55730082..700e88fd13 100644 --- a/model/labels/labels_slicelabels_test.go +++ b/model/labels/labels_slicelabels_test.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/labels/labels_stringlabels.go b/model/labels/labels_stringlabels.go index 1460e7db93..c9be42bf74 100644 --- a/model/labels/labels_stringlabels.go +++ b/model/labels/labels_stringlabels.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/labels/labels_stringlabels_test.go b/model/labels/labels_stringlabels_test.go index 0704a2ff36..45b5a19f40 100644 --- a/model/labels/labels_stringlabels_test.go +++ b/model/labels/labels_stringlabels_test.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/labels/labels_test.go b/model/labels/labels_test.go index 4be2eeb0b7..67614daf92 100644 --- a/model/labels/labels_test.go +++ b/model/labels/labels_test.go @@ -1,4 +1,4 @@ -// Copyright 2019 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/labels/matcher.go b/model/labels/matcher.go index a09c838e3f..6d22b1bf64 100644 --- a/model/labels/matcher.go +++ b/model/labels/matcher.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/labels/matcher_test.go b/model/labels/matcher_test.go index 214bb37eff..11ed6dd29c 100644 --- a/model/labels/matcher_test.go +++ b/model/labels/matcher_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/labels/regexp.go b/model/labels/regexp.go index 47b50e703a..5123bbc7dd 100644 --- a/model/labels/regexp.go +++ b/model/labels/regexp.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/labels/regexp_test.go b/model/labels/regexp_test.go index 94ef14028b..2fb5e806f0 100644 --- a/model/labels/regexp_test.go +++ b/model/labels/regexp_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/labels/sharding.go b/model/labels/sharding.go index ed05da675f..6394d0a01e 100644 --- a/model/labels/sharding.go +++ b/model/labels/sharding.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/labels/sharding_dedupelabels.go b/model/labels/sharding_dedupelabels.go index 5bf41b05d6..11342146a8 100644 --- a/model/labels/sharding_dedupelabels.go +++ b/model/labels/sharding_dedupelabels.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/labels/sharding_stringlabels.go b/model/labels/sharding_stringlabels.go index 4dcbaa21d1..776a58bb5e 100644 --- a/model/labels/sharding_stringlabels.go +++ b/model/labels/sharding_stringlabels.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/labels/sharding_test.go b/model/labels/sharding_test.go index 78e3047509..8d094d780e 100644 --- a/model/labels/sharding_test.go +++ b/model/labels/sharding_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/labels/test_utils.go b/model/labels/test_utils.go index 66020799e9..21d1d71296 100644 --- a/model/labels/test_utils.go +++ b/model/labels/test_utils.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/relabel/relabel.go b/model/relabel/relabel.go index f7085037fd..6087253d11 100644 --- a/model/relabel/relabel.go +++ b/model/relabel/relabel.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/relabel/relabel_test.go b/model/relabel/relabel_test.go index 7ce3c86549..a3eb925995 100644 --- a/model/relabel/relabel_test.go +++ b/model/relabel/relabel_test.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/rulefmt/rulefmt.go b/model/rulefmt/rulefmt.go index 83203ba769..70541eb0d3 100644 --- a/model/rulefmt/rulefmt.go +++ b/model/rulefmt/rulefmt.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/rulefmt/rulefmt_test.go b/model/rulefmt/rulefmt_test.go index 45fc0f8227..ec16052bc0 100644 --- a/model/rulefmt/rulefmt_test.go +++ b/model/rulefmt/rulefmt_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/textparse/benchmark_test.go b/model/textparse/benchmark_test.go index 510da72c6c..cf63dad260 100644 --- a/model/textparse/benchmark_test.go +++ b/model/textparse/benchmark_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/textparse/interface.go b/model/textparse/interface.go index bbc52290ad..08d9a080a7 100644 --- a/model/textparse/interface.go +++ b/model/textparse/interface.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/textparse/interface_test.go b/model/textparse/interface_test.go index 7030544793..d0b6b293a9 100644 --- a/model/textparse/interface_test.go +++ b/model/textparse/interface_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/textparse/nhcbparse.go b/model/textparse/nhcbparse.go index 79441e1f75..13ce3ca988 100644 --- a/model/textparse/nhcbparse.go +++ b/model/textparse/nhcbparse.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/textparse/nhcbparse_test.go b/model/textparse/nhcbparse_test.go index 7e2f75ae63..9a27c16ea8 100644 --- a/model/textparse/nhcbparse_test.go +++ b/model/textparse/nhcbparse_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/textparse/openmetricsparse.go b/model/textparse/openmetricsparse.go index 207ceb4573..724c340546 100644 --- a/model/textparse/openmetricsparse.go +++ b/model/textparse/openmetricsparse.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/textparse/openmetricsparse_test.go b/model/textparse/openmetricsparse_test.go index f0bbab309e..8f6393cd53 100644 --- a/model/textparse/openmetricsparse_test.go +++ b/model/textparse/openmetricsparse_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/textparse/promparse.go b/model/textparse/promparse.go index 4a75bcd8d8..ada1b29013 100644 --- a/model/textparse/promparse.go +++ b/model/textparse/promparse.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/textparse/promparse_test.go b/model/textparse/promparse_test.go index 4e9406808f..a398067efe 100644 --- a/model/textparse/promparse_test.go +++ b/model/textparse/promparse_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/textparse/protobufparse.go b/model/textparse/protobufparse.go index a48aa4af69..637ae7b747 100644 --- a/model/textparse/protobufparse.go +++ b/model/textparse/protobufparse.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/textparse/protobufparse_test.go b/model/textparse/protobufparse_test.go index 6a16258f00..3a4f4abdda 100644 --- a/model/textparse/protobufparse_test.go +++ b/model/textparse/protobufparse_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/timestamp/timestamp.go b/model/timestamp/timestamp.go index 93458f644d..0f27314e57 100644 --- a/model/timestamp/timestamp.go +++ b/model/timestamp/timestamp.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/model/value/value.go b/model/value/value.go index 655ce852d5..fe8f50e002 100644 --- a/model/value/value.go +++ b/model/value/value.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/notifier/alert.go b/notifier/alert.go index 83e7a97fe0..5e6df2097b 100644 --- a/notifier/alert.go +++ b/notifier/alert.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/notifier/alertmanager.go b/notifier/alertmanager.go index 8bcf7954ec..a9c1e8669f 100644 --- a/notifier/alertmanager.go +++ b/notifier/alertmanager.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/notifier/alertmanager_test.go b/notifier/alertmanager_test.go index ea27f37be7..668271d267 100644 --- a/notifier/alertmanager_test.go +++ b/notifier/alertmanager_test.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/notifier/alertmanagerset.go b/notifier/alertmanagerset.go index b6d1b8c4aa..eca798e6f5 100644 --- a/notifier/alertmanagerset.go +++ b/notifier/alertmanagerset.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/notifier/manager.go b/notifier/manager.go index e37f59a250..a835cccffd 100644 --- a/notifier/manager.go +++ b/notifier/manager.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/notifier/manager_test.go b/notifier/manager_test.go index 64de020338..21ab0b28a1 100644 --- a/notifier/manager_test.go +++ b/notifier/manager_test.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/notifier/metric.go b/notifier/metric.go index 3f4abdda93..d10a02614c 100644 --- a/notifier/metric.go +++ b/notifier/metric.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/notifier/util.go b/notifier/util.go index c21c33a57b..cf9a53eda0 100644 --- a/notifier/util.go +++ b/notifier/util.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/notifier/util_test.go b/notifier/util_test.go index 2c1c7d241b..a9f0509ba1 100644 --- a/notifier/util_test.go +++ b/notifier/util_test.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/plugins/generate.go b/plugins/generate.go index 2c4ba410f2..c0e58ec83b 100644 --- a/plugins/generate.go +++ b/plugins/generate.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -44,7 +44,7 @@ func main() { log.Fatal(err) } defer f.Close() - _, err = f.WriteString(`// Copyright 2022 The Prometheus Authors + _, err = f.WriteString(`// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/plugins/minimum.go b/plugins/minimum.go index 8541de922f..9797c2dbe2 100644 --- a/plugins/minimum.go +++ b/plugins/minimum.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/plugins/plugins.go b/plugins/plugins.go index 90b1407281..686fdfb325 100644 --- a/plugins/plugins.go +++ b/plugins/plugins.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/prompb/codec.go b/prompb/codec.go index 6cc0cdc861..9eb668a8e7 100644 --- a/prompb/codec.go +++ b/prompb/codec.go @@ -1,4 +1,4 @@ -// Copyright 2024 Prometheus Team +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/prompb/custom.go b/prompb/custom.go index f73ddd446b..65f856a755 100644 --- a/prompb/custom.go +++ b/prompb/custom.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/prompb/io/prometheus/client/decoder.go b/prompb/io/prometheus/client/decoder.go index 6bc9600ab6..de7184c4b5 100644 --- a/prompb/io/prometheus/client/decoder.go +++ b/prompb/io/prometheus/client/decoder.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/prompb/io/prometheus/client/decoder_test.go b/prompb/io/prometheus/client/decoder_test.go index b28fe43db9..0b210c7c0f 100644 --- a/prompb/io/prometheus/client/decoder_test.go +++ b/prompb/io/prometheus/client/decoder_test.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/prompb/io/prometheus/write/v2/codec.go b/prompb/io/prometheus/write/v2/codec.go index 71196edb88..ae4d0f635a 100644 --- a/prompb/io/prometheus/write/v2/codec.go +++ b/prompb/io/prometheus/write/v2/codec.go @@ -1,4 +1,4 @@ -// Copyright 2024 Prometheus Team +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/prompb/io/prometheus/write/v2/custom.go b/prompb/io/prometheus/write/v2/custom.go index 5721aec532..4063cf32ed 100644 --- a/prompb/io/prometheus/write/v2/custom.go +++ b/prompb/io/prometheus/write/v2/custom.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/prompb/io/prometheus/write/v2/custom_test.go b/prompb/io/prometheus/write/v2/custom_test.go index 139cbfb225..30715477cb 100644 --- a/prompb/io/prometheus/write/v2/custom_test.go +++ b/prompb/io/prometheus/write/v2/custom_test.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/prompb/io/prometheus/write/v2/symbols.go b/prompb/io/prometheus/write/v2/symbols.go index 7c7feca239..292801a185 100644 --- a/prompb/io/prometheus/write/v2/symbols.go +++ b/prompb/io/prometheus/write/v2/symbols.go @@ -1,4 +1,4 @@ -// Copyright 2024 Prometheus Team +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/prompb/io/prometheus/write/v2/symbols_test.go b/prompb/io/prometheus/write/v2/symbols_test.go index 7e7c7cb0bd..d0f335665a 100644 --- a/prompb/io/prometheus/write/v2/symbols_test.go +++ b/prompb/io/prometheus/write/v2/symbols_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 Prometheus Team +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/prompb/io/prometheus/write/v2/types_test.go b/prompb/io/prometheus/write/v2/types_test.go index 5b7622fc2f..12528943a1 100644 --- a/prompb/io/prometheus/write/v2/types_test.go +++ b/prompb/io/prometheus/write/v2/types_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 Prometheus Team +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/prompb/rwcommon/codec_test.go b/prompb/rwcommon/codec_test.go index 73a8196fa8..2e0a72eff9 100644 --- a/prompb/rwcommon/codec_test.go +++ b/prompb/rwcommon/codec_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 Prometheus Team +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/bench_test.go b/promql/bench_test.go index 37c8311305..f647b03600 100644 --- a/promql/bench_test.go +++ b/promql/bench_test.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/durations.go b/promql/durations.go index 216dd02725..c660dbf464 100644 --- a/promql/durations.go +++ b/promql/durations.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/durations_test.go b/promql/durations_test.go index 7a5e8f00a4..e9759af0dd 100644 --- a/promql/durations_test.go +++ b/promql/durations_test.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/engine.go b/promql/engine.go index a9f0dd2952..11a7ad22ec 100644 --- a/promql/engine.go +++ b/promql/engine.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/engine_internal_test.go b/promql/engine_internal_test.go index 4c5d532cbc..f040f53e61 100644 --- a/promql/engine_internal_test.go +++ b/promql/engine_internal_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/engine_test.go b/promql/engine_test.go index 208ac4f89d..7b7a67a54b 100644 --- a/promql/engine_test.go +++ b/promql/engine_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/functions.go b/promql/functions.go index f844bf5ada..3f2079aba0 100644 --- a/promql/functions.go +++ b/promql/functions.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/functions_internal_test.go b/promql/functions_internal_test.go index 24d9a44e04..e5cd839459 100644 --- a/promql/functions_internal_test.go +++ b/promql/functions_internal_test.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/functions_test.go b/promql/functions_test.go index 8dd91e7537..2566843092 100644 --- a/promql/functions_test.go +++ b/promql/functions_test.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/fuzz.go b/promql/fuzz.go index a71a63f8eb..f9cc4794a6 100644 --- a/promql/fuzz.go +++ b/promql/fuzz.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/fuzz_test.go b/promql/fuzz_test.go index 4a26798ded..a24da48e63 100644 --- a/promql/fuzz_test.go +++ b/promql/fuzz_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/histogram_stats_iterator.go b/promql/histogram_stats_iterator.go index e58cc7d848..87cc5acfbd 100644 --- a/promql/histogram_stats_iterator.go +++ b/promql/histogram_stats_iterator.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/histogram_stats_iterator_test.go b/promql/histogram_stats_iterator_test.go index 80bfee519d..cfea8a568e 100644 --- a/promql/histogram_stats_iterator_test.go +++ b/promql/histogram_stats_iterator_test.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/info.go b/promql/info.go index d5ffda6af2..ab4250104d 100644 --- a/promql/info.go +++ b/promql/info.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/parser/ast.go b/promql/parser/ast.go index 8a1a094b79..130f9aefb7 100644 --- a/promql/parser/ast.go +++ b/promql/parser/ast.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/parser/functions.go b/promql/parser/functions.go index a471cb3a6d..2f2b1c68e4 100644 --- a/promql/parser/functions.go +++ b/promql/parser/functions.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/parser/lex.go b/promql/parser/lex.go index ad4b685150..b3a82dc0c6 100644 --- a/promql/parser/lex.go +++ b/promql/parser/lex.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/parser/lex_test.go b/promql/parser/lex_test.go index f86f282089..5c915ec74f 100644 --- a/promql/parser/lex_test.go +++ b/promql/parser/lex_test.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/parser/parse.go b/promql/parser/parse.go index bcd511f467..817e0d02d9 100644 --- a/promql/parser/parse.go +++ b/promql/parser/parse.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/parser/parse_test.go b/promql/parser/parse_test.go index 62349efd93..ab5564f0ff 100644 --- a/promql/parser/parse_test.go +++ b/promql/parser/parse_test.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/parser/posrange/posrange.go b/promql/parser/posrange/posrange.go index f883a91bbb..c5cdc4b91b 100644 --- a/promql/parser/posrange/posrange.go +++ b/promql/parser/posrange/posrange.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/parser/prettier.go b/promql/parser/prettier.go index 90fb7a0cf9..a0ab9e1219 100644 --- a/promql/parser/prettier.go +++ b/promql/parser/prettier.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/parser/prettier_test.go b/promql/parser/prettier_test.go index ea9a7a1a26..8ba5134d4a 100644 --- a/promql/parser/prettier_test.go +++ b/promql/parser/prettier_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/parser/printer.go b/promql/parser/printer.go index cc4f1202df..01e2c46c1b 100644 --- a/promql/parser/printer.go +++ b/promql/parser/printer.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/parser/printer_test.go b/promql/parser/printer_test.go index bce4302d83..4499fa7860 100644 --- a/promql/parser/printer_test.go +++ b/promql/parser/printer_test.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/parser/value.go b/promql/parser/value.go index f882f9f0be..3c1c8571dc 100644 --- a/promql/parser/value.go +++ b/promql/parser/value.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/promql_test.go b/promql/promql_test.go index 92d933f1ee..fc13f7e64f 100644 --- a/promql/promql_test.go +++ b/promql/promql_test.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/promqltest/cmd/migrate/main.go b/promql/promqltest/cmd/migrate/main.go index a506f084c5..b570b1dfaa 100644 --- a/promql/promqltest/cmd/migrate/main.go +++ b/promql/promqltest/cmd/migrate/main.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/promqltest/test.go b/promql/promqltest/test.go index 83e47f1915..1c4226b461 100644 --- a/promql/promqltest/test.go +++ b/promql/promqltest/test.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/promqltest/test_migrate.go b/promql/promqltest/test_migrate.go index 0b233e7592..693b773b7d 100644 --- a/promql/promqltest/test_migrate.go +++ b/promql/promqltest/test_migrate.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/promqltest/test_migrate_test.go b/promql/promqltest/test_migrate_test.go index fcf7e9db03..6c9784b56f 100644 --- a/promql/promqltest/test_migrate_test.go +++ b/promql/promqltest/test_migrate_test.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/promqltest/test_test.go b/promql/promqltest/test_test.go index f441d148d6..cbb73a5651 100644 --- a/promql/promqltest/test_test.go +++ b/promql/promqltest/test_test.go @@ -1,4 +1,4 @@ -// Copyright 2019 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/quantile.go b/promql/quantile.go index 78df925c51..c44eb89e68 100644 --- a/promql/quantile.go +++ b/promql/quantile.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/quantile_test.go b/promql/quantile_test.go index a1047d73f4..c97ff7c3c4 100644 --- a/promql/quantile_test.go +++ b/promql/quantile_test.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/query_logger.go b/promql/query_logger.go index 5923223aa0..954f8b1a5b 100644 --- a/promql/query_logger.go +++ b/promql/query_logger.go @@ -1,4 +1,4 @@ -// Copyright 2019 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/query_logger_test.go b/promql/query_logger_test.go index 47a6d1a25d..8c88757bd7 100644 --- a/promql/query_logger_test.go +++ b/promql/query_logger_test.go @@ -1,4 +1,4 @@ -// Copyright 2019 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/value.go b/promql/value.go index b909085b17..02cb021024 100644 --- a/promql/value.go +++ b/promql/value.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/promql/value_test.go b/promql/value_test.go index 0017b41e2c..c7454284ff 100644 --- a/promql/value_test.go +++ b/promql/value_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/rules/alerting.go b/rules/alerting.go index bb0763fbc6..d94113b46b 100644 --- a/rules/alerting.go +++ b/rules/alerting.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/rules/alerting_test.go b/rules/alerting_test.go index b619d56b56..a2c7abcd56 100644 --- a/rules/alerting_test.go +++ b/rules/alerting_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/rules/group.go b/rules/group.go index 47afe6f715..704fd13d85 100644 --- a/rules/group.go +++ b/rules/group.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/rules/group_test.go b/rules/group_test.go index ff1ef3d6c1..a110c78510 100644 --- a/rules/group_test.go +++ b/rules/group_test.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/rules/manager.go b/rules/manager.go index d610c154be..c835a7c6e8 100644 --- a/rules/manager.go +++ b/rules/manager.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/rules/manager_test.go b/rules/manager_test.go index a88be1e5d1..0991e8198a 100644 --- a/rules/manager_test.go +++ b/rules/manager_test.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/rules/origin.go b/rules/origin.go index 695fc5f838..683568c71f 100644 --- a/rules/origin.go +++ b/rules/origin.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/rules/origin_test.go b/rules/origin_test.go index 16f87de716..55ad927fd9 100644 --- a/rules/origin_test.go +++ b/rules/origin_test.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/rules/recording.go b/rules/recording.go index 1bc41b834a..61a27aceb6 100644 --- a/rules/recording.go +++ b/rules/recording.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/rules/recording_test.go b/rules/recording_test.go index 44ef257f8f..1fee5ede72 100644 --- a/rules/recording_test.go +++ b/rules/recording_test.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/rules/rule.go b/rules/rule.go index 33f1755ac5..fc88e22840 100644 --- a/rules/rule.go +++ b/rules/rule.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/schema/labels.go b/schema/labels.go index 05329af7f6..c71e352640 100644 --- a/schema/labels.go +++ b/schema/labels.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/schema/labels_test.go b/schema/labels_test.go index ae1ec9e90b..c2ba576c4a 100644 --- a/schema/labels_test.go +++ b/schema/labels_test.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/scrape/clientprotobuf.go b/scrape/clientprotobuf.go index 6dc22c959f..d84d4bebfc 100644 --- a/scrape/clientprotobuf.go +++ b/scrape/clientprotobuf.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/scrape/metrics.go b/scrape/metrics.go index 634c52fb2d..4662a9fd9e 100644 --- a/scrape/metrics.go +++ b/scrape/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/buffer.go b/storage/buffer.go index bc27948fd0..223c4fa42b 100644 --- a/storage/buffer.go +++ b/storage/buffer.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/buffer_test.go b/storage/buffer_test.go index 259e54d6f7..fc6603d4a5 100644 --- a/storage/buffer_test.go +++ b/storage/buffer_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/errors.go b/storage/errors.go index dd48066db6..4dd61e2523 100644 --- a/storage/errors.go +++ b/storage/errors.go @@ -1,4 +1,4 @@ -// Copyright 2014 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/errors_test.go b/storage/errors_test.go index b3e202b49b..0e7277bf8b 100644 --- a/storage/errors_test.go +++ b/storage/errors_test.go @@ -1,4 +1,4 @@ -// Copyright 2014 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/fanout.go b/storage/fanout.go index a699a97b02..246a955b73 100644 --- a/storage/fanout.go +++ b/storage/fanout.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/fanout_test.go b/storage/fanout_test.go index b1762ec555..ed4cf17696 100644 --- a/storage/fanout_test.go +++ b/storage/fanout_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/generic.go b/storage/generic.go index e5f4b4d03a..e85ac77b9c 100644 --- a/storage/generic.go +++ b/storage/generic.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/interface.go b/storage/interface.go index ae8bec033e..23b8b48a0c 100644 --- a/storage/interface.go +++ b/storage/interface.go @@ -1,4 +1,4 @@ -// Copyright 2014 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/interface_test.go b/storage/interface_test.go index ba60721736..d28e5177e3 100644 --- a/storage/interface_test.go +++ b/storage/interface_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/lazy.go b/storage/lazy.go index fab974c286..2851ba7135 100644 --- a/storage/lazy.go +++ b/storage/lazy.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/memoized_iterator.go b/storage/memoized_iterator.go index 273b3caa1d..b248bca641 100644 --- a/storage/memoized_iterator.go +++ b/storage/memoized_iterator.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/memoized_iterator_test.go b/storage/memoized_iterator_test.go index 81e517f96e..1a1a5f7680 100644 --- a/storage/memoized_iterator_test.go +++ b/storage/memoized_iterator_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/merge.go b/storage/merge.go index f8ba1ab76a..a86a26891f 100644 --- a/storage/merge.go +++ b/storage/merge.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/merge_test.go b/storage/merge_test.go index 90f2097054..6e2daaeb3a 100644 --- a/storage/merge_test.go +++ b/storage/merge_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/noop.go b/storage/noop.go index f5092da7c7..751e6304db 100644 --- a/storage/noop.go +++ b/storage/noop.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/azuread/azuread.go b/storage/remote/azuread/azuread.go index 638ba586fc..fe0c4f9e21 100644 --- a/storage/remote/azuread/azuread.go +++ b/storage/remote/azuread/azuread.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/azuread/azuread_test.go b/storage/remote/azuread/azuread_test.go index 986a01695c..857ecdba8a 100644 --- a/storage/remote/azuread/azuread_test.go +++ b/storage/remote/azuread/azuread_test.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/chunked.go b/storage/remote/chunked.go index aa5addd6aa..b6cadf8691 100644 --- a/storage/remote/chunked.go +++ b/storage/remote/chunked.go @@ -1,4 +1,4 @@ -// Copyright 2019 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/chunked_test.go b/storage/remote/chunked_test.go index 82ed866345..7493d734a3 100644 --- a/storage/remote/chunked_test.go +++ b/storage/remote/chunked_test.go @@ -1,4 +1,4 @@ -// Copyright 2019 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/client.go b/storage/remote/client.go index 0f2b5ddca6..78405b378e 100644 --- a/storage/remote/client.go +++ b/storage/remote/client.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/client_test.go b/storage/remote/client_test.go index 7fb670a24d..d5f126342a 100644 --- a/storage/remote/client_test.go +++ b/storage/remote/client_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/codec.go b/storage/remote/codec.go index 059d5e66ce..9f0fb7d92a 100644 --- a/storage/remote/codec.go +++ b/storage/remote/codec.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/codec_test.go b/storage/remote/codec_test.go index ba67ff33d9..e6e7813c7b 100644 --- a/storage/remote/codec_test.go +++ b/storage/remote/codec_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/dial_context.go b/storage/remote/dial_context.go index b842728e4c..f7a52442ed 100644 --- a/storage/remote/dial_context.go +++ b/storage/remote/dial_context.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/dial_context_test.go b/storage/remote/dial_context_test.go index 5a0cd7c88c..61b929401f 100644 --- a/storage/remote/dial_context_test.go +++ b/storage/remote/dial_context_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/ewma.go b/storage/remote/ewma.go index ea4472c494..27ba39c35d 100644 --- a/storage/remote/ewma.go +++ b/storage/remote/ewma.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/googleiam/googleiam.go b/storage/remote/googleiam/googleiam.go index 0555458d69..0ca7185ab7 100644 --- a/storage/remote/googleiam/googleiam.go +++ b/storage/remote/googleiam/googleiam.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/intern.go b/storage/remote/intern.go index 34edeb370e..193cdf96db 100644 --- a/storage/remote/intern.go +++ b/storage/remote/intern.go @@ -1,4 +1,4 @@ -// Copyright 2019 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/intern_test.go b/storage/remote/intern_test.go index f992b2ada6..fd0ebed16f 100644 --- a/storage/remote/intern_test.go +++ b/storage/remote/intern_test.go @@ -1,4 +1,4 @@ -// Copyright 2019 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/max_timestamp.go b/storage/remote/max_timestamp.go index bb67d9bb98..61dbda6bc6 100644 --- a/storage/remote/max_timestamp.go +++ b/storage/remote/max_timestamp.go @@ -1,4 +1,4 @@ -// Copyright 2019 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/metadata_watcher.go b/storage/remote/metadata_watcher.go index b1f98038fc..f231691e30 100644 --- a/storage/remote/metadata_watcher.go +++ b/storage/remote/metadata_watcher.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/metadata_watcher_test.go b/storage/remote/metadata_watcher_test.go index 6c4608b3dd..f911a145bc 100644 --- a/storage/remote/metadata_watcher_test.go +++ b/storage/remote/metadata_watcher_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/otlptranslator/prometheusremotewrite/combined_appender_test.go b/storage/remote/otlptranslator/prometheusremotewrite/combined_appender_test.go index 753112cf82..a1a17fe82b 100644 --- a/storage/remote/otlptranslator/prometheusremotewrite/combined_appender_test.go +++ b/storage/remote/otlptranslator/prometheusremotewrite/combined_appender_test.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/otlptranslator/prometheusremotewrite/context.go b/storage/remote/otlptranslator/prometheusremotewrite/context.go index 5c6dd20f18..db3c180036 100644 --- a/storage/remote/otlptranslator/prometheusremotewrite/context.go +++ b/storage/remote/otlptranslator/prometheusremotewrite/context.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/otlptranslator/prometheusremotewrite/context_test.go b/storage/remote/otlptranslator/prometheusremotewrite/context_test.go index 4b47964313..8aa24a8110 100644 --- a/storage/remote/otlptranslator/prometheusremotewrite/context_test.go +++ b/storage/remote/otlptranslator/prometheusremotewrite/context_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/otlptranslator/prometheusremotewrite/helper.go b/storage/remote/otlptranslator/prometheusremotewrite/helper.go index aa54433836..7e3c9d5021 100644 --- a/storage/remote/otlptranslator/prometheusremotewrite/helper.go +++ b/storage/remote/otlptranslator/prometheusremotewrite/helper.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/otlptranslator/prometheusremotewrite/helper_test.go b/storage/remote/otlptranslator/prometheusremotewrite/helper_test.go index 893fe97ec4..b06bf3d416 100644 --- a/storage/remote/otlptranslator/prometheusremotewrite/helper_test.go +++ b/storage/remote/otlptranslator/prometheusremotewrite/helper_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/otlptranslator/prometheusremotewrite/histograms.go b/storage/remote/otlptranslator/prometheusremotewrite/histograms.go index c93a00db76..db7c0e1275 100644 --- a/storage/remote/otlptranslator/prometheusremotewrite/histograms.go +++ b/storage/remote/otlptranslator/prometheusremotewrite/histograms.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/otlptranslator/prometheusremotewrite/histograms_test.go b/storage/remote/otlptranslator/prometheusremotewrite/histograms_test.go index 22e654ab9c..644ec2e01b 100644 --- a/storage/remote/otlptranslator/prometheusremotewrite/histograms_test.go +++ b/storage/remote/otlptranslator/prometheusremotewrite/histograms_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/otlptranslator/prometheusremotewrite/metrics_to_prw.go b/storage/remote/otlptranslator/prometheusremotewrite/metrics_to_prw.go index f43e4964b1..41de42548a 100644 --- a/storage/remote/otlptranslator/prometheusremotewrite/metrics_to_prw.go +++ b/storage/remote/otlptranslator/prometheusremotewrite/metrics_to_prw.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/otlptranslator/prometheusremotewrite/metrics_to_prw_test.go b/storage/remote/otlptranslator/prometheusremotewrite/metrics_to_prw_test.go index e409b4e8b5..8eb0029dd7 100644 --- a/storage/remote/otlptranslator/prometheusremotewrite/metrics_to_prw_test.go +++ b/storage/remote/otlptranslator/prometheusremotewrite/metrics_to_prw_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/otlptranslator/prometheusremotewrite/number_data_points.go b/storage/remote/otlptranslator/prometheusremotewrite/number_data_points.go index 8f30dbb6b6..e3814ce095 100644 --- a/storage/remote/otlptranslator/prometheusremotewrite/number_data_points.go +++ b/storage/remote/otlptranslator/prometheusremotewrite/number_data_points.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/otlptranslator/prometheusremotewrite/number_data_points_test.go b/storage/remote/otlptranslator/prometheusremotewrite/number_data_points_test.go index 32435020c5..77bc212c76 100644 --- a/storage/remote/otlptranslator/prometheusremotewrite/number_data_points_test.go +++ b/storage/remote/otlptranslator/prometheusremotewrite/number_data_points_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/otlptranslator/prometheusremotewrite/otlp_to_openmetrics_metadata.go b/storage/remote/otlptranslator/prometheusremotewrite/otlp_to_openmetrics_metadata.go index 49f96e0019..0292790156 100644 --- a/storage/remote/otlptranslator/prometheusremotewrite/otlp_to_openmetrics_metadata.go +++ b/storage/remote/otlptranslator/prometheusremotewrite/otlp_to_openmetrics_metadata.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/otlptranslator/prometheusremotewrite/testutil_test.go b/storage/remote/otlptranslator/prometheusremotewrite/testutil_test.go index 187127fcb2..5194925cfe 100644 --- a/storage/remote/otlptranslator/prometheusremotewrite/testutil_test.go +++ b/storage/remote/otlptranslator/prometheusremotewrite/testutil_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/queue_manager.go b/storage/remote/queue_manager.go index 5fc5f5564b..2b26179e58 100644 --- a/storage/remote/queue_manager.go +++ b/storage/remote/queue_manager.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/queue_manager_test.go b/storage/remote/queue_manager_test.go index 704a5628d3..f1462b4406 100644 --- a/storage/remote/queue_manager_test.go +++ b/storage/remote/queue_manager_test.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/read.go b/storage/remote/read.go index e21d1538f5..70b55980b8 100644 --- a/storage/remote/read.go +++ b/storage/remote/read.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/read_handler.go b/storage/remote/read_handler.go index 3e315a6157..a628dd34ff 100644 --- a/storage/remote/read_handler.go +++ b/storage/remote/read_handler.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/read_handler_test.go b/storage/remote/read_handler_test.go index 355973e4be..255a037d1e 100644 --- a/storage/remote/read_handler_test.go +++ b/storage/remote/read_handler_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/read_test.go b/storage/remote/read_test.go index da0b7f81d4..49f29d9001 100644 --- a/storage/remote/read_test.go +++ b/storage/remote/read_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/stats.go b/storage/remote/stats.go index 89d00ffc31..3a1bfed805 100644 --- a/storage/remote/stats.go +++ b/storage/remote/stats.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/storage.go b/storage/remote/storage.go index 648c91c955..f482597249 100644 --- a/storage/remote/storage.go +++ b/storage/remote/storage.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/storage_test.go b/storage/remote/storage_test.go index f567c7a80b..416468cf79 100644 --- a/storage/remote/storage_test.go +++ b/storage/remote/storage_test.go @@ -1,4 +1,4 @@ -// Copyright 2019 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/write.go b/storage/remote/write.go index 1a036c1795..92f447d624 100644 --- a/storage/remote/write.go +++ b/storage/remote/write.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/write_handler.go b/storage/remote/write_handler.go index 4291b0505a..c29896b843 100644 --- a/storage/remote/write_handler.go +++ b/storage/remote/write_handler.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/write_handler_test.go b/storage/remote/write_handler_test.go index 705c53a149..ac75d56095 100644 --- a/storage/remote/write_handler_test.go +++ b/storage/remote/write_handler_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/remote/write_test.go b/storage/remote/write_test.go index 2bf317465c..099a2f1cab 100644 --- a/storage/remote/write_test.go +++ b/storage/remote/write_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/secondary.go b/storage/secondary.go index 1cf8024b65..a071ddcfa3 100644 --- a/storage/secondary.go +++ b/storage/secondary.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/series.go b/storage/series.go index 2fff56785a..7e130d494d 100644 --- a/storage/series.go +++ b/storage/series.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/storage/series_test.go b/storage/series_test.go index 1ade558648..954d62f1b3 100644 --- a/storage/series_test.go +++ b/storage/series_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/template/template.go b/template/template.go index 572e8450d3..0ea7382ed3 100644 --- a/template/template.go +++ b/template/template.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/template/template_amd64_test.go b/template/template_amd64_test.go index 913a7e2b81..15db39b646 100644 --- a/template/template_amd64_test.go +++ b/template/template_amd64_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/template/template_test.go b/template/template_test.go index f3348caae6..073300a39b 100644 --- a/template/template_test.go +++ b/template/template_test.go @@ -1,4 +1,4 @@ -// Copyright 2014 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tracing/tracing.go b/tracing/tracing.go index 91ac48007b..b35673b2b4 100644 --- a/tracing/tracing.go +++ b/tracing/tracing.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tracing/tracing_test.go b/tracing/tracing_test.go index e735e1a18a..0840abafdf 100644 --- a/tracing/tracing_test.go +++ b/tracing/tracing_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/agent/db.go b/tsdb/agent/db.go index a0f7a93b6d..583af6f56b 100644 --- a/tsdb/agent/db.go +++ b/tsdb/agent/db.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/agent/db_test.go b/tsdb/agent/db_test.go index 94e84fa2eb..498fba4eb9 100644 --- a/tsdb/agent/db_test.go +++ b/tsdb/agent/db_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/agent/series.go b/tsdb/agent/series.go index 76e7342171..4eb691bfd5 100644 --- a/tsdb/agent/series.go +++ b/tsdb/agent/series.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/agent/series_test.go b/tsdb/agent/series_test.go index 036a80de4c..4b277b36b7 100644 --- a/tsdb/agent/series_test.go +++ b/tsdb/agent/series_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/block.go b/tsdb/block.go index dcbb172e72..3f089b9da7 100644 --- a/tsdb/block.go +++ b/tsdb/block.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tsdb/block_test.go b/tsdb/block_test.go index d02f83a9e9..855fa5638a 100644 --- a/tsdb/block_test.go +++ b/tsdb/block_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/blockwriter.go b/tsdb/blockwriter.go index e038812224..af83a98083 100644 --- a/tsdb/blockwriter.go +++ b/tsdb/blockwriter.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/blockwriter_test.go b/tsdb/blockwriter_test.go index becae6aa04..33f0e5a0f3 100644 --- a/tsdb/blockwriter_test.go +++ b/tsdb/blockwriter_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunkenc/bstream.go b/tsdb/chunkenc/bstream.go index 6e01798f72..abf6e4dbef 100644 --- a/tsdb/chunkenc/bstream.go +++ b/tsdb/chunkenc/bstream.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunkenc/bstream_test.go b/tsdb/chunkenc/bstream_test.go index 8ac45ef0b6..3098be5945 100644 --- a/tsdb/chunkenc/bstream_test.go +++ b/tsdb/chunkenc/bstream_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunkenc/chunk.go b/tsdb/chunkenc/chunk.go index 8cccb189fa..fed28c5701 100644 --- a/tsdb/chunkenc/chunk.go +++ b/tsdb/chunkenc/chunk.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunkenc/chunk_test.go b/tsdb/chunkenc/chunk_test.go index eac9e12b29..d2d0e4c053 100644 --- a/tsdb/chunkenc/chunk_test.go +++ b/tsdb/chunkenc/chunk_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunkenc/float_histogram.go b/tsdb/chunkenc/float_histogram.go index d960e835f2..797bc596b5 100644 --- a/tsdb/chunkenc/float_histogram.go +++ b/tsdb/chunkenc/float_histogram.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunkenc/float_histogram_test.go b/tsdb/chunkenc/float_histogram_test.go index d112c81f1c..f27de97516 100644 --- a/tsdb/chunkenc/float_histogram_test.go +++ b/tsdb/chunkenc/float_histogram_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunkenc/histogram.go b/tsdb/chunkenc/histogram.go index be1c31ae76..e05c49c81d 100644 --- a/tsdb/chunkenc/histogram.go +++ b/tsdb/chunkenc/histogram.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunkenc/histogram_meta.go b/tsdb/chunkenc/histogram_meta.go index 22bc4a6d3d..874e086812 100644 --- a/tsdb/chunkenc/histogram_meta.go +++ b/tsdb/chunkenc/histogram_meta.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunkenc/histogram_meta_test.go b/tsdb/chunkenc/histogram_meta_test.go index d3aa979b5e..3eb2a13962 100644 --- a/tsdb/chunkenc/histogram_meta_test.go +++ b/tsdb/chunkenc/histogram_meta_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunkenc/histogram_test.go b/tsdb/chunkenc/histogram_test.go index c11102b470..38bbd58465 100644 --- a/tsdb/chunkenc/histogram_test.go +++ b/tsdb/chunkenc/histogram_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunkenc/varbit.go b/tsdb/chunkenc/varbit.go index 00ba027dda..4338555328 100644 --- a/tsdb/chunkenc/varbit.go +++ b/tsdb/chunkenc/varbit.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunkenc/varbit_test.go b/tsdb/chunkenc/varbit_test.go index 8042b98dc1..dcb43f08df 100644 --- a/tsdb/chunkenc/varbit_test.go +++ b/tsdb/chunkenc/varbit_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunkenc/xor.go b/tsdb/chunkenc/xor.go index 29e2110705..bbe12a893b 100644 --- a/tsdb/chunkenc/xor.go +++ b/tsdb/chunkenc/xor.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunkenc/xor_test.go b/tsdb/chunkenc/xor_test.go index 609a3ac5ea..904e536b49 100644 --- a/tsdb/chunkenc/xor_test.go +++ b/tsdb/chunkenc/xor_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunks/chunk_write_queue.go b/tsdb/chunks/chunk_write_queue.go index bb9f239707..1a046ea00a 100644 --- a/tsdb/chunks/chunk_write_queue.go +++ b/tsdb/chunks/chunk_write_queue.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunks/chunk_write_queue_test.go b/tsdb/chunks/chunk_write_queue_test.go index fd81011091..489ff74210 100644 --- a/tsdb/chunks/chunk_write_queue_test.go +++ b/tsdb/chunks/chunk_write_queue_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunks/chunks.go b/tsdb/chunks/chunks.go index 8b8f5d0f81..681fceb2fb 100644 --- a/tsdb/chunks/chunks.go +++ b/tsdb/chunks/chunks.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunks/chunks_test.go b/tsdb/chunks/chunks_test.go index 6eb00f12ad..f40f996fde 100644 --- a/tsdb/chunks/chunks_test.go +++ b/tsdb/chunks/chunks_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunks/head_chunks.go b/tsdb/chunks/head_chunks.go index 5e143b8b32..ffe7e70fc6 100644 --- a/tsdb/chunks/head_chunks.go +++ b/tsdb/chunks/head_chunks.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunks/head_chunks_other.go b/tsdb/chunks/head_chunks_other.go index f30c5e55e9..42e94fc54d 100644 --- a/tsdb/chunks/head_chunks_other.go +++ b/tsdb/chunks/head_chunks_other.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunks/head_chunks_test.go b/tsdb/chunks/head_chunks_test.go index 2d7744193d..17efd44aa6 100644 --- a/tsdb/chunks/head_chunks_test.go +++ b/tsdb/chunks/head_chunks_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunks/head_chunks_windows.go b/tsdb/chunks/head_chunks_windows.go index 214ee42f59..a16d0ff38e 100644 --- a/tsdb/chunks/head_chunks_windows.go +++ b/tsdb/chunks/head_chunks_windows.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunks/queue.go b/tsdb/chunks/queue.go index 860381a5fe..454d939ce6 100644 --- a/tsdb/chunks/queue.go +++ b/tsdb/chunks/queue.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunks/queue_test.go b/tsdb/chunks/queue_test.go index ab4dd14838..377a8181ff 100644 --- a/tsdb/chunks/queue_test.go +++ b/tsdb/chunks/queue_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/chunks/samples.go b/tsdb/chunks/samples.go index a5b16094df..8097bcd72b 100644 --- a/tsdb/chunks/samples.go +++ b/tsdb/chunks/samples.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/compact.go b/tsdb/compact.go index 7ad6f8bb24..7c21cbcc13 100644 --- a/tsdb/compact.go +++ b/tsdb/compact.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/compact_test.go b/tsdb/compact_test.go index 2b7a52c169..29b90d9bbc 100644 --- a/tsdb/compact_test.go +++ b/tsdb/compact_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/db.go b/tsdb/db.go index f765710dd7..3f8bf16209 100644 --- a/tsdb/db.go +++ b/tsdb/db.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/db_test.go b/tsdb/db_test.go index 4612eace3b..299ade8826 100644 --- a/tsdb/db_test.go +++ b/tsdb/db_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/encoding/encoding.go b/tsdb/encoding/encoding.go index cc7d0990f6..a6d6fe4d44 100644 --- a/tsdb/encoding/encoding.go +++ b/tsdb/encoding/encoding.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/errors/errors.go b/tsdb/errors/errors.go index ded4ae3a27..138b38a8d2 100644 --- a/tsdb/errors/errors.go +++ b/tsdb/errors/errors.go @@ -1,4 +1,4 @@ -// Copyright 2016 The etcd Authors +// Copyright The Prometheus Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tsdb/errors/errors_test.go b/tsdb/errors/errors_test.go index 146c66bf00..acffdea261 100644 --- a/tsdb/errors/errors_test.go +++ b/tsdb/errors/errors_test.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/example_test.go b/tsdb/example_test.go index 46deae5198..88632b69f9 100644 --- a/tsdb/example_test.go +++ b/tsdb/example_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/exemplar.go b/tsdb/exemplar.go index cdbcd5cde6..f0e755839c 100644 --- a/tsdb/exemplar.go +++ b/tsdb/exemplar.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/exemplar_test.go b/tsdb/exemplar_test.go index bf6ad2fabb..103332c886 100644 --- a/tsdb/exemplar_test.go +++ b/tsdb/exemplar_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/fileutil/dir.go b/tsdb/fileutil/dir.go index ad039d2231..795c9f221b 100644 --- a/tsdb/fileutil/dir.go +++ b/tsdb/fileutil/dir.go @@ -1,4 +1,4 @@ -// Copyright 2019 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/fileutil/dir_unix.go b/tsdb/fileutil/dir_unix.go index 2afb2aeaba..05c24893cd 100644 --- a/tsdb/fileutil/dir_unix.go +++ b/tsdb/fileutil/dir_unix.go @@ -1,4 +1,4 @@ -// Copyright 2016 The etcd Authors +// Copyright The Prometheus Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tsdb/fileutil/dir_windows.go b/tsdb/fileutil/dir_windows.go index 307077ebc3..cfd55291d5 100644 --- a/tsdb/fileutil/dir_windows.go +++ b/tsdb/fileutil/dir_windows.go @@ -1,4 +1,4 @@ -// Copyright 2016 The etcd Authors +// Copyright The Prometheus Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tsdb/fileutil/direct_io.go b/tsdb/fileutil/direct_io.go index ad306776ca..76815de6b1 100644 --- a/tsdb/fileutil/direct_io.go +++ b/tsdb/fileutil/direct_io.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/fileutil/direct_io_force.go b/tsdb/fileutil/direct_io_force.go index bb65403911..8ae4ef4fd7 100644 --- a/tsdb/fileutil/direct_io_force.go +++ b/tsdb/fileutil/direct_io_force.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/fileutil/direct_io_linux.go b/tsdb/fileutil/direct_io_linux.go index a1d5f9577d..0640b503f6 100644 --- a/tsdb/fileutil/direct_io_linux.go +++ b/tsdb/fileutil/direct_io_linux.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/fileutil/direct_io_unsupported.go b/tsdb/fileutil/direct_io_unsupported.go index a03782fe42..f17c68705f 100644 --- a/tsdb/fileutil/direct_io_unsupported.go +++ b/tsdb/fileutil/direct_io_unsupported.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/fileutil/direct_io_writer.go b/tsdb/fileutil/direct_io_writer.go index 793d081481..3eeb2aa225 100644 --- a/tsdb/fileutil/direct_io_writer.go +++ b/tsdb/fileutil/direct_io_writer.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/fileutil/direct_io_writer_test.go b/tsdb/fileutil/direct_io_writer_test.go index e60df1f3bc..367b7fa6aa 100644 --- a/tsdb/fileutil/direct_io_writer_test.go +++ b/tsdb/fileutil/direct_io_writer_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/fileutil/fileutil.go b/tsdb/fileutil/fileutil.go index 523f99292c..0aa67e113a 100644 --- a/tsdb/fileutil/fileutil.go +++ b/tsdb/fileutil/fileutil.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/fileutil/flock.go b/tsdb/fileutil/flock.go index e0082e2f2c..345581cc92 100644 --- a/tsdb/fileutil/flock.go +++ b/tsdb/fileutil/flock.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/fileutil/flock_js.go b/tsdb/fileutil/flock_js.go index 6029cdf4d8..025e678a1d 100644 --- a/tsdb/fileutil/flock_js.go +++ b/tsdb/fileutil/flock_js.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/fileutil/flock_plan9.go b/tsdb/fileutil/flock_plan9.go index 3b9550e7f2..543195e066 100644 --- a/tsdb/fileutil/flock_plan9.go +++ b/tsdb/fileutil/flock_plan9.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/fileutil/flock_solaris.go b/tsdb/fileutil/flock_solaris.go index 8ca919f3b0..b7a69d9063 100644 --- a/tsdb/fileutil/flock_solaris.go +++ b/tsdb/fileutil/flock_solaris.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/fileutil/flock_test.go b/tsdb/fileutil/flock_test.go index 7aff789a26..dec7d4e98d 100644 --- a/tsdb/fileutil/flock_test.go +++ b/tsdb/fileutil/flock_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/fileutil/flock_unix.go b/tsdb/fileutil/flock_unix.go index 25de0ffb22..eddf427e7e 100644 --- a/tsdb/fileutil/flock_unix.go +++ b/tsdb/fileutil/flock_unix.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/fileutil/flock_windows.go b/tsdb/fileutil/flock_windows.go index 1c17ff4ea3..64ce827324 100644 --- a/tsdb/fileutil/flock_windows.go +++ b/tsdb/fileutil/flock_windows.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/fileutil/mmap.go b/tsdb/fileutil/mmap.go index 782ff27ec9..9893d1014b 100644 --- a/tsdb/fileutil/mmap.go +++ b/tsdb/fileutil/mmap.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/fileutil/mmap_386.go b/tsdb/fileutil/mmap_386.go index 85c0cce096..01e4333a42 100644 --- a/tsdb/fileutil/mmap_386.go +++ b/tsdb/fileutil/mmap_386.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/fileutil/mmap_amd64.go b/tsdb/fileutil/mmap_amd64.go index 71fc568bd5..6d426f1866 100644 --- a/tsdb/fileutil/mmap_amd64.go +++ b/tsdb/fileutil/mmap_amd64.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/fileutil/mmap_arm64.go b/tsdb/fileutil/mmap_arm64.go index 71fc568bd5..6d426f1866 100644 --- a/tsdb/fileutil/mmap_arm64.go +++ b/tsdb/fileutil/mmap_arm64.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/fileutil/mmap_js.go b/tsdb/fileutil/mmap_js.go index f29106fc1e..59e1fcf877 100644 --- a/tsdb/fileutil/mmap_js.go +++ b/tsdb/fileutil/mmap_js.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/fileutil/mmap_unix.go b/tsdb/fileutil/mmap_unix.go index 3d15e1a8c1..b35352fef9 100644 --- a/tsdb/fileutil/mmap_unix.go +++ b/tsdb/fileutil/mmap_unix.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/fileutil/mmap_windows.go b/tsdb/fileutil/mmap_windows.go index 5704b3b96d..8322f68971 100644 --- a/tsdb/fileutil/mmap_windows.go +++ b/tsdb/fileutil/mmap_windows.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/fileutil/preallocate.go b/tsdb/fileutil/preallocate.go index c747b7cf81..e9a587b2bd 100644 --- a/tsdb/fileutil/preallocate.go +++ b/tsdb/fileutil/preallocate.go @@ -1,4 +1,4 @@ -// Copyright 2015 The etcd Authors +// Copyright The Prometheus Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tsdb/fileutil/preallocate_darwin.go b/tsdb/fileutil/preallocate_darwin.go index 1d9eb806d1..58f83c5ba5 100644 --- a/tsdb/fileutil/preallocate_darwin.go +++ b/tsdb/fileutil/preallocate_darwin.go @@ -1,4 +1,4 @@ -// Copyright 2015 The etcd Authors +// Copyright The Prometheus Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tsdb/fileutil/preallocate_linux.go b/tsdb/fileutil/preallocate_linux.go index 026c69b354..1271c48928 100644 --- a/tsdb/fileutil/preallocate_linux.go +++ b/tsdb/fileutil/preallocate_linux.go @@ -1,4 +1,4 @@ -// Copyright 2015 The etcd Authors +// Copyright The Prometheus Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tsdb/fileutil/preallocate_other.go b/tsdb/fileutil/preallocate_other.go index e7fd937a43..55a44c7636 100644 --- a/tsdb/fileutil/preallocate_other.go +++ b/tsdb/fileutil/preallocate_other.go @@ -1,4 +1,4 @@ -// Copyright 2015 The etcd Authors +// Copyright The Prometheus Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tsdb/fileutil/sync.go b/tsdb/fileutil/sync.go index e1a4a7fd3d..9390b044a5 100644 --- a/tsdb/fileutil/sync.go +++ b/tsdb/fileutil/sync.go @@ -1,4 +1,4 @@ -// Copyright 2016 The etcd Authors +// Copyright The Prometheus Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tsdb/fileutil/sync_darwin.go b/tsdb/fileutil/sync_darwin.go index d698b896af..3dc42fc57a 100644 --- a/tsdb/fileutil/sync_darwin.go +++ b/tsdb/fileutil/sync_darwin.go @@ -1,4 +1,4 @@ -// Copyright 2016 The etcd Authors +// Copyright The Prometheus Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tsdb/fileutil/sync_linux.go b/tsdb/fileutil/sync_linux.go index 2b4c620bb0..138bbee1e5 100644 --- a/tsdb/fileutil/sync_linux.go +++ b/tsdb/fileutil/sync_linux.go @@ -1,4 +1,4 @@ -// Copyright 2016 The etcd Authors +// Copyright The Prometheus Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tsdb/goversion/goversion.go b/tsdb/goversion/goversion.go index ec23d25f2e..050ced875d 100644 --- a/tsdb/goversion/goversion.go +++ b/tsdb/goversion/goversion.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/goversion/goversion_test.go b/tsdb/goversion/goversion_test.go index 853844fb93..1e52b9655c 100644 --- a/tsdb/goversion/goversion_test.go +++ b/tsdb/goversion/goversion_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/goversion/init.go b/tsdb/goversion/init.go index dd15e1f7af..eb97bf7637 100644 --- a/tsdb/goversion/init.go +++ b/tsdb/goversion/init.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/head.go b/tsdb/head.go index 25a1b88cec..a4df208e6e 100644 --- a/tsdb/head.go +++ b/tsdb/head.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/head_append.go b/tsdb/head_append.go index 356d1c453f..fceb80bd34 100644 --- a/tsdb/head_append.go +++ b/tsdb/head_append.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/head_bench_test.go b/tsdb/head_bench_test.go index a63b0ced50..dc0be0823a 100644 --- a/tsdb/head_bench_test.go +++ b/tsdb/head_bench_test.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/head_dedupelabels.go b/tsdb/head_dedupelabels.go index a75f337224..f8bcec2e78 100644 --- a/tsdb/head_dedupelabels.go +++ b/tsdb/head_dedupelabels.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/head_other.go b/tsdb/head_other.go index 7e1eea8b05..d6d5795e20 100644 --- a/tsdb/head_other.go +++ b/tsdb/head_other.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/head_read.go b/tsdb/head_read.go index f2681accc0..924b04bf0a 100644 --- a/tsdb/head_read.go +++ b/tsdb/head_read.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/head_read_test.go b/tsdb/head_read_test.go index b9f1700706..cf55973a01 100644 --- a/tsdb/head_read_test.go +++ b/tsdb/head_read_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/head_test.go b/tsdb/head_test.go index f36dc75f07..acdf0ee000 100644 --- a/tsdb/head_test.go +++ b/tsdb/head_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/head_wal.go b/tsdb/head_wal.go index 3c9aa7980e..bbcad9d855 100644 --- a/tsdb/head_wal.go +++ b/tsdb/head_wal.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/index/index.go b/tsdb/index/index.go index 253a515815..1ddcac9501 100644 --- a/tsdb/index/index.go +++ b/tsdb/index/index.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/index/index_test.go b/tsdb/index/index_test.go index 9013a1d5cd..20399dcdcf 100644 --- a/tsdb/index/index_test.go +++ b/tsdb/index/index_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/index/postings.go b/tsdb/index/postings.go index 0185f58819..31b93f850d 100644 --- a/tsdb/index/postings.go +++ b/tsdb/index/postings.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/index/postings_test.go b/tsdb/index/postings_test.go index 0fbe7a58a2..77b43f76ab 100644 --- a/tsdb/index/postings_test.go +++ b/tsdb/index/postings_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/index/postingsstats.go b/tsdb/index/postingsstats.go index f9ee640ff5..ebbe835207 100644 --- a/tsdb/index/postingsstats.go +++ b/tsdb/index/postingsstats.go @@ -1,4 +1,4 @@ -// Copyright 2019 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/index/postingsstats_test.go b/tsdb/index/postingsstats_test.go index b218dd9fc7..766c5055c1 100644 --- a/tsdb/index/postingsstats_test.go +++ b/tsdb/index/postingsstats_test.go @@ -1,4 +1,4 @@ -// Copyright 2019 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/isolation.go b/tsdb/isolation.go index 95d3cfa5eb..029efaf181 100644 --- a/tsdb/isolation.go +++ b/tsdb/isolation.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/isolation_test.go b/tsdb/isolation_test.go index 1e41b9c753..f2671024e8 100644 --- a/tsdb/isolation_test.go +++ b/tsdb/isolation_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/mocks_test.go b/tsdb/mocks_test.go index 986048d3d2..b3d2208bc1 100644 --- a/tsdb/mocks_test.go +++ b/tsdb/mocks_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/ooo_head.go b/tsdb/ooo_head.go index b3f5e2b675..c6ae924372 100644 --- a/tsdb/ooo_head.go +++ b/tsdb/ooo_head.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/ooo_head_read.go b/tsdb/ooo_head_read.go index 4cecb9fd6c..5d2347c2d7 100644 --- a/tsdb/ooo_head_read.go +++ b/tsdb/ooo_head_read.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/ooo_head_read_test.go b/tsdb/ooo_head_read_test.go index 5e754b59b8..4ecaa51fec 100644 --- a/tsdb/ooo_head_read_test.go +++ b/tsdb/ooo_head_read_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/ooo_head_test.go b/tsdb/ooo_head_test.go index 8f773b6ef9..99cd357a30 100644 --- a/tsdb/ooo_head_test.go +++ b/tsdb/ooo_head_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/ooo_isolation.go b/tsdb/ooo_isolation.go index 3e3e165a0a..3aeee693a9 100644 --- a/tsdb/ooo_isolation.go +++ b/tsdb/ooo_isolation.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/ooo_isolation_test.go b/tsdb/ooo_isolation_test.go index 4ff0488ab1..054823b30c 100644 --- a/tsdb/ooo_isolation_test.go +++ b/tsdb/ooo_isolation_test.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/querier.go b/tsdb/querier.go index 788991235f..4a487aa568 100644 --- a/tsdb/querier.go +++ b/tsdb/querier.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/querier_bench_test.go b/tsdb/querier_bench_test.go index 514fa05a17..ca9ee119f7 100644 --- a/tsdb/querier_bench_test.go +++ b/tsdb/querier_bench_test.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/querier_test.go b/tsdb/querier_test.go index 4fe21c31ff..6933aa617a 100644 --- a/tsdb/querier_test.go +++ b/tsdb/querier_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/record/record.go b/tsdb/record/record.go index 5791f60df4..106b8e51bc 100644 --- a/tsdb/record/record.go +++ b/tsdb/record/record.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tsdb/record/record_test.go b/tsdb/record/record_test.go index bbbea04940..8ebd805d4d 100644 --- a/tsdb/record/record_test.go +++ b/tsdb/record/record_test.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tsdb/repair.go b/tsdb/repair.go index 8bdc645b5e..0d9d449a40 100644 --- a/tsdb/repair.go +++ b/tsdb/repair.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/repair_test.go b/tsdb/repair_test.go index 8a192c4f78..34fe85f422 100644 --- a/tsdb/repair_test.go +++ b/tsdb/repair_test.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/testutil.go b/tsdb/testutil.go index d41591750b..feb921447d 100644 --- a/tsdb/testutil.go +++ b/tsdb/testutil.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/tombstones/tombstones.go b/tsdb/tombstones/tombstones.go index bda565eae4..25218782cd 100644 --- a/tsdb/tombstones/tombstones.go +++ b/tsdb/tombstones/tombstones.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/tombstones/tombstones_test.go b/tsdb/tombstones/tombstones_test.go index de036e22d0..17802672c6 100644 --- a/tsdb/tombstones/tombstones_test.go +++ b/tsdb/tombstones/tombstones_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/tsdbblockutil.go b/tsdb/tsdbblockutil.go index af2348019a..1c6882b085 100644 --- a/tsdb/tsdbblockutil.go +++ b/tsdb/tsdbblockutil.go @@ -1,4 +1,4 @@ -// Copyright 2019 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/tsdbutil/dir_locker.go b/tsdb/tsdbutil/dir_locker.go index 4b69e1f9d6..45cabdd3d7 100644 --- a/tsdb/tsdbutil/dir_locker.go +++ b/tsdb/tsdbutil/dir_locker.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/tsdbutil/dir_locker_test.go b/tsdb/tsdbutil/dir_locker_test.go index 8c027415d3..e3f323932a 100644 --- a/tsdb/tsdbutil/dir_locker_test.go +++ b/tsdb/tsdbutil/dir_locker_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/tsdbutil/dir_locker_testutil.go b/tsdb/tsdbutil/dir_locker_testutil.go index 5a335989c7..ffbf039339 100644 --- a/tsdb/tsdbutil/dir_locker_testutil.go +++ b/tsdb/tsdbutil/dir_locker_testutil.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/tsdbutil/histogram.go b/tsdb/tsdbutil/histogram.go index 64311a8c3b..e6a67c8212 100644 --- a/tsdb/tsdbutil/histogram.go +++ b/tsdb/tsdbutil/histogram.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/wlog/checkpoint.go b/tsdb/wlog/checkpoint.go index c26f3f1052..57c2faf23e 100644 --- a/tsdb/wlog/checkpoint.go +++ b/tsdb/wlog/checkpoint.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tsdb/wlog/checkpoint_test.go b/tsdb/wlog/checkpoint_test.go index b83724ea2e..97ca2e768d 100644 --- a/tsdb/wlog/checkpoint_test.go +++ b/tsdb/wlog/checkpoint_test.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tsdb/wlog/live_reader.go b/tsdb/wlog/live_reader.go index 004c397270..359f29274b 100644 --- a/tsdb/wlog/live_reader.go +++ b/tsdb/wlog/live_reader.go @@ -1,4 +1,4 @@ -// Copyright 2019 The Prometheus Authors +// Copyright The Prometheus Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tsdb/wlog/reader.go b/tsdb/wlog/reader.go index c559d85b89..54b1baf4c4 100644 --- a/tsdb/wlog/reader.go +++ b/tsdb/wlog/reader.go @@ -1,4 +1,4 @@ -// Copyright 2019 The Prometheus Authors +// Copyright The Prometheus Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tsdb/wlog/reader_test.go b/tsdb/wlog/reader_test.go index 1ddc33e2c8..788a2edfb9 100644 --- a/tsdb/wlog/reader_test.go +++ b/tsdb/wlog/reader_test.go @@ -1,4 +1,4 @@ -// Copyright 2019 The Prometheus Authors +// Copyright The Prometheus Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tsdb/wlog/watcher.go b/tsdb/wlog/watcher.go index abb5ef9731..a841a44fc8 100644 --- a/tsdb/wlog/watcher.go +++ b/tsdb/wlog/watcher.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/wlog/watcher_test.go b/tsdb/wlog/watcher_test.go index 9e6ea65a7f..b9a6504298 100644 --- a/tsdb/wlog/watcher_test.go +++ b/tsdb/wlog/watcher_test.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/tsdb/wlog/wlog.go b/tsdb/wlog/wlog.go index 176531c478..5a80d58abf 100644 --- a/tsdb/wlog/wlog.go +++ b/tsdb/wlog/wlog.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tsdb/wlog/wlog_test.go b/tsdb/wlog/wlog_test.go index 1ade42d3ff..79955d499c 100644 --- a/tsdb/wlog/wlog_test.go +++ b/tsdb/wlog/wlog_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/almost/almost.go b/util/almost/almost.go index 5f866b89b3..b89f968db6 100644 --- a/util/almost/almost.go +++ b/util/almost/almost.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/almost/almost_test.go b/util/almost/almost_test.go index fba37f13f6..4e225bf862 100644 --- a/util/almost/almost_test.go +++ b/util/almost/almost_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/annotations/annotations.go b/util/annotations/annotations.go index 817f670b5e..a68b2ba4fc 100644 --- a/util/annotations/annotations.go +++ b/util/annotations/annotations.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/compression/buffers.go b/util/compression/buffers.go index f510efc042..30f002970b 100644 --- a/util/compression/buffers.go +++ b/util/compression/buffers.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/compression/compression.go b/util/compression/compression.go index a1e9b7e530..26cff6a22e 100644 --- a/util/compression/compression.go +++ b/util/compression/compression.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/compression/compression_test.go b/util/compression/compression_test.go index 736bb934e3..4c52b8f42e 100644 --- a/util/compression/compression_test.go +++ b/util/compression/compression_test.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/convertnhcb/convertnhcb.go b/util/convertnhcb/convertnhcb.go index 21ae62b3cb..64ec9054a3 100644 --- a/util/convertnhcb/convertnhcb.go +++ b/util/convertnhcb/convertnhcb.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/convertnhcb/convertnhcb_test.go b/util/convertnhcb/convertnhcb_test.go index 7486ac18bb..710d47385a 100644 --- a/util/convertnhcb/convertnhcb_test.go +++ b/util/convertnhcb/convertnhcb_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/documentcli/documentcli.go b/util/documentcli/documentcli.go index 14382663ee..ebd7d91a5d 100644 --- a/util/documentcli/documentcli.go +++ b/util/documentcli/documentcli.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/fmtutil/format.go b/util/fmtutil/format.go index 377f4ece05..a4ac7d43ca 100644 --- a/util/fmtutil/format.go +++ b/util/fmtutil/format.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/fmtutil/format_test.go b/util/fmtutil/format_test.go index f1d025806e..73dbe39f45 100644 --- a/util/fmtutil/format_test.go +++ b/util/fmtutil/format_test.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/gate/gate.go b/util/gate/gate.go index 6cb9d583c6..a1066fd74f 100644 --- a/util/gate/gate.go +++ b/util/gate/gate.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/httputil/compression.go b/util/httputil/compression.go index e67f9ffd9f..ca9f3c17da 100644 --- a/util/httputil/compression.go +++ b/util/httputil/compression.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/httputil/compression_test.go b/util/httputil/compression_test.go index 11df0a7c4c..6bdde914ce 100644 --- a/util/httputil/compression_test.go +++ b/util/httputil/compression_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/httputil/context.go b/util/httputil/context.go index 9b16428892..7aaeebdb3e 100644 --- a/util/httputil/context.go +++ b/util/httputil/context.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/httputil/cors.go b/util/httputil/cors.go index 2d4cc91ccb..e319762b5f 100644 --- a/util/httputil/cors.go +++ b/util/httputil/cors.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/httputil/cors_test.go b/util/httputil/cors_test.go index 30567947a9..d637932267 100644 --- a/util/httputil/cors_test.go +++ b/util/httputil/cors_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/jsonutil/marshal.go b/util/jsonutil/marshal.go index d715eabe68..61ce4234eb 100644 --- a/util/jsonutil/marshal.go +++ b/util/jsonutil/marshal.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/junitxml/junitxml.go b/util/junitxml/junitxml.go index 14e4b6dbae..8249290830 100644 --- a/util/junitxml/junitxml.go +++ b/util/junitxml/junitxml.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/junitxml/junitxml_test.go b/util/junitxml/junitxml_test.go index ad4d0293d0..92a32f2ddf 100644 --- a/util/junitxml/junitxml_test.go +++ b/util/junitxml/junitxml_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/logging/dedupe.go b/util/logging/dedupe.go index 8137f4f22b..244cd6495c 100644 --- a/util/logging/dedupe.go +++ b/util/logging/dedupe.go @@ -1,4 +1,4 @@ -// Copyright 2019 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/logging/dedupe_test.go b/util/logging/dedupe_test.go index 918c5d60bd..b584f12572 100644 --- a/util/logging/dedupe_test.go +++ b/util/logging/dedupe_test.go @@ -1,4 +1,4 @@ -// Copyright 2019 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/logging/file.go b/util/logging/file.go index 5e379442a2..bce9be9ae6 100644 --- a/util/logging/file.go +++ b/util/logging/file.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/logging/file_test.go b/util/logging/file_test.go index bd34bc2a3a..58a55697d9 100644 --- a/util/logging/file_test.go +++ b/util/logging/file_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/namevalidationutil/namevalidationutil.go b/util/namevalidationutil/namevalidationutil.go index 2e656b6a19..14796b48f4 100644 --- a/util/namevalidationutil/namevalidationutil.go +++ b/util/namevalidationutil/namevalidationutil.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/namevalidationutil/namevalidationutil_test.go b/util/namevalidationutil/namevalidationutil_test.go index 660b6100b0..692bc2692b 100644 --- a/util/namevalidationutil/namevalidationutil_test.go +++ b/util/namevalidationutil/namevalidationutil_test.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/netconnlimit/netconnlimit.go b/util/netconnlimit/netconnlimit.go index 3bdd805b83..5f54d0616a 100644 --- a/util/netconnlimit/netconnlimit.go +++ b/util/netconnlimit/netconnlimit.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Based on golang.org/x/net/netutil: // Copyright 2013 The Go Authors // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/util/netconnlimit/netconnlimit_test.go b/util/netconnlimit/netconnlimit_test.go index e4d4904209..c33c7b342f 100644 --- a/util/netconnlimit/netconnlimit_test.go +++ b/util/netconnlimit/netconnlimit_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/notifications/notifications.go b/util/notifications/notifications.go index 4888a0b664..0e3882ce36 100644 --- a/util/notifications/notifications.go +++ b/util/notifications/notifications.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/notifications/notifications_test.go b/util/notifications/notifications_test.go index 3d9ba6bb12..84db90c6e3 100644 --- a/util/notifications/notifications_test.go +++ b/util/notifications/notifications_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/osutil/hostname.go b/util/osutil/hostname.go index c44cb391b6..f0444114f7 100644 --- a/util/osutil/hostname.go +++ b/util/osutil/hostname.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/pool/pool.go b/util/pool/pool.go index 7d5a8e3abf..a7f1bbb54e 100644 --- a/util/pool/pool.go +++ b/util/pool/pool.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/pool/pool_test.go b/util/pool/pool_test.go index e1ac13fb90..a14da6be8b 100644 --- a/util/pool/pool_test.go +++ b/util/pool/pool_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/runtime/limits_default.go b/util/runtime/limits_default.go index 156747d450..51a78423d3 100644 --- a/util/runtime/limits_default.go +++ b/util/runtime/limits_default.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/runtime/limits_windows.go b/util/runtime/limits_windows.go index ce82d31e6d..1cb7ea33a7 100644 --- a/util/runtime/limits_windows.go +++ b/util/runtime/limits_windows.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/runtime/statfs.go b/util/runtime/statfs.go index 66bedb5ea1..98dd822e4a 100644 --- a/util/runtime/statfs.go +++ b/util/runtime/statfs.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/runtime/statfs_default.go b/util/runtime/statfs_default.go index 78cfb1fe41..0cf5c2e616 100644 --- a/util/runtime/statfs_default.go +++ b/util/runtime/statfs_default.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/runtime/statfs_linux_386.go b/util/runtime/statfs_linux_386.go index a003b2effe..33dbc4c3e9 100644 --- a/util/runtime/statfs_linux_386.go +++ b/util/runtime/statfs_linux_386.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/runtime/statfs_uint32.go b/util/runtime/statfs_uint32.go index fbf994ea63..2fb4d70849 100644 --- a/util/runtime/statfs_uint32.go +++ b/util/runtime/statfs_uint32.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/runtime/uname_default.go b/util/runtime/uname_default.go index 0052dbab47..1bdc2e6696 100644 --- a/util/runtime/uname_default.go +++ b/util/runtime/uname_default.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/runtime/uname_linux.go b/util/runtime/uname_linux.go index ce3bc42a25..f2798cda4b 100644 --- a/util/runtime/uname_linux.go +++ b/util/runtime/uname_linux.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/runtime/vmlimits_default.go b/util/runtime/vmlimits_default.go index aef4341061..0e3bc0ead5 100644 --- a/util/runtime/vmlimits_default.go +++ b/util/runtime/vmlimits_default.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/runtime/vmlimits_openbsd.go b/util/runtime/vmlimits_openbsd.go index b40f065883..ce9aa181e6 100644 --- a/util/runtime/vmlimits_openbsd.go +++ b/util/runtime/vmlimits_openbsd.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/runutil/runutil.go b/util/runutil/runutil.go index 5a77c332ba..14752ed796 100644 --- a/util/runutil/runutil.go +++ b/util/runutil/runutil.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/stats/query_stats.go b/util/stats/query_stats.go index d8ec186f4c..9801d658a7 100644 --- a/util/stats/query_stats.go +++ b/util/stats/query_stats.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/stats/stats_test.go b/util/stats/stats_test.go index 28753b95fc..245f7cbc16 100644 --- a/util/stats/stats_test.go +++ b/util/stats/stats_test.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/stats/timer.go b/util/stats/timer.go index eca0fcccb0..1b9e430a09 100644 --- a/util/stats/timer.go +++ b/util/stats/timer.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/strutil/quote.go b/util/strutil/quote.go index 0a78421fd4..d7e65395f4 100644 --- a/util/strutil/quote.go +++ b/util/strutil/quote.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/strutil/quote_test.go b/util/strutil/quote_test.go index de33230551..c077a5ed49 100644 --- a/util/strutil/quote_test.go +++ b/util/strutil/quote_test.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/strutil/strconv.go b/util/strutil/strconv.go index 88d2a3b610..77f1acc94d 100644 --- a/util/strutil/strconv.go +++ b/util/strutil/strconv.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/strutil/strconv_test.go b/util/strutil/strconv_test.go index f09e7ffb3f..b4b87ee816 100644 --- a/util/strutil/strconv_test.go +++ b/util/strutil/strconv_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/teststorage/storage.go b/util/teststorage/storage.go index e0a6f39be2..30a63327ab 100644 --- a/util/teststorage/storage.go +++ b/util/teststorage/storage.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/testutil/cmp.go b/util/testutil/cmp.go index 3ea1f40168..9be01a5b4b 100644 --- a/util/testutil/cmp.go +++ b/util/testutil/cmp.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/testutil/context.go b/util/testutil/context.go index 3d2a09d637..15f50fbff5 100644 --- a/util/testutil/context.go +++ b/util/testutil/context.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/testutil/directory.go b/util/testutil/directory.go index 176acb5dc1..706007d322 100644 --- a/util/testutil/directory.go +++ b/util/testutil/directory.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/testutil/port.go b/util/testutil/port.go index 91c1291749..3a9be3f1a3 100644 --- a/util/testutil/port.go +++ b/util/testutil/port.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/testutil/roundtrip.go b/util/testutil/roundtrip.go index 364e0c2642..0bd003ca68 100644 --- a/util/testutil/roundtrip.go +++ b/util/testutil/roundtrip.go @@ -1,4 +1,4 @@ -// Copyright 2017 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/testutil/synctest/disabled.go b/util/testutil/synctest/disabled.go index e87454afcf..595b93c650 100644 --- a/util/testutil/synctest/disabled.go +++ b/util/testutil/synctest/disabled.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/testutil/synctest/enabled.go b/util/testutil/synctest/enabled.go index 61aa85dcf7..d219903809 100644 --- a/util/testutil/synctest/enabled.go +++ b/util/testutil/synctest/enabled.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/testutil/synctest/synctest.go b/util/testutil/synctest/synctest.go index 6780798a9b..41750f9892 100644 --- a/util/testutil/synctest/synctest.go +++ b/util/testutil/synctest/synctest.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/treecache/treecache.go b/util/treecache/treecache.go index 86fd207074..32912c5a94 100644 --- a/util/treecache/treecache.go +++ b/util/treecache/treecache.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/zeropool/pool.go b/util/zeropool/pool.go index 946ce02091..6eab9f3365 100644 --- a/util/zeropool/pool.go +++ b/util/zeropool/pool.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/util/zeropool/pool_test.go b/util/zeropool/pool_test.go index 24598cbfa3..f93e75d539 100644 --- a/util/zeropool/pool_test.go +++ b/util/zeropool/pool_test.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/web/api/v1/api.go b/web/api/v1/api.go index 2a6036ba0b..f32fee19f8 100644 --- a/web/api/v1/api.go +++ b/web/api/v1/api.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/web/api/v1/api_test.go b/web/api/v1/api_test.go index 83e8618630..39c1fa6080 100644 --- a/web/api/v1/api_test.go +++ b/web/api/v1/api_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/web/api/v1/codec.go b/web/api/v1/codec.go index 492e00a74a..e7e53b466c 100644 --- a/web/api/v1/codec.go +++ b/web/api/v1/codec.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/web/api/v1/codec_test.go b/web/api/v1/codec_test.go index 911bf206e3..10038b605a 100644 --- a/web/api/v1/codec_test.go +++ b/web/api/v1/codec_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/web/api/v1/errors_test.go b/web/api/v1/errors_test.go index 5bd943ba98..6e55089e16 100644 --- a/web/api/v1/errors_test.go +++ b/web/api/v1/errors_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/web/api/v1/json_codec.go b/web/api/v1/json_codec.go index 4f3a23e976..adcf0e34bc 100644 --- a/web/api/v1/json_codec.go +++ b/web/api/v1/json_codec.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/web/api/v1/json_codec_test.go b/web/api/v1/json_codec_test.go index f0a671d6d1..8d17a1759f 100644 --- a/web/api/v1/json_codec_test.go +++ b/web/api/v1/json_codec_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/web/api/v1/translate_ast.go b/web/api/v1/translate_ast.go index dc2e7e2901..3cce0583f9 100644 --- a/web/api/v1/translate_ast.go +++ b/web/api/v1/translate_ast.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/web/federate.go b/web/federate.go index 443fd73568..584b8d7c4a 100644 --- a/web/federate.go +++ b/web/federate.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/web/federate_test.go b/web/federate_test.go index 55e20c6b2f..932639e2e6 100644 --- a/web/federate_test.go +++ b/web/federate_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/web/ui/assets_embed.go b/web/ui/assets_embed.go index a5f8f5ddfa..48e4a2c6f1 100644 --- a/web/ui/assets_embed.go +++ b/web/ui/assets_embed.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/web/ui/mantine-ui/src/promql/tools/gen_functions_docs/main.go b/web/ui/mantine-ui/src/promql/tools/gen_functions_docs/main.go index 1b58362393..74e8ac0354 100644 --- a/web/ui/mantine-ui/src/promql/tools/gen_functions_docs/main.go +++ b/web/ui/mantine-ui/src/promql/tools/gen_functions_docs/main.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/web/ui/mantine-ui/src/promql/tools/gen_functions_list/main.go b/web/ui/mantine-ui/src/promql/tools/gen_functions_list/main.go index 8713772dfe..6b77f368c8 100644 --- a/web/ui/mantine-ui/src/promql/tools/gen_functions_list/main.go +++ b/web/ui/mantine-ui/src/promql/tools/gen_functions_list/main.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/web/ui/module/lezer-promql/src/highlight.js b/web/ui/module/lezer-promql/src/highlight.js index 9c1b5601a3..b452373345 100644 --- a/web/ui/module/lezer-promql/src/highlight.js +++ b/web/ui/module/lezer-promql/src/highlight.js @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/web/ui/module/lezer-promql/src/tokens.js b/web/ui/module/lezer-promql/src/tokens.js index 1695ae1d87..523c306ae9 100644 --- a/web/ui/module/lezer-promql/src/tokens.js +++ b/web/ui/module/lezer-promql/src/tokens.js @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/web/ui/ui.go b/web/ui/ui.go index 2585951d4d..c427dcf119 100644 --- a/web/ui/ui.go +++ b/web/ui/ui.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/web/web.go b/web/web.go index e787cbb4ac..afe78e4255 100644 --- a/web/web.go +++ b/web/web.go @@ -1,4 +1,4 @@ -// Copyright 2013 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/web/web_test.go b/web/web_test.go index b07e26cfa8..ae7d532f1f 100644 --- a/web/web_test.go +++ b/web/web_test.go @@ -1,4 +1,4 @@ -// Copyright 2016 The Prometheus Authors +// Copyright The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at