Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for GOTELEMETRY (0.12 sec)

  1. src/cmd/go/testdata/script/telemetry.txt

    go telemetry off
    go telemetry
    stdout 'off'
    go env GOTELEMETRY
    stdout 'off'
    
    go telemetry local
    go telemetry
    stdout 'local'
    go env GOTELEMETRY
    stdout 'local'
    
    go telemetry on
    go telemetry
    stdout 'on'
    go env GOTELEMETRY
    stdout 'on'
    
    go env
    stdout 'GOTELEMETRY=''?on''?'
    stdout 'GOTELEMETRYDIR=''?'$userconfig'[\\/]go[\\/]telemetry''?'
    ! go env -w GOTELEMETRY=off
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 20:16:39 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/telemetry/mode.go

    //
    // When mode is "on", or "local", telemetry data is written to the local file
    // system and may be inspected with the [gotelemetry] command.
    //
    // If an error occurs while reading the telemetry mode from the file system,
    // Mode returns the default value "local".
    //
    // [gotelemetry]: https://pkg.go.dev/golang.org/x/telemetry/cmd/gotelemetry
    func Mode() string {
    	mode, _ := telemetry.Default.Mode()
    	return mode
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:13:09 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. src/cmd/internal/telemetry/telemetry.go

    //
    // When mode is "on", or "local", telemetry data is written to the local file
    // system and may be inspected with the [gotelemetry] command.
    //
    // If an error occurs while reading the telemetry mode from the file system,
    // Mode returns the default value "local".
    //
    // [gotelemetry]: https://pkg.go.dev/golang.org/x/telemetry/cmd/gotelemetry
    func Mode() string {
    	return telemetry.Mode()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/telemetry/README.md

      package provides a hook for Go toolchain programs to upload telemetry data,
      if the user has opted in to telemetry uploading.
    - The [x/telemetry/cmd/gotelemetry](https://pkg.go.dev/pkg/golang.org/x/telemetry/cmd/gotelemetry)
      command is used for managing telemetry data and configuration.
    - The [x/telemetry/config](https://pkg.go.dev/pkg/golang.org/x/telemetry/config)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. doc/next/3-tools.md

    mode. Without arguments, it displays the current mode. With `local`, `on`, or `off`, it sets
    the collection mode. `go` `env` now lists two values: the `GOTELEMETRY` value, which
    contains the telemetry collection mode, and the `GOTELEMETRYDIR` value setting which contains
    the directory telemetry data and configuration are written to.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 19:06:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/telemetry/start.go

    	// from the local telemetry database to telemetry.go.dev.
    	//
    	// This option has no effect unless the user has given consent
    	// to enable data collection, for example by running
    	// cmd/gotelemetry or affirming the gopls dialog.
    	//
    	// (This feature is expected to be used only by gopls.
    	// Longer term, the go command may become the sole program
    	// responsible for uploading.)
    	Upload bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. src/cmd/go/internal/envcmd/env.go

    		{Name: "GOTOOLCHAIN"},
    		{Name: "GOTOOLDIR", Value: build.ToolDir},
    		{Name: "GOVCS", Value: cfg.GOVCS},
    		{Name: "GOVERSION", Value: runtime.Version()},
    		{Name: "GODEBUG", Value: os.Getenv("GODEBUG")},
    		{Name: "GOTELEMETRY", Value: telemetry.Mode()},
    		{Name: "GOTELEMETRYDIR", Value: telemetry.Dir()},
    	}
    
    	for i := range env {
    		switch env[i].Name {
    		case "GO111MODULE":
    			if env[i].Value != "on" && env[i].Value != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top