code: func RegisterPrometheus(ctx context.Context, config *types.Prometheus) Registry {
  	standardRegistry := initStandardRegistry(config)
  
  	if !registerPromState(ctx) {
  		return nil
  	}
  
  	return standardRegistry
  }
docs: // RegisterPrometheus registers all Prometheus metrics.
  // It must be called only once and failing to register the metrics will lead to a panic.