Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for telemetry (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pilot/pkg/networking/core/listener_inbound.go

    	// most usages should just use TargetPort. Port is mostly used for legacy compatibility and
    	// telemetry.
    	port model.ServiceInstancePort
    	// bind determines where (IP) this filter chain should bind. Note: typically we just end up using
    	// 'virtual' listener and do not literally bind to port; in these cases this just impacts naming
    	// and telemetry.
    	bind string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  8. pkg/workloadapi/workload.proto

      // CanonicalName for the workload. Used for telemetry.
      string canonical_name = 10;
      // CanonicalRevision for the workload. Used for telemetry.
      string canonical_revision = 11;
      // WorkloadType represents the type of the workload. Used for telemetry.
      WorkloadType workload_type = 12;
      // WorkloadName represents the name for the workload (of type WorkloadType). Used for telemetry.
      string workload_name = 13;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster_builder.go

    	wrappers "google.golang.org/protobuf/types/known/wrapperspb"
    
    	networking "istio.io/api/networking/v1alpha3"
    	"istio.io/istio/pilot/pkg/features"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/networking/telemetry"
    	"istio.io/istio/pilot/pkg/networking/util"
    	networkutil "istio.io/istio/pilot/pkg/util/network"
    	"istio.io/istio/pilot/pkg/util/protoconv"
    	"istio.io/istio/pilot/pkg/xds/endpoints"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  10. pilot/pkg/networking/util/util.go

    			},
    		}
    	}
    
    	// Add compressed telemetry metadata. Note this is a short term solution to make server workload metadata
    	// available at client sidecar, so that telemetry filter could use for metric labels. This is useful for two cases:
    	// server does not have sidecar injected, and request fails to reach server and thus metadata exchange does not happen.
    	// Due to performance concern, telemetry metadata is compressed into a semicolon separated string:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top