Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Prometheus (0.23 sec)

  1. istioctl/pkg/dashboard/dashboard.go

    )
    
    // port-forward to Istio System Prometheus; open browser
    func promDashCmd(ctx cli.Context) *cobra.Command {
    	var opts clioptions.ControlPlaneOptions
    	cmd := &cobra.Command{
    		Use:   "prometheus",
    		Short: "Open Prometheus web UI",
    		Long:  `Open Istio's Prometheus dashboard`,
    		Example: `  istioctl dashboard prometheus
    
      # with short syntax
      istioctl dash prometheus
      istioctl d prometheus`,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  2. cni/pkg/repair/netns.go

    // limitations under the License.
    
    package repair
    
    import (
    	"fmt"
    	"math"
    	"net"
    	"strconv"
    
    	netns "github.com/containernetworking/plugins/pkg/ns"
    	"github.com/prometheus/procfs"
    	"github.com/vishvananda/netlink"
    	"golang.org/x/sys/unix"
    	corev1 "k8s.io/api/core/v1"
    
    	"istio.io/istio/pkg/log"
    )
    
    func getPidNamespace(pid int) string {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. istioctl/pkg/dashboard/dashboard_test.go

    			ExpectedOutput: "Error: no pods found with selector app=kiali\n",
    			WantException:  true,
    		},
    		{ // case 9
    			Args:           strings.Split("prometheus --browser=false", " "),
    			ExpectedOutput: "Error: no pods found with selector app.kubernetes.io/name=prometheus\n",
    			WantException:  true,
    		},
    		{ // case 10
    			Args:           strings.Split("zipkin --browser=false", " "),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Nov 21 01:17:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  4. istioctl/pkg/metrics/metrics.go

    import (
    	"context"
    	"errors"
    	"fmt"
    	"io"
    	"strings"
    	"text/tabwriter"
    	"time"
    
    	"github.com/hashicorp/go-multierror"
    	"github.com/prometheus/client_golang/api"
    	promv1 "github.com/prometheus/client_golang/api/prometheus/v1"
    	"github.com/prometheus/common/model"
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/istioctl/pkg/completion"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  5. istioctl/pkg/metrics/metrics_test.go

    	"strings"
    	"testing"
    	"time"
    
    	promv1 "github.com/prometheus/client_golang/api/prometheus/v1"
    	prometheus_model "github.com/prometheus/common/model"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/util/testutil"
    )
    
    // mockPromAPI lets us mock calls to Prometheus API
    type mockPromAPI struct {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 25 02:07:44 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  6. istioctl/pkg/proxyconfig/proxyconfig.go

      # Retrieve Envoy server metrics in prometheus format
      istioctl experimental envoy-stats <pod-name[.namespace]> --output prom
    
      # Retrieve Envoy server metrics in prometheus format with custom proxy admin port
      istioctl experimental envoy-stats <pod-name[.namespace]> --output prom --proxy-admin-port 15000
    
      # Retrieve Envoy server metrics in prometheus format with merged application metrics
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  7. cni/pkg/monitoring/monitoring.go

    		log.Errorf("unable to listen on socket: %v", err)
    		return
    	}
    	exporter, err := monitoring.RegisterPrometheusExporter(nil, nil)
    	if err != nil {
    		log.Errorf("could not set up prometheus exporter: %v", err)
    		return
    	}
    	mux.Handle(path, exporter)
    	monitoringServer := &http.Server{
    		Handler: mux,
    	}
    	go func() {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jun 09 07:54:01 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  8. cni/pkg/cmd/root.go

    	registerBooleanParameter(constants.SkipTLSVerify, false, "Whether to use insecure TLS in kubeconfig file")
    	registerIntegerParameter(constants.MonitoringPort, 15014, "HTTP port to serve prometheus metrics")
    	registerStringParameter(constants.LogUDSAddress, "/var/run/istio-cni/log.sock", "The UDS server address which CNI plugin will copy log output to")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  9. istioctl/pkg/workload/workload.go

    	portBehavior := "*"
    	if len(ports) > 0 {
    		portBehavior = strings.Join(ports, ",")
    	}
    
    	// 22: ssh is extremely common for VMs, and we do not want to make VM inaccessible if there is an issue
    	// 15090: prometheus
    	// 15021/15020: agent
    	excludePorts := "22,15090,15021"
    	if config.StatusPort != 15090 && config.StatusPort != 15021 {
    		if config.StatusPort != 0 {
    			// Explicit status port set, use that
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
Back to top