Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DownloadProfileData (0.27 sec)

  1. cmd/peer-rest-client.go

    	if err != nil {
    		return err
    	}
    	defer xhttp.DrainBody(respBody)
    	return nil
    }
    
    // DownloadProfileData - download profiled data from a remote node.
    func (client *peerRESTClient) DownloadProfileData() (data map[string][]byte, err error) {
    	respBody, err := client.call(peerRESTMethodDownloadProfilingData, nil, nil, -1)
    	if err != nil {
    		return
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  2. cmd/notification.go

    	// of profiling data of all nodes
    	zipWriter := zip.NewWriter(writer)
    	defer zipWriter.Close()
    
    	for _, client := range sys.peerClients {
    		if client == nil {
    			continue
    		}
    		data, err := client.DownloadProfileData()
    		if err != nil {
    			reqInfo := (&logger.ReqInfo{}).AppendTags("peerAddress", client.host.String())
    			ctx := logger.SetReqInfo(ctx, reqInfo)
    			peersLogIf(ctx, err)
    			continue
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
Back to top