Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for telemetry (1.86 sec)

  1. pilot/pkg/features/telemetry.go

    		"If true, pilot will add telemetry related metadata to cluster and endpoint resources, which will be consumed by telemetry filter.",
    	).Get()
    
    	EndpointTelemetryLabel = env.Register("PILOT_ENDPOINT_TELEMETRY_LABEL", true,
    		"If true, pilot will add telemetry related metadata to Endpoint resource, which will be consumed by telemetry filter.",
    	).Get()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:36:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/telemetry/start.go

    // license that can be found in the LICENSE file.
    
    package telemetry
    
    import (
    	"fmt"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"sync"
    	"time"
    
    	"golang.org/x/sync/errgroup"
    	"golang.org/x/telemetry/counter"
    	"golang.org/x/telemetry/internal/crashmonitor"
    	"golang.org/x/telemetry/internal/telemetry"
    	"golang.org/x/telemetry/internal/upload"
    )
    
    // Config controls the behavior of [Start].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/telemetry/internal/configstore/download.go

    	"os"
    	"os/exec"
    	"path/filepath"
    
    	"golang.org/x/telemetry/internal/telemetry"
    )
    
    const (
    	ModulePath     = "golang.org/x/telemetry/config"
    	configFileName = "config.json"
    )
    
    // needNoConsole is used on windows to set the windows.CREATE_NO_WINDOW
    // creation flag.
    var needNoConsole = func(cmd *exec.Cmd) {}
    
    // Download fetches the requested telemetry UploadConfig using "go mod
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. pilot/pkg/model/telemetry_test.go

    	}{
    		{
    			name: "empty telemetry configuration",
    			args: args{
    				ct:   &computedTelemetries{},
    				tel:  Telemetry{},
    				spec: &tpb.Telemetry{},
    			},
    			want: &computedTelemetries{},
    		},
    		{
    			name: "targetRef is defined, telemetry configurations are added to empty computed telemetries",
    			args: args{
    				ct: &computedTelemetries{},
    				tel: Telemetry{
    					Name:      "my-telemetry",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/accesslog_test.go

    					},
    				},
    			},
    		},
    		{
    			name: "without-telemetry",
    			push: env.PushContext(),
    			proxy: &model.Proxy{
    				ConfigNamespace: "default",
    				Labels:          map[string]string{"app": "without-telemetry"},
    				Metadata:        &model.NodeMetadata{Labels: map[string]string{"app": "without-telemetry"}},
    			},
    			tcp:   &tcp.TcpProxy{},
    			class: networking.ListenerClassSidecarInbound,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/modules.txt

    golang.org/x/sys/unix
    golang.org/x/sys/windows
    # golang.org/x/telemetry v0.0.0-20240603224550-f2b69109f79b
    ## explicit; go 1.20
    golang.org/x/telemetry
    golang.org/x/telemetry/counter
    golang.org/x/telemetry/counter/countertest
    golang.org/x/telemetry/internal/config
    golang.org/x/telemetry/internal/configstore
    golang.org/x/telemetry/internal/counter
    golang.org/x/telemetry/internal/crashmonitor
    golang.org/x/telemetry/internal/mmap
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. pilot/pkg/model/telemetry_logging_test.go

    					},
    				},
    			},
    		},
    	}
    	empty := &tpb.Telemetry{
    		AccessLogging: []*tpb.AccessLogging{{}},
    	}
    	defaultJSON := &tpb.Telemetry{
    		AccessLogging: []*tpb.AccessLogging{
    			{
    				Providers: []*tpb.ProviderRef{
    					{
    						Name: "envoy-json",
    					},
    				},
    			},
    		},
    	}
    	disabled := &tpb.Telemetry{
    		AccessLogging: []*tpb.AccessLogging{
    			{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 54K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/telemetry/internal/upload/reports.go

    import (
    	"crypto/rand"
    	"encoding/binary"
    	"encoding/json"
    	"fmt"
    	"math"
    	"os"
    	"path/filepath"
    	"strings"
    	"time"
    
    	"golang.org/x/telemetry/internal/config"
    	"golang.org/x/telemetry/internal/counter"
    	"golang.org/x/telemetry/internal/telemetry"
    )
    
    // reports generates reports from inactive count files
    func (u *uploader) reports(todo *work) ([]string, error) {
    	if mode, _ := u.dir.Mode(); mode == "off" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. pkg/config/analysis/analyzers/analyzers_test.go

    		},
    	},
    	{
    		name:       "Analyze invalid telemetry",
    		inputFiles: []string{"testdata/telemetry-invalid-provider.yaml"},
    		analyzer:   &telemetry.ProdiverAnalyzer{},
    		expected: []message{
    			{msg.InvalidTelemetryProvider, "Telemetry istio-system/mesh-default"},
    		},
    	},
    	{
    		name:       "Analyze invalid telemetry",
    		inputFiles: []string{"testdata/telemetry-disable-provider.yaml"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go

    	// a race.
    	weekends := filepath.Join(telemetry.Default.LocalDir(), "weekends")
    	day := fmt.Sprintf("%d\n", rand.Intn(7))
    	if _, err := os.ReadFile(weekends); err != nil {
    		if err := os.MkdirAll(telemetry.Default.LocalDir(), 0777); err != nil {
    			debugPrintf("%v: could not create telemetry.LocalDir %s", err, telemetry.Default.LocalDir())
    			return 0, err
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top