Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for Prometheus (0.3 sec)

  1. cmd/metrics-v3-types.go

    	case HistogramMT:
    		return "histogram"
    	default:
    		return "*unknown*"
    	}
    }
    
    func (mt MetricType) toProm() prometheus.ValueType {
    	switch mt {
    	case CounterMT:
    		return prometheus.CounterValue
    	case GaugeMT:
    		return prometheus.GaugeValue
    	case HistogramMT:
    		return prometheus.CounterValue
    	default:
    		panic(fmt.Sprintf("unknown metric type: %d", mt))
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  2. cmd/metrics-router.go

    )
    
    const (
    	prometheusMetricsPathLegacy     = "/prometheus/metrics"
    	prometheusMetricsV2ClusterPath  = "/v2/metrics/cluster"
    	prometheusMetricsV2BucketPath   = "/v2/metrics/bucket"
    	prometheusMetricsV2NodePath     = "/v2/metrics/node"
    	prometheusMetricsV2ResourcePath = "/v2/metrics/resource"
    
    	// Metrics v3 endpoints
    	metricsV3Path = "/metrics/v3"
    )
    
    // Standard env prometheus auth type
    const (
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. cmd/metrics-v3.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"slices"
    	"strings"
    
    	"github.com/prometheus/client_golang/prometheus"
    	"github.com/prometheus/client_golang/prometheus/collectors"
    )
    
    // Collector paths.
    //
    // These are paths under the top-level /minio/metrics/v3 metrics endpoint. Each
    // of these paths returns a set of V3 metrics.
    const (
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 16:07:23 GMT 2024
    - 10K bytes
    - Viewed (0)
  4. cmd/metrics-v2_test.go

    package cmd
    
    import (
    	"testing"
    	"time"
    
    	"github.com/prometheus/client_golang/prometheus"
    )
    
    func TestGetHistogramMetrics(t *testing.T) {
    	histBuckets := []float64{0.05, 0.1, 0.25, 0.5, 0.75}
    	labels := []string{"GetObject", "PutObject", "CopyObject", "CompleteMultipartUpload"}
    	ttfbHist := prometheus.NewHistogramVec(
    		prometheus.HistogramOpts{
    			Name:    "s3_ttfb_seconds",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  5. 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 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  6. cmd/http-stats.go

    package cmd
    
    import (
    	"net/http"
    	"strings"
    	"sync"
    	"sync/atomic"
    
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/prometheus/client_golang/prometheus"
    )
    
    // connStats - Network statistics
    // Count total input/output transferred bytes during
    // the server's life.
    type connStats struct {
    	internodeInputBytes  uint64
    	internodeOutputBytes uint64
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  7. 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 01 22:53:12 GMT 2024
    - Last Modified: Tue Nov 21 01:17:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  8. cmd/metrics-v3-handler.go

    package cmd
    
    import (
    	"encoding/json"
    	"fmt"
    	"net/http"
    	"slices"
    	"strings"
    
    	"github.com/minio/minio/internal/mcontext"
    	"github.com/minio/mux"
    	"github.com/prometheus/client_golang/prometheus"
    	"github.com/prometheus/client_golang/prometheus/promhttp"
    )
    
    type promLogger struct{}
    
    func (p promLogger) Println(v ...interface{}) {
    	s := make([]string, 0, len(v))
    	for _, val := range v {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  9. 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 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  10. cmd/metrics-v3-system-process.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"runtime"
    	"time"
    
    	"github.com/prometheus/procfs"
    )
    
    const (
    	processLocksReadTotal           = "locks_read_total"
    	processLocksWriteTotal          = "locks_write_total"
    	processCPUTotalSeconds          = "cpu_total_seconds"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 16:07:23 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top