You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: process_collector.go
    path of file: ./repos/hubble-ui/backend/vendor/github.com/prometheus/client_golang/prometheus/collectors
    
    the code of the file until where you have to start completion: // Copyright 2021 The Prometheus Authors
// Licensed under the Apache Licen
    
func NewProcessCollector(opts ProcessCollectorOpts) prometheus.Collector {
	//nolint:staticcheck // Ignore SA1019 until v2.
	return prometheus.NewProcessCollector(prometheus.ProcessCollectorOpts{
		PidFn:        opts.PidFn,
		Namespace:    opts.Namespace,
		ReportErrors: opts.ReportErrors,
	})
}