Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 165 for expr (0.04 sec)

  1. clause/where.go

    	for idx, expr := range where.Exprs {
    		if v, ok := expr.(OrConditions); !ok || len(v.Exprs) > 1 {
    			if idx != 0 {
    				where.Exprs[0], where.Exprs[idx] = where.Exprs[idx], where.Exprs[0]
    			}
    			break
    		}
    	}
    
    	buildExprs(where.Exprs, builder, AndWithSpace)
    }
    
    func buildExprs(exprs []Expression, builder Builder, joinCond string) {
    	wrapInParentheses := false
    
    	for idx, expr := range exprs {
    		if idx > 0 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Apr 25 12:22:53 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. manifests/addons/dashboards/istio-workload-dashboard.json

          },
          "pluginVersion": "10.1.5",
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${datasource}"
              },
              "expr": "round(sum(irate(istio_requests_total{reporter=~\"$qrep\",destination_workload_namespace=~\"$namespace\",destination_workload=~\"$workload\"}[5m])), 0.001)",
              "format": "time_series",
              "intervalFactor": 1,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Mar 27 03:47:04 UTC 2024
    - 102.7K bytes
    - Viewed (0)
  3. manifests/addons/dashboards/ztunnel-dashboard.gen.json

                   },
                   "expr": "sum by (pod) (rate(istio_tcp_connections_opened_total{pod=~\"ztunnel-.*\"}[$__rate_interval]))",
                   "legendFormat": "Opened ({{pod}})"
                },
                {
                   "datasource": {
                      "type": "prometheus",
                      "uid": "$datasource"
                   },
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. internal/s3select/sql/statement.go

    		return input.Clone(output), nil
    	}
    
    	for i, expr := range e.selectAST.Expression.Expressions {
    		v, err := expr.evalNode(input, e.tableAlias)
    		if err != nil {
    			return nil, err
    		}
    
    		// Pick output column names
    		if expr.As != "" {
    			output, err = output.Set(expr.As, v)
    		} else if comp, ok := getLastKeypathComponent(expr.Expression); ok {
    			output, err = output.Set(comp, v)
    		} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. manifests/addons/dashboards/istio-mesh-dashboard.gen.json

             "pluginVersion": "v11.0.0",
             "targets": [
                {
                   "datasource": {
                      "type": "prometheus",
                      "uid": "$datasource"
                   },
                   "expr": "round(sum (rate(istio_requests_total{reporter=~\"source|waypoint\"}[$__rate_interval])), 0.01)"
                }
             ],
             "title": "Traffic Volume",
             "type": "stat"
          },
          {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  6. clause/expression.go

    	NegationBuild(builder Builder)
    }
    
    // Expr raw expression
    type Expr struct {
    	SQL                string
    	Vars               []interface{}
    	WithoutParentheses bool
    }
    
    // Build build raw expression
    func (expr Expr) Build(builder Builder) {
    	var (
    		afterParenthesis bool
    		idx              int
    	)
    
    	for _, v := range []byte(expr.SQL) {
    		if v == '?' && len(expr.Vars) > idx {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Oct 10 06:45:48 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  7. manifests/addons/dashboards/istio-service-dashboard.json

          },
          "pluginVersion": "10.1.5",
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${datasource}"
              },
              "expr": "round(sum(irate(istio_requests_total{reporter=~\"$qrep\",destination_service=~\"$service\"}[5m])), 0.001)",
              "format": "time_series",
              "intervalFactor": 1,
              "refId": "A",
              "step": 4
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Mar 27 03:47:04 UTC 2024
    - 111.8K bytes
    - Viewed (0)
  8. docs/metrics/prometheus/grafana/minio-dashboard.json

          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_PROMETHEUS}"
              },
              "exemplar": true,
              "expr": "time() - max(minio_node_process_starttime_seconds{job=~\"$scrape_jobs\"})",
              "format": "time_series",
              "instant": true,
              "interval": "",
              "intervalFactor": 1,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 14:51:03 UTC 2024
    - 93K bytes
    - Viewed (0)
  9. clause/where_test.go

    				Exprs: []clause.Expression{clause.Not(clause.Expr{SQL: "`score` <= ?", Vars: []interface{}{100}},
    					clause.Expr{SQL: "`age` <= ?", Vars: []interface{}{60}})},
    			}},
    			"SELECT * FROM `users` WHERE NOT (`score` <= ? AND `age` <= ?)",
    			[]interface{}{100, 60},
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Where{
    				Exprs: []clause.Expression{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Apr 25 12:22:53 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. docs/metrics/prometheus/grafana/replication/minio-replication-node.json

          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_PROMETHEUS}"
              },
              "exemplar": true,
              "expr": "sum by (server) (minio_node_replication_average_active_workers{job=\"$scrape_jobs\"})",
              "interval": "1m",
              "intervalFactor": 2,
              "legendFormat": "{{server}}",
              "refId": "A"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 57.4K bytes
    - Viewed (0)
Back to top