Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for download_failure (0.2 sec)

  1. pkg/wasm/monitoring.go

    // limitations under the License.
    
    package wasm
    
    import "istio.io/istio/pkg/monitoring"
    
    // Const strings for label value.
    const (
    	// For remote fetch metric.
    	fetchSuccess     = "success"
    	downloadFailure  = "download_failure"
    	manifestFailure  = "manifest_failure"
    	checksumMismatch = "checksum_mismatched"
    
    	// For Wasm conversion metric.
    	conversionSuccess   = "success"
    	noRemoteLoad        = "no_remote_load"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. tests/integration/telemetry/api/wasmplugin_test.go

    	}
    
    	// Wait until there is agent metrics for wasm download failure
    	retry.UntilSuccessOrFail(t, func() error {
    		q := prometheus.Query{Metric: "istio_agent_wasm_remote_fetch_count", Labels: map[string]string{"result": "download_failure"}}
    		c := to.Config().Cluster
    		if _, err := util.QueryPrometheus(t, c, q, promInst); err != nil {
    			util.PromDiff(t, promInst, c, q)
    			return err
    		}
    		return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. pkg/wasm/cache.go

    	switch u.Scheme {
    	case "http", "https":
    		// Download the Wasm module with http fetcher.
    		b, err = c.httpFetcher.Fetch(ctx, key.downloadURL, insecure)
    		if err != nil {
    			wasmRemoteFetchCount.With(resultTag.Value(downloadFailure)).Increment()
    			return nil, err
    		}
    
    		// Get sha256 checksum and check if it is the same as provided one.
    		sha := sha256.Sum256(b)
    		dChecksum = hex.EncodeToString(sha[:])
    	case "oci":
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top