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: prometheus_exporter.go
    path of file: ./repos/encore/runtimes/go/appruntime/infrasdk/metrics
    
    the code of the file until where you have to start completion: //go:build !encore_no_prometheus

package metrics

import (
	"encore.dev/appruntime/exported/config"
	"encore.dev/appruntime/infrasdk/metadata"
	"encore.dev/appruntime/infrasdk/metrics/prometheus"
)

func init() {
	registerProvider(providerDesc{
		name: "prometheus",
		matches: func(cfg *config.Metrics) bool {
			return cfg.Prometheus != nil
		},
		newExporter: func(m *Manager) exporter {
			containerMet
    
func init() {
	registerProvider(providerDesc{
		name: "prometheus",
		matches: func(cfg *config.Metrics) bool {
			return cfg.Prometheus != nil
		},
		newExporter: func(m *Manager) exporter {
			containerMetadata, err := metadata.GetContainerMetadata(m.runtime)
			if err != nil {
				m.rootLogger.Err(err).Msg("unable to initialize metrics exporter: error getting container metadata")
				return nil
			}

			return prometheus.New(m.static.BundledServices, m.runtime.Metrics.Prometheus, containerMetadata, m.rootLogger)
		},
	})
}