- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for withPanels (0.15 sec)
-
manifests/addons/dashboards/pilot.libsonnet
}); dashboard.new('Istio Control Plane Dashboard') + g.dashboard.withPanels( grid.makeGrid([ row.new('Deployed Versions') + row.withPanels([ panels.timeSeries.simple('Pilot Versions', queries.istioBuild, 'Version number of each running instance'), ]), ], panelHeight=5) + grid.makeGrid([ row.new('Resource Usage') + row.withPanels([
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 2.9K bytes - Viewed (0) -
manifests/addons/dashboards/ztunnel.libsonnet
container: "istio-proxy", pod: "ztunnel-.*", component: "ztunnel", app: "ztunnel", }); dashboard.new('Istio Ztunnel Dashboard') + g.dashboard.withPanels( grid.makeGrid([ row.new('Process') + row.withPanels([ panels.timeSeries.base('Ztunnel Versions', queries.istioBuild, 'Version number of each running instance'),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 1.7K bytes - Viewed (0) -
pkg/log/logr.go
if level > debugLevelThreshold { zl.l.WithLabels(keysAndVals...).Debug(trimNewline(msg)) } else { zl.l.WithLabels(keysAndVals...).Info(trimNewline(msg)) } } func (zl *zapLogger) Error(err error, msg string, keysAndVals ...any) { if zl.l.ErrorEnabled() { if err == nil { zl.l.WithLabels(keysAndVals...).Error(trimNewline(msg)) } else { zl.l.WithLabels(keysAndVals...).Error(fmt.Sprintf("%v: %s", err.Error(), msg))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 3K bytes - Viewed (0) -
src/runtime/pprof/label.go
keyVals = append(keyVals, fmt.Sprintf("%q:%q", k, v)) } slices.Sort(keyVals) return "{" + strings.Join(keyVals, ", ") + "}" } // WithLabels returns a new [context.Context] with the given labels added. // A label overwrites a prior label with the same key. func WithLabels(ctx context.Context, labels LabelSet) context.Context { parentLabels := labelValue(ctx) childLabels := make(labelMap, len(parentLabels))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3K bytes - Viewed (0) -
pkg/test/echo/server/endpoint/tcp.go
return } id := uuid.New() epLog.WithLabels("remote", conn.RemoteAddr(), "id", id).Infof("TCP Request") done := make(chan struct{}) go func() { s.echo(id, conn) close(done) }() go func() { select { case <-done: return case <-time.After(requestTimeout): epLog.WithLabels("id", id).Warnf("TCP forcing connection closed after request timeout")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 16:20:31 UTC 2023 - 5.7K bytes - Viewed (0) -
src/runtime/pprof/label_test.go
ctx := context.Background() labels := labelsSorted(ctx) if len(labels) != 0 { t.Errorf("labels on background context: want [], got %v ", labels) } // Add a single label. ctx = WithLabels(ctx, Labels("key", "value")) // Retrieve it with Label. v, ok := Label(ctx, "key") if !ok || v != "value" { t.Errorf(`Label(ctx, "key"): got %v, %v; want "value", ok`, v, ok) } gotLabels := labelsSorted(ctx)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 23:34:11 UTC 2023 - 3.4K bytes - Viewed (0) -
tools/docker-builder/builder/crane.go
if err != nil { log.WithLabels("image", b).Warnf("base failed: %v", err) return } plat := v1.Platform{ Architecture: b.arch, OS: "linux", } bi, err := remote.Image(ref, remote.WithPlatform(plat), remote.WithProgress(CreateProgress(fmt.Sprintf("base %v", ref)))) if err != nil { log.WithLabels("image", b).Warnf("base failed: %v", err) return }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jul 26 01:07:39 UTC 2023 - 9K bytes - Viewed (0) -
pkg/hbone/server.go
go func() { // downstream (hbone client) <-- upstream (app) copyBuffered(w, dst, log.WithLabels("name", "dst to w")) err = r.Body.Close() if err != nil { log.Infof("connection to hbone client is not closed: %v", err) } wg.Done() }() // downstream (hbone client) --> upstream (app) copyBuffered(dst, r.Body, log.WithLabels("name", "body to dst")) wg.Wait() log.Infof("connection closed in %v", time.Since(t0))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 10 02:05:07 UTC 2022 - 2.4K bytes - Viewed (0) -
pkg/log/default.go
func DebugEnabled() bool { return defaultScope.DebugEnabled() } // WithLabels adds a key-value pairs to the labels in s. The key must be a string, while the value may be any type. // It returns a copy of the default scope, with the labels added. func WithLabels(kvlist ...any) *Scope { return defaultScope.WithLabels(kvlist...)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 26 20:38:10 UTC 2024 - 3.3K bytes - Viewed (0) -
pkg/kube/krt/helpers.go
defer t.Stop() t0 := time.Now() defer func() { if r { log.WithLabels("name", name, "time", time.Since(t0)).Debugf("sync complete") } else { log.WithLabels("name", name, "time", time.Since(t0)).Errorf("sync failed") } }() for _, col := range collections { for { select { case <-t.C: log.WithLabels("name", name, "time", time.Since(t0)).Debugf("waiting for sync...") continue
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 3.4K bytes - Viewed (0)