From 3bfe54ade09026b3f9b422b5f17c07ff09100e25 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 21 Sep 2023 17:33:02 +0200 Subject: [PATCH 01/22] docs: Prepare Changelog for 8.10.2 (#36643) (#36646) * docs: Close changelog for 8.10.2 * Update CHANGELOG.asciidoc * Update CHANGELOG.asciidoc Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com> --------- Co-authored-by: Pierre HILBERT Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com> (cherry picked from commit 513ace48f5f05196abd3c6d48441879505189a01) Co-authored-by: Elastic Machine --- CHANGELOG.asciidoc | 17 +++++++++++++++++ CHANGELOG.next.asciidoc | 5 +++-- libbeat/docs/release.asciidoc | 1 + 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index 19a7f4db7c9..43cef19f10e 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -3,6 +3,23 @@ :issue: https://github.com/elastic/beats/issues/ :pull: https://github.com/elastic/beats/pull/ +[[release-notes-8.10.2]] +=== Beats version 8.10.2 +https://github.com/elastic/beats/compare/v8.10.1\...v8.10.2[View commits] + +==== Bugfixes + +*Packetbeat* + +- Prevent panic when more than one interface is configured in Fleet. {issue}36574[36574] {pull}36575[36575] + +==== Added + +*Affecting all Beats* + +- Upgrade Go to 1.20.8 {pull}36597[36597] + + [[release-notes-8.10.1]] === Beats version 8.10.1 https://github.com/elastic/beats/compare/v8.10.0\...v8.10.1[View commits] diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index c7124830c0d..c7251aef80a 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -134,7 +134,6 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff] *Packetbeat* -- Prevent panic when more than one interface is configured in fleet. {issue}36574[36574] {pull}36575[36575] *Winlogbeat* @@ -146,7 +145,6 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff] *Affecting all Beats* -- Upgrade Go to 1.20.8 {pull}36597[36597] - Added append Processor which will append concrete values or values from a field to target. {issue}29934[29934] {pull}33364[33364] - When running under Elastic-Agent the status is now reported per Unit instead of the whole Beat {issue}35874[35874] {pull}36183[36183] - Add warning message to SysV init scripts for RPM-based systems that lack `/etc/rc.d/init.d/functions`. {issue}35708[35708] {pull}36188[36188] @@ -305,3 +303,6 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff] + + + diff --git a/libbeat/docs/release.asciidoc b/libbeat/docs/release.asciidoc index cca199441ae..0163c1f1c14 100644 --- a/libbeat/docs/release.asciidoc +++ b/libbeat/docs/release.asciidoc @@ -8,6 +8,7 @@ This section summarizes the changes in each release. Also read <> for more detail about changes that affect upgrade. +* <> * <> * <> * <> From 4ad4a7dccd417d08ab0e27ff69d231dfbda25a05 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Sep 2023 15:45:29 -0400 Subject: [PATCH 02/22] build(deps): bump github.com/elastic/go-elasticsearch/v8 from 8.9.0 to 8.10.0 (#36639) * build(deps): bump github.com/elastic/go-elasticsearch/v8 Bumps [github.com/elastic/go-elasticsearch/v8](https://github.com/elastic/go-elasticsearch) from 8.9.0 to 8.10.0. - [Release notes](https://github.com/elastic/go-elasticsearch/releases) - [Changelog](https://github.com/elastic/go-elasticsearch/blob/main/CHANGELOG.md) - [Commits](https://github.com/elastic/go-elasticsearch/compare/v8.9.0...v8.10.0) --- updated-dependencies: - dependency-name: github.com/elastic/go-elasticsearch/v8 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Update NOTICE.txt --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] --- NOTICE.txt | 4 ++-- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/NOTICE.txt b/NOTICE.txt index 8932387928e..77541649c2d 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -13448,11 +13448,11 @@ Contents of probable licence file $GOMODCACHE/github.com/elastic/go-concert@v0.2 -------------------------------------------------------------------------------- Dependency : github.com/elastic/go-elasticsearch/v8 -Version: v8.9.0 +Version: v8.10.0 Licence type (autodetected): Apache-2.0 -------------------------------------------------------------------------------- -Contents of probable licence file $GOMODCACHE/github.com/elastic/go-elasticsearch/v8@v8.9.0/LICENSE: +Contents of probable licence file $GOMODCACHE/github.com/elastic/go-elasticsearch/v8@v8.10.0/LICENSE: Apache License Version 2.0, January 2004 diff --git a/go.mod b/go.mod index a34d9f460d5..0aa925dcc15 100644 --- a/go.mod +++ b/go.mod @@ -205,7 +205,7 @@ require ( github.com/elastic/elastic-agent-libs v0.3.15-0.20230913212237-dbdaf18c898b github.com/elastic/elastic-agent-shipper-client v0.5.1-0.20230228231646-f04347b666f3 github.com/elastic/elastic-agent-system-metrics v0.6.1 - github.com/elastic/go-elasticsearch/v8 v8.9.0 + github.com/elastic/go-elasticsearch/v8 v8.10.0 github.com/elastic/mito v1.5.0 github.com/elastic/toutoumomoma v0.0.0-20221026030040-594ef30cb640 github.com/foxcpp/go-mockdns v0.0.0-20201212160233-ede2f9158d15 diff --git a/go.sum b/go.sum index 9249a6758da..2375c473a8d 100644 --- a/go.sum +++ b/go.sum @@ -667,8 +667,8 @@ github.com/elastic/fsevents v0.0.0-20181029231046-e1d381a4d270/go.mod h1:Msl1pdb github.com/elastic/glog v1.0.1-0.20210831205241-7d8b5c89dfc4/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= github.com/elastic/go-concert v0.2.0 h1:GAQrhRVXprnNjtvTP9pWJ1d4ToEA4cU5ci7TwTa20xg= github.com/elastic/go-concert v0.2.0/go.mod h1:HWjpO3IAEJUxOeaJOWXWEp7imKd27foxz9V5vegC/38= -github.com/elastic/go-elasticsearch/v8 v8.9.0 h1:8xtmYjUkqtahl50E0Bg/wjKI7K63krJrrLipbNj/fCU= -github.com/elastic/go-elasticsearch/v8 v8.9.0/go.mod h1:NGmpvohKiRHXI0Sw4fuUGn6hYOmAXlyCphKpzVBiqDE= +github.com/elastic/go-elasticsearch/v8 v8.10.0 h1:ALg3DMxSrx07YmeMNcfPf7cFh1Ep2+Qa19EOXTbwr2k= +github.com/elastic/go-elasticsearch/v8 v8.10.0/go.mod h1:NGmpvohKiRHXI0Sw4fuUGn6hYOmAXlyCphKpzVBiqDE= github.com/elastic/go-libaudit/v2 v2.3.3 h1:PO+9/HDSn65UAyydkkoTf81QET14fWmocHFiGEX/E6M= github.com/elastic/go-libaudit/v2 v2.3.3/go.mod h1:+ZE0czqmbqtnRkl0fNgpI+HvVVRo/ZMJdcXv/PaKcOo= github.com/elastic/go-licenser v0.4.1 h1:1xDURsc8pL5zYT9R29425J3vkHdt4RT5TNEMeRN48x4= From 283049266daf0dea9a1724a684dd410fca32f64d Mon Sep 17 00:00:00 2001 From: Milton Hultgren Date: Fri, 22 Sep 2023 15:26:41 +0200 Subject: [PATCH 03/22] [elasticsearch] Add the local query parameter when fetching cluster state (#36586) * [elasticsearch] Add the local query parameter when fetching cluster state * Fix lint issues --- .../module/elasticsearch/elasticsearch.go | 28 ++++++++++++------- .../module/elasticsearch/shard/shard.go | 2 +- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/metricbeat/module/elasticsearch/elasticsearch.go b/metricbeat/module/elasticsearch/elasticsearch.go index 00737472f2c..0bf7aa5b532 100644 --- a/metricbeat/module/elasticsearch/elasticsearch.go +++ b/metricbeat/module/elasticsearch/elasticsearch.go @@ -170,18 +170,20 @@ func getNodeName(http *helper.HTTP, uri string) (string, error) { Nodes map[string]interface{} `json:"nodes"` }{} - json.Unmarshal(content, &nodesStruct) + err = json.Unmarshal(content, &nodesStruct) + if err != nil { + return "", err + } // _local will only fetch one node info. First entry is node name for k := range nodesStruct.Nodes { return k, nil } - return "", fmt.Errorf("No local node found") + return "", fmt.Errorf("no local node found") } func getMasterName(http *helper.HTTP, uri string) (string, error) { - // TODO: evaluate on why when run with ?local=true request does not contain master_node field - content, err := fetchPath(http, uri, "_cluster/state/master_node", "") + content, err := fetchPath(http, uri, "_cluster/state/master_node", "local=true") if err != nil { return "", err } @@ -190,7 +192,10 @@ func getMasterName(http *helper.HTTP, uri string) (string, error) { MasterNode string `json:"master_node"` }{} - json.Unmarshal(content, &clusterStruct) + err = json.Unmarshal(content, &clusterStruct) + if err != nil { + return "", err + } return clusterStruct.MasterNode, nil } @@ -236,7 +241,10 @@ func GetNodeInfo(http *helper.HTTP, uri string, nodeID string) (*NodeInfo, error Nodes map[string]*NodeInfo `json:"nodes"` }{} - json.Unmarshal(content, &nodesStruct) + err = json.Unmarshal(content, &nodesStruct) + if err != nil { + return nil, err + } // _local will only fetch one node info. First entry is node name for k, v := range nodesStruct.Nodes { @@ -283,11 +291,11 @@ func GetLicense(http *helper.HTTP, resetURI string) (*License, error) { // GetClusterState returns cluster state information. func GetClusterState(http *helper.HTTP, resetURI string, metrics []string) (mapstr.M, error) { clusterStateURI := "_cluster/state" - if metrics != nil && len(metrics) > 0 { + if len(metrics) > 0 { clusterStateURI += "/" + strings.Join(metrics, ",") } - content, err := fetchPath(http, resetURI, clusterStateURI, "") + content, err := fetchPath(http, resetURI, clusterStateURI, "local=true") if err != nil { return nil, err } @@ -310,7 +318,7 @@ func GetClusterSettings(http *helper.HTTP, resetURI string, includeDefaults bool queryParams = append(queryParams, "include_defaults=true") } - if filterPaths != nil && len(filterPaths) > 0 { + if len(filterPaths) > 0 { filterPathQueryParam := "filter_path=" + strings.Join(filterPaths, ",") queryParams = append(queryParams, filterPathQueryParam) } @@ -451,7 +459,7 @@ func GetMasterNodeID(http *helper.HTTP, resetURI string) (string, error) { return "", err } - for nodeID, _ := range response.Nodes { + for nodeID := range response.Nodes { return nodeID, nil } diff --git a/metricbeat/module/elasticsearch/shard/shard.go b/metricbeat/module/elasticsearch/shard/shard.go index 63650d55596..fe0094ad8a5 100644 --- a/metricbeat/module/elasticsearch/shard/shard.go +++ b/metricbeat/module/elasticsearch/shard/shard.go @@ -31,7 +31,7 @@ func init() { } const ( - statePath = "/_cluster/state/version,nodes,master_node,routing_table" + statePath = "/_cluster/state/version,nodes,master_node,routing_table?local=true" ) // MetricSet type defines all fields of the MetricSet From 23246fe439c07be90342f7aca740efefbc83b754 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constan=C3=A7a=20Manteigas?= <113898685+constanca-m@users.noreply.github.com> Date: Fri, 22 Sep 2023 16:13:06 +0200 Subject: [PATCH 04/22] [Prometheus] Update prometheus histogram (#36537) * Update prometheus histogram. * Update tests. * Fix error. * Revert change on expected files. * Add missing comments. * Add unit test. * Add unit test. * Run mage check. * Update changelog. * Add comment. * Update CHANGELOG-developer.next.asciidoc Co-authored-by: Chris Mark --------- Co-authored-by: Chris Mark --- CHANGELOG-developer.next.asciidoc | 1 + .../helper/prometheus/prometheus_test.go | 88 + metricbeat/helper/prometheus/textparse.go | 54 +- .../apiserver/_meta/test/metrics.2.0.expected | 26342 ++++++++-------- .../prometheus/collector/_meta/data.json | 6 +- .../_meta/testdata/docs.plain-expected.json | 4 +- .../duplicate-metrics.plain-expected.json | 14 +- .../etcd-3.3.10-partial.plain-expected.json | 84 +- .../metrics-with-naninf.plain-expected.json | 70 +- ...ometheus-2.6.0-partial.plain-expected.json | 156 +- 10 files changed, 13465 insertions(+), 13354 deletions(-) diff --git a/CHANGELOG-developer.next.asciidoc b/CHANGELOG-developer.next.asciidoc index 2d5ad19bc85..9bd8c4037a1 100644 --- a/CHANGELOG-developer.next.asciidoc +++ b/CHANGELOG-developer.next.asciidoc @@ -69,6 +69,7 @@ The list below covers the major changes between 7.0.0-rc2 and main only. ==== Bugfixes +- Fix how Prometheus histograms are calculated when percentiles are provide.{pull}36537[36537] - Stop using `mage:import` in community beats. This was ignoring the vendorized beats directory for some mage targets, using the code available in GOPATH, this causes inconsistencies and compilation problems if the version of the code in the GOPATH is different to the vendored one. Use of `mage:import` will continue to be unsupported in custom beats till beats is migrated to go modules, or mage supports vendored dependencies. {issue}13998[13998] {pull}14162[14162] - Metricbeat module builders call host parser only once when instantiating light modules. {pull}20149[20149] - Fix export dashboard command when running against Elastic Cloud hosted Kibana. {pull}22746[22746] diff --git a/metricbeat/helper/prometheus/prometheus_test.go b/metricbeat/helper/prometheus/prometheus_test.go index b135f0683d6..a7bf6a55909 100644 --- a/metricbeat/helper/prometheus/prometheus_test.go +++ b/metricbeat/helper/prometheus/prometheus_test.go @@ -24,6 +24,9 @@ import ( "net/http" "sort" "testing" + "time" + + "github.com/prometheus/prometheus/pkg/labels" "github.com/stretchr/testify/assert" @@ -1002,3 +1005,88 @@ func TestPrometheusKeyLabels(t *testing.T) { } } } + +func TestPrometheusHistogramWithoutSuffix(t *testing.T) { + promHistogramWithAndWithoutBucket := ` +# HELP http_server_requests_seconds Duration of HTTP server request handling +# TYPE http_server_requests_seconds histogram +http_server_requests_seconds{exception="None",uri="/actuator/prometheus",quantile="0.002796201",} 0.046137344 +http_server_requests_seconds{exception="None",uri="/actuator/prometheus",quantile="0.003145726",} 0.046137344 +http_server_requests_seconds_bucket{exception="None",uri="/actuator/prometheus",le="0.001",} 0.0 +http_server_requests_seconds_bucket{exception="None",uri="/actuator/prometheus",le="0.001048576",} 0.0 +http_server_requests_seconds_count{exception="None",uri="/actuator/prometheus",} 1.0 +http_server_requests_seconds_sum{exception="None",uri="/actuator/prometheus",} 0.046745444 +http_server_requests_seconds_impossible{exception="None",uri="/actuator/prometheus",} 0.046745444 +http_server_requests_seconds_created{exception="None",uri="/actuator/prometheus",} 0.046745444 +` + + labelsList := []*labels.Label{ + { + Name: "exception", + Value: "None", + }, + { + Name: "uri", + Value: "/actuator/prometheus", + }, + } + + cumulativeCounts := []uint64{ + uint64(0.0), + uint64(0.0), + } + upperBounds := []float64{ + 0.001, + 0.001048576, + } + var buckets []*Bucket + for i := range cumulativeCounts { + buckets = append(buckets, &Bucket{ + CumulativeCount: &cumulativeCounts[i], + UpperBound: &upperBounds[i], + }) + } + + name := "http_server_requests_seconds" + help := "Duration of HTTP server request handling" + + var expectedMetric OpenMetric + expectedMetric.Name = &name + expectedMetric.Label = labelsList + sampleSum := 0.046745444 + sampleCount := uint64(1.0) + expectedMetric.Histogram = &Histogram{ + IsGaugeHistogram: false, + SampleSum: &sampleSum, + SampleCount: &sampleCount, + Bucket: buckets, + } + + expectedMetrics := []*OpenMetric{ + &expectedMetric, + } + + type Histogram struct { + SampleCount *uint64 + SampleSum *float64 + Bucket []*Bucket + IsGaugeHistogram bool + } + + expected := []*MetricFamily{ + { + Name: &name, + Help: &help, + Type: "histogram", + Unit: nil, + Metric: expectedMetrics, + }, + } + + b := []byte(promHistogramWithAndWithoutBucket) + result, err := ParseMetricFamilies(b, ContentTypeTextFormat, time.Now()) + if err != nil { + t.Fatal("ParseMetricFamilies returned an error.") + } + assert.Equal(t, expected, result) +} diff --git a/metricbeat/helper/prometheus/textparse.go b/metricbeat/helper/prometheus/textparse.go index de6cc075c4b..8f8fb11d90a 100644 --- a/metricbeat/helper/prometheus/textparse.go +++ b/metricbeat/helper/prometheus/textparse.go @@ -62,6 +62,7 @@ func (m *Info) GetValue() int64 { } return 0 } + func (m *Info) HasValidValue() bool { return m != nil && *m.Value == 1 } @@ -395,6 +396,14 @@ func summaryMetricName(name string, s float64, qv string, lbls string, t *int64, return name, metric } +/* +histogramMetricName returns the metric name without the suffix and its histogram. +OpenMetric suffixes: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#suffixes. +Prometheus histogram suffixes: https://prometheus.io/docs/concepts/metric_types/#histogram. +OpenMetric includes the extra suffix _created, that falls under default in this function. +OpenMetric also includes _g* suffixes that are not present for Prometheus metrics and are taken care of separately in +this function. +*/ func histogramMetricName(name string, s float64, qv string, lbls string, t *int64, isGaugeHistogram bool, e *exemplar.Exemplar, histogramsByName map[string]map[string]*OpenMetric) (string, *OpenMetric) { var histogram = &Histogram{} var bucket = []*Bucket{} @@ -404,21 +413,18 @@ func histogramMetricName(name string, s float64, qv string, lbls string, t *int6 case isCount(name): u := uint64(s) histogram.SampleCount = &u - name = name[:len(name)-6] + name = strings.TrimSuffix(name, suffixCount) case isSum(name): histogram.SampleSum = &s - name = name[:len(name)-4] + name = strings.TrimSuffix(name, suffixSum) case isGaugeHistogram && isGCount(name): u := uint64(s) histogram.SampleCount = &u - name = name[:len(name)-7] + name = strings.TrimSuffix(name, suffixGCount) case isGaugeHistogram && isGSum(name): histogram.SampleSum = &s - name = name[:len(name)-5] - default: - if isBucket(name) { - name = name[:len(name)-7] - } + name = strings.TrimSuffix(name, suffixGSum) + case isBucket(name): f, err := strconv.ParseFloat(qv, 64) if err != nil { f = math.MaxUint64 @@ -433,6 +439,9 @@ func histogramMetricName(name string, s float64, qv string, lbls string, t *int6 } bkt.Exemplar = e } + name = strings.TrimSuffix(name, suffixBucket) + default: + return "", nil } _, k := histogramsByName[name] @@ -485,10 +494,14 @@ func ParseMetricFamilies(b []byte, contentType string, ts time.Time) ([]*MetricF case textparse.EntryType: buf, t := parser.Type() s := string(buf) - _, ok = metricFamiliesByName[s] + fam, ok = metricFamiliesByName[s] if !ok { fam = &MetricFamily{Name: &s, Type: t} metricFamiliesByName[s] = fam + } else { + // In case the metric family already exists, we need to make sure the type is correctly defined + // instead of being `unknown` like it was initialized for the other entry types (help and unit). + fam.Type = t } mt = t continue @@ -537,16 +550,21 @@ func ParseMetricFamilies(b []byte, contentType string, ts time.Time) ([]*MetricF var lbls strings.Builder lbls.Grow(len(mets)) var labelPairs = []*labels.Label{} + var qv string // value of le or quantile label for _, l := range lset.Copy() { if l.Name == labels.MetricName { continue } - if l.Name != model.QuantileLabel && l.Name != labels.BucketLabel { // quantile and le are special labels handled below - + if l.Name == model.QuantileLabel { + qv = lset.Get(model.QuantileLabel) + } else if l.Name == labels.BucketLabel { + qv = lset.Get(labels.BucketLabel) + } else { lbls.WriteString(l.Name) lbls.WriteString(l.Value) } + n := l.Name v := l.Value @@ -569,7 +587,7 @@ func ParseMetricFamilies(b []byte, contentType string, ts time.Time) ([]*MetricF mn := lset.Get(labels.MetricName) metric = &OpenMetric{Name: &mn, Counter: counter, Label: labelPairs} if isTotal(metricName) && contentType == OpenMetricsType { // Remove suffix _total, get lookup metricname - lookupMetricName = metricName[:len(metricName)-6] + lookupMetricName = strings.TrimSuffix(metricName, suffixTotal) } else { lookupMetricName = metricName } @@ -583,7 +601,7 @@ func ParseMetricFamilies(b []byte, contentType string, ts time.Time) ([]*MetricF metric = &OpenMetric{Name: &metricName, Info: info, Label: labelPairs} lookupMetricName = metricName case textparse.MetricTypeSummary: - lookupMetricName, metric = summaryMetricName(metricName, v, lset.Get(model.QuantileLabel), lbls.String(), &t, summariesByName) + lookupMetricName, metric = summaryMetricName(metricName, v, qv, lbls.String(), &t, summariesByName) metric.Label = labelPairs if !isSum(metricName) { continue @@ -593,7 +611,10 @@ func ParseMetricFamilies(b []byte, contentType string, ts time.Time) ([]*MetricF if hasExemplar := parser.Exemplar(&e); hasExemplar { exm = &e } - lookupMetricName, metric = histogramMetricName(metricName, v, lset.Get(labels.BucketLabel), lbls.String(), &t, false, exm, histogramsByName) + lookupMetricName, metric = histogramMetricName(metricName, v, qv, lbls.String(), &t, false, exm, histogramsByName) + if metric == nil { // metric name does not have a suffix supported for the type histogram + continue + } metric.Label = labelPairs if !isSum(metricName) { continue @@ -603,7 +624,10 @@ func ParseMetricFamilies(b []byte, contentType string, ts time.Time) ([]*MetricF if hasExemplar := parser.Exemplar(&e); hasExemplar { exm = &e } - lookupMetricName, metric = histogramMetricName(metricName, v, lset.Get(labels.BucketLabel), lbls.String(), &t, true, exm, histogramsByName) + lookupMetricName, metric = histogramMetricName(metricName, v, qv, lbls.String(), &t, true, exm, histogramsByName) + if metric == nil { // metric name does not have a suffix supported for the type gauge histogram + continue + } metric.Label = labelPairs metric.Histogram.IsGaugeHistogram = true if !isGSum(metricName) { diff --git a/metricbeat/module/kubernetes/apiserver/_meta/test/metrics.2.0.expected b/metricbeat/module/kubernetes/apiserver/_meta/test/metrics.2.0.expected index b290a2ecd97..9a8097997df 100644 --- a/metricbeat/module/kubernetes/apiserver/_meta/test/metrics.2.0.expected +++ b/metricbeat/module/kubernetes/apiserver/_meta/test/metrics.2.0.expected @@ -4,79 +4,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 7, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 - }, - "count": 7, - "sum": 2839007440.349 - } - }, - "group": "apps", - "longrunning": { - "count": 3 - }, - "resource": "deployments", - "scope": "cluster", - "verb": "WATCH", + "count": 22, + "resource": "nodes", + "scope": "resource", + "subresource": "status", + "verb": "PATCH", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 7, - "1000": 7, - "10000": 7, - "100000": 7, - "1000000": 7, - "10000000": 7, - "100000000": 7, - "1000000000": 7 - }, - "count": 7, - "sum": 0 - } - } } }, "Index": "", @@ -95,79 +30,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "201", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 2, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 - }, - "count": 2, - "sum": 1081003139.2180002 - } - }, - "group": "policy", - "longrunning": { - "count": 1 - }, - "resource": "poddisruptionbudgets", - "scope": "cluster", - "verb": "WATCH", - "version": "v1beta1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 2, - "1000": 2, - "10000": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "100000000": 2, - "1000000000": 2 - }, - "count": 2, - "sum": 0 - } - } + "count": 124, + "group": "authorization.k8s.io", + "resource": "subjectaccessreviews", + "scope": "resource", + "verb": "POST", + "version": "v1" } }, "Index": "", @@ -190,7 +60,7 @@ "duration": { "us": { "bucket": { - "+Inf": 7, + "+Inf": 8, "100000": 0, "1000000": 0, "10000000": 0, @@ -229,33 +99,33 @@ "900000": 0, "9000000": 0 }, - "count": 7, - "sum": 3222008102.2929997 + "count": 8, + "sum": 3669013015.7660003 } }, - "group": "storage.k8s.io", + "group": "discovery.k8s.io", "longrunning": { "count": 3 }, - "resource": "volumeattachments", + "resource": "endpointslices", "scope": "cluster", "verb": "WATCH", - "version": "v1" + "version": "v1beta1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 7, - "1000": 7, - "10000": 7, - "100000": 7, - "1000000": 7, - "10000000": 7, - "100000000": 7, - "1000000000": 7 + "+Inf": 8, + "1000": 8, + "10000": 8, + "100000": 8, + "1000000": 8, + "10000000": 8, + "100000000": 8, + "1000000000": 8 }, - "count": 7, + "count": 8, "sum": 0 } } @@ -279,11 +149,12 @@ "request": { "code": "0", "component": "apiserver", - "count": 62, - "resource": "pods", + "count": 2, + "group": "policy", + "resource": "poddisruptionbudgets", "scope": "cluster", "verb": "WATCH", - "version": "v1" + "version": "v1beta1" } }, "Index": "", @@ -302,13 +173,58 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", "component": "apiserver", - "count": 2, - "group": "networking.k8s.io", - "resource": "ingresses", - "scope": "cluster", - "verb": "LIST", + "duration": { + "us": { + "bucket": { + "+Inf": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "1250000": 1, + "150000": 1, + "1500000": 1, + "15000000": 1, + "1750000": 1, + "200000": 1, + "2000000": 1, + "20000000": 1, + "250000": 1, + "2500000": 1, + "25000000": 1, + "300000": 1, + "3000000": 1, + "30000000": 1, + "350000": 1, + "3500000": 1, + "400000": 1, + "4000000": 1, + "40000000": 1, + "450000": 1, + "4500000": 1, + "50000": 1, + "500000": 1, + "5000000": 1, + "50000000": 1, + "600000": 1, + "6000000": 1, + "60000000": 1, + "700000": 1, + "7000000": 1, + "800000": 1, + "8000000": 1, + "900000": 1, + "9000000": 1 + }, + "count": 1, + "sum": 2405.561 + } + }, + "group": "apps", + "resource": "statefulsets", + "scope": "resource", + "subresource": "status", + "verb": "PUT", "version": "v1" } }, @@ -327,13 +243,59 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "etcd": { - "object": { - "count": 3 - } - }, "request": { - "resource": "replicasets.apps" + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 11, + "100000": 11, + "1000000": 11, + "10000000": 11, + "1250000": 11, + "150000": 11, + "1500000": 11, + "15000000": 11, + "1750000": 11, + "200000": 11, + "2000000": 11, + "20000000": 11, + "250000": 11, + "2500000": 11, + "25000000": 11, + "300000": 11, + "3000000": 11, + "30000000": 11, + "350000": 11, + "3500000": 11, + "400000": 11, + "4000000": 11, + "40000000": 11, + "450000": 11, + "4500000": 11, + "50000": 11, + "500000": 11, + "5000000": 11, + "50000000": 11, + "600000": 11, + "6000000": 11, + "60000000": 11, + "700000": 11, + "7000000": 11, + "800000": 11, + "8000000": 11, + "900000": 11, + "9000000": 11 + }, + "count": 11, + "sum": 36154.111000000004 + } + }, + "group": "flowcontrol.apiserver.k8s.io", + "resource": "flowschemas", + "scope": "resource", + "verb": "POST", + "version": "v1beta1" } }, "Index": "", @@ -352,29 +314,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", + "component": "apiserver", + "count": 2, + "group": "apiregistration.k8s.io", + "resource": "apiservices", + "scope": "cluster", + "verb": "LIST", "version": "v1" - }, - "watch": { - "events": { - "kind": "ResourceQuota", - "size": { - "bytes": { - "bucket": { - "+Inf": 34, - "1024": 34, - "131072": 34, - "16384": 34, - "2048": 34, - "32768": 34, - "4096": 34, - "65536": 34, - "8192": 34 - }, - "count": 34, - "sum": 2006 - } - } - } } }, "Index": "", @@ -393,79 +340,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "0", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 15, - "100000": 0, - "1000000": 0, - "10000000": 1, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 1, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 1, - "250000": 0, - "2500000": 0, - "25000000": 1, - "300000": 0, - "3000000": 1, - "30000000": 1, - "350000": 0, - "3500000": 1, - "400000": 0, - "4000000": 1, - "40000000": 1, - "450000": 0, - "4500000": 1, - "50000": 0, - "500000": 0, - "5000000": 1, - "50000000": 1, - "600000": 0, - "6000000": 1, - "60000000": 1, - "700000": 0, - "7000000": 1, - "800000": 0, - "8000000": 1, - "900000": 0, - "9000000": 1 - }, - "count": 15, - "sum": 5839543516.696 - } - }, - "group": "storage.k8s.io", - "longrunning": { - "count": 5 - }, - "resource": "csidrivers", + "count": 6, + "group": "policy", + "resource": "poddisruptionbudgets", "scope": "cluster", "verb": "WATCH", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 15, - "1000": 15, - "10000": 15, - "100000": 15, - "1000000": 15, - "10000000": 15, - "100000000": 15, - "1000000000": 15 - }, - "count": 15, - "sum": 0 - } - } } }, "Index": "", @@ -484,237 +366,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "0", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "1250000": 1, - "150000": 1, - "1500000": 1, - "15000000": 1, - "1750000": 1, - "200000": 1, - "2000000": 1, - "20000000": 1, - "250000": 1, - "2500000": 1, - "25000000": 1, - "300000": 1, - "3000000": 1, - "30000000": 1, - "350000": 1, - "3500000": 1, - "400000": 1, - "4000000": 1, - "40000000": 1, - "450000": 1, - "4500000": 1, - "50000": 1, - "500000": 1, - "5000000": 1, - "50000000": 1, - "600000": 1, - "6000000": 1, - "60000000": 1, - "700000": 1, - "7000000": 1, - "800000": 1, - "8000000": 1, - "900000": 1, - "9000000": 1 - }, - "count": 1, - "sum": 1277.362 - } - }, - "group": "batch", - "resource": "cronjobs", - "scope": "resource", - "verb": "GET", + "count": 3, + "group": "coordination.k8s.io", + "resource": "leases", + "scope": "cluster", + "verb": "WATCH", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 1, - "1000": 1, - "10000": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "100000000": 1, - "1000000000": 1 - }, - "count": 1, - "sum": 210 - } - } - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "etcd": { - "object": { - "count": 0 - } - }, - "request": { - "resource": "ingresses.networking.k8s.io" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "1250000": 1, - "150000": 1, - "1500000": 1, - "15000000": 1, - "1750000": 1, - "200000": 1, - "2000000": 1, - "20000000": 1, - "250000": 1, - "2500000": 1, - "25000000": 1, - "300000": 1, - "3000000": 1, - "30000000": 1, - "350000": 1, - "3500000": 1, - "400000": 1, - "4000000": 1, - "40000000": 1, - "450000": 1, - "4500000": 1, - "50000": 1, - "500000": 1, - "5000000": 1, - "50000000": 1, - "600000": 1, - "6000000": 1, - "60000000": 1, - "700000": 1, - "7000000": 1, - "800000": 1, - "8000000": 1, - "900000": 1, - "9000000": 1 - }, - "count": 1, - "sum": 500.09499999999997 - } - }, - "group": "discovery.k8s.io", - "resource": "endpointslices", - "scope": "cluster", - "verb": "LIST", - "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 1, - "1000": 1, - "10000": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "100000000": 1, - "1000000000": 1 - }, - "count": 1, - "sum": 427 - } - } - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "0", - "component": "apiserver", - "count": 9, - "resource": "secrets", - "scope": "cluster", - "verb": "WATCH", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "etcd": { - "object": { - "count": 3 - } - }, - "request": { - "resource": "nodes" } }, "Index": "", @@ -848,9 +507,8 @@ "request": { "code": "0", "component": "apiserver", - "count": 3, - "group": "coordination.k8s.io", - "resource": "leases", + "count": 9, + "resource": "secrets", "scope": "cluster", "verb": "WATCH", "version": "v1" @@ -871,15 +529,13 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { + "etcd": { + "object": { + "count": 3 + } + }, "request": { - "code": "0", - "component": "apiserver", - "count": 6, - "group": "policy", - "resource": "poddisruptionbudgets", - "scope": "cluster", - "verb": "WATCH", - "version": "v1" + "resource": "nodes" } }, "Index": "", @@ -897,59 +553,13 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { + "etcd": { + "object": { + "count": 0 + } + }, "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 11, - "100000": 11, - "1000000": 11, - "10000000": 11, - "1250000": 11, - "150000": 11, - "1500000": 11, - "15000000": 11, - "1750000": 11, - "200000": 11, - "2000000": 11, - "20000000": 11, - "250000": 11, - "2500000": 11, - "25000000": 11, - "300000": 11, - "3000000": 11, - "30000000": 11, - "350000": 11, - "3500000": 11, - "400000": 11, - "4000000": 11, - "40000000": 11, - "450000": 11, - "4500000": 11, - "50000": 11, - "500000": 11, - "5000000": 11, - "50000000": 11, - "600000": 11, - "6000000": 11, - "60000000": 11, - "700000": 11, - "7000000": 11, - "800000": 11, - "8000000": 11, - "900000": 11, - "9000000": 11 - }, - "count": 11, - "sum": 36154.111000000004 - } - }, - "group": "flowcontrol.apiserver.k8s.io", - "resource": "flowschemas", - "scope": "resource", - "verb": "POST", - "version": "v1beta1" + "resource": "ingresses.networking.k8s.io" } }, "Index": "", @@ -1012,67 +622,32 @@ "9000000": 1 }, "count": 1, - "sum": 2405.561 + "sum": 500.09499999999997 } }, - "group": "apps", - "resource": "statefulsets", - "scope": "resource", - "subresource": "status", - "verb": "PUT", + "group": "discovery.k8s.io", + "resource": "endpointslices", + "scope": "cluster", + "verb": "LIST", "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "200", - "component": "apiserver", - "count": 2, - "group": "apiregistration.k8s.io", - "resource": "apiservices", - "scope": "cluster", - "verb": "LIST", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "0", - "component": "apiserver", - "count": 2, - "group": "policy", - "resource": "poddisruptionbudgets", - "scope": "cluster", - "verb": "WATCH", - "version": "v1beta1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 1, + "1000": 1, + "10000": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "100000000": 1, + "1000000000": 1 + }, + "count": 1, + "sum": 427 + } + } } }, "Index": "", @@ -1095,72 +670,72 @@ "duration": { "us": { "bucket": { - "+Inf": 8, + "+Inf": 15, "100000": 0, "1000000": 0, - "10000000": 0, + "10000000": 1, "1250000": 0, "150000": 0, "1500000": 0, - "15000000": 0, + "15000000": 1, "1750000": 0, "200000": 0, "2000000": 0, - "20000000": 0, + "20000000": 1, "250000": 0, "2500000": 0, - "25000000": 0, + "25000000": 1, "300000": 0, - "3000000": 0, - "30000000": 0, + "3000000": 1, + "30000000": 1, "350000": 0, - "3500000": 0, + "3500000": 1, "400000": 0, - "4000000": 0, - "40000000": 0, + "4000000": 1, + "40000000": 1, "450000": 0, - "4500000": 0, + "4500000": 1, "50000": 0, "500000": 0, - "5000000": 0, - "50000000": 0, + "5000000": 1, + "50000000": 1, "600000": 0, - "6000000": 0, - "60000000": 0, + "6000000": 1, + "60000000": 1, "700000": 0, - "7000000": 0, + "7000000": 1, "800000": 0, - "8000000": 0, + "8000000": 1, "900000": 0, - "9000000": 0 + "9000000": 1 }, - "count": 8, - "sum": 3669013015.7660003 + "count": 15, + "sum": 5839543516.696 } }, - "group": "discovery.k8s.io", + "group": "storage.k8s.io", "longrunning": { - "count": 3 + "count": 5 }, - "resource": "endpointslices", + "resource": "csidrivers", "scope": "cluster", "verb": "WATCH", - "version": "v1beta1" + "version": "v1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 8, - "1000": 8, - "10000": 8, - "100000": 8, - "1000000": 8, - "10000000": 8, - "100000000": 8, - "1000000000": 8 + "+Inf": 15, + "1000": 15, + "10000": 15, + "100000": 15, + "1000000": 15, + "10000000": 15, + "100000000": 15, + "1000000000": 15 }, - "count": 8, + "count": 15, "sum": 0 } } @@ -1182,14 +757,76 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "201", "component": "apiserver", - "count": 124, - "group": "authorization.k8s.io", - "resource": "subjectaccessreviews", + "duration": { + "us": { + "bucket": { + "+Inf": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "1250000": 1, + "150000": 1, + "1500000": 1, + "15000000": 1, + "1750000": 1, + "200000": 1, + "2000000": 1, + "20000000": 1, + "250000": 1, + "2500000": 1, + "25000000": 1, + "300000": 1, + "3000000": 1, + "30000000": 1, + "350000": 1, + "3500000": 1, + "400000": 1, + "4000000": 1, + "40000000": 1, + "450000": 1, + "4500000": 1, + "50000": 1, + "500000": 1, + "5000000": 1, + "50000000": 1, + "600000": 1, + "6000000": 1, + "60000000": 1, + "700000": 1, + "7000000": 1, + "800000": 1, + "8000000": 1, + "900000": 1, + "9000000": 1 + }, + "count": 1, + "sum": 1277.362 + } + }, + "group": "batch", + "resource": "cronjobs", "scope": "resource", - "verb": "POST", + "verb": "GET", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 1, + "1000": 1, + "10000": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "100000000": 1, + "1000000000": 1 + }, + "count": 1, + "sum": 210 + } + } } }, "Index": "", @@ -1208,14 +845,29 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", - "component": "apiserver", - "count": 22, - "resource": "nodes", - "scope": "resource", - "subresource": "status", - "verb": "PATCH", "version": "v1" + }, + "watch": { + "events": { + "kind": "ResourceQuota", + "size": { + "bytes": { + "bucket": { + "+Inf": 34, + "1024": 34, + "131072": 34, + "16384": 34, + "2048": 34, + "32768": 34, + "4096": 34, + "65536": 34, + "8192": 34 + }, + "count": 34, + "sum": 2006 + } + } + } } }, "Index": "", @@ -1234,30 +886,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "batch", - "version": "v1beta1" - }, - "watch": { - "events": { - "kind": "CronJob", - "size": { - "bytes": { - "bucket": { - "+Inf": 38, - "1024": 19, - "131072": 38, - "16384": 38, - "2048": 20, - "32768": 38, - "4096": 38, - "65536": 38, - "8192": 38 - }, - "count": 38, - "sum": 55822 - } - } - } + "code": "200", + "component": "apiserver", + "count": 2, + "group": "networking.k8s.io", + "resource": "ingresses", + "scope": "cluster", + "verb": "LIST", + "version": "v1" } }, "Index": "", @@ -1275,14 +911,13 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { + "etcd": { + "object": { + "count": 3 + } + }, "request": { - "code": "200", - "component": "apiserver", - "count": 48, - "resource": "pods", - "scope": "cluster", - "verb": "LIST", - "version": "v1" + "resource": "replicasets.apps" } }, "Index": "", @@ -1301,76 +936,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "0", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 8, - "100000": 8, - "1000000": 8, - "10000000": 8, - "1250000": 8, - "150000": 8, - "1500000": 8, - "15000000": 8, - "1750000": 8, - "200000": 8, - "2000000": 8, - "20000000": 8, - "250000": 8, - "2500000": 8, - "25000000": 8, - "300000": 8, - "3000000": 8, - "30000000": 8, - "350000": 8, - "3500000": 8, - "400000": 8, - "4000000": 8, - "40000000": 8, - "450000": 8, - "4500000": 8, - "50000": 8, - "500000": 8, - "5000000": 8, - "50000000": 8, - "600000": 8, - "6000000": 8, - "60000000": 8, - "700000": 8, - "7000000": 8, - "800000": 8, - "8000000": 8, - "900000": 8, - "9000000": 8 - }, - "count": 8, - "sum": 8839.859 - } - }, - "group": "certificates.k8s.io", - "resource": "certificatesigningrequests", + "count": 62, + "resource": "pods", "scope": "cluster", - "verb": "LIST", + "verb": "WATCH", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 8, - "1000": 6, - "10000": 8, - "100000": 8, - "1000000": 8, - "10000000": 8, - "100000000": 8, - "1000000000": 8 - }, - "count": 8, - "sum": 12945 - } - } } }, "Index": "", @@ -1389,14 +961,79 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", "component": "apiserver", - "count": 5, - "group": "networking.k8s.io", - "resource": "networkpolicies", + "duration": { + "us": { + "bucket": { + "+Inf": 2, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 + }, + "count": 2, + "sum": 1081003139.2180002 + } + }, + "group": "policy", + "longrunning": { + "count": 1 + }, + "resource": "poddisruptionbudgets", "scope": "cluster", "verb": "WATCH", - "version": "v1" + "version": "v1beta1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 2, + "1000": 2, + "10000": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "100000000": 2, + "1000000000": 2 + }, + "count": 2, + "sum": 0 + } + } } }, "Index": "", @@ -1419,54 +1056,75 @@ "duration": { "us": { "bucket": { - "+Inf": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "1250000": 1, - "150000": 1, - "1500000": 1, - "15000000": 1, - "1750000": 1, - "200000": 1, - "2000000": 1, - "20000000": 1, - "250000": 1, - "2500000": 1, - "25000000": 1, - "300000": 1, - "3000000": 1, - "30000000": 1, - "350000": 1, - "3500000": 1, - "400000": 1, - "4000000": 1, - "40000000": 1, - "450000": 1, - "4500000": 1, - "50000": 1, - "500000": 1, - "5000000": 1, - "50000000": 1, - "600000": 1, - "6000000": 1, - "60000000": 1, - "700000": 1, - "7000000": 1, - "800000": 1, - "8000000": 1, - "900000": 1, - "9000000": 1 + "+Inf": 7, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 }, - "count": 1, - "sum": 2144.12 + "count": 7, + "sum": 3222008102.2929997 } }, - "resource": "persistentvolumeclaims", - "scope": "resource", - "subresource": "status", - "verb": "PUT", + "group": "storage.k8s.io", + "longrunning": { + "count": 3 + }, + "resource": "volumeattachments", + "scope": "cluster", + "verb": "WATCH", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 7, + "1000": 7, + "10000": 7, + "100000": 7, + "1000000": 7, + "10000000": 7, + "100000000": 7, + "1000000000": 7 + }, + "count": 7, + "sum": 0 + } + } } }, "Index": "", @@ -1489,80 +1147,75 @@ "duration": { "us": { "bucket": { - "+Inf": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "1250000": 1, - "150000": 1, - "1500000": 1, - "15000000": 1, - "1750000": 1, - "200000": 1, - "2000000": 1, - "20000000": 1, - "250000": 1, - "2500000": 1, - "25000000": 1, - "300000": 1, - "3000000": 1, - "30000000": 1, - "350000": 1, - "3500000": 1, - "400000": 1, - "4000000": 1, - "40000000": 1, - "450000": 1, - "4500000": 1, - "50000": 1, - "500000": 1, - "5000000": 1, - "50000000": 1, - "600000": 1, - "6000000": 1, - "60000000": 1, - "700000": 1, - "7000000": 1, - "800000": 1, - "8000000": 1, - "900000": 1, - "9000000": 1 + "+Inf": 7, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 }, - "count": 1, - "sum": 3979.419 + "count": 7, + "sum": 2839007440.349 } }, - "group": "rbac.authorization.k8s.io", - "resource": "clusterrolebindings", - "scope": "resource", - "verb": "DELETE", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "200", - "component": "apiserver", - "count": 6, - "group": "rbac.authorization.k8s.io", - "resource": "clusterroles", - "scope": "resource", - "verb": "APPLY", + "group": "apps", + "longrunning": { + "count": 3 + }, + "resource": "deployments", + "scope": "cluster", + "verb": "WATCH", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 7, + "1000": 7, + "10000": 7, + "100000": 7, + "1000000": 7, + "10000000": 7, + "100000000": 7, + "1000000000": 7 + }, + "count": 7, + "sum": 0 + } + } } }, "Index": "", @@ -1583,38 +1236,12 @@ "request": { "code": "200", "component": "apiserver", - "count": 3, - "group": "certificates.k8s.io", - "resource": "certificatesigningrequests", + "count": 11, + "group": "flowcontrol.apiserver.k8s.io", + "resource": "flowschemas", "scope": "resource", - "subresource": "approval", - "verb": "PUT", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "200", - "component": "apiserver", - "count": 1, - "group": "policy", - "resource": "podsecuritypolicies", - "scope": "cluster", - "verb": "LIST", + "subresource": "status", + "verb": "PATCH", "version": "v1beta1" } }, @@ -1629,32 +1256,6 @@ "Period": 0, "DisableTimeSeries": false }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "200", - "component": "apiserver", - "count": 4, - "group": "rbac.authorization.k8s.io", - "resource": "clusterrolebindings", - "scope": "cluster", - "verb": "LIST", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, { "RootFields": {}, "ModuleFields": null, @@ -1758,12 +1359,11 @@ "request": { "code": "200", "component": "apiserver", - "count": 11, - "group": "flowcontrol.apiserver.k8s.io", - "resource": "flowschemas", - "scope": "resource", - "subresource": "status", - "verb": "PATCH", + "count": 1, + "group": "policy", + "resource": "podsecuritypolicies", + "scope": "cluster", + "verb": "LIST", "version": "v1beta1" } }, @@ -1783,30 +1383,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "networking.k8s.io", + "code": "200", + "component": "apiserver", + "count": 4, + "group": "rbac.authorization.k8s.io", + "resource": "clusterrolebindings", + "scope": "cluster", + "verb": "LIST", "version": "v1" - }, - "watch": { - "events": { - "kind": "IngressClass", - "size": { - "bytes": { - "bucket": { - "+Inf": 16, - "1024": 16, - "131072": 16, - "16384": 16, - "2048": 16, - "32768": 16, - "4096": 16, - "65536": 16, - "8192": 16 - }, - "count": 16, - "sum": 1216 - } - } - } } }, "Index": "", @@ -1827,11 +1411,12 @@ "request": { "code": "200", "component": "apiserver", - "count": 2, - "group": "networking.k8s.io", - "resource": "ingressclasses", - "scope": "cluster", - "verb": "LIST", + "count": 3, + "group": "certificates.k8s.io", + "resource": "certificatesigningrequests", + "scope": "resource", + "subresource": "approval", + "verb": "PUT", "version": "v1" } }, @@ -1851,79 +1436,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 6, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 - }, - "count": 6, - "sum": 2599005191.02 - } - }, - "group": "scheduling.k8s.io", - "longrunning": { - "count": 2 - }, - "resource": "priorityclasses", - "scope": "cluster", - "verb": "WATCH", + "count": 6, + "group": "rbac.authorization.k8s.io", + "resource": "clusterroles", + "scope": "resource", + "verb": "APPLY", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 6, - "1000": 6, - "10000": 6, - "100000": 6, - "1000000": 6, - "10000000": 6, - "100000000": 6, - "1000000000": 6 - }, - "count": 6, - "sum": 0 - } - } } }, "Index": "", @@ -1942,14 +1462,58 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", "component": "apiserver", - "count": 2, - "group": "flowcontrol.apiserver.k8s.io", - "resource": "prioritylevelconfigurations", - "scope": "cluster", - "verb": "LIST", - "version": "v1beta1" + "duration": { + "us": { + "bucket": { + "+Inf": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "1250000": 1, + "150000": 1, + "1500000": 1, + "15000000": 1, + "1750000": 1, + "200000": 1, + "2000000": 1, + "20000000": 1, + "250000": 1, + "2500000": 1, + "25000000": 1, + "300000": 1, + "3000000": 1, + "30000000": 1, + "350000": 1, + "3500000": 1, + "400000": 1, + "4000000": 1, + "40000000": 1, + "450000": 1, + "4500000": 1, + "50000": 1, + "500000": 1, + "5000000": 1, + "50000000": 1, + "600000": 1, + "6000000": 1, + "60000000": 1, + "700000": 1, + "7000000": 1, + "800000": 1, + "8000000": 1, + "900000": 1, + "9000000": 1 + }, + "count": 1, + "sum": 3979.419 + } + }, + "group": "rbac.authorization.k8s.io", + "resource": "clusterrolebindings", + "scope": "resource", + "verb": "DELETE", + "version": "v1" } }, "Index": "", @@ -1968,13 +1532,57 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "404", "component": "apiserver", - "count": 1, - "group": "batch", - "resource": "cronjobs", + "duration": { + "us": { + "bucket": { + "+Inf": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "1250000": 1, + "150000": 1, + "1500000": 1, + "15000000": 1, + "1750000": 1, + "200000": 1, + "2000000": 1, + "20000000": 1, + "250000": 1, + "2500000": 1, + "25000000": 1, + "300000": 1, + "3000000": 1, + "30000000": 1, + "350000": 1, + "3500000": 1, + "400000": 1, + "4000000": 1, + "40000000": 1, + "450000": 1, + "4500000": 1, + "50000": 1, + "500000": 1, + "5000000": 1, + "50000000": 1, + "600000": 1, + "6000000": 1, + "60000000": 1, + "700000": 1, + "7000000": 1, + "800000": 1, + "8000000": 1, + "900000": 1, + "9000000": 1 + }, + "count": 1, + "sum": 2144.12 + } + }, + "resource": "persistentvolumeclaims", "scope": "resource", - "verb": "GET", + "subresource": "status", + "verb": "PUT", "version": "v1" } }, @@ -1994,13 +1602,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", + "code": "0", "component": "apiserver", - "count": 2, - "group": "batch", - "resource": "cronjobs", + "count": 5, + "group": "networking.k8s.io", + "resource": "networkpolicies", "scope": "cluster", - "verb": "LIST", + "verb": "WATCH", "version": "v1" } }, @@ -2024,80 +1632,77 @@ "duration": { "us": { "bucket": { - "+Inf": 5, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 - }, - "count": 5, - "sum": 2164003818.5230002 - } - }, - "group": "rbac.authorization.k8s.io", - "longrunning": { - "count": 2 - }, - "resource": "rolebindings", - "scope": "cluster", - "verb": "WATCH", - "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 5, - "1000": 5, - "10000": 5, - "100000": 5, - "1000000": 5, - "10000000": 5, - "100000000": 5, - "1000000000": 5 - }, - "count": 5, - "sum": 0 - } - } - } - }, - "Index": "", - "ID": "", - "Namespace": "", + "+Inf": 8, + "100000": 8, + "1000000": 8, + "10000000": 8, + "1250000": 8, + "150000": 8, + "1500000": 8, + "15000000": 8, + "1750000": 8, + "200000": 8, + "2000000": 8, + "20000000": 8, + "250000": 8, + "2500000": 8, + "25000000": 8, + "300000": 8, + "3000000": 8, + "30000000": 8, + "350000": 8, + "3500000": 8, + "400000": 8, + "4000000": 8, + "40000000": 8, + "450000": 8, + "4500000": 8, + "50000": 8, + "500000": 8, + "5000000": 8, + "50000000": 8, + "600000": 8, + "6000000": 8, + "60000000": 8, + "700000": 8, + "7000000": 8, + "800000": 8, + "8000000": 8, + "900000": 8, + "9000000": 8 + }, + "count": 8, + "sum": 8839.859 + } + }, + "group": "certificates.k8s.io", + "resource": "certificatesigningrequests", + "scope": "cluster", + "verb": "LIST", + "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 8, + "1000": 6, + "10000": 8, + "100000": 8, + "1000000": 8, + "10000000": 8, + "100000000": 8, + "1000000000": 8 + }, + "count": 8, + "sum": 12945 + } + } + } + }, + "Index": "", + "ID": "", + "Namespace": "", "Timestamp": "0001-01-01T00:00:00Z", "Error": null, "Host": "", @@ -2111,13 +1716,30 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", - "component": "apiserver", - "count": 1, - "resource": "persistentvolumes", - "scope": "resource", - "verb": "PUT", - "version": "v1" + "group": "batch", + "version": "v1beta1" + }, + "watch": { + "events": { + "kind": "CronJob", + "size": { + "bytes": { + "bucket": { + "+Inf": 38, + "1024": 19, + "131072": 38, + "16384": 38, + "2048": 20, + "32768": 38, + "4096": 38, + "65536": 38, + "8192": 38 + }, + "count": 38, + "sum": 55822 + } + } + } } }, "Index": "", @@ -2136,78 +1758,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 12, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 - }, - "count": 12, - "sum": 5385011154.172999 - } - }, - "longrunning": { - "count": 5 - }, - "resource": "persistentvolumeclaims", + "count": 48, + "resource": "pods", "scope": "cluster", - "verb": "WATCH", + "verb": "LIST", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 12, - "1000": 12, - "10000": 12, - "100000": 12, - "1000000": 12, - "10000000": 12, - "100000000": 12, - "1000000000": 12 - }, - "count": 12, - "sum": 0 - } - } } }, "Index": "", @@ -2225,13 +1782,14 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "etcd": { - "object": { - "count": 0 - } - }, "request": { - "resource": "runtimeclasses.node.k8s.io" + "code": "404", + "component": "apiserver", + "count": 42, + "resource": "serviceaccounts", + "scope": "resource", + "verb": "GET", + "version": "v1" } }, "Index": "", @@ -2294,13 +1852,32 @@ "9000000": 3 }, "count": 3, - "sum": 9930.704 + "sum": 1737.233 } }, - "resource": "services", - "scope": "resource", - "verb": "POST", + "group": "admissionregistration.k8s.io", + "resource": "mutatingwebhookconfigurations", + "scope": "cluster", + "verb": "LIST", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 3, + "1000": 3, + "10000": 3, + "100000": 3, + "1000000": 3, + "10000000": 3, + "100000000": 3, + "1000000000": 3 + }, + "count": 3, + "sum": 264 + } + } } }, "Index": "", @@ -2319,58 +1896,52 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 10, - "100000": 9, - "1000000": 10, - "10000000": 10, - "1250000": 10, - "150000": 10, - "1500000": 10, - "15000000": 10, - "1750000": 10, - "200000": 10, - "2000000": 10, - "20000000": 10, - "250000": 10, - "2500000": 10, - "25000000": 10, - "300000": 10, - "3000000": 10, - "30000000": 10, - "350000": 10, - "3500000": 10, - "400000": 10, - "4000000": 10, - "40000000": 10, - "450000": 10, - "4500000": 10, - "50000": 9, - "500000": 10, - "5000000": 10, - "50000000": 10, - "600000": 10, - "6000000": 10, - "60000000": 10, - "700000": 10, - "7000000": 10, - "800000": 10, - "8000000": 10, - "900000": 10, - "9000000": 10 - }, - "count": 10, - "sum": 161328.207 - } - }, - "group": "discovery.k8s.io", - "resource": "endpointslices", - "scope": "resource", - "verb": "PUT", + "code": "200", + "count": 143, + "subresource": "/livez", + "verb": "GET" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "group": "rbac.authorization.k8s.io", "version": "v1" + }, + "watch": { + "events": { + "kind": "ClusterRoleBinding", + "size": { + "bytes": { + "bucket": { + "+Inf": 79, + "1024": 77, + "131072": 79, + "16384": 79, + "2048": 79, + "32768": 79, + "4096": 79, + "65536": 79, + "8192": 79 + }, + "count": 79, + "sum": 43699 + } + } + } } }, "Index": "", @@ -2514,70 +2085,6 @@ "Period": 0, "DisableTimeSeries": false }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "200", - "count": 143, - "subresource": "/livez", - "verb": "GET" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "group": "rbac.authorization.k8s.io", - "version": "v1" - }, - "watch": { - "events": { - "kind": "ClusterRoleBinding", - "size": { - "bytes": { - "bucket": { - "+Inf": 79, - "1024": 77, - "131072": 79, - "16384": 79, - "2048": 79, - "32768": 79, - "4096": 79, - "65536": 79, - "8192": 79 - }, - "count": 79, - "sum": 43699 - } - } - } - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, { "RootFields": {}, "ModuleFields": null, @@ -2627,32 +2134,13 @@ "9000000": 3 }, "count": 3, - "sum": 1737.233 + "sum": 9930.704 } }, - "group": "admissionregistration.k8s.io", - "resource": "mutatingwebhookconfigurations", - "scope": "cluster", - "verb": "LIST", + "resource": "services", + "scope": "resource", + "verb": "POST", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 3, - "1000": 3, - "10000": 3, - "100000": 3, - "1000000": 3, - "10000000": 3, - "100000000": 3, - "1000000000": 3 - }, - "count": 3, - "sum": 264 - } - } } }, "Index": "", @@ -2671,12 +2159,57 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "404", "component": "apiserver", - "count": 42, - "resource": "serviceaccounts", + "duration": { + "us": { + "bucket": { + "+Inf": 10, + "100000": 9, + "1000000": 10, + "10000000": 10, + "1250000": 10, + "150000": 10, + "1500000": 10, + "15000000": 10, + "1750000": 10, + "200000": 10, + "2000000": 10, + "20000000": 10, + "250000": 10, + "2500000": 10, + "25000000": 10, + "300000": 10, + "3000000": 10, + "30000000": 10, + "350000": 10, + "3500000": 10, + "400000": 10, + "4000000": 10, + "40000000": 10, + "450000": 10, + "4500000": 10, + "50000": 9, + "500000": 10, + "5000000": 10, + "50000000": 10, + "600000": 10, + "6000000": 10, + "60000000": 10, + "700000": 10, + "7000000": 10, + "800000": 10, + "8000000": 10, + "900000": 10, + "9000000": 10 + }, + "count": 10, + "sum": 161328.207 + } + }, + "group": "discovery.k8s.io", + "resource": "endpointslices", "scope": "resource", - "verb": "GET", + "verb": "PUT", "version": "v1" } }, @@ -2695,15 +2228,13 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { + "etcd": { + "object": { + "count": 0 + } + }, "request": { - "code": "200", - "component": "apiserver", - "count": 2, - "group": "storage.k8s.io", - "resource": "csinodes", - "scope": "cluster", - "verb": "LIST", - "version": "v1" + "resource": "runtimeclasses.node.k8s.io" } }, "Index": "", @@ -2726,7 +2257,7 @@ "duration": { "us": { "bucket": { - "+Inf": 2, + "+Inf": 12, "100000": 0, "1000000": 0, "10000000": 0, @@ -2765,14 +2296,14 @@ "900000": 0, "9000000": 0 }, - "count": 2, - "sum": 897001982.94 + "count": 12, + "sum": 5385011154.172999 } }, "longrunning": { - "count": 1 + "count": 5 }, - "resource": "events", + "resource": "persistentvolumeclaims", "scope": "cluster", "verb": "WATCH", "version": "v1" @@ -2781,16 +2312,16 @@ "size": { "bytes": { "bucket": { - "+Inf": 2, - "1000": 2, - "10000": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "100000000": 2, - "1000000000": 2 + "+Inf": 12, + "1000": 12, + "10000": 12, + "100000": 12, + "1000000": 12, + "10000000": 12, + "100000000": 12, + "1000000000": 12 }, - "count": 2, + "count": 12, "sum": 0 } } @@ -2812,14 +2343,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", + "code": "200", "component": "apiserver", - "count": 2, - "group": "autoscaling", - "resource": "horizontalpodautoscalers", - "scope": "cluster", - "verb": "WATCH", - "version": "v2beta1" + "count": 1, + "resource": "persistentvolumes", + "scope": "resource", + "verb": "PUT", + "version": "v1" } }, "Index": "", @@ -2842,70 +2372,73 @@ "duration": { "us": { "bucket": { - "+Inf": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "1250000": 1, - "150000": 1, - "1500000": 1, - "15000000": 1, - "1750000": 1, - "200000": 1, - "2000000": 1, - "20000000": 1, - "250000": 1, - "2500000": 1, - "25000000": 1, - "300000": 1, - "3000000": 1, - "30000000": 1, - "350000": 1, - "3500000": 1, - "400000": 1, - "4000000": 1, - "40000000": 1, - "450000": 1, - "4500000": 1, - "50000": 1, - "500000": 1, - "5000000": 1, - "50000000": 1, - "600000": 1, - "6000000": 1, - "60000000": 1, - "700000": 1, - "7000000": 1, - "800000": 1, - "8000000": 1, - "900000": 1, - "9000000": 1 + "+Inf": 5, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 }, - "count": 1, - "sum": 191.292 + "count": 5, + "sum": 2164003818.5230002 } }, - "group": "coordination.k8s.io", - "resource": "leases", - "scope": "namespace", - "verb": "LIST", + "group": "rbac.authorization.k8s.io", + "longrunning": { + "count": 2 + }, + "resource": "rolebindings", + "scope": "cluster", + "verb": "WATCH", "version": "v1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 1, - "1000": 0, - "10000": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "100000000": 1, - "1000000000": 1 + "+Inf": 5, + "1000": 5, + "10000": 5, + "100000": 5, + "1000000": 5, + "10000000": 5, + "100000000": 5, + "1000000000": 5 }, - "count": 1, - "sum": 1592 + "count": 5, + "sum": 0 } } } @@ -2926,56 +2459,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "1250000": 1, - "150000": 1, - "1500000": 1, - "15000000": 1, - "1750000": 1, - "200000": 1, - "2000000": 1, - "20000000": 1, - "250000": 1, - "2500000": 1, - "25000000": 1, - "300000": 1, - "3000000": 1, - "30000000": 1, - "350000": 1, - "3500000": 1, - "400000": 1, - "4000000": 1, - "40000000": 1, - "450000": 1, - "4500000": 1, - "50000": 1, - "500000": 1, - "5000000": 1, - "50000000": 1, - "600000": 1, - "6000000": 1, - "60000000": 1, - "700000": 1, - "7000000": 1, - "800000": 1, - "8000000": 1, - "900000": 1, - "9000000": 1 - }, - "count": 1, - "sum": 2228.533 - } - }, - "resource": "persistentvolumeclaims", - "scope": "resource", - "verb": "PUT", + "count": 2, + "group": "batch", + "resource": "cronjobs", + "scope": "cluster", + "verb": "LIST", "version": "v1" } }, @@ -2997,11 +2487,12 @@ "request": { "code": "200", "component": "apiserver", - "count": 3, - "resource": "secrets", + "count": 2, + "group": "flowcontrol.apiserver.k8s.io", + "resource": "prioritylevelconfigurations", "scope": "cluster", "verb": "LIST", - "version": "v1" + "version": "v1beta1" } }, "Index": "", @@ -3020,75 +2511,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "404", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 117, - "100000": 117, - "1000000": 117, - "10000000": 117, - "1250000": 117, - "150000": 117, - "1500000": 117, - "15000000": 117, - "1750000": 117, - "200000": 117, - "2000000": 117, - "20000000": 117, - "250000": 117, - "2500000": 117, - "25000000": 117, - "300000": 117, - "3000000": 117, - "30000000": 117, - "350000": 117, - "3500000": 117, - "400000": 117, - "4000000": 117, - "40000000": 117, - "450000": 117, - "4500000": 117, - "50000": 117, - "500000": 117, - "5000000": 117, - "50000000": 117, - "600000": 117, - "6000000": 117, - "60000000": 117, - "700000": 117, - "7000000": 117, - "800000": 117, - "8000000": 117, - "900000": 117, - "9000000": 117 - }, - "count": 117, - "sum": 189362.956 - } - }, - "resource": "serviceaccounts", + "count": 1, + "group": "batch", + "resource": "cronjobs", "scope": "resource", "verb": "GET", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 117, - "1000": 117, - "10000": 117, - "100000": 117, - "1000000": 117, - "10000000": 117, - "100000000": 117, - "1000000000": 117 - }, - "count": 117, - "sum": 19717 - } - } } }, "Index": "", @@ -3107,70 +2537,77 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "component": "apiserver", "duration": { "us": { "bucket": { - "+Inf": 143, - "100000": 140, - "1000000": 142, - "10000000": 143, - "1250000": 143, - "150000": 140, - "1500000": 143, - "15000000": 143, - "1750000": 143, - "200000": 140, - "2000000": 143, - "20000000": 143, - "250000": 140, - "2500000": 143, - "25000000": 143, - "300000": 140, - "3000000": 143, - "30000000": 143, - "350000": 140, - "3500000": 143, - "400000": 140, - "4000000": 143, - "40000000": 143, - "450000": 141, - "4500000": 143, - "50000": 139, - "500000": 141, - "5000000": 143, - "50000000": 143, - "600000": 141, - "6000000": 143, - "60000000": 143, - "700000": 141, - "7000000": 143, - "800000": 141, - "8000000": 143, - "900000": 142, - "9000000": 143 + "+Inf": 6, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 }, - "count": 143, - "sum": 2504873.9210000015 + "count": 6, + "sum": 2599005191.02 } }, - "subresource": "/livez", - "verb": "GET" + "group": "scheduling.k8s.io", + "longrunning": { + "count": 2 + }, + "resource": "priorityclasses", + "scope": "cluster", + "verb": "WATCH", + "version": "v1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 143, - "1000": 143, - "10000": 143, - "100000": 143, - "1000000": 143, - "10000000": 143, - "100000000": 143, - "1000000000": 143 + "+Inf": 6, + "1000": 6, + "10000": 6, + "100000": 6, + "1000000": 6, + "10000000": 6, + "100000000": 6, + "1000000000": 6 }, - "count": 143, - "sum": 286 + "count": 6, + "sum": 0 } } } @@ -3191,56 +2628,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "1250000": 2, - "150000": 2, - "1500000": 2, - "15000000": 2, - "1750000": 2, - "200000": 2, - "2000000": 2, - "20000000": 2, - "250000": 2, - "2500000": 2, - "25000000": 2, - "300000": 2, - "3000000": 2, - "30000000": 2, - "350000": 2, - "3500000": 2, - "400000": 2, - "4000000": 2, - "40000000": 2, - "450000": 2, - "4500000": 2, - "50000": 2, - "500000": 2, - "5000000": 2, - "50000000": 2, - "600000": 2, - "6000000": 2, - "60000000": 2, - "700000": 2, - "7000000": 2, - "800000": 2, - "8000000": 2, - "900000": 2, - "9000000": 2 - }, - "count": 2, - "sum": 2955.975 - } - }, - "resource": "configmaps", - "scope": "resource", - "verb": "PUT", + "count": 2, + "group": "networking.k8s.io", + "resource": "ingressclasses", + "scope": "cluster", + "verb": "LIST", "version": "v1" } }, @@ -3260,26 +2654,27 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "group": "networking.k8s.io", "version": "v1" }, "watch": { "events": { - "kind": "Pod", + "kind": "IngressClass", "size": { "bytes": { "bucket": { - "+Inf": 1635, - "1024": 606, - "131072": 1635, - "16384": 1635, - "2048": 798, - "32768": 1635, - "4096": 1355, - "65536": 1635, - "8192": 1629 + "+Inf": 16, + "1024": 16, + "131072": 16, + "16384": 16, + "2048": 16, + "32768": 16, + "4096": 16, + "65536": 16, + "8192": 16 }, - "count": 1635, - "sum": 3884458 + "count": 16, + "sum": 1216 } } } @@ -3305,22 +2700,22 @@ }, "watch": { "events": { - "kind": "ServiceAccount", + "kind": "Service", "size": { "bytes": { "bucket": { - "+Inf": 203, - "1024": 203, - "131072": 203, - "16384": 203, - "2048": 203, - "32768": 203, - "4096": 203, - "65536": 203, - "8192": 203 + "+Inf": 145, + "1024": 133, + "131072": 145, + "16384": 145, + "2048": 145, + "32768": 145, + "4096": 145, + "65536": 145, + "8192": 145 }, - "count": 203, - "sum": 38576 + "count": 145, + "sum": 28100 } } } @@ -3342,13 +2737,12 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", + "code": "409", "component": "apiserver", - "count": 75, - "resource": "pods", + "count": 1, + "resource": "nodes", "scope": "resource", - "subresource": "status", - "verb": "PATCH", + "verb": "POST", "version": "v1" } }, @@ -3474,22 +2868,22 @@ }, "watch": { "events": { - "kind": "Service", + "kind": "Pod", "size": { "bytes": { "bucket": { - "+Inf": 145, - "1024": 133, - "131072": 145, - "16384": 145, - "2048": 145, - "32768": 145, - "4096": 145, - "65536": 145, - "8192": 145 + "+Inf": 1635, + "1024": 606, + "131072": 1635, + "16384": 1635, + "2048": 798, + "32768": 1635, + "4096": 1355, + "65536": 1635, + "8192": 1629 }, - "count": 145, - "sum": 28100 + "count": 1635, + "sum": 3884458 } } } @@ -3511,39 +2905,29 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "409", - "component": "apiserver", - "count": 1, - "resource": "nodes", - "scope": "resource", - "verb": "POST", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "200", - "component": "apiserver", - "count": 8, - "group": "certificates.k8s.io", - "resource": "certificatesigningrequests", - "scope": "cluster", - "verb": "LIST", "version": "v1" + }, + "watch": { + "events": { + "kind": "ServiceAccount", + "size": { + "bytes": { + "bucket": { + "+Inf": 203, + "1024": 203, + "131072": 203, + "16384": 203, + "2048": 203, + "32768": 203, + "4096": 203, + "65536": 203, + "8192": 203 + }, + "count": 203, + "sum": 38576 + } + } + } } }, "Index": "", @@ -3561,13 +2945,15 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "etcd": { - "object": { - "count": 6 - } - }, "request": { - "resource": "leases.coordination.k8s.io" + "code": "200", + "component": "apiserver", + "count": 75, + "resource": "pods", + "scope": "resource", + "subresource": "status", + "verb": "PATCH", + "version": "v1" } }, "Index": "", @@ -3586,28 +2972,70 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "networking.k8s.io", - "version": "v1" + "duration": { + "us": { + "bucket": { + "+Inf": 143, + "100000": 140, + "1000000": 142, + "10000000": 143, + "1250000": 143, + "150000": 140, + "1500000": 143, + "15000000": 143, + "1750000": 143, + "200000": 140, + "2000000": 143, + "20000000": 143, + "250000": 140, + "2500000": 143, + "25000000": 143, + "300000": 140, + "3000000": 143, + "30000000": 143, + "350000": 140, + "3500000": 143, + "400000": 140, + "4000000": 143, + "40000000": 143, + "450000": 141, + "4500000": 143, + "50000": 139, + "500000": 141, + "5000000": 143, + "50000000": 143, + "600000": 141, + "6000000": 143, + "60000000": 143, + "700000": 141, + "7000000": 143, + "800000": 141, + "8000000": 143, + "900000": 142, + "9000000": 143 + }, + "count": 143, + "sum": 2504873.9210000015 + } + }, + "subresource": "/livez", + "verb": "GET" }, - "watch": { - "events": { - "kind": "Ingress", - "size": { - "bytes": { - "bucket": { - "+Inf": 18, - "1024": 18, - "131072": 18, - "16384": 18, - "2048": 18, - "32768": 18, - "4096": 18, - "65536": 18, - "8192": 18 - }, - "count": 18, - "sum": 1314 - } + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 143, + "1000": 143, + "10000": 143, + "100000": 143, + "1000000": 143, + "10000000": 143, + "100000000": 143, + "1000000000": 143 + }, + "count": 143, + "sum": 286 } } } @@ -3623,32 +3051,6 @@ "Period": 0, "DisableTimeSeries": false }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "201", - "component": "apiserver", - "count": 37, - "group": "apiregistration.k8s.io", - "resource": "apiservices", - "scope": "resource", - "verb": "POST", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, { "RootFields": {}, "ModuleFields": null, @@ -3698,11 +3100,79 @@ "9000000": 2 }, "count": 2, - "sum": 1474.186 + "sum": 2955.975 } }, - "group": "scheduling.k8s.io", - "resource": "priorityclasses", + "resource": "configmaps", + "scope": "resource", + "verb": "PUT", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 117, + "100000": 117, + "1000000": 117, + "10000000": 117, + "1250000": 117, + "150000": 117, + "1500000": 117, + "15000000": 117, + "1750000": 117, + "200000": 117, + "2000000": 117, + "20000000": 117, + "250000": 117, + "2500000": 117, + "25000000": 117, + "300000": 117, + "3000000": 117, + "30000000": 117, + "350000": 117, + "3500000": 117, + "400000": 117, + "4000000": 117, + "40000000": 117, + "450000": 117, + "4500000": 117, + "50000": 117, + "500000": 117, + "5000000": 117, + "50000000": 117, + "600000": 117, + "6000000": 117, + "60000000": 117, + "700000": 117, + "7000000": 117, + "800000": 117, + "8000000": 117, + "900000": 117, + "9000000": 117 + }, + "count": 117, + "sum": 189362.956 + } + }, + "resource": "serviceaccounts", "scope": "resource", "verb": "GET", "version": "v1" @@ -3711,17 +3181,17 @@ "size": { "bytes": { "bucket": { - "+Inf": 2, - "1000": 2, - "10000": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "100000000": 2, - "1000000000": 2 + "+Inf": 117, + "1000": 117, + "10000": 117, + "100000": 117, + "1000000": 117, + "10000000": 117, + "100000000": 117, + "1000000000": 117 }, - "count": 2, - "sum": 380 + "count": 117, + "sum": 19717 } } } @@ -3745,8 +3215,7 @@ "code": "200", "component": "apiserver", "count": 3, - "group": "storage.k8s.io", - "resource": "volumeattachments", + "resource": "secrets", "scope": "cluster", "verb": "LIST", "version": "v1" @@ -3768,14 +3237,76 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", "component": "apiserver", - "count": 8, - "group": "certificates.k8s.io", - "resource": "certificatesigningrequests", - "scope": "cluster", - "verb": "WATCH", + "duration": { + "us": { + "bucket": { + "+Inf": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "1250000": 1, + "150000": 1, + "1500000": 1, + "15000000": 1, + "1750000": 1, + "200000": 1, + "2000000": 1, + "20000000": 1, + "250000": 1, + "2500000": 1, + "25000000": 1, + "300000": 1, + "3000000": 1, + "30000000": 1, + "350000": 1, + "3500000": 1, + "400000": 1, + "4000000": 1, + "40000000": 1, + "450000": 1, + "4500000": 1, + "50000": 1, + "500000": 1, + "5000000": 1, + "50000000": 1, + "600000": 1, + "6000000": 1, + "60000000": 1, + "700000": 1, + "7000000": 1, + "800000": 1, + "8000000": 1, + "900000": 1, + "9000000": 1 + }, + "count": 1, + "sum": 191.292 + } + }, + "group": "coordination.k8s.io", + "resource": "leases", + "scope": "namespace", + "verb": "LIST", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 1, + "1000": 0, + "10000": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "100000000": 1, + "1000000000": 1 + }, + "count": 1, + "sum": 1592 + } + } } }, "Index": "", @@ -3794,39 +3325,56 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "201", "component": "apiserver", - "count": 11, - "group": "flowcontrol.apiserver.k8s.io", - "resource": "flowschemas", + "duration": { + "us": { + "bucket": { + "+Inf": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "1250000": 1, + "150000": 1, + "1500000": 1, + "15000000": 1, + "1750000": 1, + "200000": 1, + "2000000": 1, + "20000000": 1, + "250000": 1, + "2500000": 1, + "25000000": 1, + "300000": 1, + "3000000": 1, + "30000000": 1, + "350000": 1, + "3500000": 1, + "400000": 1, + "4000000": 1, + "40000000": 1, + "450000": 1, + "4500000": 1, + "50000": 1, + "500000": 1, + "5000000": 1, + "50000000": 1, + "600000": 1, + "6000000": 1, + "60000000": 1, + "700000": 1, + "7000000": 1, + "800000": 1, + "8000000": 1, + "900000": 1, + "9000000": 1 + }, + "count": 1, + "sum": 2228.533 + } + }, + "resource": "persistentvolumeclaims", "scope": "resource", - "verb": "POST", - "version": "v1beta1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "200", - "component": "apiserver", - "count": 3, - "group": "apps", - "resource": "deployments", - "scope": "cluster", - "verb": "LIST", + "verb": "PUT", "version": "v1" } }, @@ -3841,30 +3389,6 @@ "Period": 0, "DisableTimeSeries": false }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "etcd": { - "object": { - "count": 0 - } - }, - "request": { - "resource": "customresourcedefinitions.apiextensions.k8s.io" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, { "RootFields": {}, "ModuleFields": null, @@ -3874,7 +3398,7 @@ "duration": { "us": { "bucket": { - "+Inf": 14, + "+Inf": 2, "100000": 0, "1000000": 0, "10000000": 0, @@ -3913,14 +3437,14 @@ "900000": 0, "9000000": 0 }, - "count": 14, - "sum": 5997012252.085001 + "count": 2, + "sum": 897001982.94 } }, "longrunning": { - "count": 5 + "count": 1 }, - "resource": "endpoints", + "resource": "events", "scope": "cluster", "verb": "WATCH", "version": "v1" @@ -3929,16 +3453,16 @@ "size": { "bytes": { "bucket": { - "+Inf": 14, - "1000": 14, - "10000": 14, - "100000": 14, - "1000000": 14, - "10000000": 14, - "100000000": 14, - "1000000000": 14 + "+Inf": 2, + "1000": 2, + "10000": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "100000000": 2, + "1000000000": 2 }, - "count": 14, + "count": 2, "sum": 0 } } @@ -3960,76 +3484,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "0", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "1250000": 1, - "150000": 1, - "1500000": 1, - "15000000": 1, - "1750000": 1, - "200000": 1, - "2000000": 1, - "20000000": 1, - "250000": 1, - "2500000": 1, - "25000000": 1, - "300000": 1, - "3000000": 1, - "30000000": 1, - "350000": 1, - "3500000": 1, - "400000": 1, - "4000000": 1, - "40000000": 1, - "450000": 1, - "4500000": 1, - "50000": 1, - "500000": 1, - "5000000": 1, - "50000000": 1, - "600000": 1, - "6000000": 1, - "60000000": 1, - "700000": 1, - "7000000": 1, - "800000": 1, - "8000000": 1, - "900000": 1, - "9000000": 1 - }, - "count": 1, - "sum": 2588.612 - } - }, - "group": "apps", - "resource": "deployments", - "scope": "namespace", - "verb": "LIST", - "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 1, - "1000": 1, - "10000": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "100000000": 1, - "1000000000": 1 - }, - "count": 1, - "sum": 97 - } - } + "count": 2, + "group": "autoscaling", + "resource": "horizontalpodautoscalers", + "scope": "cluster", + "verb": "WATCH", + "version": "v2beta1" } }, "Index": "", @@ -4048,12 +3510,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "201", + "code": "200", "component": "apiserver", - "count": 12, - "resource": "configmaps", - "scope": "resource", - "verb": "POST", + "count": 2, + "group": "storage.k8s.io", + "resource": "csinodes", + "scope": "cluster", + "verb": "LIST", "version": "v1" } }, @@ -4124,9 +3587,8 @@ "request": { "code": "201", "component": "apiserver", - "count": 15, - "group": "rbac.authorization.k8s.io", - "resource": "rolebindings", + "count": 12, + "resource": "configmaps", "scope": "resource", "verb": "POST", "version": "v1" @@ -4152,79 +3614,72 @@ "duration": { "us": { "bucket": { - "+Inf": 2363, - "100000": 2352, - "1000000": 2362, - "10000000": 2363, - "1250000": 2363, - "150000": 2353, - "1500000": 2363, - "15000000": 2363, - "1750000": 2363, - "200000": 2355, - "2000000": 2363, - "20000000": 2363, - "250000": 2356, - "2500000": 2363, - "25000000": 2363, - "300000": 2356, - "3000000": 2363, - "30000000": 2363, - "350000": 2356, - "3500000": 2363, - "400000": 2358, - "4000000": 2363, - "40000000": 2363, - "450000": 2358, - "4500000": 2363, - "50000": 2349, - "500000": 2358, - "5000000": 2363, - "50000000": 2363, - "600000": 2360, - "6000000": 2363, - "60000000": 2363, - "700000": 2361, - "7000000": 2363, - "800000": 2361, - "8000000": 2363, - "900000": 2362, - "9000000": 2363 + "+Inf": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "1250000": 1, + "150000": 1, + "1500000": 1, + "15000000": 1, + "1750000": 1, + "200000": 1, + "2000000": 1, + "20000000": 1, + "250000": 1, + "2500000": 1, + "25000000": 1, + "300000": 1, + "3000000": 1, + "30000000": 1, + "350000": 1, + "3500000": 1, + "400000": 1, + "4000000": 1, + "40000000": 1, + "450000": 1, + "4500000": 1, + "50000": 1, + "500000": 1, + "5000000": 1, + "50000000": 1, + "600000": 1, + "6000000": 1, + "60000000": 1, + "700000": 1, + "7000000": 1, + "800000": 1, + "8000000": 1, + "900000": 1, + "9000000": 1 }, - "count": 2363, - "sum": 12932811.667999994 + "count": 1, + "sum": 2588.612 } }, - "group": "coordination.k8s.io", - "resource": "leases", - "scope": "resource", - "verb": "PUT", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "200", - "component": "apiserver", - "count": 1, - "resource": "events", - "scope": "cluster", + "group": "apps", + "resource": "deployments", + "scope": "namespace", "verb": "LIST", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 1, + "1000": 1, + "10000": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "100000000": 1, + "1000000000": 1 + }, + "count": 1, + "sum": 97 + } + } } }, "Index": "", @@ -4247,7 +3702,7 @@ "duration": { "us": { "bucket": { - "+Inf": 4, + "+Inf": 14, "100000": 0, "1000000": 0, "10000000": 0, @@ -4286,15 +3741,14 @@ "900000": 0, "9000000": 0 }, - "count": 4, - "sum": 1925003926.877 + "count": 14, + "sum": 5997012252.085001 } }, - "group": "batch", "longrunning": { - "count": 2 + "count": 5 }, - "resource": "cronjobs", + "resource": "endpoints", "scope": "cluster", "verb": "WATCH", "version": "v1" @@ -4303,16 +3757,16 @@ "size": { "bytes": { "bucket": { - "+Inf": 4, - "1000": 4, - "10000": 4, - "100000": 4, - "1000000": 4, - "10000000": 4, - "100000000": 4, - "1000000000": 4 + "+Inf": 14, + "1000": 14, + "10000": 14, + "100000": 14, + "1000000": 14, + "10000000": 14, + "100000000": 14, + "1000000000": 14 }, - "count": 4, + "count": 14, "sum": 0 } } @@ -4339,7 +3793,7 @@ } }, "request": { - "resource": "volumeattachments.storage.k8s.io" + "resource": "customresourcedefinitions.apiextensions.k8s.io" } }, "Index": "", @@ -4358,13 +3812,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", + "code": "201", "component": "apiserver", - "count": 3, - "group": "policy", - "resource": "podsecuritypolicies", - "scope": "cluster", - "verb": "WATCH", + "count": 11, + "group": "flowcontrol.apiserver.k8s.io", + "resource": "flowschemas", + "scope": "resource", + "verb": "POST", "version": "v1beta1" } }, @@ -4384,14 +3838,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", + "code": "200", "component": "apiserver", - "count": 4, - "group": "flowcontrol.apiserver.k8s.io", - "resource": "flowschemas", + "count": 3, + "group": "storage.k8s.io", + "resource": "volumeattachments", "scope": "cluster", - "verb": "WATCH", - "version": "v1beta1" + "verb": "LIST", + "version": "v1" } }, "Index": "", @@ -4409,15 +3863,15 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "client": { - "request": { - "count": 146 - } - }, "request": { - "code": "404", - "host": "[::1]:6443", - "method": "GET" + "code": "0", + "component": "apiserver", + "count": 8, + "group": "certificates.k8s.io", + "resource": "certificatesigningrequests", + "scope": "cluster", + "verb": "WATCH", + "version": "v1" } }, "Index": "", @@ -4438,8 +3892,9 @@ "request": { "code": "200", "component": "apiserver", - "count": 5, - "resource": "persistentvolumeclaims", + "count": 3, + "group": "apps", + "resource": "deployments", "scope": "cluster", "verb": "LIST", "version": "v1" @@ -4465,73 +3920,70 @@ "duration": { "us": { "bucket": { - "+Inf": 4, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 + "+Inf": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "1250000": 2, + "150000": 2, + "1500000": 2, + "15000000": 2, + "1750000": 2, + "200000": 2, + "2000000": 2, + "20000000": 2, + "250000": 2, + "2500000": 2, + "25000000": 2, + "300000": 2, + "3000000": 2, + "30000000": 2, + "350000": 2, + "3500000": 2, + "400000": 2, + "4000000": 2, + "40000000": 2, + "450000": 2, + "4500000": 2, + "50000": 2, + "500000": 2, + "5000000": 2, + "50000000": 2, + "600000": 2, + "6000000": 2, + "60000000": 2, + "700000": 2, + "7000000": 2, + "800000": 2, + "8000000": 2, + "900000": 2, + "9000000": 2 }, - "count": 4, - "sum": 1957001969.333 + "count": 2, + "sum": 1474.186 } }, - "group": "flowcontrol.apiserver.k8s.io", - "longrunning": { - "count": 2 - }, - "resource": "flowschemas", - "scope": "cluster", - "verb": "WATCH", - "version": "v1beta1" + "group": "scheduling.k8s.io", + "resource": "priorityclasses", + "scope": "resource", + "verb": "GET", + "version": "v1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 4, - "1000": 4, - "10000": 4, - "100000": 4, - "1000000": 4, - "10000000": 4, - "100000000": 4, - "1000000000": 4 + "+Inf": 2, + "1000": 2, + "10000": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "100000000": 2, + "1000000000": 2 }, - "count": 4, - "sum": 0 + "count": 2, + "sum": 380 } } } @@ -4552,13 +4004,55 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", + "group": "networking.k8s.io", + "version": "v1" + }, + "watch": { + "events": { + "kind": "Ingress", + "size": { + "bytes": { + "bucket": { + "+Inf": 18, + "1024": 18, + "131072": 18, + "16384": 18, + "2048": 18, + "32768": 18, + "4096": 18, + "65536": 18, + "8192": 18 + }, + "count": 18, + "sum": 1314 + } + } + } + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "201", "component": "apiserver", - "count": 3, - "group": "batch", - "resource": "jobs", - "scope": "cluster", - "verb": "LIST", + "count": 37, + "group": "apiregistration.k8s.io", + "resource": "apiservices", + "scope": "resource", + "verb": "POST", "version": "v1" } }, @@ -4578,30 +4072,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "extensions", - "version": "v1beta1" - }, - "watch": { - "events": { - "kind": "Ingress", - "size": { - "bytes": { - "bucket": { - "+Inf": 11, - "1024": 11, - "131072": 11, - "16384": 11, - "2048": 11, - "32768": 11, - "4096": 11, - "65536": 11, - "8192": 11 - }, - "count": 11, - "sum": 781 - } - } - } + "code": "200", + "component": "apiserver", + "count": 8, + "group": "certificates.k8s.io", + "resource": "certificatesigningrequests", + "scope": "cluster", + "verb": "LIST", + "version": "v1" } }, "Index": "", @@ -4621,11 +4099,11 @@ "MetricSetFields": { "etcd": { "object": { - "count": 3 + "count": 6 } }, "request": { - "resource": "services" + "resource": "leases.coordination.k8s.io" } }, "Index": "", @@ -4644,29 +4122,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "404", + "component": "apiserver", + "count": 30, + "group": "storage.k8s.io", + "resource": "csinodes", + "scope": "resource", + "verb": "GET", "version": "v1" - }, - "watch": { - "events": { - "kind": "ReplicationController", - "size": { - "bytes": { - "bucket": { - "+Inf": 29, - "1024": 29, - "131072": 29, - "16384": 29, - "2048": 29, - "32768": 29, - "4096": 29, - "65536": 29, - "8192": 29 - }, - "count": 29, - "sum": 2349 - } - } - } } }, "Index": "", @@ -4687,9 +4150,9 @@ "request": { "code": "201", "component": "apiserver", - "count": 4, - "group": "apps", - "resource": "daemonsets", + "count": 69, + "group": "rbac.authorization.k8s.io", + "resource": "clusterroles", "scope": "resource", "verb": "POST", "version": "v1" @@ -4706,93 +4169,6 @@ "Period": 0, "DisableTimeSeries": false }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 3, - "100000": 3, - "1000000": 3, - "10000000": 3, - "1250000": 3, - "150000": 3, - "1500000": 3, - "15000000": 3, - "1750000": 3, - "200000": 3, - "2000000": 3, - "20000000": 3, - "250000": 3, - "2500000": 3, - "25000000": 3, - "300000": 3, - "3000000": 3, - "30000000": 3, - "350000": 3, - "3500000": 3, - "400000": 3, - "4000000": 3, - "40000000": 3, - "450000": 3, - "4500000": 3, - "50000": 3, - "500000": 3, - "5000000": 3, - "50000000": 3, - "600000": 3, - "6000000": 3, - "60000000": 3, - "700000": 3, - "7000000": 3, - "800000": 3, - "8000000": 3, - "900000": 3, - "9000000": 3 - }, - "count": 3, - "sum": 2951.2230000000004 - } - }, - "resource": "secrets", - "scope": "cluster", - "verb": "LIST", - "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 3, - "1000": 2, - "10000": 2, - "100000": 2, - "1000000": 3, - "10000000": 3, - "100000000": 3, - "1000000000": 3 - }, - "count": 3, - "sum": 114365 - } - } - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, { "RootFields": {}, "ModuleFields": null, @@ -4867,14 +4243,53 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "201", - "component": "apiserver", - "count": 69, - "group": "rbac.authorization.k8s.io", - "resource": "clusterroles", - "scope": "resource", - "verb": "POST", "version": "v1" + }, + "watch": { + "events": { + "kind": "ReplicationController", + "size": { + "bytes": { + "bucket": { + "+Inf": 29, + "1024": 29, + "131072": 29, + "16384": 29, + "2048": 29, + "32768": 29, + "4096": 29, + "65536": 29, + "8192": 29 + }, + "count": 29, + "sum": 2349 + } + } + } + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "etcd": { + "object": { + "count": 3 + } + }, + "request": { + "resource": "services" } }, "Index": "", @@ -4893,14 +4308,75 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "404", "component": "apiserver", - "count": 30, - "group": "storage.k8s.io", - "resource": "csinodes", - "scope": "resource", - "verb": "GET", + "duration": { + "us": { + "bucket": { + "+Inf": 3, + "100000": 3, + "1000000": 3, + "10000000": 3, + "1250000": 3, + "150000": 3, + "1500000": 3, + "15000000": 3, + "1750000": 3, + "200000": 3, + "2000000": 3, + "20000000": 3, + "250000": 3, + "2500000": 3, + "25000000": 3, + "300000": 3, + "3000000": 3, + "30000000": 3, + "350000": 3, + "3500000": 3, + "400000": 3, + "4000000": 3, + "40000000": 3, + "450000": 3, + "4500000": 3, + "50000": 3, + "500000": 3, + "5000000": 3, + "50000000": 3, + "600000": 3, + "6000000": 3, + "60000000": 3, + "700000": 3, + "7000000": 3, + "800000": 3, + "8000000": 3, + "900000": 3, + "9000000": 3 + }, + "count": 3, + "sum": 2951.2230000000004 + } + }, + "resource": "secrets", + "scope": "cluster", + "verb": "LIST", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 3, + "1000": 2, + "10000": 2, + "100000": 2, + "1000000": 3, + "10000000": 3, + "100000000": 3, + "1000000000": 3 + }, + "count": 3, + "sum": 114365 + } + } } }, "Index": "", @@ -4919,14 +4395,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", + "code": "201", "component": "apiserver", - "count": 11, + "count": 4, "group": "apps", - "resource": "replicasets", + "resource": "daemonsets", "scope": "resource", - "subresource": "status", - "verb": "PUT", + "verb": "POST", "version": "v1" } }, @@ -4941,6 +4416,48 @@ "Period": 0, "DisableTimeSeries": false }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "group": "extensions", + "version": "v1beta1" + }, + "watch": { + "events": { + "kind": "Ingress", + "size": { + "bytes": { + "bucket": { + "+Inf": 11, + "1024": 11, + "131072": 11, + "16384": 11, + "2048": 11, + "32768": 11, + "4096": 11, + "65536": 11, + "8192": 11 + }, + "count": 11, + "sum": 781 + } + } + } + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, { "RootFields": {}, "ModuleFields": null, @@ -4948,9 +4465,9 @@ "request": { "code": "200", "component": "apiserver", - "count": 2, - "group": "rbac.authorization.k8s.io", - "resource": "rolebindings", + "count": 3, + "group": "batch", + "resource": "jobs", "scope": "cluster", "verb": "LIST", "version": "v1" @@ -4976,54 +4493,75 @@ "duration": { "us": { "bucket": { - "+Inf": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "1250000": 1, - "150000": 1, - "1500000": 1, - "15000000": 1, - "1750000": 1, - "200000": 1, - "2000000": 1, - "20000000": 1, - "250000": 1, - "2500000": 1, - "25000000": 1, - "300000": 1, - "3000000": 1, - "30000000": 1, - "350000": 1, - "3500000": 1, - "400000": 1, - "4000000": 1, - "40000000": 1, - "450000": 1, - "4500000": 1, - "50000": 1, - "500000": 1, - "5000000": 1, - "50000000": 1, - "600000": 1, - "6000000": 1, - "60000000": 1, - "700000": 1, - "7000000": 1, - "800000": 1, - "8000000": 1, - "900000": 1, - "9000000": 1 + "+Inf": 4, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 }, - "count": 1, - "sum": 1847.6460000000002 + "count": 4, + "sum": 1957001969.333 } }, - "group": "storage.k8s.io", - "resource": "storageclasses", - "scope": "resource", - "verb": "POST", - "version": "v1" + "group": "flowcontrol.apiserver.k8s.io", + "longrunning": { + "count": 2 + }, + "resource": "flowschemas", + "scope": "cluster", + "verb": "WATCH", + "version": "v1beta1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 4, + "1000": 4, + "10000": 4, + "100000": 4, + "1000000": 4, + "10000000": 4, + "100000000": 4, + "1000000000": 4 + }, + "count": 4, + "sum": 0 + } + } } }, "Index": "", @@ -5042,30 +4580,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "rbac.authorization.k8s.io", + "code": "200", + "component": "apiserver", + "count": 5, + "resource": "persistentvolumeclaims", + "scope": "cluster", + "verb": "LIST", "version": "v1" - }, - "watch": { - "events": { - "kind": "RoleBinding", - "size": { - "bytes": { - "bucket": { - "+Inf": 43, - "1024": 43, - "131072": 43, - "16384": 43, - "2048": 43, - "32768": 43, - "4096": 43, - "65536": 43, - "8192": 43 - }, - "count": 43, - "sum": 19711 - } - } - } } }, "Index": "", @@ -5083,15 +4604,15 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { + "client": { + "request": { + "count": 146 + } + }, "request": { - "code": "201", - "component": "apiserver", - "count": 21, - "group": "batch", - "resource": "jobs", - "scope": "resource", - "verb": "POST", - "version": "v1" + "code": "404", + "host": "[::1]:6443", + "method": "GET" } }, "Index": "", @@ -5109,13 +4630,80 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "etcd": { - "object": { - "count": 13 - } - }, "request": { - "resource": "roles.rbac.authorization.k8s.io" + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 4, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 + }, + "count": 4, + "sum": 1925003926.877 + } + }, + "group": "batch", + "longrunning": { + "count": 2 + }, + "resource": "cronjobs", + "scope": "cluster", + "verb": "WATCH", + "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 4, + "1000": 4, + "10000": 4, + "100000": 4, + "1000000": 4, + "10000000": 4, + "100000000": 4, + "1000000000": 4 + }, + "count": 4, + "sum": 0 + } + } } }, "Index": "", @@ -5136,10 +4724,10 @@ "request": { "code": "200", "component": "apiserver", - "count": 27, + "count": 1, "resource": "events", - "scope": "resource", - "verb": "PATCH", + "scope": "cluster", + "verb": "LIST", "version": "v1" } }, @@ -5159,30 +4747,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "coordination.k8s.io", - "version": "v1" - }, - "watch": { - "events": { - "kind": "Lease", - "size": { - "bytes": { - "bucket": { - "+Inf": 2745, - "1024": 2745, - "131072": 2745, - "16384": 2745, - "2048": 2745, - "32768": 2745, - "4096": 2745, - "65536": 2745, - "8192": 2745 - }, - "count": 2745, - "sum": 1262194 - } - } - } + "code": "0", + "component": "apiserver", + "count": 3, + "group": "policy", + "resource": "podsecuritypolicies", + "scope": "cluster", + "verb": "WATCH", + "version": "v1beta1" } }, "Index": "", @@ -5201,14 +4773,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", + "code": "0", "component": "apiserver", "count": 4, - "group": "apps", - "resource": "statefulsets", + "group": "flowcontrol.apiserver.k8s.io", + "resource": "flowschemas", "scope": "cluster", - "verb": "LIST", - "version": "v1" + "verb": "WATCH", + "version": "v1beta1" } }, "Index": "", @@ -5226,58 +4798,13 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { + "etcd": { + "object": { + "count": 0 + } + }, "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 17, - "100000": 17, - "1000000": 17, - "10000000": 17, - "1250000": 17, - "150000": 17, - "1500000": 17, - "15000000": 17, - "1750000": 17, - "200000": 17, - "2000000": 17, - "20000000": 17, - "250000": 17, - "2500000": 17, - "25000000": 17, - "300000": 17, - "3000000": 17, - "30000000": 17, - "350000": 17, - "3500000": 17, - "400000": 17, - "4000000": 17, - "40000000": 17, - "450000": 17, - "4500000": 17, - "50000": 17, - "500000": 17, - "5000000": 17, - "50000000": 17, - "600000": 17, - "6000000": 17, - "60000000": 17, - "700000": 17, - "7000000": 17, - "800000": 17, - "8000000": 17, - "900000": 17, - "9000000": 17 - }, - "count": 17, - "sum": 75247.61700000001 - } - }, - "resource": "nodes", - "scope": "resource", - "verb": "PATCH", - "version": "v1" + "resource": "volumeattachments.storage.k8s.io" } }, "Index": "", @@ -5296,13 +4823,57 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", "component": "apiserver", - "count": 1, - "group": "apps", - "resource": "daemonsets", + "duration": { + "us": { + "bucket": { + "+Inf": 2363, + "100000": 2352, + "1000000": 2362, + "10000000": 2363, + "1250000": 2363, + "150000": 2353, + "1500000": 2363, + "15000000": 2363, + "1750000": 2363, + "200000": 2355, + "2000000": 2363, + "20000000": 2363, + "250000": 2356, + "2500000": 2363, + "25000000": 2363, + "300000": 2356, + "3000000": 2363, + "30000000": 2363, + "350000": 2356, + "3500000": 2363, + "400000": 2358, + "4000000": 2363, + "40000000": 2363, + "450000": 2358, + "4500000": 2363, + "50000": 2349, + "500000": 2358, + "5000000": 2363, + "50000000": 2363, + "600000": 2360, + "6000000": 2363, + "60000000": 2363, + "700000": 2361, + "7000000": 2363, + "800000": 2361, + "8000000": 2363, + "900000": 2362, + "9000000": 2363 + }, + "count": 2363, + "sum": 12932811.667999994 + } + }, + "group": "coordination.k8s.io", + "resource": "leases", "scope": "resource", - "verb": "DELETE", + "verb": "PUT", "version": "v1" } }, @@ -5322,30 +4893,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "201", + "component": "apiserver", + "count": 15, "group": "rbac.authorization.k8s.io", + "resource": "rolebindings", + "scope": "resource", + "verb": "POST", "version": "v1" - }, - "watch": { - "events": { - "kind": "ClusterRole", - "size": { - "bytes": { - "bucket": { - "+Inf": 110, - "1024": 85, - "131072": 110, - "16384": 110, - "2048": 96, - "32768": 110, - "4096": 110, - "65536": 110, - "8192": 110 - }, - "count": 110, - "sum": 94975 - } - } - } } }, "Index": "", @@ -5364,14 +4919,79 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", "component": "apiserver", - "count": 2, + "duration": { + "us": { + "bucket": { + "+Inf": 6, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 + }, + "count": 6, + "sum": 2640006405.135 + } + }, "group": "rbac.authorization.k8s.io", + "longrunning": { + "count": 2 + }, "resource": "roles", - "scope": "resource", - "verb": "DELETE", + "scope": "cluster", + "verb": "WATCH", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 6, + "1000": 6, + "10000": 6, + "100000": 6, + "1000000": 6, + "10000000": 6, + "100000000": 6, + "1000000000": 6 + }, + "count": 6, + "sum": 0 + } + } } }, "Index": "", @@ -5391,11 +5011,11 @@ "MetricSetFields": { "etcd": { "object": { - "count": 1 + "count": 5 } }, "request": { - "resource": "storageclasses.storage.k8s.io" + "resource": "namespaces" } }, "Index": "", @@ -5414,30 +5034,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "policy", - "version": "v1beta1" - }, - "watch": { - "events": { - "kind": "PodSecurityPolicy", - "size": { - "bytes": { - "bucket": { - "+Inf": 7, - "1024": 7, - "131072": 7, - "16384": 7, - "2048": 7, - "32768": 7, - "4096": 7, - "65536": 7, - "8192": 7 - }, - "count": 7, - "sum": 714 - } - } - } + "code": "200", + "component": "apiserver", + "count": 1, + "group": "rbac.authorization.k8s.io", + "resource": "clusterroles", + "scope": "resource", + "verb": "DELETE", + "version": "v1" } }, "Index": "", @@ -5458,11 +5062,10 @@ "request": { "code": "200", "component": "apiserver", - "count": 2, - "group": "networking.k8s.io", - "resource": "networkpolicies", - "scope": "cluster", - "verb": "LIST", + "count": 142, + "resource": "services", + "scope": "resource", + "verb": "GET", "version": "v1" } }, @@ -5486,7 +5089,7 @@ "duration": { "us": { "bucket": { - "+Inf": 9, + "+Inf": 5, "100000": 0, "1000000": 0, "10000000": 0, @@ -5525,14 +5128,15 @@ "900000": 0, "9000000": 0 }, - "count": 9, - "sum": 3646007358.1160007 + "count": 5, + "sum": 2233004071.303 } }, + "group": "networking.k8s.io", "longrunning": { - "count": 3 + "count": 2 }, - "resource": "secrets", + "resource": "ingresses", "scope": "cluster", "verb": "WATCH", "version": "v1" @@ -5541,16 +5145,16 @@ "size": { "bytes": { "bucket": { - "+Inf": 9, - "1000": 9, - "10000": 9, - "100000": 9, - "1000000": 9, - "10000000": 9, - "100000000": 9, - "1000000000": 9 + "+Inf": 5, + "1000": 5, + "10000": 5, + "100000": 5, + "1000000": 5, + "10000000": 5, + "100000000": 5, + "1000000000": 5 }, - "count": 9, + "count": 5, "sum": 0 } } @@ -5567,31 +5171,6 @@ "Period": 0, "DisableTimeSeries": false }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "200", - "component": "apiserver", - "count": 142, - "resource": "services", - "scope": "resource", - "verb": "GET", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, { "RootFields": {}, "ModuleFields": null, @@ -5643,7 +5222,7 @@ "duration": { "us": { "bucket": { - "+Inf": 5, + "+Inf": 9, "100000": 0, "1000000": 0, "10000000": 0, @@ -5682,15 +5261,14 @@ "900000": 0, "9000000": 0 }, - "count": 5, - "sum": 2233004071.303 + "count": 9, + "sum": 3646007358.1160007 } }, - "group": "networking.k8s.io", "longrunning": { - "count": 2 + "count": 3 }, - "resource": "ingresses", + "resource": "secrets", "scope": "cluster", "verb": "WATCH", "version": "v1" @@ -5699,16 +5277,16 @@ "size": { "bytes": { "bucket": { - "+Inf": 5, - "1000": 5, - "10000": 5, - "100000": 5, - "1000000": 5, - "10000000": 5, - "100000000": 5, - "1000000000": 5 + "+Inf": 9, + "1000": 9, + "10000": 9, + "100000": 9, + "1000000": 9, + "10000000": 9, + "100000000": 9, + "1000000000": 9 }, - "count": 5, + "count": 9, "sum": 0 } } @@ -5725,6 +5303,30 @@ "Period": 0, "DisableTimeSeries": false }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "etcd": { + "object": { + "count": 1 + } + }, + "request": { + "resource": "storageclasses.storage.k8s.io" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, { "RootFields": {}, "ModuleFields": null, @@ -5732,9 +5334,9 @@ "request": { "code": "200", "component": "apiserver", - "count": 1, + "count": 2, "group": "rbac.authorization.k8s.io", - "resource": "clusterroles", + "resource": "roles", "scope": "resource", "verb": "DELETE", "version": "v1" @@ -5756,77 +5358,54 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 6, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 - }, - "count": 6, - "sum": 2640006405.135 - } - }, - "group": "rbac.authorization.k8s.io", - "longrunning": { - "count": 2 - }, - "resource": "roles", + "count": 2, + "group": "networking.k8s.io", + "resource": "networkpolicies", "scope": "cluster", - "verb": "WATCH", + "verb": "LIST", "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "group": "policy", + "version": "v1beta1" }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 6, - "1000": 6, - "10000": 6, - "100000": 6, - "1000000": 6, - "10000000": 6, - "100000000": 6, - "1000000000": 6 - }, - "count": 6, - "sum": 0 + "watch": { + "events": { + "kind": "PodSecurityPolicy", + "size": { + "bytes": { + "bucket": { + "+Inf": 7, + "1024": 7, + "131072": 7, + "16384": 7, + "2048": 7, + "32768": 7, + "4096": 7, + "65536": 7, + "8192": 7 + }, + "count": 7, + "sum": 714 + } } } } @@ -5846,13 +5425,15 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "etcd": { - "object": { - "count": 5 - } - }, "request": { - "resource": "namespaces" + "code": "200", + "component": "apiserver", + "count": 1, + "group": "apps", + "resource": "daemonsets", + "scope": "resource", + "verb": "DELETE", + "version": "v1" } }, "Index": "", @@ -5871,74 +5452,28 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 214, - "100000": 214, - "1000000": 214, - "10000000": 214, - "1250000": 214, - "150000": 214, - "1500000": 214, - "15000000": 214, - "1750000": 214, - "200000": 214, - "2000000": 214, - "20000000": 214, - "250000": 214, - "2500000": 214, - "25000000": 214, - "300000": 214, - "3000000": 214, - "30000000": 214, - "350000": 214, - "3500000": 214, - "400000": 214, - "4000000": 214, - "40000000": 214, - "450000": 214, - "4500000": 214, - "50000": 214, - "500000": 214, - "5000000": 214, - "50000000": 214, - "600000": 214, - "6000000": 214, - "60000000": 214, - "700000": 214, - "7000000": 214, - "800000": 214, - "8000000": 214, - "900000": 214, - "9000000": 214 - }, - "count": 214, - "sum": 550773.7160000002 - } - }, - "group": "batch", - "resource": "jobs", - "scope": "resource", - "verb": "GET", + "group": "rbac.authorization.k8s.io", "version": "v1" }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 214, - "1000": 0, - "10000": 214, - "100000": 214, - "1000000": 214, - "10000000": 214, - "100000000": 214, - "1000000000": 214 - }, - "count": 214, - "sum": 415680 + "watch": { + "events": { + "kind": "ClusterRole", + "size": { + "bytes": { + "bucket": { + "+Inf": 110, + "1024": 85, + "131072": 110, + "16384": 110, + "2048": 96, + "32768": 110, + "4096": 110, + "65536": 110, + "8192": 110 + }, + "count": 110, + "sum": 94975 + } } } } @@ -5963,69 +5498,119 @@ "duration": { "us": { "bucket": { - "+Inf": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "1250000": 2, - "150000": 2, - "1500000": 2, - "15000000": 2, - "1750000": 2, - "200000": 2, - "2000000": 2, - "20000000": 2, - "250000": 2, - "2500000": 2, - "25000000": 2, - "300000": 2, - "3000000": 2, - "30000000": 2, - "350000": 2, - "3500000": 2, - "400000": 2, - "4000000": 2, - "40000000": 2, - "450000": 2, - "4500000": 2, - "50000": 2, - "500000": 2, - "5000000": 2, - "50000000": 2, - "600000": 2, - "6000000": 2, - "60000000": 2, - "700000": 2, - "7000000": 2, - "800000": 2, - "8000000": 2, - "900000": 2, - "9000000": 2 + "+Inf": 17, + "100000": 17, + "1000000": 17, + "10000000": 17, + "1250000": 17, + "150000": 17, + "1500000": 17, + "15000000": 17, + "1750000": 17, + "200000": 17, + "2000000": 17, + "20000000": 17, + "250000": 17, + "2500000": 17, + "25000000": 17, + "300000": 17, + "3000000": 17, + "30000000": 17, + "350000": 17, + "3500000": 17, + "400000": 17, + "4000000": 17, + "40000000": 17, + "450000": 17, + "4500000": 17, + "50000": 17, + "500000": 17, + "5000000": 17, + "50000000": 17, + "600000": 17, + "6000000": 17, + "60000000": 17, + "700000": 17, + "7000000": 17, + "800000": 17, + "8000000": 17, + "900000": 17, + "9000000": 17 }, - "count": 2, - "sum": 2604.2340000000004 + "count": 17, + "sum": 75247.61700000001 } }, - "resource": "configmaps", + "resource": "nodes", + "scope": "resource", + "verb": "PATCH", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "200", + "component": "apiserver", + "count": 4, + "group": "apps", + "resource": "statefulsets", "scope": "cluster", "verb": "LIST", "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "group": "coordination.k8s.io", + "version": "v1" }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 2, - "1000": 0, - "10000": 1, - "100000": 2, - "1000000": 2, - "10000000": 2, - "100000000": 2, - "1000000000": 2 - }, - "count": 2, - "sum": 26574 + "watch": { + "events": { + "kind": "Lease", + "size": { + "bytes": { + "bucket": { + "+Inf": 2745, + "1024": 2745, + "131072": 2745, + "16384": 2745, + "2048": 2745, + "32768": 2745, + "4096": 2745, + "65536": 2745, + "8192": 2745 + }, + "count": 2745, + "sum": 1262194 + } } } } @@ -6046,14 +5631,12 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "409", + "code": "200", "component": "apiserver", - "count": 21, - "group": "batch", - "resource": "cronjobs", + "count": 27, + "resource": "events", "scope": "resource", - "subresource": "status", - "verb": "PUT", + "verb": "PATCH", "version": "v1" } }, @@ -6074,11 +5657,11 @@ "MetricSetFields": { "etcd": { "object": { - "count": 0 + "count": 13 } }, "request": { - "resource": "podsecuritypolicies.policy" + "resource": "roles.rbac.authorization.k8s.io" } }, "Index": "", @@ -6097,78 +5680,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "201", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 4, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 - }, - "count": 4, - "sum": 1876003810.848 - } - }, - "longrunning": { - "count": 2 - }, - "resource": "configmaps", - "scope": "cluster", - "verb": "WATCH", + "count": 21, + "group": "batch", + "resource": "jobs", + "scope": "resource", + "verb": "POST", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 4, - "1000": 4, - "10000": 4, - "100000": 4, - "1000000": 4, - "10000000": 4, - "100000000": 4, - "1000000000": 4 - }, - "count": 4, - "sum": 0 - } - } } }, "Index": "", @@ -6187,30 +5706,15 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "batch", + "code": "200", + "component": "apiserver", + "count": 11, + "group": "apps", + "resource": "replicasets", + "scope": "resource", + "subresource": "status", + "verb": "PUT", "version": "v1" - }, - "watch": { - "events": { - "kind": "Job", - "size": { - "bytes": { - "bucket": { - "+Inf": 168, - "1024": 54, - "131072": 168, - "16384": 168, - "2048": 151, - "32768": 168, - "4096": 168, - "65536": 168, - "8192": 168 - }, - "count": 168, - "sum": 186809 - } - } - } } }, "Index": "", @@ -6228,13 +5732,15 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "etcd": { - "object": { - "count": 3 - } - }, "request": { - "resource": "certificatesigningrequests.certificates.k8s.io" + "code": "200", + "component": "apiserver", + "count": 2, + "group": "rbac.authorization.k8s.io", + "resource": "rolebindings", + "scope": "cluster", + "verb": "LIST", + "version": "v1" } }, "Index": "", @@ -6257,72 +5763,54 @@ "duration": { "us": { "bucket": { - "+Inf": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "1250000": 2, - "150000": 2, - "1500000": 2, - "15000000": 2, - "1750000": 2, - "200000": 2, - "2000000": 2, - "20000000": 2, - "250000": 2, - "2500000": 2, - "25000000": 2, - "300000": 2, - "3000000": 2, - "30000000": 2, - "350000": 2, - "3500000": 2, - "400000": 2, - "4000000": 2, - "40000000": 2, - "450000": 2, - "4500000": 2, - "50000": 2, - "500000": 2, - "5000000": 2, - "50000000": 2, - "600000": 2, - "6000000": 2, - "60000000": 2, - "700000": 2, - "7000000": 2, - "800000": 2, - "8000000": 2, - "900000": 2, - "9000000": 2 + "+Inf": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "1250000": 1, + "150000": 1, + "1500000": 1, + "15000000": 1, + "1750000": 1, + "200000": 1, + "2000000": 1, + "20000000": 1, + "250000": 1, + "2500000": 1, + "25000000": 1, + "300000": 1, + "3000000": 1, + "30000000": 1, + "350000": 1, + "3500000": 1, + "400000": 1, + "4000000": 1, + "40000000": 1, + "450000": 1, + "4500000": 1, + "50000": 1, + "500000": 1, + "5000000": 1, + "50000000": 1, + "600000": 1, + "6000000": 1, + "60000000": 1, + "700000": 1, + "7000000": 1, + "800000": 1, + "8000000": 1, + "900000": 1, + "9000000": 1 }, - "count": 2, - "sum": 1089.865 + "count": 1, + "sum": 1847.6460000000002 } }, - "group": "flowcontrol.apiserver.k8s.io", - "resource": "prioritylevelconfigurations", - "scope": "cluster", - "verb": "LIST", - "version": "v1beta1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 2, - "1000": 1, - "10000": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "100000000": 2, - "1000000000": 2 - }, - "count": 2, - "sum": 2906 - } - } + "group": "storage.k8s.io", + "resource": "storageclasses", + "scope": "resource", + "verb": "POST", + "version": "v1" } }, "Index": "", @@ -6341,13 +5829,30 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "201", - "component": "apiserver", - "count": 3, - "resource": "services", - "scope": "resource", - "verb": "POST", + "group": "rbac.authorization.k8s.io", "version": "v1" + }, + "watch": { + "events": { + "kind": "RoleBinding", + "size": { + "bytes": { + "bucket": { + "+Inf": 43, + "1024": 43, + "131072": 43, + "16384": 43, + "2048": 43, + "32768": 43, + "4096": 43, + "65536": 43, + "8192": 43 + }, + "count": 43, + "sum": 19711 + } + } + } } }, "Index": "", @@ -6366,12 +5871,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "404", + "code": "200", "component": "apiserver", - "count": 29, - "resource": "pods", - "scope": "resource", - "verb": "GET", + "count": 1, + "group": "coordination.k8s.io", + "resource": "leases", + "scope": "namespace", + "verb": "LIST", "version": "v1" } }, @@ -6391,14 +5897,142 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", "component": "apiserver", - "count": 6, - "group": "rbac.authorization.k8s.io", - "resource": "clusterroles", + "duration": { + "us": { + "bucket": { + "+Inf": 5, + "100000": 5, + "1000000": 5, + "10000000": 5, + "1250000": 5, + "150000": 5, + "1500000": 5, + "15000000": 5, + "1750000": 5, + "200000": 5, + "2000000": 5, + "20000000": 5, + "250000": 5, + "2500000": 5, + "25000000": 5, + "300000": 5, + "3000000": 5, + "30000000": 5, + "350000": 5, + "3500000": 5, + "400000": 5, + "4000000": 5, + "40000000": 5, + "450000": 5, + "4500000": 5, + "50000": 5, + "500000": 5, + "5000000": 5, + "50000000": 5, + "600000": 5, + "6000000": 5, + "60000000": 5, + "700000": 5, + "7000000": 5, + "800000": 5, + "8000000": 5, + "900000": 5, + "9000000": 5 + }, + "count": 5, + "sum": 23534.366 + } + }, + "resource": "endpoints", "scope": "cluster", - "verb": "WATCH", + "verb": "LIST", + "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 5, + "1000": 4, + "10000": 5, + "100000": 5, + "1000000": 5, + "10000000": 5, + "100000000": 5, + "1000000000": 5 + }, + "count": 5, + "sum": 4501 + } + } + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "404", + "component": "apiserver", + "count": 1, + "group": "discovery.k8s.io", + "resource": "endpointslices", + "scope": "resource", + "verb": "GET", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { "version": "v1" + }, + "watch": { + "events": { + "kind": "Node", + "size": { + "bytes": { + "bucket": { + "+Inf": 1075, + "1024": 676, + "131072": 1075, + "16384": 1075, + "2048": 676, + "32768": 1075, + "4096": 832, + "65536": 1075, + "8192": 1075 + }, + "count": 1075, + "sum": 1799396 + } + } + } } }, "Index": "", @@ -6461,11 +6095,35 @@ "9000000": 1 }, "count": 1, - "sum": 6834.9800000000005 + "sum": 3649.158 } }, - "group": "apps", - "resource": "statefulsets", + "resource": "persistentvolumes", + "scope": "resource", + "verb": "POST", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "201", + "component": "apiserver", + "count": 44, + "resource": "serviceaccounts", "scope": "resource", "verb": "POST", "version": "v1" @@ -6482,6 +6140,32 @@ "Period": 0, "DisableTimeSeries": false }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "404", + "component": "apiserver", + "count": 11, + "group": "rbac.authorization.k8s.io", + "resource": "rolebindings", + "scope": "resource", + "verb": "GET", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, { "RootFields": {}, "ModuleFields": null, @@ -6489,9 +6173,11 @@ "request": { "code": "200", "component": "apiserver", - "count": 701, - "resource": "endpoints", + "count": 3, + "group": "certificates.k8s.io", + "resource": "certificatesigningrequests", "scope": "resource", + "subresource": "status", "verb": "PUT", "version": "v1" } @@ -6507,6 +6193,31 @@ "Period": 0, "DisableTimeSeries": false }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "200", + "component": "apiserver", + "count": 28, + "resource": "limitranges", + "scope": "namespace", + "verb": "LIST", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, { "RootFields": {}, "ModuleFields": null, @@ -6577,58 +6288,6 @@ "Period": 0, "DisableTimeSeries": false }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "200", - "component": "apiserver", - "count": 28, - "resource": "limitranges", - "scope": "namespace", - "verb": "LIST", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "200", - "component": "apiserver", - "count": 3, - "group": "certificates.k8s.io", - "resource": "certificatesigningrequests", - "scope": "resource", - "subresource": "status", - "verb": "PUT", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, { "RootFields": {}, "ModuleFields": null, @@ -6678,10 +6337,11 @@ "9000000": 1 }, "count": 1, - "sum": 3649.158 + "sum": 6834.9800000000005 } }, - "resource": "persistentvolumes", + "group": "apps", + "resource": "statefulsets", "scope": "resource", "verb": "POST", "version": "v1" @@ -6703,12 +6363,12 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "201", + "code": "200", "component": "apiserver", - "count": 44, - "resource": "serviceaccounts", + "count": 701, + "resource": "endpoints", "scope": "resource", - "verb": "POST", + "verb": "PUT", "version": "v1" } }, @@ -6728,13 +6388,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "404", + "code": "0", "component": "apiserver", - "count": 11, + "count": 6, "group": "rbac.authorization.k8s.io", - "resource": "rolebindings", - "scope": "resource", - "verb": "GET", + "resource": "clusterroles", + "scope": "cluster", + "verb": "WATCH", "version": "v1" } }, @@ -6756,9 +6416,8 @@ "request": { "code": "404", "component": "apiserver", - "count": 1, - "group": "discovery.k8s.io", - "resource": "endpointslices", + "count": 29, + "resource": "pods", "scope": "resource", "verb": "GET", "version": "v1" @@ -6780,26 +6439,52 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "201", + "component": "apiserver", + "count": 3, + "resource": "services", + "scope": "resource", + "verb": "POST", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "group": "batch", "version": "v1" }, "watch": { "events": { - "kind": "Node", + "kind": "Job", "size": { "bytes": { "bucket": { - "+Inf": 1075, - "1024": 676, - "131072": 1075, - "16384": 1075, - "2048": 676, - "32768": 1075, - "4096": 832, - "65536": 1075, - "8192": 1075 + "+Inf": 168, + "1024": 54, + "131072": 168, + "16384": 168, + "2048": 151, + "32768": 168, + "4096": 168, + "65536": 168, + "8192": 168 }, - "count": 1075, - "sum": 1799396 + "count": 168, + "sum": 186809 } } } @@ -6825,69 +6510,70 @@ "duration": { "us": { "bucket": { - "+Inf": 5, - "100000": 5, - "1000000": 5, - "10000000": 5, - "1250000": 5, - "150000": 5, - "1500000": 5, - "15000000": 5, - "1750000": 5, - "200000": 5, - "2000000": 5, - "20000000": 5, - "250000": 5, - "2500000": 5, - "25000000": 5, - "300000": 5, - "3000000": 5, - "30000000": 5, - "350000": 5, - "3500000": 5, - "400000": 5, - "4000000": 5, - "40000000": 5, - "450000": 5, - "4500000": 5, - "50000": 5, - "500000": 5, - "5000000": 5, - "50000000": 5, - "600000": 5, - "6000000": 5, - "60000000": 5, - "700000": 5, - "7000000": 5, - "800000": 5, - "8000000": 5, - "900000": 5, - "9000000": 5 + "+Inf": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "1250000": 2, + "150000": 2, + "1500000": 2, + "15000000": 2, + "1750000": 2, + "200000": 2, + "2000000": 2, + "20000000": 2, + "250000": 2, + "2500000": 2, + "25000000": 2, + "300000": 2, + "3000000": 2, + "30000000": 2, + "350000": 2, + "3500000": 2, + "400000": 2, + "4000000": 2, + "40000000": 2, + "450000": 2, + "4500000": 2, + "50000": 2, + "500000": 2, + "5000000": 2, + "50000000": 2, + "600000": 2, + "6000000": 2, + "60000000": 2, + "700000": 2, + "7000000": 2, + "800000": 2, + "8000000": 2, + "900000": 2, + "9000000": 2 }, - "count": 5, - "sum": 23534.366 + "count": 2, + "sum": 1089.865 } }, - "resource": "endpoints", + "group": "flowcontrol.apiserver.k8s.io", + "resource": "prioritylevelconfigurations", "scope": "cluster", "verb": "LIST", - "version": "v1" + "version": "v1beta1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 5, - "1000": 4, - "10000": 5, - "100000": 5, - "1000000": 5, - "10000000": 5, - "100000000": 5, - "1000000000": 5 + "+Inf": 2, + "1000": 1, + "10000": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "100000000": 2, + "1000000000": 2 }, - "count": 5, - "sum": 4501 + "count": 2, + "sum": 2906 } } } @@ -6907,15 +6593,13 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { + "etcd": { + "object": { + "count": 3 + } + }, "request": { - "code": "200", - "component": "apiserver", - "count": 1, - "group": "coordination.k8s.io", - "resource": "leases", - "scope": "namespace", - "verb": "LIST", - "version": "v1" + "resource": "certificatesigningrequests.certificates.k8s.io" } }, "Index": "", @@ -6934,149 +6618,39 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "autoscaling", + "code": "409", + "component": "apiserver", + "count": 21, + "group": "batch", + "resource": "cronjobs", + "scope": "resource", + "subresource": "status", + "verb": "PUT", "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "etcd": { + "object": { + "count": 0 + } }, - "watch": { - "events": { - "kind": "HorizontalPodAutoscaler", - "size": { - "bytes": { - "bucket": { - "+Inf": 9, - "1024": 9, - "131072": 9, - "16384": 9, - "2048": 9, - "32768": 9, - "4096": 9, - "65536": 9, - "8192": 9 - }, - "count": 9, - "sum": 855 - } - } - } - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "etcd": { - "object": { - "count": 1 - } - }, - "request": { - "resource": "persistentvolumes" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 12, - "100000": 12, - "1000000": 12, - "10000000": 12, - "1250000": 12, - "150000": 12, - "1500000": 12, - "15000000": 12, - "1750000": 12, - "200000": 12, - "2000000": 12, - "20000000": 12, - "250000": 12, - "2500000": 12, - "25000000": 12, - "300000": 12, - "3000000": 12, - "30000000": 12, - "350000": 12, - "3500000": 12, - "400000": 12, - "4000000": 12, - "40000000": 12, - "450000": 12, - "4500000": 12, - "50000": 12, - "500000": 12, - "5000000": 12, - "50000000": 12, - "600000": 12, - "6000000": 12, - "60000000": 12, - "700000": 12, - "7000000": 12, - "800000": 12, - "8000000": 12, - "900000": 12, - "9000000": 12 - }, - "count": 12, - "sum": 18390.601 - } - }, - "resource": "configmaps", - "scope": "resource", - "verb": "POST", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { "request": { - "code": "404", - "component": "apiserver", - "count": 2, - "group": "scheduling.k8s.io", - "resource": "priorityclasses", - "scope": "resource", - "verb": "GET", - "version": "v1" + "resource": "podsecuritypolicies.policy" } }, "Index": "", @@ -7099,7 +6673,7 @@ "duration": { "us": { "bucket": { - "+Inf": 5, + "+Inf": 4, "100000": 0, "1000000": 0, "10000000": 0, @@ -7138,15 +6712,14 @@ "900000": 0, "9000000": 0 }, - "count": 5, - "sum": 2189005324.1089997 + "count": 4, + "sum": 1876003810.848 } }, - "group": "networking.k8s.io", "longrunning": { "count": 2 }, - "resource": "networkpolicies", + "resource": "configmaps", "scope": "cluster", "verb": "WATCH", "version": "v1" @@ -7155,16 +6728,16 @@ "size": { "bytes": { "bucket": { - "+Inf": 5, - "1000": 5, - "10000": 5, - "100000": 5, - "1000000": 5, - "10000000": 5, - "100000000": 5, - "1000000000": 5 + "+Inf": 4, + "1000": 4, + "10000": 4, + "100000": 4, + "1000000": 4, + "10000000": 4, + "100000000": 4, + "1000000000": 4 }, - "count": 5, + "count": 4, "sum": 0 } } @@ -7186,14 +6759,75 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", "component": "apiserver", - "count": 6, - "group": "node.k8s.io", - "resource": "runtimeclasses", + "duration": { + "us": { + "bucket": { + "+Inf": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "1250000": 2, + "150000": 2, + "1500000": 2, + "15000000": 2, + "1750000": 2, + "200000": 2, + "2000000": 2, + "20000000": 2, + "250000": 2, + "2500000": 2, + "25000000": 2, + "300000": 2, + "3000000": 2, + "30000000": 2, + "350000": 2, + "3500000": 2, + "400000": 2, + "4000000": 2, + "40000000": 2, + "450000": 2, + "4500000": 2, + "50000": 2, + "500000": 2, + "5000000": 2, + "50000000": 2, + "600000": 2, + "6000000": 2, + "60000000": 2, + "700000": 2, + "7000000": 2, + "800000": 2, + "8000000": 2, + "900000": 2, + "9000000": 2 + }, + "count": 2, + "sum": 2604.2340000000004 + } + }, + "resource": "configmaps", "scope": "cluster", "verb": "LIST", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 2, + "1000": 0, + "10000": 1, + "100000": 2, + "1000000": 2, + "10000000": 2, + "100000000": 2, + "1000000000": 2 + }, + "count": 2, + "sum": 26574 + } + } } }, "Index": "", @@ -7212,41 +6846,76 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", "component": "apiserver", - "count": 20, - "group": "apps", - "resource": "daemonsets", - "scope": "resource", - "subresource": "status", - "verb": "PUT", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "200", - "component": "apiserver", - "count": 2, - "group": "scheduling.k8s.io", - "resource": "priorityclasses", - "scope": "cluster", - "verb": "LIST", + "duration": { + "us": { + "bucket": { + "+Inf": 214, + "100000": 214, + "1000000": 214, + "10000000": 214, + "1250000": 214, + "150000": 214, + "1500000": 214, + "15000000": 214, + "1750000": 214, + "200000": 214, + "2000000": 214, + "20000000": 214, + "250000": 214, + "2500000": 214, + "25000000": 214, + "300000": 214, + "3000000": 214, + "30000000": 214, + "350000": 214, + "3500000": 214, + "400000": 214, + "4000000": 214, + "40000000": 214, + "450000": 214, + "4500000": 214, + "50000": 214, + "500000": 214, + "5000000": 214, + "50000000": 214, + "600000": 214, + "6000000": 214, + "60000000": 214, + "700000": 214, + "7000000": 214, + "800000": 214, + "8000000": 214, + "900000": 214, + "9000000": 214 + }, + "count": 214, + "sum": 550773.7160000002 + } + }, + "group": "batch", + "resource": "jobs", + "scope": "resource", + "verb": "GET", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 214, + "1000": 0, + "10000": 214, + "100000": 214, + "1000000": 214, + "10000000": 214, + "100000000": 214, + "1000000000": 214 + }, + "count": 214, + "sum": 415680 + } + } } }, "Index": "", @@ -7269,72 +6938,54 @@ "duration": { "us": { "bucket": { - "+Inf": 143, - "100000": 143, - "1000000": 143, - "10000000": 143, - "1250000": 143, - "150000": 143, - "1500000": 143, - "15000000": 143, - "1750000": 143, - "200000": 143, - "2000000": 143, - "20000000": 143, - "250000": 143, - "2500000": 143, - "25000000": 143, - "300000": 143, - "3000000": 143, - "30000000": 143, - "350000": 143, - "3500000": 143, - "400000": 143, - "4000000": 143, - "40000000": 143, - "450000": 143, - "4500000": 143, - "50000": 143, - "500000": 143, - "5000000": 143, - "50000000": 143, - "600000": 143, - "6000000": 143, - "60000000": 143, - "700000": 143, - "7000000": 143, - "800000": 143, - "8000000": 143, - "900000": 143, - "9000000": 143 + "+Inf": 58, + "100000": 58, + "1000000": 58, + "10000000": 58, + "1250000": 58, + "150000": 58, + "1500000": 58, + "15000000": 58, + "1750000": 58, + "200000": 58, + "2000000": 58, + "20000000": 58, + "250000": 58, + "2500000": 58, + "25000000": 58, + "300000": 58, + "3000000": 58, + "30000000": 58, + "350000": 58, + "3500000": 58, + "400000": 58, + "4000000": 58, + "40000000": 58, + "450000": 58, + "4500000": 58, + "50000": 58, + "500000": 58, + "5000000": 58, + "50000000": 58, + "600000": 58, + "6000000": 58, + "60000000": 58, + "700000": 58, + "7000000": 58, + "800000": 58, + "8000000": 58, + "900000": 58, + "9000000": 58 }, - "count": 143, - "sum": 137488.495 + "count": 58, + "sum": 283030.888 } }, - "group": "discovery.k8s.io", - "resource": "endpointslices", + "resource": "serviceaccounts", "scope": "resource", - "verb": "GET", + "subresource": "token", + "verb": "POST", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 143, - "1000": 143, - "10000": 143, - "100000": 143, - "1000000": 143, - "10000000": 143, - "100000000": 143, - "1000000000": 143 - }, - "count": 143, - "sum": 58241 - } - } } }, "Index": "", @@ -7353,12 +7004,12 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", + "code": "200", "component": "apiserver", - "count": 8, - "resource": "replicationcontrollers", - "scope": "cluster", - "verb": "WATCH", + "count": 276, + "resource": "namespaces", + "scope": "resource", + "verb": "GET", "version": "v1" } }, @@ -7377,13 +7028,14 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "etcd": { - "object": { - "count": 0 - } - }, "request": { - "resource": "csidrivers.storage.k8s.io" + "code": "201", + "component": "apiserver", + "count": 1, + "resource": "persistentvolumes", + "scope": "resource", + "verb": "POST", + "version": "v1" } }, "Index": "", @@ -7401,14 +7053,13 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { + "etcd": { + "object": { + "count": 3 + } + }, "request": { - "code": "200", - "component": "apiserver", - "count": 3, - "resource": "limitranges", - "scope": "cluster", - "verb": "LIST", - "version": "v1" + "resource": "endpointslices.discovery.k8s.io" } }, "Index": "", @@ -7426,30 +7077,13 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "request": { - "version": "v1" - }, - "watch": { - "events": { - "kind": "PersistentVolumeClaim", - "size": { - "bytes": { - "bucket": { - "+Inf": 24, - "1024": 17, - "131072": 24, - "16384": 24, - "2048": 24, - "32768": 24, - "4096": 24, - "65536": 24, - "8192": 24 - }, - "count": 24, - "sum": 13488 - } - } + "etcd": { + "object": { + "count": 0 } + }, + "request": { + "resource": "podtemplates" } }, "Index": "", @@ -7733,37 +7367,30 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "etcd": { - "object": { - "count": 0 - } - }, "request": { - "resource": "podtemplates" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "etcd": { - "object": { - "count": 3 - } + "version": "v1" }, - "request": { - "resource": "endpointslices.discovery.k8s.io" + "watch": { + "events": { + "kind": "PersistentVolumeClaim", + "size": { + "bytes": { + "bucket": { + "+Inf": 24, + "1024": 17, + "131072": 24, + "16384": 24, + "2048": 24, + "32768": 24, + "4096": 24, + "65536": 24, + "8192": 24 + }, + "count": 24, + "sum": 13488 + } + } + } } }, "Index": "", @@ -7784,10 +7411,10 @@ "request": { "code": "200", "component": "apiserver", - "count": 276, - "resource": "namespaces", - "scope": "resource", - "verb": "GET", + "count": 3, + "resource": "limitranges", + "scope": "cluster", + "verb": "LIST", "version": "v1" } }, @@ -7806,59 +7433,13 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { + "etcd": { + "object": { + "count": 0 + } + }, "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 58, - "100000": 58, - "1000000": 58, - "10000000": 58, - "1250000": 58, - "150000": 58, - "1500000": 58, - "15000000": 58, - "1750000": 58, - "200000": 58, - "2000000": 58, - "20000000": 58, - "250000": 58, - "2500000": 58, - "25000000": 58, - "300000": 58, - "3000000": 58, - "30000000": 58, - "350000": 58, - "3500000": 58, - "400000": 58, - "4000000": 58, - "40000000": 58, - "450000": 58, - "4500000": 58, - "50000": 58, - "500000": 58, - "5000000": 58, - "50000000": 58, - "600000": 58, - "6000000": 58, - "60000000": 58, - "700000": 58, - "7000000": 58, - "800000": 58, - "8000000": 58, - "900000": 58, - "9000000": 58 - }, - "count": 58, - "sum": 283030.888 - } - }, - "resource": "serviceaccounts", - "scope": "resource", - "subresource": "token", - "verb": "POST", - "version": "v1" + "resource": "csidrivers.storage.k8s.io" } }, "Index": "", @@ -7877,12 +7458,12 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "201", + "code": "0", "component": "apiserver", - "count": 1, - "resource": "persistentvolumes", - "scope": "resource", - "verb": "POST", + "count": 8, + "resource": "replicationcontrollers", + "scope": "cluster", + "verb": "WATCH", "version": "v1" } }, @@ -7906,70 +7487,70 @@ "duration": { "us": { "bucket": { - "+Inf": 3, - "100000": 3, - "1000000": 3, - "10000000": 3, - "1250000": 3, - "150000": 3, - "1500000": 3, - "15000000": 3, - "1750000": 3, - "200000": 3, - "2000000": 3, - "20000000": 3, - "250000": 3, - "2500000": 3, - "25000000": 3, - "300000": 3, - "3000000": 3, - "30000000": 3, - "350000": 3, - "3500000": 3, - "400000": 3, - "4000000": 3, - "40000000": 3, - "450000": 3, - "4500000": 3, - "50000": 3, - "500000": 3, - "5000000": 3, - "50000000": 3, - "600000": 3, - "6000000": 3, - "60000000": 3, - "700000": 3, - "7000000": 3, - "800000": 3, - "8000000": 3, - "900000": 3, - "9000000": 3 + "+Inf": 143, + "100000": 143, + "1000000": 143, + "10000000": 143, + "1250000": 143, + "150000": 143, + "1500000": 143, + "15000000": 143, + "1750000": 143, + "200000": 143, + "2000000": 143, + "20000000": 143, + "250000": 143, + "2500000": 143, + "25000000": 143, + "300000": 143, + "3000000": 143, + "30000000": 143, + "350000": 143, + "3500000": 143, + "400000": 143, + "4000000": 143, + "40000000": 143, + "450000": 143, + "4500000": 143, + "50000": 143, + "500000": 143, + "5000000": 143, + "50000000": 143, + "600000": 143, + "6000000": 143, + "60000000": 143, + "700000": 143, + "7000000": 143, + "800000": 143, + "8000000": 143, + "900000": 143, + "9000000": 143 }, - "count": 3, - "sum": 1726.521 + "count": 143, + "sum": 137488.495 } }, - "group": "batch", - "resource": "jobs", - "scope": "cluster", - "verb": "LIST", + "group": "discovery.k8s.io", + "resource": "endpointslices", + "scope": "resource", + "verb": "GET", "version": "v1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 3, - "1000": 1, - "10000": 3, - "100000": 3, - "1000000": 3, - "10000000": 3, - "100000000": 3, - "1000000000": 3 + "+Inf": 143, + "1000": 143, + "10000": 143, + "100000": 143, + "1000000": 143, + "10000000": 143, + "100000000": 143, + "1000000000": 143 }, - "count": 3, - "sum": 11029 + "count": 143, + "sum": 58241 } } } @@ -7989,13 +7570,15 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "etcd": { - "object": { - "count": 68 - } - }, "request": { - "resource": "clusterroles.rbac.authorization.k8s.io" + "code": "200", + "component": "apiserver", + "count": 2, + "group": "scheduling.k8s.io", + "resource": "priorityclasses", + "scope": "cluster", + "verb": "LIST", + "version": "v1" } }, "Index": "", @@ -8014,79 +7597,15 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 6, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 - }, - "count": 6, - "sum": 2434004609.5880003 - } - }, - "group": "rbac.authorization.k8s.io", - "longrunning": { - "count": 2 - }, - "resource": "clusterrolebindings", - "scope": "cluster", - "verb": "WATCH", + "count": 20, + "group": "apps", + "resource": "daemonsets", + "scope": "resource", + "subresource": "status", + "verb": "PUT", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 6, - "1000": 6, - "10000": 6, - "100000": 6, - "1000000": 6, - "10000000": 6, - "100000000": 6, - "1000000000": 6 - }, - "count": 6, - "sum": 0 - } - } } }, "Index": "", @@ -8109,7 +7628,7 @@ "duration": { "us": { "bucket": { - "+Inf": 6, + "+Inf": 5, "100000": 0, "1000000": 0, "10000000": 0, @@ -8148,15 +7667,15 @@ "900000": 0, "9000000": 0 }, - "count": 6, - "sum": 2700005691.396 + "count": 5, + "sum": 2189005324.1089997 } }, - "group": "apiextensions.k8s.io", + "group": "networking.k8s.io", "longrunning": { "count": 2 }, - "resource": "customresourcedefinitions", + "resource": "networkpolicies", "scope": "cluster", "verb": "WATCH", "version": "v1" @@ -8165,16 +7684,16 @@ "size": { "bytes": { "bucket": { - "+Inf": 6, - "1000": 6, - "10000": 6, - "100000": 6, - "1000000": 6, - "10000000": 6, - "100000000": 6, - "1000000000": 6 + "+Inf": 5, + "1000": 5, + "10000": 5, + "100000": 5, + "1000000": 5, + "10000000": 5, + "100000000": 5, + "1000000000": 5 }, - "count": 6, + "count": 5, "sum": 0 } } @@ -8196,30 +7715,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "apps", + "code": "200", + "component": "apiserver", + "count": 6, + "group": "node.k8s.io", + "resource": "runtimeclasses", + "scope": "cluster", + "verb": "LIST", "version": "v1" - }, - "watch": { - "events": { - "kind": "ControllerRevision", - "size": { - "bytes": { - "bucket": { - "+Inf": 16, - "1024": 10, - "131072": 16, - "16384": 16, - "2048": 11, - "32768": 16, - "4096": 13, - "65536": 16, - "8192": 16 - }, - "count": 16, - "sum": 24506 - } - } - } } }, "Index": "", @@ -8238,11 +7741,11 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", + "code": "404", "component": "apiserver", - "count": 142, - "group": "discovery.k8s.io", - "resource": "endpointslices", + "count": 2, + "group": "scheduling.k8s.io", + "resource": "priorityclasses", "scope": "resource", "verb": "GET", "version": "v1" @@ -8263,30 +7766,13 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "request": { - "version": "v1" - }, - "watch": { - "events": { - "kind": "Endpoints", - "size": { - "bytes": { - "bucket": { - "+Inf": 3515, - "1024": 3515, - "131072": 3515, - "16384": 3515, - "2048": 3515, - "32768": 3515, - "4096": 3515, - "65536": 3515, - "8192": 3515 - }, - "count": 3515, - "sum": 1888449 - } - } + "etcd": { + "object": { + "count": 1 } + }, + "request": { + "resource": "persistentvolumes" } }, "Index": "", @@ -8305,57 +7791,30 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 4, - "100000": 4, - "1000000": 4, - "10000000": 4, - "1250000": 4, - "150000": 4, - "1500000": 4, - "15000000": 4, - "1750000": 4, - "200000": 4, - "2000000": 4, - "20000000": 4, - "250000": 4, - "2500000": 4, - "25000000": 4, - "300000": 4, - "3000000": 4, - "30000000": 4, - "350000": 4, - "3500000": 4, - "400000": 4, - "4000000": 4, - "40000000": 4, - "450000": 4, - "4500000": 4, - "50000": 4, - "500000": 4, - "5000000": 4, - "50000000": 4, - "600000": 4, - "6000000": 4, - "60000000": 4, - "700000": 4, - "7000000": 4, - "800000": 4, - "8000000": 4, - "900000": 4, - "9000000": 4 - }, - "count": 4, - "sum": 9547.679999999998 - } - }, - "resource": "endpoints", - "scope": "resource", - "verb": "POST", + "group": "autoscaling", "version": "v1" + }, + "watch": { + "events": { + "kind": "HorizontalPodAutoscaler", + "size": { + "bytes": { + "bucket": { + "+Inf": 9, + "1024": 9, + "131072": 9, + "16384": 9, + "2048": 9, + "32768": 9, + "4096": 9, + "65536": 9, + "8192": 9 + }, + "count": 9, + "sum": 855 + } + } + } } }, "Index": "", @@ -8378,72 +7837,127 @@ "duration": { "us": { "bucket": { - "+Inf": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "1250000": 2, - "150000": 2, - "1500000": 2, - "15000000": 2, - "1750000": 2, - "200000": 2, - "2000000": 2, - "20000000": 2, - "250000": 2, - "2500000": 2, - "25000000": 2, - "300000": 2, - "3000000": 2, - "30000000": 2, - "350000": 2, - "3500000": 2, - "400000": 2, - "4000000": 2, - "40000000": 2, - "450000": 2, - "4500000": 2, - "50000": 2, - "500000": 2, - "5000000": 2, - "50000000": 2, - "600000": 2, - "6000000": 2, - "60000000": 2, - "700000": 2, - "7000000": 2, - "800000": 2, - "8000000": 2, - "900000": 2, - "9000000": 2 + "+Inf": 12, + "100000": 12, + "1000000": 12, + "10000000": 12, + "1250000": 12, + "150000": 12, + "1500000": 12, + "15000000": 12, + "1750000": 12, + "200000": 12, + "2000000": 12, + "20000000": 12, + "250000": 12, + "2500000": 12, + "25000000": 12, + "300000": 12, + "3000000": 12, + "30000000": 12, + "350000": 12, + "3500000": 12, + "400000": 12, + "4000000": 12, + "40000000": 12, + "450000": 12, + "4500000": 12, + "50000": 12, + "500000": 12, + "5000000": 12, + "50000000": 12, + "600000": 12, + "6000000": 12, + "60000000": 12, + "700000": 12, + "7000000": 12, + "800000": 12, + "8000000": 12, + "900000": 12, + "9000000": 12 }, - "count": 2, - "sum": 1463.528 + "count": 12, + "sum": 18390.601 } }, - "group": "batch", - "resource": "cronjobs", - "scope": "cluster", - "verb": "LIST", + "resource": "configmaps", + "scope": "resource", + "verb": "POST", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 2, - "1000": 1, - "10000": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "100000000": 2, - "1000000000": 2 - }, - "count": 2, - "sum": 3227 - } + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "200", + "component": "apiserver", + "count": 1, + "resource": "secrets", + "scope": "resource", + "verb": "DELETE", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "etcd": { + "object": { + "count": 0 } + }, + "request": { + "resource": "networkpolicies.networking.k8s.io" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "201", + "component": "apiserver", + "count": 3, + "resource": "nodes", + "scope": "resource", + "verb": "POST", + "version": "v1" } }, "Index": "", @@ -8570,42 +8084,81 @@ "Period": 0, "DisableTimeSeries": false }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "etcd": { - "object": { - "count": 0 - } - }, - "request": { - "resource": "networkpolicies.networking.k8s.io" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, { "RootFields": {}, "ModuleFields": null, "MetricSetFields": { "request": { - "code": "201", "component": "apiserver", - "count": 3, - "resource": "nodes", - "scope": "resource", - "verb": "POST", + "duration": { + "us": { + "bucket": { + "+Inf": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "1250000": 2, + "150000": 2, + "1500000": 2, + "15000000": 2, + "1750000": 2, + "200000": 2, + "2000000": 2, + "20000000": 2, + "250000": 2, + "2500000": 2, + "25000000": 2, + "300000": 2, + "3000000": 2, + "30000000": 2, + "350000": 2, + "3500000": 2, + "400000": 2, + "4000000": 2, + "40000000": 2, + "450000": 2, + "4500000": 2, + "50000": 2, + "500000": 2, + "5000000": 2, + "50000000": 2, + "600000": 2, + "6000000": 2, + "60000000": 2, + "700000": 2, + "7000000": 2, + "800000": 2, + "8000000": 2, + "900000": 2, + "9000000": 2 + }, + "count": 2, + "sum": 1463.528 + } + }, + "group": "batch", + "resource": "cronjobs", + "scope": "cluster", + "verb": "LIST", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 2, + "1000": 1, + "10000": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "100000000": 2, + "1000000000": 2 + }, + "count": 2, + "sum": 3227 + } + } } }, "Index": "", @@ -8624,12 +8177,56 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", "component": "apiserver", - "count": 1, - "resource": "secrets", - "scope": "resource", - "verb": "DELETE", + "duration": { + "us": { + "bucket": { + "+Inf": 4, + "100000": 4, + "1000000": 4, + "10000000": 4, + "1250000": 4, + "150000": 4, + "1500000": 4, + "15000000": 4, + "1750000": 4, + "200000": 4, + "2000000": 4, + "20000000": 4, + "250000": 4, + "2500000": 4, + "25000000": 4, + "300000": 4, + "3000000": 4, + "30000000": 4, + "350000": 4, + "3500000": 4, + "400000": 4, + "4000000": 4, + "40000000": 4, + "450000": 4, + "4500000": 4, + "50000": 4, + "500000": 4, + "5000000": 4, + "50000000": 4, + "600000": 4, + "6000000": 4, + "60000000": 4, + "700000": 4, + "7000000": 4, + "800000": 4, + "8000000": 4, + "900000": 4, + "9000000": 4 + }, + "count": 4, + "sum": 9547.679999999998 + } + }, + "resource": "endpoints", + "scope": "resource", + "verb": "POST", "version": "v1" } }, @@ -8649,58 +8246,97 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 6, - "100000": 6, - "1000000": 6, - "10000000": 6, - "1250000": 6, - "150000": 6, - "1500000": 6, - "15000000": 6, - "1750000": 6, - "200000": 6, - "2000000": 6, - "20000000": 6, - "250000": 6, - "2500000": 6, - "25000000": 6, - "300000": 6, - "3000000": 6, - "30000000": 6, - "350000": 6, - "3500000": 6, - "400000": 6, - "4000000": 6, - "40000000": 6, - "450000": 6, - "4500000": 6, - "50000": 6, - "500000": 6, - "5000000": 6, - "50000000": 6, - "600000": 6, - "6000000": 6, - "60000000": 6, - "700000": 6, - "7000000": 6, - "800000": 6, - "8000000": 6, - "900000": 6, - "9000000": 6 - }, - "count": 6, - "sum": 13536.479 + "version": "v1" + }, + "watch": { + "events": { + "kind": "Endpoints", + "size": { + "bytes": { + "bucket": { + "+Inf": 3515, + "1024": 3515, + "131072": 3515, + "16384": 3515, + "2048": 3515, + "32768": 3515, + "4096": 3515, + "65536": 3515, + "8192": 3515 + }, + "count": 3515, + "sum": 1888449 + } } - }, - "group": "coordination.k8s.io", - "resource": "leases", + } + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "200", + "component": "apiserver", + "count": 142, + "group": "discovery.k8s.io", + "resource": "endpointslices", "scope": "resource", - "verb": "POST", + "verb": "GET", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "group": "apps", "version": "v1" + }, + "watch": { + "events": { + "kind": "ControllerRevision", + "size": { + "bytes": { + "bucket": { + "+Inf": 16, + "1024": 10, + "131072": 16, + "16384": 16, + "2048": 11, + "32768": 16, + "4096": 13, + "65536": 16, + "8192": 16 + }, + "count": 16, + "sum": 24506 + } + } + } } }, "Index": "", @@ -8763,14 +8399,14 @@ "9000000": 0 }, "count": 6, - "sum": 2447005559.725 + "sum": 2700005691.396 } }, - "group": "rbac.authorization.k8s.io", + "group": "apiextensions.k8s.io", "longrunning": { "count": 2 }, - "resource": "clusterroles", + "resource": "customresourcedefinitions", "scope": "cluster", "verb": "WATCH", "version": "v1" @@ -8809,39 +8445,13 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "audit": { - "event": { - "count": 0 - }, - "rejected": { - "count": 0 - } - }, - "process": { - "cpu": { - "sec": 84 - }, - "fds": { - "open": { - "count": 127 - } - }, - "memory": { - "resident": { - "bytes": 380186624 - }, - "virtual": { - "bytes": 1146454016 - } - }, - "started": { - "sec": 1654503718.97 + "etcd": { + "object": { + "count": 68 } }, "request": { - "current": { - "count": 1 - } + "resource": "clusterroles.rbac.authorization.k8s.io" } }, "Index": "", @@ -8864,69 +8474,73 @@ "duration": { "us": { "bucket": { - "+Inf": 144, - "100000": 144, - "1000000": 144, - "10000000": 144, - "1250000": 144, - "150000": 144, - "1500000": 144, - "15000000": 144, - "1750000": 144, - "200000": 144, - "2000000": 144, - "20000000": 144, - "250000": 144, - "2500000": 144, - "25000000": 144, - "300000": 144, - "3000000": 144, - "30000000": 144, - "350000": 144, - "3500000": 144, - "400000": 144, - "4000000": 144, - "40000000": 144, - "450000": 144, - "4500000": 144, - "50000": 144, - "500000": 144, - "5000000": 144, - "50000000": 144, - "600000": 144, - "6000000": 144, - "60000000": 144, - "700000": 144, - "7000000": 144, - "800000": 144, - "8000000": 144, - "900000": 144, - "9000000": 144 + "+Inf": 6, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 }, - "count": 144, - "sum": 148905.88100000005 + "count": 6, + "sum": 2434004609.5880003 } }, - "resource": "services", - "scope": "resource", - "verb": "GET", + "group": "rbac.authorization.k8s.io", + "longrunning": { + "count": 2 + }, + "resource": "clusterrolebindings", + "scope": "cluster", + "verb": "WATCH", "version": "v1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 144, - "1000": 144, - "10000": 144, - "100000": 144, - "1000000": 144, - "10000000": 144, - "100000000": 144, - "1000000000": 144 + "+Inf": 6, + "1000": 6, + "10000": 6, + "100000": 6, + "1000000": 6, + "10000000": 6, + "100000000": 6, + "1000000000": 6 }, - "count": 144, - "sum": 85813 + "count": 6, + "sum": 0 } } } @@ -8951,51 +8565,51 @@ "duration": { "us": { "bucket": { - "+Inf": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "1250000": 1, - "150000": 1, - "1500000": 1, - "15000000": 1, - "1750000": 1, - "200000": 1, - "2000000": 1, - "20000000": 1, - "250000": 1, - "2500000": 1, - "25000000": 1, - "300000": 1, - "3000000": 1, - "30000000": 1, - "350000": 1, - "3500000": 1, - "400000": 1, - "4000000": 1, - "40000000": 1, - "450000": 1, - "4500000": 1, - "50000": 1, - "500000": 1, - "5000000": 1, - "50000000": 1, - "600000": 1, - "6000000": 1, - "60000000": 1, - "700000": 1, - "7000000": 1, - "800000": 1, - "8000000": 1, - "900000": 1, - "9000000": 1 + "+Inf": 3, + "100000": 3, + "1000000": 3, + "10000000": 3, + "1250000": 3, + "150000": 3, + "1500000": 3, + "15000000": 3, + "1750000": 3, + "200000": 3, + "2000000": 3, + "20000000": 3, + "250000": 3, + "2500000": 3, + "25000000": 3, + "300000": 3, + "3000000": 3, + "30000000": 3, + "350000": 3, + "3500000": 3, + "400000": 3, + "4000000": 3, + "40000000": 3, + "450000": 3, + "4500000": 3, + "50000": 3, + "500000": 3, + "5000000": 3, + "50000000": 3, + "600000": 3, + "6000000": 3, + "60000000": 3, + "700000": 3, + "7000000": 3, + "800000": 3, + "8000000": 3, + "900000": 3, + "9000000": 3 }, - "count": 1, - "sum": 355.325 + "count": 3, + "sum": 1726.521 } }, - "group": "autoscaling", - "resource": "horizontalpodautoscalers", + "group": "batch", + "resource": "jobs", "scope": "cluster", "verb": "LIST", "version": "v1" @@ -9004,17 +8618,17 @@ "size": { "bytes": { "bucket": { - "+Inf": 1, + "+Inf": 3, "1000": 1, - "10000": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "100000000": 1, - "1000000000": 1 + "10000": 3, + "100000": 3, + "1000000": 3, + "10000000": 3, + "100000000": 3, + "1000000000": 3 }, - "count": 1, - "sum": 66 + "count": 3, + "sum": 11029 } } } @@ -9035,30 +8649,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "storage.k8s.io", - "version": "v1" - }, - "watch": { - "events": { - "kind": "VolumeAttachment", - "size": { - "bytes": { - "bucket": { - "+Inf": 24, - "1024": 24, - "131072": 24, - "16384": 24, - "2048": 24, - "32768": 24, - "4096": 24, - "65536": 24, - "8192": 24 - }, - "count": 24, - "sum": 2040 - } - } - } + "code": "200", + "component": "apiserver", + "count": 1, + "group": "policy", + "resource": "poddisruptionbudgets", + "scope": "cluster", + "verb": "LIST", + "version": "v1beta1" } }, "Index": "", @@ -9077,58 +8675,72 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "component": "apiserver", "duration": { "us": { "bucket": { - "+Inf": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "1250000": 1, - "150000": 1, - "1500000": 1, - "15000000": 1, - "1750000": 1, - "200000": 1, - "2000000": 1, - "20000000": 1, - "250000": 1, - "2500000": 1, - "25000000": 1, - "300000": 1, - "3000000": 1, - "30000000": 1, - "350000": 1, - "3500000": 1, - "400000": 1, - "4000000": 1, - "40000000": 1, - "450000": 1, - "4500000": 1, - "50000": 1, - "500000": 1, - "5000000": 1, - "50000000": 1, - "600000": 1, - "6000000": 1, - "60000000": 1, - "700000": 1, - "7000000": 1, - "800000": 1, - "8000000": 1, - "900000": 1, - "9000000": 1 - }, - "count": 1, - "sum": 8717.697 + "+Inf": 1434, + "100000": 1418, + "1000000": 1433, + "10000000": 1434, + "1250000": 1433, + "150000": 1421, + "1500000": 1434, + "15000000": 1434, + "1750000": 1434, + "200000": 1423, + "2000000": 1434, + "20000000": 1434, + "250000": 1424, + "2500000": 1434, + "25000000": 1434, + "300000": 1424, + "3000000": 1434, + "30000000": 1434, + "350000": 1425, + "3500000": 1434, + "400000": 1425, + "4000000": 1434, + "40000000": 1434, + "450000": 1425, + "4500000": 1434, + "50000": 1416, + "500000": 1426, + "5000000": 1434, + "50000000": 1434, + "600000": 1427, + "6000000": 1434, + "60000000": 1434, + "700000": 1427, + "7000000": 1434, + "800000": 1427, + "8000000": 1434, + "900000": 1431, + "9000000": 1434 + }, + "count": 1434, + "sum": 11367597.736000028 } }, - "group": "batch", - "resource": "cronjobs", - "scope": "resource", - "verb": "POST", - "version": "v1" + "subresource": "/readyz", + "verb": "GET" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 1434, + "1000": 1434, + "10000": 1434, + "100000": 1434, + "1000000": 1434, + "10000000": 1434, + "100000000": 1434, + "1000000000": 1434 + }, + "count": 1434, + "sum": 2840 + } + } } }, "Index": "", @@ -9147,13 +8759,10 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", - "component": "apiserver", - "count": 44, - "resource": "serviceaccounts", - "scope": "resource", - "verb": "PUT", - "version": "v1" + "code": "0", + "count": 3, + "subresource": "/healthz", + "verb": "GET" } }, "Index": "", @@ -9172,13 +8781,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", + "code": "201", "component": "apiserver", "count": 3, - "group": "apps", - "resource": "controllerrevisions", - "scope": "cluster", - "verb": "WATCH", + "group": "discovery.k8s.io", + "resource": "endpointslices", + "scope": "resource", + "verb": "POST", "version": "v1" } }, @@ -9200,10 +8809,11 @@ "request": { "code": "200", "component": "apiserver", - "count": 41, - "resource": "namespaces", - "scope": "cluster", - "verb": "LIST", + "count": 2363, + "group": "coordination.k8s.io", + "resource": "leases", + "scope": "resource", + "verb": "PUT", "version": "v1" } }, @@ -9222,58 +8832,13 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { + "etcd": { + "object": { + "count": 0 + } + }, "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 53, - "100000": 53, - "1000000": 53, - "10000000": 53, - "1250000": 53, - "150000": 53, - "1500000": 53, - "15000000": 53, - "1750000": 53, - "200000": 53, - "2000000": 53, - "20000000": 53, - "250000": 53, - "2500000": 53, - "25000000": 53, - "300000": 53, - "3000000": 53, - "30000000": 53, - "350000": 53, - "3500000": 53, - "400000": 53, - "4000000": 53, - "40000000": 53, - "450000": 53, - "4500000": 53, - "50000": 53, - "500000": 53, - "5000000": 53, - "50000000": 53, - "600000": 53, - "6000000": 53, - "60000000": 53, - "700000": 53, - "7000000": 53, - "800000": 53, - "8000000": 53, - "900000": 53, - "9000000": 53 - }, - "count": 53, - "sum": 229957.40899999996 - } - }, - "resource": "pods", - "scope": "resource", - "verb": "POST", - "version": "v1" + "resource": "csistoragecapacities.storage.k8s.io" } }, "Index": "", @@ -9379,13 +8944,56 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", "component": "apiserver", - "count": 2363, - "group": "coordination.k8s.io", - "resource": "leases", + "duration": { + "us": { + "bucket": { + "+Inf": 53, + "100000": 53, + "1000000": 53, + "10000000": 53, + "1250000": 53, + "150000": 53, + "1500000": 53, + "15000000": 53, + "1750000": 53, + "200000": 53, + "2000000": 53, + "20000000": 53, + "250000": 53, + "2500000": 53, + "25000000": 53, + "300000": 53, + "3000000": 53, + "30000000": 53, + "350000": 53, + "3500000": 53, + "400000": 53, + "4000000": 53, + "40000000": 53, + "450000": 53, + "4500000": 53, + "50000": 53, + "500000": 53, + "5000000": 53, + "50000000": 53, + "600000": 53, + "6000000": 53, + "60000000": 53, + "700000": 53, + "7000000": 53, + "800000": 53, + "8000000": 53, + "900000": 53, + "9000000": 53 + }, + "count": 53, + "sum": 229957.40899999996 + } + }, + "resource": "pods", "scope": "resource", - "verb": "PUT", + "verb": "POST", "version": "v1" } }, @@ -9400,42 +9008,18 @@ "Period": 0, "DisableTimeSeries": false }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "etcd": { - "object": { - "count": 0 - } - }, - "request": { - "resource": "csistoragecapacities.storage.k8s.io" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, { "RootFields": {}, "ModuleFields": null, "MetricSetFields": { "request": { - "code": "201", + "code": "0", "component": "apiserver", "count": 3, - "group": "discovery.k8s.io", - "resource": "endpointslices", - "scope": "resource", - "verb": "POST", + "group": "apps", + "resource": "controllerrevisions", + "scope": "cluster", + "verb": "WATCH", "version": "v1" } }, @@ -9455,10 +9039,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", - "count": 3, - "subresource": "/healthz", - "verb": "GET" + "code": "200", + "component": "apiserver", + "count": 41, + "resource": "namespaces", + "scope": "cluster", + "verb": "LIST", + "version": "v1" } }, "Index": "", @@ -9477,70 +9064,28 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "duration": { - "us": { - "bucket": { - "+Inf": 1434, - "100000": 1418, - "1000000": 1433, - "10000000": 1434, - "1250000": 1433, - "150000": 1421, - "1500000": 1434, - "15000000": 1434, - "1750000": 1434, - "200000": 1423, - "2000000": 1434, - "20000000": 1434, - "250000": 1424, - "2500000": 1434, - "25000000": 1434, - "300000": 1424, - "3000000": 1434, - "30000000": 1434, - "350000": 1425, - "3500000": 1434, - "400000": 1425, - "4000000": 1434, - "40000000": 1434, - "450000": 1425, - "4500000": 1434, - "50000": 1416, - "500000": 1426, - "5000000": 1434, - "50000000": 1434, - "600000": 1427, - "6000000": 1434, - "60000000": 1434, - "700000": 1427, - "7000000": 1434, - "800000": 1427, - "8000000": 1434, - "900000": 1431, - "9000000": 1434 - }, - "count": 1434, - "sum": 11367597.736000028 - } - }, - "subresource": "/readyz", - "verb": "GET" + "group": "storage.k8s.io", + "version": "v1" }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 1434, - "1000": 1434, - "10000": 1434, - "100000": 1434, - "1000000": 1434, - "10000000": 1434, - "100000000": 1434, - "1000000000": 1434 - }, - "count": 1434, - "sum": 2840 + "watch": { + "events": { + "kind": "VolumeAttachment", + "size": { + "bytes": { + "bucket": { + "+Inf": 24, + "1024": 24, + "131072": 24, + "16384": 24, + "2048": 24, + "32768": 24, + "4096": 24, + "65536": 24, + "8192": 24 + }, + "count": 24, + "sum": 2040 + } } } } @@ -9561,14 +9106,58 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", "component": "apiserver", - "count": 1, - "group": "policy", - "resource": "poddisruptionbudgets", - "scope": "cluster", - "verb": "LIST", - "version": "v1beta1" + "duration": { + "us": { + "bucket": { + "+Inf": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "1250000": 1, + "150000": 1, + "1500000": 1, + "15000000": 1, + "1750000": 1, + "200000": 1, + "2000000": 1, + "20000000": 1, + "250000": 1, + "2500000": 1, + "25000000": 1, + "300000": 1, + "3000000": 1, + "30000000": 1, + "350000": 1, + "3500000": 1, + "400000": 1, + "4000000": 1, + "40000000": 1, + "450000": 1, + "4500000": 1, + "50000": 1, + "500000": 1, + "5000000": 1, + "50000000": 1, + "600000": 1, + "6000000": 1, + "60000000": 1, + "700000": 1, + "7000000": 1, + "800000": 1, + "8000000": 1, + "900000": 1, + "9000000": 1 + }, + "count": 1, + "sum": 8717.697 + } + }, + "group": "batch", + "resource": "cronjobs", + "scope": "resource", + "verb": "POST", + "version": "v1" } }, "Index": "", @@ -9587,56 +9176,12 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 5, - "100000": 5, - "1000000": 5, - "10000000": 5, - "1250000": 5, - "150000": 5, - "1500000": 5, - "15000000": 5, - "1750000": 5, - "200000": 5, - "2000000": 5, - "20000000": 5, - "250000": 5, - "2500000": 5, - "25000000": 5, - "300000": 5, - "3000000": 5, - "30000000": 5, - "350000": 5, - "3500000": 5, - "400000": 5, - "4000000": 5, - "40000000": 5, - "450000": 5, - "4500000": 5, - "50000": 5, - "500000": 5, - "5000000": 5, - "50000000": 5, - "600000": 5, - "6000000": 5, - "60000000": 5, - "700000": 5, - "7000000": 5, - "800000": 5, - "8000000": 5, - "900000": 5, - "9000000": 5 - }, - "count": 5, - "sum": 16716.743 - } - }, - "resource": "namespaces", + "count": 44, + "resource": "serviceaccounts", "scope": "resource", - "verb": "POST", + "verb": "PUT", "version": "v1" } }, @@ -9700,14 +9245,14 @@ "9000000": 1 }, "count": 1, - "sum": 1538.837 + "sum": 355.325 } }, - "group": "policy", - "resource": "poddisruptionbudgets", + "group": "autoscaling", + "resource": "horizontalpodautoscalers", "scope": "cluster", "verb": "LIST", - "version": "v1beta1" + "version": "v1" }, "response": { "size": { @@ -9723,7 +9268,7 @@ "1000000000": 1 }, "count": 1, - "sum": 62 + "sum": 66 } } } @@ -9748,851 +9293,50 @@ "duration": { "us": { "bucket": { - "+Inf": 13, - "100000": 13, - "1000000": 13, - "10000000": 13, - "1250000": 13, - "150000": 13, - "1500000": 13, - "15000000": 13, - "1750000": 13, - "200000": 13, - "2000000": 13, - "20000000": 13, - "250000": 13, - "2500000": 13, - "25000000": 13, - "300000": 13, - "3000000": 13, - "30000000": 13, - "350000": 13, - "3500000": 13, - "400000": 13, - "4000000": 13, - "40000000": 13, - "450000": 13, - "4500000": 13, - "50000": 13, - "500000": 13, - "5000000": 13, - "50000000": 13, - "600000": 13, - "6000000": 13, - "60000000": 13, - "700000": 13, - "7000000": 13, - "800000": 13, - "8000000": 13, - "900000": 13, - "9000000": 13 - }, - "count": 13, - "sum": 55283.98299999999 - } - }, - "group": "apps", - "resource": "replicasets", - "scope": "resource", - "subresource": "status", - "verb": "PUT", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "etcd": { - "object": { - "count": 1 - } - }, - "request": { - "resource": "persistentvolumeclaims" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 701, - "100000": 698, - "1000000": 701, - "10000000": 701, - "1250000": 701, - "150000": 700, - "1500000": 701, - "15000000": 701, - "1750000": 701, - "200000": 701, - "2000000": 701, - "20000000": 701, - "250000": 701, - "2500000": 701, - "25000000": 701, - "300000": 701, - "3000000": 701, - "30000000": 701, - "350000": 701, - "3500000": 701, - "400000": 701, - "4000000": 701, - "40000000": 701, - "450000": 701, - "4500000": 701, - "50000": 697, - "500000": 701, - "5000000": 701, - "50000000": 701, - "600000": 701, - "6000000": 701, - "60000000": 701, - "700000": 701, - "7000000": 701, - "800000": 701, - "8000000": 701, - "900000": 701, - "9000000": 701 - }, - "count": 701, - "sum": 2291024.148000001 - } - }, - "resource": "endpoints", - "scope": "resource", - "verb": "PUT", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "201", - "component": "apiserver", - "count": 45, - "resource": "secrets", - "scope": "resource", - "verb": "POST", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "409", - "component": "apiserver", - "count": 3, - "group": "apps", - "resource": "deployments", - "scope": "resource", - "subresource": "status", - "verb": "PUT", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 28, - "100000": 28, - "1000000": 28, - "10000000": 28, - "1250000": 28, - "150000": 28, - "1500000": 28, - "15000000": 28, - "1750000": 28, - "200000": 28, - "2000000": 28, - "20000000": 28, - "250000": 28, - "2500000": 28, - "25000000": 28, - "300000": 28, - "3000000": 28, - "30000000": 28, - "350000": 28, - "3500000": 28, - "400000": 28, - "4000000": 28, - "40000000": 28, - "450000": 28, - "4500000": 28, - "50000": 28, - "500000": 28, - "5000000": 28, - "50000000": 28, - "600000": 28, - "6000000": 28, - "60000000": 28, - "700000": 28, - "7000000": 28, - "800000": 28, - "8000000": 28, - "900000": 28, - "9000000": 28 - }, - "count": 28, - "sum": 108303.68399999998 - } - }, - "group": "batch", - "resource": "jobs", - "scope": "resource", - "subresource": "status", - "verb": "PUT", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "etcd": { - "object": { - "count": 43 - } - }, - "request": { - "resource": "serviceaccounts" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "etcd": { - "object": { - "count": 0 - } - }, - "request": { - "resource": "horizontalpodautoscalers.autoscaling" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "404", - "component": "apiserver", - "count": 2, - "group": "apps", - "resource": "deployments", - "scope": "resource", - "verb": "GET", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 3, - "100000": 3, - "1000000": 3, - "10000000": 3, - "1250000": 3, - "150000": 3, - "1500000": 3, - "15000000": 3, - "1750000": 3, - "200000": 3, - "2000000": 3, - "20000000": 3, - "250000": 3, - "2500000": 3, - "25000000": 3, - "300000": 3, - "3000000": 3, - "30000000": 3, - "350000": 3, - "3500000": 3, - "400000": 3, - "4000000": 3, - "40000000": 3, - "450000": 3, - "4500000": 3, - "50000": 3, - "500000": 3, - "5000000": 3, - "50000000": 3, - "600000": 3, - "6000000": 3, - "60000000": 3, - "700000": 3, - "7000000": 3, - "800000": 3, - "8000000": 3, - "900000": 3, - "9000000": 3 - }, - "count": 3, - "sum": 9136.236 - } - }, - "group": "apps", - "resource": "replicasets", - "scope": "resource", - "verb": "POST", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 48, - "100000": 48, - "1000000": 48, - "10000000": 48, - "1250000": 48, - "150000": 48, - "1500000": 48, - "15000000": 48, - "1750000": 48, - "200000": 48, - "2000000": 48, - "20000000": 48, - "250000": 48, - "2500000": 48, - "25000000": 48, - "300000": 48, - "3000000": 48, - "30000000": 48, - "350000": 48, - "3500000": 48, - "400000": 48, - "4000000": 48, - "40000000": 48, - "450000": 48, - "4500000": 48, - "50000": 48, - "500000": 48, - "5000000": 48, - "50000000": 48, - "600000": 48, - "6000000": 48, - "60000000": 48, - "700000": 48, - "7000000": 48, - "800000": 48, - "8000000": 48, - "900000": 48, - "9000000": 48 - }, - "count": 48, - "sum": 40566.472 - } - }, - "group": "rbac.authorization.k8s.io", - "resource": "clusterrolebindings", - "scope": "resource", - "verb": "GET", - "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 48, - "1000": 48, - "10000": 48, - "100000": 48, - "1000000": 48, - "10000000": 48, - "100000000": 48, - "1000000000": 48 - }, - "count": 48, - "sum": 11720 - } - } - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "200", - "component": "apiserver", - "count": 2, - "group": "flowcontrol.apiserver.k8s.io", - "resource": "flowschemas", - "scope": "cluster", - "verb": "LIST", - "version": "v1beta1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "200", - "component": "apiserver", - "count": 2, - "group": "rbac.authorization.k8s.io", - "resource": "rolebindings", - "scope": "resource", - "verb": "DELETE", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "200", - "component": "apiserver", - "count": 1, - "group": "coordination.k8s.io", - "resource": "leases", - "scope": "cluster", - "verb": "LIST", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "409", - "component": "apiserver", - "count": 2, - "group": "apps", - "resource": "replicasets", - "scope": "resource", - "subresource": "status", - "verb": "PUT", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 4, - "100000": 4, - "1000000": 4, - "10000000": 4, - "1250000": 4, - "150000": 4, - "1500000": 4, - "15000000": 4, - "1750000": 4, - "200000": 4, - "2000000": 4, - "20000000": 4, - "250000": 4, - "2500000": 4, - "25000000": 4, - "300000": 4, - "3000000": 4, - "30000000": 4, - "350000": 4, - "3500000": 4, - "400000": 4, - "4000000": 4, - "40000000": 4, - "450000": 4, - "4500000": 4, - "50000": 4, - "500000": 4, - "5000000": 4, - "50000000": 4, - "600000": 4, - "6000000": 4, - "60000000": 4, - "700000": 4, - "7000000": 4, - "800000": 4, - "8000000": 4, - "900000": 4, - "9000000": 4 - }, - "count": 4, - "sum": 1832.023 - } - }, - "group": "apps", - "resource": "statefulsets", - "scope": "cluster", - "verb": "LIST", - "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 4, - "1000": 2, - "10000": 4, - "100000": 4, - "1000000": 4, - "10000000": 4, - "100000000": 4, - "1000000000": 4 - }, - "count": 4, - "sum": 5089 - } - } - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "1250000": 2, - "150000": 2, - "1500000": 2, - "15000000": 2, - "1750000": 2, - "200000": 2, - "2000000": 2, - "20000000": 2, - "250000": 2, - "2500000": 2, - "25000000": 2, - "300000": 2, - "3000000": 2, - "30000000": 2, - "350000": 2, - "3500000": 2, - "400000": 2, - "4000000": 2, - "40000000": 2, - "450000": 2, - "4500000": 2, - "50000": 2, - "500000": 2, - "5000000": 2, - "50000000": 2, - "600000": 2, - "6000000": 2, - "60000000": 2, - "700000": 2, - "7000000": 2, - "800000": 2, - "8000000": 2, - "900000": 2, - "9000000": 2 - }, - "count": 2, - "sum": 764.574 - } - }, - "group": "rbac.authorization.k8s.io", - "resource": "rolebindings", - "scope": "cluster", - "verb": "LIST", - "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 2, - "1000": 1, - "10000": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "100000000": 2, - "1000000000": 2 - }, - "count": 2, - "sum": 6536 - } - } - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 11, - "100000": 11, - "1000000": 11, - "10000000": 11, - "1250000": 11, - "150000": 11, - "1500000": 11, - "15000000": 11, - "1750000": 11, - "200000": 11, - "2000000": 11, - "20000000": 11, - "250000": 11, - "2500000": 11, - "25000000": 11, - "300000": 11, - "3000000": 11, - "30000000": 11, - "350000": 11, - "3500000": 11, - "400000": 11, - "4000000": 11, - "40000000": 11, - "450000": 11, - "4500000": 11, - "50000": 11, - "500000": 11, - "5000000": 11, - "50000000": 11, - "600000": 11, - "6000000": 11, - "60000000": 11, - "700000": 11, - "7000000": 11, - "800000": 11, - "8000000": 11, - "900000": 11, - "9000000": 11 + "+Inf": 144, + "100000": 144, + "1000000": 144, + "10000000": 144, + "1250000": 144, + "150000": 144, + "1500000": 144, + "15000000": 144, + "1750000": 144, + "200000": 144, + "2000000": 144, + "20000000": 144, + "250000": 144, + "2500000": 144, + "25000000": 144, + "300000": 144, + "3000000": 144, + "30000000": 144, + "350000": 144, + "3500000": 144, + "400000": 144, + "4000000": 144, + "40000000": 144, + "450000": 144, + "4500000": 144, + "50000": 144, + "500000": 144, + "5000000": 144, + "50000000": 144, + "600000": 144, + "6000000": 144, + "60000000": 144, + "700000": 144, + "7000000": 144, + "800000": 144, + "8000000": 144, + "900000": 144, + "9000000": 144 }, - "count": 11, - "sum": 10736.747000000001 + "count": 144, + "sum": 148905.88100000005 } }, - "group": "rbac.authorization.k8s.io", - "resource": "rolebindings", + "resource": "services", "scope": "resource", "verb": "GET", "version": "v1" @@ -10601,17 +9345,17 @@ "size": { "bytes": { "bucket": { - "+Inf": 11, - "1000": 11, - "10000": 11, - "100000": 11, - "1000000": 11, - "10000000": 11, - "100000000": 11, - "1000000000": 11 + "+Inf": 144, + "1000": 144, + "10000": 144, + "100000": 144, + "1000000": 144, + "10000000": 144, + "100000000": 144, + "1000000000": 144 }, - "count": 11, - "sum": 2773 + "count": 144, + "sum": 85813 } } } @@ -10631,30 +9375,38 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "request": { - "group": "discovery.k8s.io", - "version": "v1" + "audit": { + "event": { + "count": 0 + }, + "rejected": { + "count": 0 + } }, - "watch": { - "events": { - "kind": "EndpointSlice", - "size": { - "bytes": { - "bucket": { - "+Inf": 25, - "1024": 15, - "131072": 25, - "16384": 25, - "2048": 25, - "32768": 25, - "4096": 25, - "65536": 25, - "8192": 25 - }, - "count": 25, - "sum": 14416 - } + "process": { + "cpu": { + "sec": 84 + }, + "fds": { + "open": { + "count": 127 + } + }, + "memory": { + "resident": { + "bytes": 380186624 + }, + "virtual": { + "bytes": 1146454016 } + }, + "started": { + "sec": 1654503718.97 + } + }, + "request": { + "current": { + "count": 1 } } }, @@ -10678,93 +9430,73 @@ "duration": { "us": { "bucket": { - "+Inf": 45, - "100000": 45, - "1000000": 45, - "10000000": 45, - "1250000": 45, - "150000": 45, - "1500000": 45, - "15000000": 45, - "1750000": 45, - "200000": 45, - "2000000": 45, - "20000000": 45, - "250000": 45, - "2500000": 45, - "25000000": 45, - "300000": 45, - "3000000": 45, - "30000000": 45, - "350000": 45, - "3500000": 45, - "400000": 45, - "4000000": 45, - "40000000": 45, - "450000": 45, - "4500000": 45, - "50000": 45, - "500000": 45, - "5000000": 45, - "50000000": 45, - "600000": 45, - "6000000": 45, - "60000000": 45, - "700000": 45, - "7000000": 45, - "800000": 45, - "8000000": 45, - "900000": 45, - "9000000": 45 - }, - "count": 45, - "sum": 103197.935 - } - }, - "resource": "secrets", - "scope": "resource", - "verb": "POST", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "group": "events.k8s.io", + "+Inf": 6, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 + }, + "count": 6, + "sum": 2447005559.725 + } + }, + "group": "rbac.authorization.k8s.io", + "longrunning": { + "count": 2 + }, + "resource": "clusterroles", + "scope": "cluster", + "verb": "WATCH", "version": "v1" }, - "watch": { - "events": { - "kind": "Event", - "size": { - "bytes": { - "bucket": { - "+Inf": 204, - "1024": 204, - "131072": 204, - "16384": 204, - "2048": 204, - "32768": 204, - "4096": 204, - "65536": 204, - "8192": 204 - }, - "count": 204, - "sum": 140685 - } + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 6, + "1000": 6, + "10000": 6, + "100000": 6, + "1000000": 6, + "10000000": 6, + "100000000": 6, + "1000000000": 6 + }, + "count": 6, + "sum": 0 } } } @@ -10785,12 +9517,57 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", "component": "apiserver", - "count": 34, - "resource": "configmaps", - "scope": "namespace", - "verb": "WATCH", + "duration": { + "us": { + "bucket": { + "+Inf": 6, + "100000": 6, + "1000000": 6, + "10000000": 6, + "1250000": 6, + "150000": 6, + "1500000": 6, + "15000000": 6, + "1750000": 6, + "200000": 6, + "2000000": 6, + "20000000": 6, + "250000": 6, + "2500000": 6, + "25000000": 6, + "300000": 6, + "3000000": 6, + "30000000": 6, + "350000": 6, + "3500000": 6, + "400000": 6, + "4000000": 6, + "40000000": 6, + "450000": 6, + "4500000": 6, + "50000": 6, + "500000": 6, + "5000000": 6, + "50000000": 6, + "600000": 6, + "6000000": 6, + "60000000": 6, + "700000": 6, + "7000000": 6, + "800000": 6, + "8000000": 6, + "900000": 6, + "9000000": 6 + }, + "count": 6, + "sum": 13536.479 + } + }, + "group": "coordination.k8s.io", + "resource": "leases", + "scope": "resource", + "verb": "POST", "version": "v1" } }, @@ -10814,70 +9591,70 @@ "duration": { "us": { "bucket": { - "+Inf": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "1250000": 1, - "150000": 1, - "1500000": 1, - "15000000": 1, - "1750000": 1, - "200000": 1, - "2000000": 1, - "20000000": 1, - "250000": 1, - "2500000": 1, - "25000000": 1, - "300000": 1, - "3000000": 1, - "30000000": 1, - "350000": 1, - "3500000": 1, - "400000": 1, - "4000000": 1, - "40000000": 1, - "450000": 1, - "4500000": 1, - "50000": 1, - "500000": 1, - "5000000": 1, - "50000000": 1, - "600000": 1, - "6000000": 1, - "60000000": 1, - "700000": 1, - "7000000": 1, - "800000": 1, - "8000000": 1, - "900000": 1, - "9000000": 1 + "+Inf": 48, + "100000": 48, + "1000000": 48, + "10000000": 48, + "1250000": 48, + "150000": 48, + "1500000": 48, + "15000000": 48, + "1750000": 48, + "200000": 48, + "2000000": 48, + "20000000": 48, + "250000": 48, + "2500000": 48, + "25000000": 48, + "300000": 48, + "3000000": 48, + "30000000": 48, + "350000": 48, + "3500000": 48, + "400000": 48, + "4000000": 48, + "40000000": 48, + "450000": 48, + "4500000": 48, + "50000": 48, + "500000": 48, + "5000000": 48, + "50000000": 48, + "600000": 48, + "6000000": 48, + "60000000": 48, + "700000": 48, + "7000000": 48, + "800000": 48, + "8000000": 48, + "900000": 48, + "9000000": 48 }, - "count": 1, - "sum": 1241.2079999999999 + "count": 48, + "sum": 40566.472 } }, - "group": "extensions", - "resource": "ingresses", - "scope": "cluster", - "verb": "LIST", - "version": "v1beta1" + "group": "rbac.authorization.k8s.io", + "resource": "clusterrolebindings", + "scope": "resource", + "verb": "GET", + "version": "v1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 1, - "1000": 1, - "10000": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "100000000": 1, - "1000000000": 1 + "+Inf": 48, + "1000": 48, + "10000": 48, + "100000": 48, + "1000000": 48, + "10000000": 48, + "100000000": 48, + "1000000000": 48 }, - "count": 1, - "sum": 54 + "count": 48, + "sum": 11720 } } } @@ -10942,11 +9719,11 @@ "9000000": 3 }, "count": 3, - "sum": 7383.61 + "sum": 9136.236 } }, - "group": "storage.k8s.io", - "resource": "csinodes", + "group": "apps", + "resource": "replicasets", "scope": "resource", "verb": "POST", "version": "v1" @@ -10968,14 +9745,62 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", - "component": "apiserver", - "count": 13, - "group": "storage.k8s.io", - "resource": "storageclasses", - "scope": "cluster", - "verb": "WATCH", - "version": "v1" + "code": "404", + "component": "apiserver", + "count": 2, + "group": "apps", + "resource": "deployments", + "scope": "resource", + "verb": "GET", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "etcd": { + "object": { + "count": 0 + } + }, + "request": { + "resource": "horizontalpodautoscalers.autoscaling" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "etcd": { + "object": { + "count": 43 + } + }, + "request": { + "resource": "serviceaccounts" } }, "Index": "", @@ -10994,30 +9819,15 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "policy", - "version": "v1beta1" - }, - "watch": { - "events": { - "kind": "PodDisruptionBudget", - "size": { - "bytes": { - "bucket": { - "+Inf": 10, - "1024": 10, - "131072": 10, - "16384": 10, - "2048": 10, - "32768": 10, - "4096": 10, - "65536": 10, - "8192": 10 - }, - "count": 10, - "sum": 870 - } - } - } + "code": "409", + "component": "apiserver", + "count": 3, + "group": "apps", + "resource": "deployments", + "scope": "resource", + "subresource": "status", + "verb": "PUT", + "version": "v1" } }, "Index": "", @@ -11040,53 +9850,54 @@ "duration": { "us": { "bucket": { - "+Inf": 15, - "100000": 15, - "1000000": 15, - "10000000": 15, - "1250000": 15, - "150000": 15, - "1500000": 15, - "15000000": 15, - "1750000": 15, - "200000": 15, - "2000000": 15, - "20000000": 15, - "250000": 15, - "2500000": 15, - "25000000": 15, - "300000": 15, - "3000000": 15, - "30000000": 15, - "350000": 15, - "3500000": 15, - "400000": 15, - "4000000": 15, - "40000000": 15, - "450000": 15, - "4500000": 15, - "50000": 15, - "500000": 15, - "5000000": 15, - "50000000": 15, - "600000": 15, - "6000000": 15, - "60000000": 15, - "700000": 15, - "7000000": 15, - "800000": 15, - "8000000": 15, - "900000": 15, - "9000000": 15 + "+Inf": 28, + "100000": 28, + "1000000": 28, + "10000000": 28, + "1250000": 28, + "150000": 28, + "1500000": 28, + "15000000": 28, + "1750000": 28, + "200000": 28, + "2000000": 28, + "20000000": 28, + "250000": 28, + "2500000": 28, + "25000000": 28, + "300000": 28, + "3000000": 28, + "30000000": 28, + "350000": 28, + "3500000": 28, + "400000": 28, + "4000000": 28, + "40000000": 28, + "450000": 28, + "4500000": 28, + "50000": 28, + "500000": 28, + "5000000": 28, + "50000000": 28, + "600000": 28, + "6000000": 28, + "60000000": 28, + "700000": 28, + "7000000": 28, + "800000": 28, + "8000000": 28, + "900000": 28, + "9000000": 28 }, - "count": 15, - "sum": 22465.836999999996 + "count": 28, + "sum": 108303.68399999998 } }, - "group": "rbac.authorization.k8s.io", - "resource": "rolebindings", + "group": "batch", + "resource": "jobs", "scope": "resource", - "verb": "POST", + "subresource": "status", + "verb": "PUT", "version": "v1" } }, @@ -11106,13 +9917,12 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", + "code": "201", "component": "apiserver", - "count": 1, - "group": "apps", - "resource": "deployments", - "scope": "namespace", - "verb": "LIST", + "count": 45, + "resource": "secrets", + "scope": "resource", + "verb": "POST", "version": "v1" } }, @@ -11132,13 +9942,56 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", "component": "apiserver", - "count": 1, - "group": "apps", - "resource": "daemonsets", - "scope": "namespace", - "verb": "LIST", + "duration": { + "us": { + "bucket": { + "+Inf": 701, + "100000": 698, + "1000000": 701, + "10000000": 701, + "1250000": 701, + "150000": 700, + "1500000": 701, + "15000000": 701, + "1750000": 701, + "200000": 701, + "2000000": 701, + "20000000": 701, + "250000": 701, + "2500000": 701, + "25000000": 701, + "300000": 701, + "3000000": 701, + "30000000": 701, + "350000": 701, + "3500000": 701, + "400000": 701, + "4000000": 701, + "40000000": 701, + "450000": 701, + "4500000": 701, + "50000": 697, + "500000": 701, + "5000000": 701, + "50000000": 701, + "600000": 701, + "6000000": 701, + "60000000": 701, + "700000": 701, + "7000000": 701, + "800000": 701, + "8000000": 701, + "900000": 701, + "9000000": 701 + }, + "count": 701, + "sum": 2291024.148000001 + } + }, + "resource": "endpoints", + "scope": "resource", + "verb": "PUT", "version": "v1" } }, @@ -11159,74 +10012,58 @@ "MetricSetFields": { "request": { "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 6, - "100000": 6, - "1000000": 6, - "10000000": 6, - "1250000": 6, - "150000": 6, - "1500000": 6, - "15000000": 6, - "1750000": 6, - "200000": 6, - "2000000": 6, - "20000000": 6, - "250000": 6, - "2500000": 6, - "25000000": 6, - "300000": 6, - "3000000": 6, - "30000000": 6, - "350000": 6, - "3500000": 6, - "400000": 6, - "4000000": 6, - "40000000": 6, - "450000": 6, - "4500000": 6, - "50000": 6, - "500000": 6, - "5000000": 6, - "50000000": 6, - "600000": 6, - "6000000": 6, - "60000000": 6, - "700000": 6, - "7000000": 6, - "800000": 6, - "8000000": 6, - "900000": 6, - "9000000": 6 + "duration": { + "us": { + "bucket": { + "+Inf": 13, + "100000": 13, + "1000000": 13, + "10000000": 13, + "1250000": 13, + "150000": 13, + "1500000": 13, + "15000000": 13, + "1750000": 13, + "200000": 13, + "2000000": 13, + "20000000": 13, + "250000": 13, + "2500000": 13, + "25000000": 13, + "300000": 13, + "3000000": 13, + "30000000": 13, + "350000": 13, + "3500000": 13, + "400000": 13, + "4000000": 13, + "40000000": 13, + "450000": 13, + "4500000": 13, + "50000": 13, + "500000": 13, + "5000000": 13, + "50000000": 13, + "600000": 13, + "6000000": 13, + "60000000": 13, + "700000": 13, + "7000000": 13, + "800000": 13, + "8000000": 13, + "900000": 13, + "9000000": 13 }, - "count": 6, - "sum": 16883.790999999997 + "count": 13, + "sum": 55283.98299999999 } }, - "resource": "persistentvolumes", - "scope": "cluster", - "verb": "LIST", + "group": "apps", + "resource": "replicasets", + "scope": "resource", + "subresource": "status", + "verb": "PUT", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 6, - "1000": 4, - "10000": 6, - "100000": 6, - "1000000": 6, - "10000000": 6, - "100000000": 6, - "1000000000": 6 - }, - "count": 6, - "sum": 3694 - } - } } }, "Index": "", @@ -11289,14 +10126,32 @@ "9000000": 1 }, "count": 1, - "sum": 3088.653 + "sum": 1538.837 } }, - "group": "apps", - "resource": "daemonsets", - "scope": "resource", - "verb": "DELETE", - "version": "v1" + "group": "policy", + "resource": "poddisruptionbudgets", + "scope": "cluster", + "verb": "LIST", + "version": "v1beta1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 1, + "1000": 1, + "10000": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "100000000": 1, + "1000000000": 1 + }, + "count": 1, + "sum": 62 + } + } } }, "Index": "", @@ -11314,14 +10169,13 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { + "etcd": { + "object": { + "count": 1 + } + }, "request": { - "code": "0", - "component": "apiserver", - "count": 4, - "resource": "configmaps", - "scope": "cluster", - "verb": "WATCH", - "version": "v1" + "resource": "persistentvolumeclaims" } }, "Index": "", @@ -11344,51 +10198,50 @@ "duration": { "us": { "bucket": { - "+Inf": 21, - "100000": 21, - "1000000": 21, - "10000000": 21, - "1250000": 21, - "150000": 21, - "1500000": 21, - "15000000": 21, - "1750000": 21, - "200000": 21, - "2000000": 21, - "20000000": 21, - "250000": 21, - "2500000": 21, - "25000000": 21, - "300000": 21, - "3000000": 21, - "30000000": 21, - "350000": 21, - "3500000": 21, - "400000": 21, - "4000000": 21, - "40000000": 21, - "450000": 21, - "4500000": 21, - "50000": 21, - "500000": 21, - "5000000": 21, - "50000000": 21, - "600000": 21, - "6000000": 21, - "60000000": 21, - "700000": 21, - "7000000": 21, - "800000": 21, - "8000000": 21, - "900000": 21, - "9000000": 21 + "+Inf": 5, + "100000": 5, + "1000000": 5, + "10000000": 5, + "1250000": 5, + "150000": 5, + "1500000": 5, + "15000000": 5, + "1750000": 5, + "200000": 5, + "2000000": 5, + "20000000": 5, + "250000": 5, + "2500000": 5, + "25000000": 5, + "300000": 5, + "3000000": 5, + "30000000": 5, + "350000": 5, + "3500000": 5, + "400000": 5, + "4000000": 5, + "40000000": 5, + "450000": 5, + "4500000": 5, + "50000": 5, + "500000": 5, + "5000000": 5, + "50000000": 5, + "600000": 5, + "6000000": 5, + "60000000": 5, + "700000": 5, + "7000000": 5, + "800000": 5, + "8000000": 5, + "900000": 5, + "9000000": 5 }, - "count": 21, - "sum": 82803.684 + "count": 5, + "sum": 16716.743 } }, - "group": "batch", - "resource": "jobs", + "resource": "namespaces", "scope": "resource", "verb": "POST", "version": "v1" @@ -11414,50 +10267,51 @@ "duration": { "us": { "bucket": { - "+Inf": 44, - "100000": 44, - "1000000": 44, - "10000000": 44, - "1250000": 44, - "150000": 44, - "1500000": 44, - "15000000": 44, - "1750000": 44, - "200000": 44, - "2000000": 44, - "20000000": 44, - "250000": 44, - "2500000": 44, - "25000000": 44, - "300000": 44, - "3000000": 44, - "30000000": 44, - "350000": 44, - "3500000": 44, - "400000": 44, - "4000000": 44, - "40000000": 44, - "450000": 44, - "4500000": 44, - "50000": 44, - "500000": 44, - "5000000": 44, - "50000000": 44, - "600000": 44, - "6000000": 44, - "60000000": 44, - "700000": 44, - "7000000": 44, - "800000": 44, - "8000000": 44, - "900000": 44, - "9000000": 44 + "+Inf": 21, + "100000": 21, + "1000000": 21, + "10000000": 21, + "1250000": 21, + "150000": 21, + "1500000": 21, + "15000000": 21, + "1750000": 21, + "200000": 21, + "2000000": 21, + "20000000": 21, + "250000": 21, + "2500000": 21, + "25000000": 21, + "300000": 21, + "3000000": 21, + "30000000": 21, + "350000": 21, + "3500000": 21, + "400000": 21, + "4000000": 21, + "40000000": 21, + "450000": 21, + "4500000": 21, + "50000": 21, + "500000": 21, + "5000000": 21, + "50000000": 21, + "600000": 21, + "6000000": 21, + "60000000": 21, + "700000": 21, + "7000000": 21, + "800000": 21, + "8000000": 21, + "900000": 21, + "9000000": 21 }, - "count": 44, - "sum": 77487.755 + "count": 21, + "sum": 82803.684 } }, - "resource": "serviceaccounts", + "group": "batch", + "resource": "jobs", "scope": "resource", "verb": "POST", "version": "v1" @@ -11479,79 +10333,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "0", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 9, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 - }, - "count": 9, - "sum": 3736008440.8040004 - } - }, - "group": "apps", - "longrunning": { - "count": 4 - }, - "resource": "replicasets", + "count": 4, + "resource": "configmaps", "scope": "cluster", "verb": "WATCH", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 9, - "1000": 9, - "10000": 9, - "100000": 9, - "1000000": 9, - "10000000": 9, - "100000000": 9, - "1000000000": 9 - }, - "count": 9, - "sum": 0 - } - } } }, "Index": "", @@ -11570,14 +10358,57 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", "component": "apiserver", - "count": 1, + "duration": { + "us": { + "bucket": { + "+Inf": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "1250000": 1, + "150000": 1, + "1500000": 1, + "15000000": 1, + "1750000": 1, + "200000": 1, + "2000000": 1, + "20000000": 1, + "250000": 1, + "2500000": 1, + "25000000": 1, + "300000": 1, + "3000000": 1, + "30000000": 1, + "350000": 1, + "3500000": 1, + "400000": 1, + "4000000": 1, + "40000000": 1, + "450000": 1, + "4500000": 1, + "50000": 1, + "500000": 1, + "5000000": 1, + "50000000": 1, + "600000": 1, + "6000000": 1, + "60000000": 1, + "700000": 1, + "7000000": 1, + "800000": 1, + "8000000": 1, + "900000": 1, + "9000000": 1 + }, + "count": 1, + "sum": 3088.653 + } + }, "group": "apps", - "resource": "statefulsets", + "resource": "daemonsets", "scope": "resource", - "subresource": "status", - "verb": "PUT", + "verb": "DELETE", "version": "v1" } }, @@ -11601,70 +10432,69 @@ "duration": { "us": { "bucket": { - "+Inf": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "1250000": 2, - "150000": 2, - "1500000": 2, - "15000000": 2, - "1750000": 2, - "200000": 2, - "2000000": 2, - "20000000": 2, - "250000": 2, - "2500000": 2, - "25000000": 2, - "300000": 2, - "3000000": 2, - "30000000": 2, - "350000": 2, - "3500000": 2, - "400000": 2, - "4000000": 2, - "40000000": 2, - "450000": 2, - "4500000": 2, - "50000": 2, - "500000": 2, - "5000000": 2, - "50000000": 2, - "600000": 2, - "6000000": 2, - "60000000": 2, - "700000": 2, - "7000000": 2, - "800000": 2, - "8000000": 2, - "900000": 2, - "9000000": 2 + "+Inf": 6, + "100000": 6, + "1000000": 6, + "10000000": 6, + "1250000": 6, + "150000": 6, + "1500000": 6, + "15000000": 6, + "1750000": 6, + "200000": 6, + "2000000": 6, + "20000000": 6, + "250000": 6, + "2500000": 6, + "25000000": 6, + "300000": 6, + "3000000": 6, + "30000000": 6, + "350000": 6, + "3500000": 6, + "400000": 6, + "4000000": 6, + "40000000": 6, + "450000": 6, + "4500000": 6, + "50000": 6, + "500000": 6, + "5000000": 6, + "50000000": 6, + "600000": 6, + "6000000": 6, + "60000000": 6, + "700000": 6, + "7000000": 6, + "800000": 6, + "8000000": 6, + "900000": 6, + "9000000": 6 }, - "count": 2, - "sum": 4867.572 + "count": 6, + "sum": 16883.790999999997 } }, - "group": "apps", - "resource": "deployments", - "scope": "resource", - "verb": "GET", + "resource": "persistentvolumes", + "scope": "cluster", + "verb": "LIST", "version": "v1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 2, - "1000": 2, - "10000": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "100000000": 2, - "1000000000": 2 + "+Inf": 6, + "1000": 4, + "10000": 6, + "100000": 6, + "1000000": 6, + "10000000": 6, + "100000000": 6, + "1000000000": 6 }, - "count": 2, - "sum": 484 + "count": 6, + "sum": 3694 } } } @@ -11685,13 +10515,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", + "code": "200", "component": "apiserver", - "count": 6, - "group": "rbac.authorization.k8s.io", - "resource": "clusterrolebindings", - "scope": "cluster", - "verb": "WATCH", + "count": 1, + "group": "apps", + "resource": "daemonsets", + "scope": "namespace", + "verb": "LIST", "version": "v1" } }, @@ -11711,12 +10541,57 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "404", "component": "apiserver", - "count": 1, - "resource": "secrets", + "duration": { + "us": { + "bucket": { + "+Inf": 15, + "100000": 15, + "1000000": 15, + "10000000": 15, + "1250000": 15, + "150000": 15, + "1500000": 15, + "15000000": 15, + "1750000": 15, + "200000": 15, + "2000000": 15, + "20000000": 15, + "250000": 15, + "2500000": 15, + "25000000": 15, + "300000": 15, + "3000000": 15, + "30000000": 15, + "350000": 15, + "3500000": 15, + "400000": 15, + "4000000": 15, + "40000000": 15, + "450000": 15, + "4500000": 15, + "50000": 15, + "500000": 15, + "5000000": 15, + "50000000": 15, + "600000": 15, + "6000000": 15, + "60000000": 15, + "700000": 15, + "7000000": 15, + "800000": 15, + "8000000": 15, + "900000": 15, + "9000000": 15 + }, + "count": 15, + "sum": 22465.836999999996 + } + }, + "group": "rbac.authorization.k8s.io", + "resource": "rolebindings", "scope": "resource", - "verb": "GET", + "verb": "POST", "version": "v1" } }, @@ -11736,11 +10611,81 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "201", + "code": "200", "component": "apiserver", "count": 1, + "group": "apps", + "resource": "deployments", + "scope": "namespace", + "verb": "LIST", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 3, + "100000": 3, + "1000000": 3, + "10000000": 3, + "1250000": 3, + "150000": 3, + "1500000": 3, + "15000000": 3, + "1750000": 3, + "200000": 3, + "2000000": 3, + "20000000": 3, + "250000": 3, + "2500000": 3, + "25000000": 3, + "300000": 3, + "3000000": 3, + "30000000": 3, + "350000": 3, + "3500000": 3, + "400000": 3, + "4000000": 3, + "40000000": 3, + "450000": 3, + "4500000": 3, + "50000": 3, + "500000": 3, + "5000000": 3, + "50000000": 3, + "600000": 3, + "6000000": 3, + "60000000": 3, + "700000": 3, + "7000000": 3, + "800000": 3, + "8000000": 3, + "900000": 3, + "9000000": 3 + }, + "count": 3, + "sum": 7383.61 + } + }, "group": "storage.k8s.io", - "resource": "storageclasses", + "resource": "csinodes", "scope": "resource", "verb": "POST", "version": "v1" @@ -11761,13 +10706,15 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "etcd": { - "object": { - "count": 38 - } - }, "request": { - "resource": "pods" + "code": "0", + "component": "apiserver", + "count": 13, + "group": "storage.k8s.io", + "resource": "storageclasses", + "scope": "cluster", + "verb": "WATCH", + "version": "v1" } }, "Index": "", @@ -11786,26 +10733,27 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "version": "v1" + "group": "policy", + "version": "v1beta1" }, "watch": { "events": { - "kind": "Secret", + "kind": "PodDisruptionBudget", "size": { "bytes": { "bucket": { - "+Inf": 125, - "1024": 33, - "131072": 125, - "16384": 125, - "2048": 33, - "32768": 125, - "4096": 125, - "65536": 125, - "8192": 125 + "+Inf": 10, + "1024": 10, + "131072": 10, + "16384": 10, + "2048": 10, + "32768": 10, + "4096": 10, + "65536": 10, + "8192": 10 }, - "count": 125, - "sum": 245881 + "count": 10, + "sum": 870 } } } @@ -11827,13 +10775,118 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "404", - "component": "apiserver", - "count": 1, - "resource": "configmaps", - "scope": "resource", - "verb": "PUT", + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "1250000": 1, + "150000": 1, + "1500000": 1, + "15000000": 1, + "1750000": 1, + "200000": 1, + "2000000": 1, + "20000000": 1, + "250000": 1, + "2500000": 1, + "25000000": 1, + "300000": 1, + "3000000": 1, + "30000000": 1, + "350000": 1, + "3500000": 1, + "400000": 1, + "4000000": 1, + "40000000": 1, + "450000": 1, + "4500000": 1, + "50000": 1, + "500000": 1, + "5000000": 1, + "50000000": 1, + "600000": 1, + "6000000": 1, + "60000000": 1, + "700000": 1, + "7000000": 1, + "800000": 1, + "8000000": 1, + "900000": 1, + "9000000": 1 + }, + "count": 1, + "sum": 1241.2079999999999 + } + }, + "group": "extensions", + "resource": "ingresses", + "scope": "cluster", + "verb": "LIST", + "version": "v1beta1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 1, + "1000": 1, + "10000": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "100000000": 1, + "1000000000": 1 + }, + "count": 1, + "sum": 54 + } + } + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "group": "events.k8s.io", "version": "v1" + }, + "watch": { + "events": { + "kind": "Event", + "size": { + "bytes": { + "bucket": { + "+Inf": 204, + "1024": 204, + "131072": 204, + "16384": 204, + "2048": 204, + "32768": 204, + "4096": 204, + "65536": 204, + "8192": 204 + }, + "count": 204, + "sum": 140685 + } + } + } } }, "Index": "", @@ -11854,10 +10907,9 @@ "request": { "code": "0", "component": "apiserver", - "count": 9, - "group": "apps", - "resource": "replicasets", - "scope": "cluster", + "count": 34, + "resource": "configmaps", + "scope": "namespace", "verb": "WATCH", "version": "v1" } @@ -11878,14 +10930,76 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", "component": "apiserver", - "count": 2, - "group": "policy", - "resource": "poddisruptionbudgets", - "scope": "cluster", - "verb": "LIST", + "duration": { + "us": { + "bucket": { + "+Inf": 11, + "100000": 11, + "1000000": 11, + "10000000": 11, + "1250000": 11, + "150000": 11, + "1500000": 11, + "15000000": 11, + "1750000": 11, + "200000": 11, + "2000000": 11, + "20000000": 11, + "250000": 11, + "2500000": 11, + "25000000": 11, + "300000": 11, + "3000000": 11, + "30000000": 11, + "350000": 11, + "3500000": 11, + "400000": 11, + "4000000": 11, + "40000000": 11, + "450000": 11, + "4500000": 11, + "50000": 11, + "500000": 11, + "5000000": 11, + "50000000": 11, + "600000": 11, + "6000000": 11, + "60000000": 11, + "700000": 11, + "7000000": 11, + "800000": 11, + "8000000": 11, + "900000": 11, + "9000000": 11 + }, + "count": 11, + "sum": 10736.747000000001 + } + }, + "group": "rbac.authorization.k8s.io", + "resource": "rolebindings", + "scope": "resource", + "verb": "GET", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 11, + "1000": 11, + "10000": 11, + "100000": 11, + "1000000": 11, + "10000000": 11, + "100000000": 11, + "1000000000": 11 + }, + "count": 11, + "sum": 2773 + } + } } }, "Index": "", @@ -11903,13 +11017,58 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "etcd": { - "object": { - "count": 3 - } - }, "request": { - "resource": "csinodes.storage.k8s.io" + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 45, + "100000": 45, + "1000000": 45, + "10000000": 45, + "1250000": 45, + "150000": 45, + "1500000": 45, + "15000000": 45, + "1750000": 45, + "200000": 45, + "2000000": 45, + "20000000": 45, + "250000": 45, + "2500000": 45, + "25000000": 45, + "300000": 45, + "3000000": 45, + "30000000": 45, + "350000": 45, + "3500000": 45, + "400000": 45, + "4000000": 45, + "40000000": 45, + "450000": 45, + "4500000": 45, + "50000": 45, + "500000": 45, + "5000000": 45, + "50000000": 45, + "600000": 45, + "6000000": 45, + "60000000": 45, + "700000": 45, + "7000000": 45, + "800000": 45, + "8000000": 45, + "900000": 45, + "9000000": 45 + }, + "count": 45, + "sum": 103197.935 + } + }, + "resource": "secrets", + "scope": "resource", + "verb": "POST", + "version": "v1" } }, "Index": "", @@ -11928,14 +11087,30 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", - "component": "apiserver", - "count": 5, - "group": "rbac.authorization.k8s.io", - "resource": "rolebindings", - "scope": "cluster", - "verb": "WATCH", + "group": "discovery.k8s.io", "version": "v1" + }, + "watch": { + "events": { + "kind": "EndpointSlice", + "size": { + "bytes": { + "bucket": { + "+Inf": 25, + "1024": 15, + "131072": 25, + "16384": 25, + "2048": 25, + "32768": 25, + "4096": 25, + "65536": 25, + "8192": 25 + }, + "count": 25, + "sum": 14416 + } + } + } } }, "Index": "", @@ -11958,73 +11133,70 @@ "duration": { "us": { "bucket": { - "+Inf": 7, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 + "+Inf": 4, + "100000": 4, + "1000000": 4, + "10000000": 4, + "1250000": 4, + "150000": 4, + "1500000": 4, + "15000000": 4, + "1750000": 4, + "200000": 4, + "2000000": 4, + "20000000": 4, + "250000": 4, + "2500000": 4, + "25000000": 4, + "300000": 4, + "3000000": 4, + "30000000": 4, + "350000": 4, + "3500000": 4, + "400000": 4, + "4000000": 4, + "40000000": 4, + "450000": 4, + "4500000": 4, + "50000": 4, + "500000": 4, + "5000000": 4, + "50000000": 4, + "600000": 4, + "6000000": 4, + "60000000": 4, + "700000": 4, + "7000000": 4, + "800000": 4, + "8000000": 4, + "900000": 4, + "9000000": 4 }, - "count": 7, - "sum": 3487007382.103 + "count": 4, + "sum": 1832.023 } }, - "group": "admissionregistration.k8s.io", - "longrunning": { - "count": 3 - }, - "resource": "mutatingwebhookconfigurations", + "group": "apps", + "resource": "statefulsets", "scope": "cluster", - "verb": "WATCH", + "verb": "LIST", "version": "v1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 7, - "1000": 7, - "10000": 7, - "100000": 7, - "1000000": 7, - "10000000": 7, - "100000000": 7, - "1000000000": 7 + "+Inf": 4, + "1000": 2, + "10000": 4, + "100000": 4, + "1000000": 4, + "10000000": 4, + "100000000": 4, + "1000000000": 4 }, - "count": 7, - "sum": 0 + "count": 4, + "sum": 5089 } } } @@ -12049,70 +11221,70 @@ "duration": { "us": { "bucket": { - "+Inf": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "1250000": 1, - "150000": 1, - "1500000": 1, - "15000000": 1, - "1750000": 1, - "200000": 1, - "2000000": 1, - "20000000": 1, - "250000": 1, - "2500000": 1, - "25000000": 1, - "300000": 1, - "3000000": 1, - "30000000": 1, - "350000": 1, - "3500000": 1, - "400000": 1, - "4000000": 1, - "40000000": 1, - "450000": 1, - "4500000": 1, - "50000": 1, - "500000": 1, - "5000000": 1, - "50000000": 1, - "600000": 1, - "6000000": 1, - "60000000": 1, - "700000": 1, - "7000000": 1, - "800000": 1, - "8000000": 1, - "900000": 1, - "9000000": 1 + "+Inf": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "1250000": 2, + "150000": 2, + "1500000": 2, + "15000000": 2, + "1750000": 2, + "200000": 2, + "2000000": 2, + "20000000": 2, + "250000": 2, + "2500000": 2, + "25000000": 2, + "300000": 2, + "3000000": 2, + "30000000": 2, + "350000": 2, + "3500000": 2, + "400000": 2, + "4000000": 2, + "40000000": 2, + "450000": 2, + "4500000": 2, + "50000": 2, + "500000": 2, + "5000000": 2, + "50000000": 2, + "600000": 2, + "6000000": 2, + "60000000": 2, + "700000": 2, + "7000000": 2, + "800000": 2, + "8000000": 2, + "900000": 2, + "9000000": 2 }, - "count": 1, - "sum": 429.012 + "count": 2, + "sum": 764.574 } }, - "group": "policy", - "resource": "podsecuritypolicies", + "group": "rbac.authorization.k8s.io", + "resource": "rolebindings", "scope": "cluster", "verb": "LIST", - "version": "v1beta1" + "version": "v1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 1, + "+Inf": 2, "1000": 1, - "10000": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "100000000": 1, - "1000000000": 1 + "10000": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "100000000": 2, + "1000000000": 2 }, - "count": 1, - "sum": 60 + "count": 2, + "sum": 6536 } } } @@ -12133,11 +11305,11 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", + "code": "409", "component": "apiserver", - "count": 138, - "group": "batch", - "resource": "cronjobs", + "count": 2, + "group": "apps", + "resource": "replicasets", "scope": "resource", "subresource": "status", "verb": "PUT", @@ -12160,13 +11332,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", + "code": "200", "component": "apiserver", - "count": 5, - "group": "networking.k8s.io", - "resource": "ingresses", + "count": 1, + "group": "coordination.k8s.io", + "resource": "leases", "scope": "cluster", - "verb": "WATCH", + "verb": "LIST", "version": "v1" } }, @@ -12186,75 +11358,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 41, - "100000": 41, - "1000000": 41, - "10000000": 41, - "1250000": 41, - "150000": 41, - "1500000": 41, - "15000000": 41, - "1750000": 41, - "200000": 41, - "2000000": 41, - "20000000": 41, - "250000": 41, - "2500000": 41, - "25000000": 41, - "300000": 41, - "3000000": 41, - "30000000": 41, - "350000": 41, - "3500000": 41, - "400000": 41, - "4000000": 41, - "40000000": 41, - "450000": 41, - "4500000": 41, - "50000": 41, - "500000": 41, - "5000000": 41, - "50000000": 41, - "600000": 41, - "6000000": 41, - "60000000": 41, - "700000": 41, - "7000000": 41, - "800000": 41, - "8000000": 41, - "900000": 41, - "9000000": 41 - }, - "count": 41, - "sum": 28886.38599999999 - } - }, - "resource": "namespaces", - "scope": "cluster", - "verb": "LIST", - "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 41, - "1000": 1, - "10000": 41, - "100000": 41, - "1000000": 41, - "10000000": 41, - "100000000": 41, - "1000000000": 41 - }, - "count": 41, - "sum": 108716 - } - } + "count": 2, + "group": "rbac.authorization.k8s.io", + "resource": "rolebindings", + "scope": "resource", + "verb": "DELETE", + "version": "v1" } }, "Index": "", @@ -12273,75 +11384,38 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 3, - "100000": 3, - "1000000": 3, - "10000000": 3, - "1250000": 3, - "150000": 3, - "1500000": 3, - "15000000": 3, - "1750000": 3, - "200000": 3, - "2000000": 3, - "20000000": 3, - "250000": 3, - "2500000": 3, - "25000000": 3, - "300000": 3, - "3000000": 3, - "30000000": 3, - "350000": 3, - "3500000": 3, - "400000": 3, - "4000000": 3, - "40000000": 3, - "450000": 3, - "4500000": 3, - "50000": 3, - "500000": 3, - "5000000": 3, - "50000000": 3, - "600000": 3, - "6000000": 3, - "60000000": 3, - "700000": 3, - "7000000": 3, - "800000": 3, - "8000000": 3, - "900000": 3, - "9000000": 3 - }, - "count": 3, - "sum": 13605.571 - } - }, - "resource": "limitranges", + "count": 2, + "group": "flowcontrol.apiserver.k8s.io", + "resource": "flowschemas", "scope": "cluster", "verb": "LIST", - "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 3, - "1000": 3, - "10000": 3, - "100000": 3, - "1000000": 3, - "10000000": 3, - "100000000": 3, - "1000000000": 3 - }, - "count": 3, - "sum": 123 - } + "version": "v1beta1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "etcd": { + "object": { + "count": 3 } + }, + "request": { + "resource": "csinodes.storage.k8s.io" } }, "Index": "", @@ -12360,13 +11434,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", + "code": "0", "component": "apiserver", - "count": 3, + "count": 9, "group": "apps", - "resource": "daemonsets", + "resource": "replicasets", "scope": "cluster", - "verb": "LIST", + "verb": "WATCH", "version": "v1" } }, @@ -12386,75 +11460,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "1250000": 2, - "150000": 2, - "1500000": 2, - "15000000": 2, - "1750000": 2, - "200000": 2, - "2000000": 2, - "20000000": 2, - "250000": 2, - "2500000": 2, - "25000000": 2, - "300000": 2, - "3000000": 2, - "30000000": 2, - "350000": 2, - "3500000": 2, - "400000": 2, - "4000000": 2, - "40000000": 2, - "450000": 2, - "4500000": 2, - "50000": 2, - "500000": 2, - "5000000": 2, - "50000000": 2, - "600000": 2, - "6000000": 2, - "60000000": 2, - "700000": 2, - "7000000": 2, - "800000": 2, - "8000000": 2, - "900000": 2, - "9000000": 2 - }, - "count": 2, - "sum": 14442.617 - } - }, - "resource": "serviceaccounts", + "count": 2, + "group": "policy", + "resource": "poddisruptionbudgets", "scope": "cluster", "verb": "LIST", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 2, - "1000": 2, - "10000": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "100000000": 2, - "1000000000": 2 - }, - "count": 2, - "sum": 270 - } - } } }, "Index": "", @@ -12473,14 +11486,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", + "code": "404", "component": "apiserver", "count": 1, - "group": "extensions", - "resource": "ingresses", - "scope": "cluster", - "verb": "LIST", - "version": "v1beta1" + "resource": "configmaps", + "scope": "resource", + "verb": "PUT", + "version": "v1" } }, "Index": "", @@ -12499,27 +11511,26 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "policy", "version": "v1" }, "watch": { "events": { - "kind": "PodDisruptionBudget", + "kind": "Secret", "size": { "bytes": { "bucket": { - "+Inf": 17, - "1024": 17, - "131072": 17, - "16384": 17, - "2048": 17, - "32768": 17, - "4096": 17, - "65536": 17, - "8192": 17 + "+Inf": 125, + "1024": 33, + "131072": 125, + "16384": 125, + "2048": 33, + "32768": 125, + "4096": 125, + "65536": 125, + "8192": 125 }, - "count": 17, - "sum": 1394 + "count": 125, + "sum": 245881 } } } @@ -12542,11 +11553,63 @@ "MetricSetFields": { "etcd": { "object": { - "count": 12 + "count": 38 } }, "request": { - "resource": "configmaps" + "resource": "pods" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "201", + "component": "apiserver", + "count": 1, + "group": "storage.k8s.io", + "resource": "storageclasses", + "scope": "resource", + "verb": "POST", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "0", + "component": "apiserver", + "count": 6, + "group": "rbac.authorization.k8s.io", + "resource": "clusterrolebindings", + "scope": "cluster", + "verb": "WATCH", + "version": "v1" } }, "Index": "", @@ -12567,9 +11630,8 @@ "request": { "code": "404", "component": "apiserver", - "count": 11, - "group": "rbac.authorization.k8s.io", - "resource": "roles", + "count": 1, + "resource": "secrets", "scope": "resource", "verb": "GET", "version": "v1" @@ -12635,13 +11697,13 @@ "9000000": 2 }, "count": 2, - "sum": 622.155 + "sum": 4867.572 } }, - "group": "networking.k8s.io", - "resource": "ingresses", - "scope": "cluster", - "verb": "LIST", + "group": "apps", + "resource": "deployments", + "scope": "resource", + "verb": "GET", "version": "v1" }, "response": { @@ -12658,7 +11720,7 @@ "1000000000": 2 }, "count": 2, - "sum": 112 + "sum": 484 } } } @@ -12679,56 +11741,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 4, - "100000": 3, - "1000000": 4, - "10000000": 4, - "1250000": 4, - "150000": 4, - "1500000": 4, - "15000000": 4, - "1750000": 4, - "200000": 4, - "2000000": 4, - "20000000": 4, - "250000": 4, - "2500000": 4, - "25000000": 4, - "300000": 4, - "3000000": 4, - "30000000": 4, - "350000": 4, - "3500000": 4, - "400000": 4, - "4000000": 4, - "40000000": 4, - "450000": 4, - "4500000": 4, - "50000": 3, - "500000": 4, - "5000000": 4, - "50000000": 4, - "600000": 4, - "6000000": 4, - "60000000": 4, - "700000": 4, - "7000000": 4, - "800000": 4, - "8000000": 4, - "900000": 4, - "9000000": 4 - }, - "count": 4, - "sum": 110857.38 - } - }, - "resource": "nodes", + "count": 1, + "group": "apps", + "resource": "statefulsets", "scope": "resource", - "verb": "POST", + "subresource": "status", + "verb": "PUT", "version": "v1" } }, @@ -12748,13 +11768,56 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", "component": "apiserver", - "count": 2, - "group": "storage.k8s.io", - "resource": "csinodes", + "duration": { + "us": { + "bucket": { + "+Inf": 44, + "100000": 44, + "1000000": 44, + "10000000": 44, + "1250000": 44, + "150000": 44, + "1500000": 44, + "15000000": 44, + "1750000": 44, + "200000": 44, + "2000000": 44, + "20000000": 44, + "250000": 44, + "2500000": 44, + "25000000": 44, + "300000": 44, + "3000000": 44, + "30000000": 44, + "350000": 44, + "3500000": 44, + "400000": 44, + "4000000": 44, + "40000000": 44, + "450000": 44, + "4500000": 44, + "50000": 44, + "500000": 44, + "5000000": 44, + "50000000": 44, + "600000": 44, + "6000000": 44, + "60000000": 44, + "700000": 44, + "7000000": 44, + "800000": 44, + "8000000": 44, + "900000": 44, + "9000000": 44 + }, + "count": 44, + "sum": 77487.755 + } + }, + "resource": "serviceaccounts", "scope": "resource", - "verb": "GET", + "verb": "POST", "version": "v1" } }, @@ -12778,7 +11841,7 @@ "duration": { "us": { "bucket": { - "+Inf": 3, + "+Inf": 9, "100000": 0, "1000000": 0, "10000000": 0, @@ -12817,36 +11880,155 @@ "900000": 0, "9000000": 0 }, - "count": 3, - "sum": 1228002635.407 + "count": 9, + "sum": 3736008440.8040004 } }, - "group": "coordination.k8s.io", + "group": "apps", "longrunning": { - "count": 1 + "count": 4 }, - "resource": "leases", + "resource": "replicasets", "scope": "cluster", "verb": "WATCH", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 3, - "1000": 3, - "10000": 3, - "100000": 3, - "1000000": 3, - "10000000": 3, - "100000000": 3, - "1000000000": 3 - }, - "count": 3, - "sum": 0 - } + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 9, + "1000": 9, + "10000": 9, + "100000": 9, + "1000000": 9, + "10000000": 9, + "100000000": 9, + "1000000000": 9 + }, + "count": 9, + "sum": 0 + } + } + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 4, + "100000": 3, + "1000000": 4, + "10000000": 4, + "1250000": 4, + "150000": 4, + "1500000": 4, + "15000000": 4, + "1750000": 4, + "200000": 4, + "2000000": 4, + "20000000": 4, + "250000": 4, + "2500000": 4, + "25000000": 4, + "300000": 4, + "3000000": 4, + "30000000": 4, + "350000": 4, + "3500000": 4, + "400000": 4, + "4000000": 4, + "40000000": 4, + "450000": 4, + "4500000": 4, + "50000": 3, + "500000": 4, + "5000000": 4, + "50000000": 4, + "600000": 4, + "6000000": 4, + "60000000": 4, + "700000": 4, + "7000000": 4, + "800000": 4, + "8000000": 4, + "900000": 4, + "9000000": 4 + }, + "count": 4, + "sum": 110857.38 + } + }, + "resource": "nodes", + "scope": "resource", + "verb": "POST", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "404", + "component": "apiserver", + "count": 11, + "group": "rbac.authorization.k8s.io", + "resource": "roles", + "scope": "resource", + "verb": "GET", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "etcd": { + "object": { + "count": 12 } + }, + "request": { + "resource": "configmaps" } }, "Index": "", @@ -12909,11 +12091,11 @@ "9000000": 2 }, "count": 2, - "sum": 1309.226 + "sum": 622.155 } }, - "group": "storage.k8s.io", - "resource": "csinodes", + "group": "networking.k8s.io", + "resource": "ingresses", "scope": "cluster", "verb": "LIST", "version": "v1" @@ -12932,7 +12114,7 @@ "1000000000": 2 }, "count": 2, - "sum": 1180 + "sum": 112 } } } @@ -12953,76 +12135,28 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 34, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 - }, - "count": 34, - "sum": 14422028428.523998 - } - }, - "longrunning": { - "count": 13 - }, - "resource": "configmaps", - "scope": "namespace", - "verb": "WATCH", + "group": "policy", "version": "v1" }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 34, - "1000": 34, - "10000": 34, - "100000": 34, - "1000000": 34, - "10000000": 34, - "100000000": 34, - "1000000000": 34 - }, - "count": 34, - "sum": 0 + "watch": { + "events": { + "kind": "PodDisruptionBudget", + "size": { + "bytes": { + "bucket": { + "+Inf": 17, + "1024": 17, + "131072": 17, + "16384": 17, + "2048": 17, + "32768": 17, + "4096": 17, + "65536": 17, + "8192": 17 + }, + "count": 17, + "sum": 1394 + } } } } @@ -13046,11 +12180,11 @@ "code": "200", "component": "apiserver", "count": 1, - "group": "apps", - "resource": "controllerrevisions", - "scope": "resource", - "verb": "GET", - "version": "v1" + "group": "extensions", + "resource": "ingresses", + "scope": "cluster", + "verb": "LIST", + "version": "v1beta1" } }, "Index": "", @@ -13113,21 +12247,20 @@ "9000000": 2 }, "count": 2, - "sum": 801.1450000000001 + "sum": 14442.617 } }, - "group": "flowcontrol.apiserver.k8s.io", - "resource": "flowschemas", + "resource": "serviceaccounts", "scope": "cluster", "verb": "LIST", - "version": "v1beta1" + "version": "v1" }, "response": { "size": { "bytes": { "bucket": { "+Inf": 2, - "1000": 1, + "1000": 2, "10000": 2, "100000": 2, "1000000": 2, @@ -13136,98 +12269,7 @@ "1000000000": 2 }, "count": 2, - "sum": 9848 - } - } - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 6, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 - }, - "count": 6, - "sum": 2547005731.3469996 - } - }, - "group": "flowcontrol.apiserver.k8s.io", - "longrunning": { - "count": 2 - }, - "resource": "prioritylevelconfigurations", - "scope": "cluster", - "verb": "WATCH", - "version": "v1beta1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 6, - "1000": 6, - "10000": 6, - "100000": 6, - "1000000": 6, - "10000000": 6, - "100000000": 6, - "1000000000": 6 - }, - "count": 6, - "sum": 0 + "sum": 270 } } } @@ -13248,13 +12290,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", + "code": "200", "component": "apiserver", - "count": 2, - "group": "events.k8s.io", - "resource": "events", + "count": 3, + "group": "apps", + "resource": "daemonsets", "scope": "cluster", - "verb": "WATCH", + "verb": "LIST", "version": "v1" } }, @@ -13274,14 +12316,75 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "201", "component": "apiserver", - "count": 1, - "group": "batch", - "resource": "cronjobs", - "scope": "resource", - "verb": "POST", + "duration": { + "us": { + "bucket": { + "+Inf": 41, + "100000": 41, + "1000000": 41, + "10000000": 41, + "1250000": 41, + "150000": 41, + "1500000": 41, + "15000000": 41, + "1750000": 41, + "200000": 41, + "2000000": 41, + "20000000": 41, + "250000": 41, + "2500000": 41, + "25000000": 41, + "300000": 41, + "3000000": 41, + "30000000": 41, + "350000": 41, + "3500000": 41, + "400000": 41, + "4000000": 41, + "40000000": 41, + "450000": 41, + "4500000": 41, + "50000": 41, + "500000": 41, + "5000000": 41, + "50000000": 41, + "600000": 41, + "6000000": 41, + "60000000": 41, + "700000": 41, + "7000000": 41, + "800000": 41, + "8000000": 41, + "900000": 41, + "9000000": 41 + }, + "count": 41, + "sum": 28886.38599999999 + } + }, + "resource": "namespaces", + "scope": "cluster", + "verb": "LIST", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 41, + "1000": 1, + "10000": 41, + "100000": 41, + "1000000": 41, + "10000000": 41, + "100000000": 41, + "1000000000": 41 + }, + "count": 41, + "sum": 108716 + } + } } }, "Index": "", @@ -13300,28 +12403,73 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "scheduling.k8s.io", + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 3, + "100000": 3, + "1000000": 3, + "10000000": 3, + "1250000": 3, + "150000": 3, + "1500000": 3, + "15000000": 3, + "1750000": 3, + "200000": 3, + "2000000": 3, + "20000000": 3, + "250000": 3, + "2500000": 3, + "25000000": 3, + "300000": 3, + "3000000": 3, + "30000000": 3, + "350000": 3, + "3500000": 3, + "400000": 3, + "4000000": 3, + "40000000": 3, + "450000": 3, + "4500000": 3, + "50000": 3, + "500000": 3, + "5000000": 3, + "50000000": 3, + "600000": 3, + "6000000": 3, + "60000000": 3, + "700000": 3, + "7000000": 3, + "800000": 3, + "8000000": 3, + "900000": 3, + "9000000": 3 + }, + "count": 3, + "sum": 13605.571 + } + }, + "resource": "limitranges", + "scope": "cluster", + "verb": "LIST", "version": "v1" }, - "watch": { - "events": { - "kind": "PriorityClass", - "size": { - "bytes": { - "bucket": { - "+Inf": 16, - "1024": 16, - "131072": 16, - "16384": 16, - "2048": 16, - "32768": 16, - "4096": 16, - "65536": 16, - "8192": 16 - }, - "count": 16, - "sum": 1876 - } + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 3, + "1000": 3, + "10000": 3, + "100000": 3, + "1000000": 3, + "10000000": 3, + "100000000": 3, + "1000000000": 3 + }, + "count": 3, + "sum": 123 } } } @@ -13342,12 +12490,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "404", + "code": "0", "component": "apiserver", - "count": 1, - "resource": "persistentvolumeclaims", - "scope": "resource", - "verb": "GET", + "count": 5, + "group": "networking.k8s.io", + "resource": "ingresses", + "scope": "cluster", + "verb": "WATCH", "version": "v1" } }, @@ -13367,28 +12516,77 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 7, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 + }, + "count": 7, + "sum": 3487007382.103 + } + }, "group": "admissionregistration.k8s.io", + "longrunning": { + "count": 3 + }, + "resource": "mutatingwebhookconfigurations", + "scope": "cluster", + "verb": "WATCH", "version": "v1" }, - "watch": { - "events": { - "kind": "ValidatingWebhookConfiguration", - "size": { - "bytes": { - "bucket": { - "+Inf": 27, - "1024": 27, - "131072": 27, - "16384": 27, - "2048": 27, - "32768": 27, - "4096": 27, - "65536": 27, - "8192": 27 - }, - "count": 27, - "sum": 2727 - } + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 7, + "1000": 7, + "10000": 7, + "100000": 7, + "1000000": 7, + "10000000": 7, + "100000000": 7, + "1000000000": 7 + }, + "count": 7, + "sum": 0 } } } @@ -13409,76 +12607,15 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 49, - "100000": 49, - "1000000": 49, - "10000000": 49, - "1250000": 49, - "150000": 49, - "1500000": 49, - "15000000": 49, - "1750000": 49, - "200000": 49, - "2000000": 49, - "20000000": 49, - "250000": 49, - "2500000": 49, - "25000000": 49, - "300000": 49, - "3000000": 49, - "30000000": 49, - "350000": 49, - "3500000": 49, - "400000": 49, - "4000000": 49, - "40000000": 49, - "450000": 49, - "4500000": 49, - "50000": 49, - "500000": 49, - "5000000": 49, - "50000000": 49, - "600000": 49, - "6000000": 49, - "60000000": 49, - "700000": 49, - "7000000": 49, - "800000": 49, - "8000000": 49, - "900000": 49, - "9000000": 49 - }, - "count": 49, - "sum": 45143.681 - } - }, - "group": "flowcontrol.apiserver.k8s.io", - "resource": "prioritylevelconfigurations", + "count": 138, + "group": "batch", + "resource": "cronjobs", "scope": "resource", - "verb": "GET", - "version": "v1beta1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 49, - "1000": 49, - "10000": 49, - "100000": 49, - "1000000": 49, - "10000000": 49, - "100000000": 49, - "1000000000": 49 - }, - "count": 49, - "sum": 17319 - } - } + "subresource": "status", + "verb": "PUT", + "version": "v1" } }, "Index": "", @@ -13541,11 +12678,11 @@ "9000000": 1 }, "count": 1, - "sum": 571.884 + "sum": 429.012 } }, - "group": "batch", - "resource": "cronjobs", + "group": "policy", + "resource": "podsecuritypolicies", "scope": "cluster", "verb": "LIST", "version": "v1beta1" @@ -13555,7 +12692,7 @@ "bytes": { "bucket": { "+Inf": 1, - "1000": 0, + "1000": 1, "10000": 1, "100000": 1, "1000000": 1, @@ -13564,7 +12701,7 @@ "1000000000": 1 }, "count": 1, - "sum": 1923 + "sum": 60 } } } @@ -13585,13 +12722,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "201", + "code": "0", "component": "apiserver", - "count": 135, - "group": "authentication.k8s.io", - "resource": "tokenreviews", - "scope": "resource", - "verb": "POST", + "count": 5, + "group": "rbac.authorization.k8s.io", + "resource": "rolebindings", + "scope": "cluster", + "verb": "WATCH", "version": "v1" } }, @@ -13610,15 +12747,13 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { + "etcd": { + "object": { + "count": 0 + } + }, "request": { - "code": "200", - "component": "apiserver", - "count": 6, - "group": "storage.k8s.io", - "resource": "csidrivers", - "scope": "cluster", - "verb": "LIST", - "version": "v1" + "resource": "replicationcontrollers" } }, "Index": "", @@ -13637,15 +12772,30 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "409", - "component": "apiserver", - "count": 2, - "group": "apps", - "resource": "daemonsets", - "scope": "resource", - "subresource": "status", - "verb": "PUT", + "group": "rbac.authorization.k8s.io", "version": "v1" + }, + "watch": { + "events": { + "kind": "Role", + "size": { + "bytes": { + "bucket": { + "+Inf": 46, + "1024": 46, + "131072": 46, + "16384": 46, + "2048": 46, + "32768": 46, + "4096": 46, + "65536": 46, + "8192": 46 + }, + "count": 46, + "sum": 16472 + } + } + } } }, "Index": "", @@ -13759,30 +12909,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "rbac.authorization.k8s.io", + "code": "201", + "component": "apiserver", + "count": 135, + "group": "authentication.k8s.io", + "resource": "tokenreviews", + "scope": "resource", + "verb": "POST", "version": "v1" - }, - "watch": { - "events": { - "kind": "Role", - "size": { - "bytes": { - "bucket": { - "+Inf": 46, - "1024": 46, - "131072": 46, - "16384": 46, - "2048": 46, - "32768": 46, - "4096": 46, - "65536": 46, - "8192": 46 - }, - "count": 46, - "sum": 16472 - } - } - } } }, "Index": "", @@ -13800,13 +12934,15 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "etcd": { - "object": { - "count": 0 - } - }, "request": { - "resource": "replicationcontrollers" + "code": "200", + "component": "apiserver", + "count": 6, + "group": "storage.k8s.io", + "resource": "csidrivers", + "scope": "cluster", + "verb": "LIST", + "version": "v1" } }, "Index": "", @@ -13825,53 +12961,101 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", + "code": "409", "component": "apiserver", "count": 2, - "resource": "events", + "group": "apps", + "resource": "daemonsets", + "scope": "resource", + "subresource": "status", + "verb": "PUT", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "1250000": 1, + "150000": 1, + "1500000": 1, + "15000000": 1, + "1750000": 1, + "200000": 1, + "2000000": 1, + "20000000": 1, + "250000": 1, + "2500000": 1, + "25000000": 1, + "300000": 1, + "3000000": 1, + "30000000": 1, + "350000": 1, + "3500000": 1, + "400000": 1, + "4000000": 1, + "40000000": 1, + "450000": 1, + "4500000": 1, + "50000": 1, + "500000": 1, + "5000000": 1, + "50000000": 1, + "600000": 1, + "6000000": 1, + "60000000": 1, + "700000": 1, + "7000000": 1, + "800000": 1, + "8000000": 1, + "900000": 1, + "9000000": 1 + }, + "count": 1, + "sum": 571.884 + } + }, + "group": "batch", + "resource": "cronjobs", "scope": "cluster", - "verb": "WATCH", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "group": "autoscaling", - "version": "v2beta1" + "verb": "LIST", + "version": "v1beta1" }, - "watch": { - "events": { - "kind": "HorizontalPodAutoscaler", - "size": { - "bytes": { - "bucket": { - "+Inf": 10, - "1024": 10, - "131072": 10, - "16384": 10, - "2048": 10, - "32768": 10, - "4096": 10, - "65536": 10, - "8192": 10 - }, - "count": 10, - "sum": 1000 - } + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 1, + "1000": 0, + "10000": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "100000000": 1, + "1000000000": 1 + }, + "count": 1, + "sum": 1923 } } } @@ -13896,70 +13080,70 @@ "duration": { "us": { "bucket": { - "+Inf": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "1250000": 2, - "150000": 2, - "1500000": 2, - "15000000": 2, - "1750000": 2, - "200000": 2, - "2000000": 2, - "20000000": 2, - "250000": 2, - "2500000": 2, - "25000000": 2, - "300000": 2, - "3000000": 2, - "30000000": 2, - "350000": 2, - "3500000": 2, - "400000": 2, - "4000000": 2, - "40000000": 2, - "450000": 2, - "4500000": 2, - "50000": 2, - "500000": 2, - "5000000": 2, - "50000000": 2, - "600000": 2, - "6000000": 2, - "60000000": 2, - "700000": 2, - "7000000": 2, - "800000": 2, - "8000000": 2, - "900000": 2, - "9000000": 2 + "+Inf": 49, + "100000": 49, + "1000000": 49, + "10000000": 49, + "1250000": 49, + "150000": 49, + "1500000": 49, + "15000000": 49, + "1750000": 49, + "200000": 49, + "2000000": 49, + "20000000": 49, + "250000": 49, + "2500000": 49, + "25000000": 49, + "300000": 49, + "3000000": 49, + "30000000": 49, + "350000": 49, + "3500000": 49, + "400000": 49, + "4000000": 49, + "40000000": 49, + "450000": 49, + "4500000": 49, + "50000": 49, + "500000": 49, + "5000000": 49, + "50000000": 49, + "600000": 49, + "6000000": 49, + "60000000": 49, + "700000": 49, + "7000000": 49, + "800000": 49, + "8000000": 49, + "900000": 49, + "9000000": 49 }, - "count": 2, - "sum": 713.132 + "count": 49, + "sum": 45143.681 } }, - "group": "apiregistration.k8s.io", - "resource": "apiservices", - "scope": "cluster", - "verb": "LIST", - "version": "v1" + "group": "flowcontrol.apiserver.k8s.io", + "resource": "prioritylevelconfigurations", + "scope": "resource", + "verb": "GET", + "version": "v1beta1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 2, - "1000": 1, - "10000": 1, - "100000": 2, - "1000000": 2, - "10000000": 2, - "100000000": 2, - "1000000000": 2 + "+Inf": 49, + "1000": 49, + "10000": 49, + "100000": 49, + "1000000": 49, + "10000000": 49, + "100000000": 49, + "1000000000": 49 }, - "count": 2, - "sum": 14960 + "count": 49, + "sum": 17319 } } } @@ -13979,13 +13163,31 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "etcd": { - "object": { - "count": 11 - } - }, "request": { - "resource": "flowschemas.flowcontrol.apiserver.k8s.io" + "group": "admissionregistration.k8s.io", + "version": "v1" + }, + "watch": { + "events": { + "kind": "ValidatingWebhookConfiguration", + "size": { + "bytes": { + "bucket": { + "+Inf": 27, + "1024": 27, + "131072": 27, + "16384": 27, + "2048": 27, + "32768": 27, + "4096": 27, + "65536": 27, + "8192": 27 + }, + "count": 27, + "sum": 2727 + } + } + } } }, "Index": "", @@ -14004,75 +13206,39 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "404", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 3, - "100000": 3, - "1000000": 3, - "10000000": 3, - "1250000": 3, - "150000": 3, - "1500000": 3, - "15000000": 3, - "1750000": 3, - "200000": 3, - "2000000": 3, - "20000000": 3, - "250000": 3, - "2500000": 3, - "25000000": 3, - "300000": 3, - "3000000": 3, - "30000000": 3, - "350000": 3, - "3500000": 3, - "400000": 3, - "4000000": 3, - "40000000": 3, - "450000": 3, - "4500000": 3, - "50000": 3, - "500000": 3, - "5000000": 3, - "50000000": 3, - "600000": 3, - "6000000": 3, - "60000000": 3, - "700000": 3, - "7000000": 3, - "800000": 3, - "8000000": 3, - "900000": 3, - "9000000": 3 - }, - "count": 3, - "sum": 3521.213 - } - }, - "resource": "replicationcontrollers", + "count": 1, + "resource": "persistentvolumeclaims", + "scope": "resource", + "verb": "GET", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "0", + "component": "apiserver", + "count": 2, + "group": "events.k8s.io", + "resource": "events", "scope": "cluster", - "verb": "LIST", + "verb": "WATCH", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 3, - "1000": 3, - "10000": 3, - "100000": 3, - "1000000": 3, - "10000000": 3, - "100000000": 3, - "1000000000": 3 - }, - "count": 3, - "sum": 156 - } - } } }, "Index": "", @@ -14091,27 +13257,27 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "storage.k8s.io", - "version": "v1beta1" + "group": "scheduling.k8s.io", + "version": "v1" }, "watch": { "events": { - "kind": "CSIStorageCapacity", + "kind": "PriorityClass", "size": { "bytes": { "bucket": { - "+Inf": 14, - "1024": 14, - "131072": 14, - "16384": 14, - "2048": 14, - "32768": 14, - "4096": 14, - "65536": 14, - "8192": 14 + "+Inf": 16, + "1024": 16, + "131072": 16, + "16384": 16, + "2048": 16, + "32768": 16, + "4096": 16, + "65536": 16, + "8192": 16 }, - "count": 14, - "sum": 1148 + "count": 16, + "sum": 1876 } } } @@ -14133,12 +13299,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", + "code": "201", "component": "apiserver", - "count": 87, - "resource": "pods", + "count": 1, + "group": "batch", + "resource": "cronjobs", "scope": "resource", - "verb": "GET", + "verb": "POST", "version": "v1" } }, @@ -14162,54 +13329,163 @@ "duration": { "us": { "bucket": { - "+Inf": 3, - "100000": 3, - "1000000": 3, - "10000000": 3, - "1250000": 3, - "150000": 3, - "1500000": 3, - "15000000": 3, - "1750000": 3, - "200000": 3, - "2000000": 3, - "20000000": 3, - "250000": 3, - "2500000": 3, - "25000000": 3, - "300000": 3, - "3000000": 3, - "30000000": 3, - "350000": 3, - "3500000": 3, - "400000": 3, - "4000000": 3, - "40000000": 3, - "450000": 3, - "4500000": 3, - "50000": 3, - "500000": 3, - "5000000": 3, - "50000000": 3, - "600000": 3, - "6000000": 3, - "60000000": 3, - "700000": 3, - "7000000": 3, - "800000": 3, - "8000000": 3, - "900000": 3, - "9000000": 3 + "+Inf": 6, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 }, - "count": 3, - "sum": 5904.927 + "count": 6, + "sum": 2547005731.3469996 + } + }, + "group": "flowcontrol.apiserver.k8s.io", + "longrunning": { + "count": 2 + }, + "resource": "prioritylevelconfigurations", + "scope": "cluster", + "verb": "WATCH", + "version": "v1beta1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 6, + "1000": 6, + "10000": 6, + "100000": 6, + "1000000": 6, + "10000000": 6, + "100000000": 6, + "1000000000": 6 + }, + "count": 6, + "sum": 0 + } + } + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "1250000": 2, + "150000": 2, + "1500000": 2, + "15000000": 2, + "1750000": 2, + "200000": 2, + "2000000": 2, + "20000000": 2, + "250000": 2, + "2500000": 2, + "25000000": 2, + "300000": 2, + "3000000": 2, + "30000000": 2, + "350000": 2, + "3500000": 2, + "400000": 2, + "4000000": 2, + "40000000": 2, + "450000": 2, + "4500000": 2, + "50000": 2, + "500000": 2, + "5000000": 2, + "50000000": 2, + "600000": 2, + "6000000": 2, + "60000000": 2, + "700000": 2, + "7000000": 2, + "800000": 2, + "8000000": 2, + "900000": 2, + "9000000": 2 + }, + "count": 2, + "sum": 801.1450000000001 } }, - "group": "discovery.k8s.io", - "resource": "endpointslices", - "scope": "resource", - "verb": "POST", - "version": "v1" + "group": "flowcontrol.apiserver.k8s.io", + "resource": "flowschemas", + "scope": "cluster", + "verb": "LIST", + "version": "v1beta1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 2, + "1000": 1, + "10000": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "100000000": 2, + "1000000000": 2 + }, + "count": 2, + "sum": 9848 + } + } } }, "Index": "", @@ -14228,38 +13504,11 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "404", + "code": "200", "component": "apiserver", "count": 1, "group": "apps", - "resource": "statefulsets", - "scope": "resource", - "verb": "GET", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "component": "apiserver", - "group": "certificates.k8s.io", - "longrunning": { - "count": 0 - }, - "resource": "certificatesigningrequests", + "resource": "controllerrevisions", "scope": "resource", "verb": "GET", "version": "v1" @@ -14276,33 +13525,6 @@ "Period": 0, "DisableTimeSeries": false }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "component": "apiserver", - "longrunning": { - "count": 1 - }, - "resource": "pods", - "scope": "namespace", - "subresource": "exec", - "verb": "POST", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, { "RootFields": {}, "ModuleFields": null, @@ -14312,53 +13534,72 @@ "duration": { "us": { "bucket": { - "+Inf": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "1250000": 1, - "150000": 1, - "1500000": 1, - "15000000": 1, - "1750000": 1, - "200000": 1, - "2000000": 1, - "20000000": 1, - "250000": 1, - "2500000": 1, - "25000000": 1, - "300000": 1, - "3000000": 1, - "30000000": 1, - "350000": 1, - "3500000": 1, - "400000": 1, - "4000000": 1, - "40000000": 1, - "450000": 1, - "4500000": 1, - "50000": 1, - "500000": 1, - "5000000": 1, - "50000000": 1, - "600000": 1, - "6000000": 1, - "60000000": 1, - "700000": 1, - "7000000": 1, - "800000": 1, - "8000000": 1, - "900000": 1, - "9000000": 1 + "+Inf": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "1250000": 2, + "150000": 2, + "1500000": 2, + "15000000": 2, + "1750000": 2, + "200000": 2, + "2000000": 2, + "20000000": 2, + "250000": 2, + "2500000": 2, + "25000000": 2, + "300000": 2, + "3000000": 2, + "30000000": 2, + "350000": 2, + "3500000": 2, + "400000": 2, + "4000000": 2, + "40000000": 2, + "450000": 2, + "4500000": 2, + "50000": 2, + "500000": 2, + "5000000": 2, + "50000000": 2, + "600000": 2, + "6000000": 2, + "60000000": 2, + "700000": 2, + "7000000": 2, + "800000": 2, + "8000000": 2, + "900000": 2, + "9000000": 2 }, - "count": 1, - "sum": 2823.041 + "count": 2, + "sum": 1309.226 } }, - "resource": "persistentvolumeclaims", - "scope": "resource", - "verb": "POST", + "group": "storage.k8s.io", + "resource": "csinodes", + "scope": "cluster", + "verb": "LIST", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 2, + "1000": 2, + "10000": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "100000000": 2, + "1000000000": 2 + }, + "count": 2, + "sum": 1180 + } + } } }, "Index": "", @@ -14381,70 +13622,73 @@ "duration": { "us": { "bucket": { - "+Inf": 4, - "100000": 4, - "1000000": 4, - "10000000": 4, - "1250000": 4, - "150000": 4, - "1500000": 4, - "15000000": 4, - "1750000": 4, - "200000": 4, - "2000000": 4, - "20000000": 4, - "250000": 4, - "2500000": 4, - "25000000": 4, - "300000": 4, - "3000000": 4, - "30000000": 4, - "350000": 4, - "3500000": 4, - "400000": 4, - "4000000": 4, - "40000000": 4, - "450000": 4, - "4500000": 4, - "50000": 4, - "500000": 4, - "5000000": 4, - "50000000": 4, - "600000": 4, - "6000000": 4, - "60000000": 4, - "700000": 4, - "7000000": 4, - "800000": 4, - "8000000": 4, - "900000": 4, - "9000000": 4 + "+Inf": 3, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 }, - "count": 4, - "sum": 5192.941 + "count": 3, + "sum": 1228002635.407 } }, - "group": "apps", - "resource": "daemonsets", - "scope": "resource", - "verb": "GET", + "group": "coordination.k8s.io", + "longrunning": { + "count": 1 + }, + "resource": "leases", + "scope": "cluster", + "verb": "WATCH", "version": "v1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 4, - "1000": 2, - "10000": 4, - "100000": 4, - "1000000": 4, - "10000000": 4, - "100000000": 4, - "1000000000": 4 + "+Inf": 3, + "1000": 3, + "10000": 3, + "100000": 3, + "1000000": 3, + "10000000": 3, + "100000000": 3, + "1000000000": 3 }, - "count": 4, - "sum": 11632 + "count": 3, + "sum": 0 } } } @@ -14469,7 +13713,7 @@ "duration": { "us": { "bucket": { - "+Inf": 7, + "+Inf": 34, "100000": 0, "1000000": 0, "10000000": 0, @@ -14508,16 +13752,15 @@ "900000": 0, "9000000": 0 }, - "count": 7, - "sum": 2917007228.4469995 + "count": 34, + "sum": 14422028428.523998 } }, - "group": "apps", "longrunning": { - "count": 3 + "count": 13 }, - "resource": "daemonsets", - "scope": "cluster", + "resource": "configmaps", + "scope": "namespace", "verb": "WATCH", "version": "v1" }, @@ -14525,16 +13768,16 @@ "size": { "bytes": { "bucket": { - "+Inf": 7, - "1000": 7, - "10000": 7, - "100000": 7, - "1000000": 7, - "10000000": 7, - "100000000": 7, - "1000000000": 7 + "+Inf": 34, + "1000": 34, + "10000": 34, + "100000": 34, + "1000000": 34, + "10000000": 34, + "100000000": 34, + "1000000000": 34 }, - "count": 7, + "count": 34, "sum": 0 } } @@ -14555,40 +13798,14 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "client": { - "request": { - "count": 11 - } - }, "request": { "code": "200", - "host": "[::1]:6443", - "method": "PATCH" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "0", "component": "apiserver", - "count": 5, - "group": "networking.k8s.io", - "resource": "ingressclasses", - "scope": "cluster", - "verb": "WATCH", + "count": 2, + "group": "storage.k8s.io", + "resource": "csinodes", + "scope": "resource", + "verb": "GET", "version": "v1" } }, @@ -14719,143 +13936,6 @@ "Period": 0, "DisableTimeSeries": false }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "200", - "component": "apiserver", - "count": 6, - "resource": "pods", - "scope": "resource", - "verb": "DELETE", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "etcd": { - "object": { - "count": 53 - } - }, - "request": { - "resource": "clusterrolebindings.rbac.authorization.k8s.io" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "1250000": 2, - "150000": 2, - "1500000": 2, - "15000000": 2, - "1750000": 2, - "200000": 2, - "2000000": 2, - "20000000": 2, - "250000": 2, - "2500000": 2, - "25000000": 2, - "300000": 2, - "3000000": 2, - "30000000": 2, - "350000": 2, - "3500000": 2, - "400000": 2, - "4000000": 2, - "40000000": 2, - "450000": 2, - "4500000": 2, - "50000": 2, - "500000": 2, - "5000000": 2, - "50000000": 2, - "600000": 2, - "6000000": 2, - "60000000": 2, - "700000": 2, - "7000000": 2, - "800000": 2, - "8000000": 2, - "900000": 2, - "9000000": 2 - }, - "count": 2, - "sum": 3141.7900000000004 - } - }, - "group": "rbac.authorization.k8s.io", - "resource": "rolebindings", - "scope": "namespace", - "verb": "LIST", - "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 2, - "1000": 2, - "10000": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "100000000": 2, - "1000000000": 2 - }, - "count": 2, - "sum": 240 - } - } - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, { "RootFields": {}, "ModuleFields": null, @@ -14865,7 +13945,7 @@ "duration": { "us": { "bucket": { - "+Inf": 2, + "+Inf": 7, "100000": 0, "1000000": 0, "10000000": 0, @@ -14904,33 +13984,33 @@ "900000": 0, "9000000": 0 }, - "count": 2, - "sum": 927002263.48 + "count": 7, + "sum": 2917007228.4469995 } }, - "group": "batch", + "group": "apps", "longrunning": { - "count": 1 + "count": 3 }, - "resource": "cronjobs", + "resource": "daemonsets", "scope": "cluster", "verb": "WATCH", - "version": "v1beta1" + "version": "v1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 2, - "1000": 2, - "10000": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "100000000": 2, - "1000000000": 2 + "+Inf": 7, + "1000": 7, + "10000": 7, + "100000": 7, + "1000000": 7, + "10000000": 7, + "100000000": 7, + "1000000000": 7 }, - "count": 2, + "count": 7, "sum": 0 } } @@ -14951,14 +14031,15 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { + "client": { + "request": { + "count": 11 + } + }, "request": { - "code": "404", - "component": "apiserver", - "count": 61, - "resource": "nodes", - "scope": "resource", - "verb": "GET", - "version": "v1" + "code": "200", + "host": "[::1]:6443", + "method": "PATCH" } }, "Index": "", @@ -14977,57 +14058,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "0", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "1250000": 2, - "150000": 2, - "1500000": 2, - "15000000": 2, - "1750000": 2, - "200000": 2, - "2000000": 2, - "20000000": 2, - "250000": 2, - "2500000": 2, - "25000000": 2, - "300000": 2, - "3000000": 2, - "30000000": 2, - "350000": 2, - "3500000": 2, - "400000": 2, - "4000000": 2, - "40000000": 2, - "450000": 2, - "4500000": 2, - "50000": 2, - "500000": 2, - "5000000": 2, - "50000000": 2, - "600000": 2, - "6000000": 2, - "60000000": 2, - "700000": 2, - "7000000": 2, - "800000": 2, - "8000000": 2, - "900000": 2, - "9000000": 2 - }, - "count": 2, - "sum": 4279.515 - } - }, - "resource": "persistentvolumes", - "scope": "resource", - "subresource": "status", - "verb": "PUT", + "count": 5, + "group": "networking.k8s.io", + "resource": "ingressclasses", + "scope": "cluster", + "verb": "WATCH", "version": "v1" } }, @@ -15046,13 +14083,77 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "etcd": { - "object": { - "count": 0 - } - }, "request": { - "resource": "validatingwebhookconfigurations.admissionregistration.k8s.io" + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 4, + "100000": 4, + "1000000": 4, + "10000000": 4, + "1250000": 4, + "150000": 4, + "1500000": 4, + "15000000": 4, + "1750000": 4, + "200000": 4, + "2000000": 4, + "20000000": 4, + "250000": 4, + "2500000": 4, + "25000000": 4, + "300000": 4, + "3000000": 4, + "30000000": 4, + "350000": 4, + "3500000": 4, + "400000": 4, + "4000000": 4, + "40000000": 4, + "450000": 4, + "4500000": 4, + "50000": 4, + "500000": 4, + "5000000": 4, + "50000000": 4, + "600000": 4, + "6000000": 4, + "60000000": 4, + "700000": 4, + "7000000": 4, + "800000": 4, + "8000000": 4, + "900000": 4, + "9000000": 4 + }, + "count": 4, + "sum": 5192.941 + } + }, + "group": "apps", + "resource": "daemonsets", + "scope": "resource", + "verb": "GET", + "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 4, + "1000": 2, + "10000": 4, + "100000": 4, + "1000000": 4, + "10000000": 4, + "100000000": 4, + "1000000000": 4 + }, + "count": 4, + "sum": 11632 + } + } } }, "Index": "", @@ -15071,14 +14172,15 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", "component": "apiserver", - "count": 2, - "group": "batch", - "resource": "cronjobs", - "scope": "cluster", - "verb": "WATCH", - "version": "v1beta1" + "longrunning": { + "count": 1 + }, + "resource": "pods", + "scope": "namespace", + "subresource": "exec", + "verb": "POST", + "version": "v1" } }, "Index": "", @@ -15101,52 +14203,51 @@ "duration": { "us": { "bucket": { - "+Inf": 38, - "100000": 38, - "1000000": 38, - "10000000": 38, - "1250000": 38, - "150000": 38, - "1500000": 38, - "15000000": 38, - "1750000": 38, - "200000": 38, - "2000000": 38, - "20000000": 38, - "250000": 38, - "2500000": 38, - "25000000": 38, - "300000": 38, - "3000000": 38, - "30000000": 38, - "350000": 38, - "3500000": 38, - "400000": 38, - "4000000": 38, - "40000000": 38, - "450000": 38, - "4500000": 38, - "50000": 38, - "500000": 38, - "5000000": 38, - "50000000": 38, - "600000": 38, - "6000000": 38, - "60000000": 38, - "700000": 38, - "7000000": 38, - "800000": 38, - "8000000": 38, - "900000": 38, - "9000000": 38 + "+Inf": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "1250000": 1, + "150000": 1, + "1500000": 1, + "15000000": 1, + "1750000": 1, + "200000": 1, + "2000000": 1, + "20000000": 1, + "250000": 1, + "2500000": 1, + "25000000": 1, + "300000": 1, + "3000000": 1, + "30000000": 1, + "350000": 1, + "3500000": 1, + "400000": 1, + "4000000": 1, + "40000000": 1, + "450000": 1, + "4500000": 1, + "50000": 1, + "500000": 1, + "5000000": 1, + "50000000": 1, + "600000": 1, + "6000000": 1, + "60000000": 1, + "700000": 1, + "7000000": 1, + "800000": 1, + "8000000": 1, + "900000": 1, + "9000000": 1 }, - "count": 38, - "sum": 151822.701 + "count": 1, + "sum": 2823.041 } }, - "resource": "pods", + "resource": "persistentvolumeclaims", "scope": "resource", - "subresource": "binding", "verb": "POST", "version": "v1" } @@ -15167,11 +14268,55 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "201", "component": "apiserver", - "count": 6, - "group": "coordination.k8s.io", - "resource": "leases", + "duration": { + "us": { + "bucket": { + "+Inf": 3, + "100000": 3, + "1000000": 3, + "10000000": 3, + "1250000": 3, + "150000": 3, + "1500000": 3, + "15000000": 3, + "1750000": 3, + "200000": 3, + "2000000": 3, + "20000000": 3, + "250000": 3, + "2500000": 3, + "25000000": 3, + "300000": 3, + "3000000": 3, + "30000000": 3, + "350000": 3, + "3500000": 3, + "400000": 3, + "4000000": 3, + "40000000": 3, + "450000": 3, + "4500000": 3, + "50000": 3, + "500000": 3, + "5000000": 3, + "50000000": 3, + "600000": 3, + "6000000": 3, + "60000000": 3, + "700000": 3, + "7000000": 3, + "800000": 3, + "8000000": 3, + "900000": 3, + "9000000": 3 + }, + "count": 3, + "sum": 5904.927 + } + }, + "group": "discovery.k8s.io", + "resource": "endpointslices", "scope": "resource", "verb": "POST", "version": "v1" @@ -15193,14 +14338,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", + "code": "404", "component": "apiserver", - "count": 13, + "count": 1, "group": "apps", - "resource": "deployments", + "resource": "statefulsets", "scope": "resource", - "subresource": "status", - "verb": "PUT", + "verb": "GET", "version": "v1" } }, @@ -15220,13 +14364,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", "component": "apiserver", - "count": 1, - "group": "autoscaling", - "resource": "horizontalpodautoscalers", - "scope": "cluster", - "verb": "LIST", + "group": "certificates.k8s.io", + "longrunning": { + "count": 0 + }, + "resource": "certificatesigningrequests", + "scope": "resource", + "verb": "GET", "version": "v1" } }, @@ -15246,56 +14391,12 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 184, - "100000": 184, - "1000000": 184, - "10000000": 184, - "1250000": 184, - "150000": 184, - "1500000": 184, - "15000000": 184, - "1750000": 184, - "200000": 184, - "2000000": 184, - "20000000": 184, - "250000": 184, - "2500000": 184, - "25000000": 184, - "300000": 184, - "3000000": 184, - "30000000": 184, - "350000": 184, - "3500000": 184, - "400000": 184, - "4000000": 184, - "40000000": 184, - "450000": 184, - "4500000": 184, - "50000": 184, - "500000": 184, - "5000000": 184, - "50000000": 184, - "600000": 184, - "6000000": 184, - "60000000": 184, - "700000": 184, - "7000000": 184, - "800000": 184, - "8000000": 184, - "900000": 184, - "9000000": 184 - }, - "count": 184, - "sum": 561807.3190000001 - } - }, - "resource": "events", + "count": 87, + "resource": "pods", "scope": "resource", - "verb": "POST", + "verb": "GET", "version": "v1" } }, @@ -15310,6 +14411,48 @@ "Period": 0, "DisableTimeSeries": false }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "group": "storage.k8s.io", + "version": "v1beta1" + }, + "watch": { + "events": { + "kind": "CSIStorageCapacity", + "size": { + "bytes": { + "bucket": { + "+Inf": 14, + "1024": 14, + "131072": 14, + "16384": 14, + "2048": 14, + "32768": 14, + "4096": 14, + "65536": 14, + "8192": 14 + }, + "count": 14, + "sum": 1148 + } + } + } + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, { "RootFields": {}, "ModuleFields": null, @@ -15319,72 +14462,70 @@ "duration": { "us": { "bucket": { - "+Inf": 8, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 + "+Inf": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "1250000": 2, + "150000": 2, + "1500000": 2, + "15000000": 2, + "1750000": 2, + "200000": 2, + "2000000": 2, + "20000000": 2, + "250000": 2, + "2500000": 2, + "25000000": 2, + "300000": 2, + "3000000": 2, + "30000000": 2, + "350000": 2, + "3500000": 2, + "400000": 2, + "4000000": 2, + "40000000": 2, + "450000": 2, + "4500000": 2, + "50000": 2, + "500000": 2, + "5000000": 2, + "50000000": 2, + "600000": 2, + "6000000": 2, + "60000000": 2, + "700000": 2, + "7000000": 2, + "800000": 2, + "8000000": 2, + "900000": 2, + "9000000": 2 }, - "count": 8, - "sum": 3510006351.92 + "count": 2, + "sum": 713.132 } }, - "longrunning": { - "count": 3 - }, - "resource": "replicationcontrollers", + "group": "apiregistration.k8s.io", + "resource": "apiservices", "scope": "cluster", - "verb": "WATCH", + "verb": "LIST", "version": "v1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 8, - "1000": 8, - "10000": 8, - "100000": 8, - "1000000": 8, - "10000000": 8, - "100000000": 8, - "1000000000": 8 + "+Inf": 2, + "1000": 1, + "10000": 1, + "100000": 2, + "1000000": 2, + "10000000": 2, + "100000000": 2, + "1000000000": 2 }, - "count": 8, - "sum": 0 + "count": 2, + "sum": 14960 } } } @@ -15400,30 +14541,6 @@ "Period": 0, "DisableTimeSeries": false }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "etcd": { - "object": { - "count": 4 - } - }, - "request": { - "resource": "controllerrevisions.apps" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, { "RootFields": {}, "ModuleFields": null, @@ -15473,11 +14590,10 @@ "9000000": 3 }, "count": 3, - "sum": 1015.211 + "sum": 3521.213 } }, - "group": "storage.k8s.io", - "resource": "volumeattachments", + "resource": "replicationcontrollers", "scope": "cluster", "verb": "LIST", "version": "v1" @@ -15496,7 +14612,7 @@ "1000000000": 3 }, "count": 3, - "sum": 186 + "sum": 156 } } } @@ -15512,6 +14628,30 @@ "Period": 0, "DisableTimeSeries": false }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "etcd": { + "object": { + "count": 11 + } + }, + "request": { + "resource": "flowschemas.flowcontrol.apiserver.k8s.io" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, { "RootFields": {}, "ModuleFields": null, @@ -15519,10 +14659,9 @@ "request": { "code": "0", "component": "apiserver", - "count": 3, - "group": "coordination.k8s.io", - "resource": "leases", - "scope": "namespace", + "count": 2, + "resource": "events", + "scope": "cluster", "verb": "WATCH", "version": "v1" } @@ -15538,6 +14677,48 @@ "Period": 0, "DisableTimeSeries": false }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "group": "autoscaling", + "version": "v2beta1" + }, + "watch": { + "events": { + "kind": "HorizontalPodAutoscaler", + "size": { + "bytes": { + "bucket": { + "+Inf": 10, + "1024": 10, + "131072": 10, + "16384": 10, + "2048": 10, + "32768": 10, + "4096": 10, + "65536": 10, + "8192": 10 + }, + "count": 10, + "sum": 1000 + } + } + } + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, { "RootFields": {}, "ModuleFields": null, @@ -15545,10 +14726,12 @@ "request": { "code": "200", "component": "apiserver", - "count": 31, - "resource": "resourcequotas", - "scope": "namespace", - "verb": "LIST", + "count": 13, + "group": "apps", + "resource": "deployments", + "scope": "resource", + "subresource": "status", + "verb": "PUT", "version": "v1" } }, @@ -15568,76 +14751,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "201", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 3, - "100000": 3, - "1000000": 3, - "10000000": 3, - "1250000": 3, - "150000": 3, - "1500000": 3, - "15000000": 3, - "1750000": 3, - "200000": 3, - "2000000": 3, - "20000000": 3, - "250000": 3, - "2500000": 3, - "25000000": 3, - "300000": 3, - "3000000": 3, - "30000000": 3, - "350000": 3, - "3500000": 3, - "400000": 3, - "4000000": 3, - "40000000": 3, - "450000": 3, - "4500000": 3, - "50000": 3, - "500000": 3, - "5000000": 3, - "50000000": 3, - "600000": 3, - "6000000": 3, - "60000000": 3, - "700000": 3, - "7000000": 3, - "800000": 3, - "8000000": 3, - "900000": 3, - "9000000": 3 - }, - "count": 3, - "sum": 962.1300000000001 - } - }, - "group": "admissionregistration.k8s.io", - "resource": "validatingwebhookconfigurations", - "scope": "cluster", - "verb": "LIST", + "count": 6, + "group": "coordination.k8s.io", + "resource": "leases", + "scope": "resource", + "verb": "POST", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 3, - "1000": 3, - "10000": 3, - "100000": 3, - "1000000": 3, - "10000000": 3, - "100000000": 3, - "1000000000": 3 - }, - "count": 3, - "sum": 270 - } - } } }, "Index": "", @@ -15656,14 +14777,58 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", "component": "apiserver", - "count": 1, - "group": "batch", - "resource": "cronjobs", - "scope": "cluster", - "verb": "LIST", - "version": "v1beta1" + "duration": { + "us": { + "bucket": { + "+Inf": 38, + "100000": 38, + "1000000": 38, + "10000000": 38, + "1250000": 38, + "150000": 38, + "1500000": 38, + "15000000": 38, + "1750000": 38, + "200000": 38, + "2000000": 38, + "20000000": 38, + "250000": 38, + "2500000": 38, + "25000000": 38, + "300000": 38, + "3000000": 38, + "30000000": 38, + "350000": 38, + "3500000": 38, + "400000": 38, + "4000000": 38, + "40000000": 38, + "450000": 38, + "4500000": 38, + "50000": 38, + "500000": 38, + "5000000": 38, + "50000000": 38, + "600000": 38, + "6000000": 38, + "60000000": 38, + "700000": 38, + "7000000": 38, + "800000": 38, + "8000000": 38, + "900000": 38, + "9000000": 38 + }, + "count": 38, + "sum": 151822.701 + } + }, + "resource": "pods", + "scope": "resource", + "subresource": "binding", + "verb": "POST", + "version": "v1" } }, "Index": "", @@ -15726,99 +14891,10 @@ "9000000": 2 }, "count": 2, - "sum": 14386.007000000001 - } - }, - "group": "rbac.authorization.k8s.io", - "resource": "roles", - "scope": "cluster", - "verb": "LIST", - "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 2, - "1000": 1, - "10000": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "100000000": 2, - "1000000000": 2 - }, - "count": 2, - "sum": 4782 - } - } - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 22, - "100000": 22, - "1000000": 22, - "10000000": 22, - "1250000": 22, - "150000": 22, - "1500000": 22, - "15000000": 22, - "1750000": 22, - "200000": 22, - "2000000": 22, - "20000000": 22, - "250000": 22, - "2500000": 22, - "25000000": 22, - "300000": 22, - "3000000": 22, - "30000000": 22, - "350000": 22, - "3500000": 22, - "400000": 22, - "4000000": 22, - "40000000": 22, - "450000": 22, - "4500000": 22, - "50000": 22, - "500000": 22, - "5000000": 22, - "50000000": 22, - "600000": 22, - "6000000": 22, - "60000000": 22, - "700000": 22, - "7000000": 22, - "800000": 22, - "8000000": 22, - "900000": 22, - "9000000": 22 - }, - "count": 22, - "sum": 135110.06400000004 + "sum": 4279.515 } }, - "group": "apps", - "resource": "daemonsets", + "resource": "persistentvolumes", "scope": "resource", "subresource": "status", "verb": "PUT", @@ -15840,15 +14916,13 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "client": { - "request": { - "count": 184 + "etcd": { + "object": { + "count": 0 } }, "request": { - "code": "201", - "host": "[::1]:6443", - "method": "POST" + "resource": "validatingwebhookconfigurations.admissionregistration.k8s.io" } }, "Index": "", @@ -15867,30 +14941,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "storage.k8s.io", - "version": "v1" - }, - "watch": { - "events": { - "kind": "StorageClass", - "size": { - "bytes": { - "bucket": { - "+Inf": 34, - "1024": 34, - "131072": 34, - "16384": 34, - "2048": 34, - "32768": 34, - "4096": 34, - "65536": 34, - "8192": 34 - }, - "count": 34, - "sum": 4010 - } - } - } + "code": "0", + "component": "apiserver", + "count": 2, + "group": "batch", + "resource": "cronjobs", + "scope": "cluster", + "verb": "WATCH", + "version": "v1beta1" } }, "Index": "", @@ -15909,57 +14967,12 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "404", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 124, - "100000": 124, - "1000000": 124, - "10000000": 124, - "1250000": 124, - "150000": 124, - "1500000": 124, - "15000000": 124, - "1750000": 124, - "200000": 124, - "2000000": 124, - "20000000": 124, - "250000": 124, - "2500000": 124, - "25000000": 124, - "300000": 124, - "3000000": 124, - "30000000": 124, - "350000": 124, - "3500000": 124, - "400000": 124, - "4000000": 124, - "40000000": 124, - "450000": 124, - "4500000": 124, - "50000": 124, - "500000": 124, - "5000000": 124, - "50000000": 124, - "600000": 124, - "6000000": 124, - "60000000": 124, - "700000": 124, - "7000000": 124, - "800000": 124, - "8000000": 124, - "900000": 124, - "9000000": 124 - }, - "count": 124, - "sum": 132482.84000000008 - } - }, - "group": "authorization.k8s.io", - "resource": "subjectaccessreviews", + "count": 61, + "resource": "nodes", "scope": "resource", - "verb": "POST", + "verb": "GET", "version": "v1" } }, @@ -15978,75 +14991,78 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "1250000": 1, - "150000": 1, - "1500000": 1, - "15000000": 1, - "1750000": 1, - "200000": 1, - "2000000": 1, - "20000000": 1, - "250000": 1, - "2500000": 1, - "25000000": 1, - "300000": 1, - "3000000": 1, - "30000000": 1, - "350000": 1, - "3500000": 1, - "400000": 1, - "4000000": 1, - "40000000": 1, - "450000": 1, - "4500000": 1, - "50000": 1, - "500000": 1, - "5000000": 1, - "50000000": 1, - "600000": 1, - "6000000": 1, - "60000000": 1, - "700000": 1, - "7000000": 1, - "800000": 1, - "8000000": 1, - "900000": 1, - "9000000": 1 + "request": { + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 2, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 }, - "count": 1, - "sum": 1894.864 + "count": 2, + "sum": 927002263.48 } }, - "group": "storage.k8s.io", - "resource": "storageclasses", - "scope": "resource", - "verb": "GET", - "version": "v1" + "group": "batch", + "longrunning": { + "count": 1 + }, + "resource": "cronjobs", + "scope": "cluster", + "verb": "WATCH", + "version": "v1beta1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 1, - "1000": 1, - "10000": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "100000000": 1, - "1000000000": 1 + "+Inf": 2, + "1000": 2, + "10000": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "100000000": 2, + "1000000000": 2 }, - "count": 1, - "sum": 244 + "count": 2, + "sum": 0 } } } @@ -16066,15 +15082,13 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { + "etcd": { + "object": { + "count": 53 + } + }, "request": { - "code": "200", - "component": "apiserver", - "count": 1, - "group": "autoscaling", - "resource": "horizontalpodautoscalers", - "scope": "cluster", - "verb": "LIST", - "version": "v2beta1" + "resource": "clusterrolebindings.rbac.authorization.k8s.io" } }, "Index": "", @@ -16137,12 +15151,12 @@ "9000000": 2 }, "count": 2, - "sum": 5519.6 + "sum": 3141.7900000000004 } }, - "group": "networking.k8s.io", - "resource": "ingressclasses", - "scope": "cluster", + "group": "rbac.authorization.k8s.io", + "resource": "rolebindings", + "scope": "namespace", "verb": "LIST", "version": "v1" }, @@ -16160,7 +15174,7 @@ "1000000000": 2 }, "count": 2, - "sum": 122 + "sum": 240 } } } @@ -16176,6 +15190,31 @@ "Period": 0, "DisableTimeSeries": false }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "200", + "component": "apiserver", + "count": 6, + "resource": "pods", + "scope": "resource", + "verb": "DELETE", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, { "RootFields": {}, "ModuleFields": null, @@ -16185,73 +15224,70 @@ "duration": { "us": { "bucket": { - "+Inf": 6, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 + "+Inf": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "1250000": 1, + "150000": 1, + "1500000": 1, + "15000000": 1, + "1750000": 1, + "200000": 1, + "2000000": 1, + "20000000": 1, + "250000": 1, + "2500000": 1, + "25000000": 1, + "300000": 1, + "3000000": 1, + "30000000": 1, + "350000": 1, + "3500000": 1, + "400000": 1, + "4000000": 1, + "40000000": 1, + "450000": 1, + "4500000": 1, + "50000": 1, + "500000": 1, + "5000000": 1, + "50000000": 1, + "600000": 1, + "6000000": 1, + "60000000": 1, + "700000": 1, + "7000000": 1, + "800000": 1, + "8000000": 1, + "900000": 1, + "9000000": 1 }, - "count": 6, - "sum": 2468004584.851 + "count": 1, + "sum": 1894.864 } }, - "group": "policy", - "longrunning": { - "count": 2 - }, - "resource": "poddisruptionbudgets", - "scope": "cluster", - "verb": "WATCH", + "group": "storage.k8s.io", + "resource": "storageclasses", + "scope": "resource", + "verb": "GET", "version": "v1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 6, - "1000": 6, - "10000": 6, - "100000": 6, - "1000000": 6, - "10000000": 6, - "100000000": 6, - "1000000000": 6 + "+Inf": 1, + "1000": 1, + "10000": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "100000000": 1, + "1000000000": 1 }, - "count": 6, - "sum": 0 + "count": 1, + "sum": 244 } } } @@ -16272,13 +15308,83 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", + "code": "200", + "component": "apiserver", + "count": 1, + "group": "autoscaling", + "resource": "horizontalpodautoscalers", + "scope": "cluster", + "verb": "LIST", + "version": "v2beta1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { "component": "apiserver", - "count": 3, - "group": "discovery.k8s.io", - "resource": "endpointslices", - "scope": "cluster", - "verb": "WATCH", + "duration": { + "us": { + "bucket": { + "+Inf": 124, + "100000": 124, + "1000000": 124, + "10000000": 124, + "1250000": 124, + "150000": 124, + "1500000": 124, + "15000000": 124, + "1750000": 124, + "200000": 124, + "2000000": 124, + "20000000": 124, + "250000": 124, + "2500000": 124, + "25000000": 124, + "300000": 124, + "3000000": 124, + "30000000": 124, + "350000": 124, + "3500000": 124, + "400000": 124, + "4000000": 124, + "40000000": 124, + "450000": 124, + "4500000": 124, + "50000": 124, + "500000": 124, + "5000000": 124, + "50000000": 124, + "600000": 124, + "6000000": 124, + "60000000": 124, + "700000": 124, + "7000000": 124, + "800000": 124, + "8000000": 124, + "900000": 124, + "9000000": 124 + }, + "count": 124, + "sum": 132482.84000000008 + } + }, + "group": "authorization.k8s.io", + "resource": "subjectaccessreviews", + "scope": "resource", + "verb": "POST", "version": "v1" } }, @@ -16342,11 +15448,11 @@ "9000000": 2 }, "count": 2, - "sum": 16126.376000000002 + "sum": 14386.007000000001 } }, - "group": "apiextensions.k8s.io", - "resource": "customresourcedefinitions", + "group": "rbac.authorization.k8s.io", + "resource": "roles", "scope": "cluster", "verb": "LIST", "version": "v1" @@ -16356,7 +15462,7 @@ "bytes": { "bucket": { "+Inf": 2, - "1000": 2, + "1000": 1, "10000": 2, "100000": 2, "1000000": 2, @@ -16365,7 +15471,7 @@ "1000000000": 2 }, "count": 2, - "sum": 140 + "sum": 4782 } } } @@ -16386,188 +15492,28 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "201", - "component": "apiserver", - "count": 1, - "resource": "persistentvolumeclaims", - "scope": "resource", - "verb": "POST", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "etcd": { - "object": { - "count": 44 - } - }, - "request": { - "resource": "secrets" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { + "group": "storage.k8s.io", "version": "v1" }, "watch": { - "events": { - "kind": "PodTemplate", - "size": { - "bytes": { - "bucket": { - "+Inf": 7, - "1024": 7, - "131072": 7, - "16384": 7, - "2048": 7, - "32768": 7, - "4096": 7, - "65536": 7, - "8192": 7 - }, - "count": 7, - "sum": 735 - } - } - } - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "200", - "component": "apiserver", - "count": 17, - "resource": "nodes", - "scope": "resource", - "verb": "PATCH", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "1250000": 1, - "150000": 1, - "1500000": 1, - "15000000": 1, - "1750000": 1, - "200000": 1, - "2000000": 1, - "20000000": 1, - "250000": 1, - "2500000": 1, - "25000000": 1, - "300000": 1, - "3000000": 1, - "30000000": 1, - "350000": 1, - "3500000": 1, - "400000": 1, - "4000000": 1, - "40000000": 1, - "450000": 1, - "4500000": 1, - "50000": 1, - "500000": 1, - "5000000": 1, - "50000000": 1, - "600000": 1, - "6000000": 1, - "60000000": 1, - "700000": 1, - "7000000": 1, - "800000": 1, - "8000000": 1, - "900000": 1, - "9000000": 1 - }, - "count": 1, - "sum": 1245.864 - } - }, - "resource": "persistentvolumeclaims", - "scope": "resource", - "verb": "GET", - "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 1, - "1000": 1, - "10000": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "100000000": 1, - "1000000000": 1 - }, - "count": 1, - "sum": 230 + "events": { + "kind": "StorageClass", + "size": { + "bytes": { + "bucket": { + "+Inf": 34, + "1024": 34, + "131072": 34, + "16384": 34, + "2048": 34, + "32768": 34, + "4096": 34, + "65536": 34, + "8192": 34 + }, + "count": 34, + "sum": 4010 + } } } } @@ -16592,53 +15538,54 @@ "duration": { "us": { "bucket": { - "+Inf": 3, - "100000": 3, - "1000000": 3, - "10000000": 3, - "1250000": 3, - "150000": 3, - "1500000": 3, - "15000000": 3, - "1750000": 3, - "200000": 3, - "2000000": 3, - "20000000": 3, - "250000": 3, - "2500000": 3, - "25000000": 3, - "300000": 3, - "3000000": 3, - "30000000": 3, - "350000": 3, - "3500000": 3, - "400000": 3, - "4000000": 3, - "40000000": 3, - "450000": 3, - "4500000": 3, - "50000": 3, - "500000": 3, - "5000000": 3, - "50000000": 3, - "600000": 3, - "6000000": 3, - "60000000": 3, - "700000": 3, - "7000000": 3, - "800000": 3, - "8000000": 3, - "900000": 3, - "9000000": 3 + "+Inf": 22, + "100000": 22, + "1000000": 22, + "10000000": 22, + "1250000": 22, + "150000": 22, + "1500000": 22, + "15000000": 22, + "1750000": 22, + "200000": 22, + "2000000": 22, + "20000000": 22, + "250000": 22, + "2500000": 22, + "25000000": 22, + "300000": 22, + "3000000": 22, + "30000000": 22, + "350000": 22, + "3500000": 22, + "400000": 22, + "4000000": 22, + "40000000": 22, + "450000": 22, + "4500000": 22, + "50000": 22, + "500000": 22, + "5000000": 22, + "50000000": 22, + "600000": 22, + "6000000": 22, + "60000000": 22, + "700000": 22, + "7000000": 22, + "800000": 22, + "8000000": 22, + "900000": 22, + "9000000": 22 }, - "count": 3, - "sum": 12202.156 + "count": 22, + "sum": 135110.06400000004 } }, "group": "apps", - "resource": "deployments", + "resource": "daemonsets", "scope": "resource", - "verb": "POST", + "subresource": "status", + "verb": "PUT", "version": "v1" } }, @@ -16657,15 +15604,15 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { + "client": { + "request": { + "count": 184 + } + }, "request": { - "code": "200", - "component": "apiserver", - "count": 2, - "group": "rbac.authorization.k8s.io", - "resource": "rolebindings", - "scope": "namespace", - "verb": "LIST", - "version": "v1" + "code": "201", + "host": "[::1]:6443", + "method": "POST" } }, "Index": "", @@ -16684,79 +15631,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 6, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 - }, - "count": 6, - "sum": 2406004969.7720003 - } - }, + "count": 1, "group": "batch", - "longrunning": { - "count": 3 - }, - "resource": "jobs", + "resource": "cronjobs", "scope": "cluster", - "verb": "WATCH", - "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 6, - "1000": 6, - "10000": 6, - "100000": 6, - "1000000": 6, - "10000000": 6, - "100000000": 6, - "1000000000": 6 - }, - "count": 6, - "sum": 0 - } - } + "verb": "LIST", + "version": "v1beta1" } }, "Index": "", @@ -16775,13 +15657,12 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "404", + "code": "200", "component": "apiserver", - "count": 1, - "group": "storage.k8s.io", - "resource": "storageclasses", - "scope": "resource", - "verb": "GET", + "count": 31, + "resource": "resourcequotas", + "scope": "namespace", + "verb": "LIST", "version": "v1" } }, @@ -16792,64 +15673,64 @@ "Error": null, "Host": "", "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 4, - "100000": 4, - "1000000": 4, - "10000000": 4, - "1250000": 4, - "150000": 4, - "1500000": 4, - "15000000": 4, - "1750000": 4, - "200000": 4, - "2000000": 4, - "20000000": 4, - "250000": 4, - "2500000": 4, - "25000000": 4, - "300000": 4, - "3000000": 4, - "30000000": 4, - "350000": 4, - "3500000": 4, - "400000": 4, - "4000000": 4, - "40000000": 4, - "450000": 4, - "4500000": 4, - "50000": 4, - "500000": 4, - "5000000": 4, - "50000000": 4, - "600000": 4, - "6000000": 4, - "60000000": 4, - "700000": 4, - "7000000": 4, - "800000": 4, - "8000000": 4, - "900000": 4, - "9000000": 4 + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 3, + "100000": 3, + "1000000": 3, + "10000000": 3, + "1250000": 3, + "150000": 3, + "1500000": 3, + "15000000": 3, + "1750000": 3, + "200000": 3, + "2000000": 3, + "20000000": 3, + "250000": 3, + "2500000": 3, + "25000000": 3, + "300000": 3, + "3000000": 3, + "30000000": 3, + "350000": 3, + "3500000": 3, + "400000": 3, + "4000000": 3, + "40000000": 3, + "450000": 3, + "4500000": 3, + "50000": 3, + "500000": 3, + "5000000": 3, + "50000000": 3, + "600000": 3, + "6000000": 3, + "60000000": 3, + "700000": 3, + "7000000": 3, + "800000": 3, + "8000000": 3, + "900000": 3, + "9000000": 3 }, - "count": 4, - "sum": 6066.859 + "count": 3, + "sum": 962.1300000000001 } }, - "group": "apps", - "resource": "replicasets", + "group": "admissionregistration.k8s.io", + "resource": "validatingwebhookconfigurations", "scope": "cluster", "verb": "LIST", "version": "v1" @@ -16858,17 +15739,17 @@ "size": { "bytes": { "bucket": { - "+Inf": 4, - "1000": 2, + "+Inf": 3, + "1000": 3, "10000": 3, - "100000": 4, - "1000000": 4, - "10000000": 4, - "100000000": 4, - "1000000000": 4 + "100000": 3, + "1000000": 3, + "10000000": 3, + "100000000": 3, + "1000000000": 3 }, - "count": 4, - "sum": 22775 + "count": 3, + "sum": 270 } } } @@ -16888,13 +15769,15 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "etcd": { - "object": { - "count": 7 - } - }, "request": { - "resource": "prioritylevelconfigurations.flowcontrol.apiserver.k8s.io" + "code": "0", + "component": "apiserver", + "count": 3, + "group": "coordination.k8s.io", + "resource": "leases", + "scope": "namespace", + "verb": "WATCH", + "version": "v1" } }, "Index": "", @@ -16913,13 +15796,76 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", "component": "apiserver", - "count": 13, - "resource": "configmaps", - "scope": "namespace", + "duration": { + "us": { + "bucket": { + "+Inf": 3, + "100000": 3, + "1000000": 3, + "10000000": 3, + "1250000": 3, + "150000": 3, + "1500000": 3, + "15000000": 3, + "1750000": 3, + "200000": 3, + "2000000": 3, + "20000000": 3, + "250000": 3, + "2500000": 3, + "25000000": 3, + "300000": 3, + "3000000": 3, + "30000000": 3, + "350000": 3, + "3500000": 3, + "400000": 3, + "4000000": 3, + "40000000": 3, + "450000": 3, + "4500000": 3, + "50000": 3, + "500000": 3, + "5000000": 3, + "50000000": 3, + "600000": 3, + "6000000": 3, + "60000000": 3, + "700000": 3, + "7000000": 3, + "800000": 3, + "8000000": 3, + "900000": 3, + "9000000": 3 + }, + "count": 3, + "sum": 1015.211 + } + }, + "group": "storage.k8s.io", + "resource": "volumeattachments", + "scope": "cluster", "verb": "LIST", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 3, + "1000": 3, + "10000": 3, + "100000": 3, + "1000000": 3, + "10000000": 3, + "100000000": 3, + "1000000000": 3 + }, + "count": 3, + "sum": 186 + } + } } }, "Index": "", @@ -16942,54 +15888,74 @@ "duration": { "us": { "bucket": { - "+Inf": 69, - "100000": 69, - "1000000": 69, - "10000000": 69, - "1250000": 69, - "150000": 69, - "1500000": 69, - "15000000": 69, - "1750000": 69, - "200000": 69, - "2000000": 69, - "20000000": 69, - "250000": 69, - "2500000": 69, - "25000000": 69, - "300000": 69, - "3000000": 69, - "30000000": 69, - "350000": 69, - "3500000": 69, - "400000": 69, - "4000000": 69, - "40000000": 69, - "450000": 69, - "4500000": 69, - "50000": 69, - "500000": 69, - "5000000": 69, - "50000000": 69, - "600000": 69, - "6000000": 69, - "60000000": 69, - "700000": 69, - "7000000": 69, - "800000": 69, - "8000000": 69, - "900000": 69, - "9000000": 69 + "+Inf": 8, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 + }, + "count": 8, + "sum": 3510006351.92 + } + }, + "longrunning": { + "count": 3 + }, + "resource": "replicationcontrollers", + "scope": "cluster", + "verb": "WATCH", + "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 8, + "1000": 8, + "10000": 8, + "100000": 8, + "1000000": 8, + "10000000": 8, + "100000000": 8, + "1000000000": 8 }, - "count": 69, - "sum": 104476.538 + "count": 8, + "sum": 0 } - }, - "group": "rbac.authorization.k8s.io", - "resource": "clusterroles", - "scope": "resource", - "verb": "POST", - "version": "v1" + } } }, "Index": "", @@ -17007,31 +15973,13 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "request": { - "group": "storage.k8s.io", - "version": "v1" - }, - "watch": { - "events": { - "kind": "CSIDriver", - "size": { - "bytes": { - "bucket": { - "+Inf": 41, - "1024": 41, - "131072": 41, - "16384": 41, - "2048": 41, - "32768": 41, - "4096": 41, - "65536": 41, - "8192": 41 - }, - "count": 41, - "sum": 2788 - } - } + "etcd": { + "object": { + "count": 4 } + }, + "request": { + "resource": "controllerrevisions.apps" } }, "Index": "", @@ -17050,13 +15998,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "201", + "code": "200", "component": "apiserver", "count": 1, - "group": "apps", - "resource": "statefulsets", - "scope": "resource", - "verb": "POST", + "group": "autoscaling", + "resource": "horizontalpodautoscalers", + "scope": "cluster", + "verb": "LIST", "version": "v1" } }, @@ -17076,13 +16024,56 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", "component": "apiserver", - "count": 13, - "group": "node.k8s.io", - "resource": "runtimeclasses", - "scope": "cluster", - "verb": "WATCH", + "duration": { + "us": { + "bucket": { + "+Inf": 184, + "100000": 184, + "1000000": 184, + "10000000": 184, + "1250000": 184, + "150000": 184, + "1500000": 184, + "15000000": 184, + "1750000": 184, + "200000": 184, + "2000000": 184, + "20000000": 184, + "250000": 184, + "2500000": 184, + "25000000": 184, + "300000": 184, + "3000000": 184, + "30000000": 184, + "350000": 184, + "3500000": 184, + "400000": 184, + "4000000": 184, + "40000000": 184, + "450000": 184, + "4500000": 184, + "50000": 184, + "500000": 184, + "5000000": 184, + "50000000": 184, + "600000": 184, + "6000000": 184, + "60000000": 184, + "700000": 184, + "7000000": 184, + "800000": 184, + "8000000": 184, + "900000": 184, + "9000000": 184 + }, + "count": 184, + "sum": 561807.3190000001 + } + }, + "resource": "events", + "scope": "resource", + "verb": "POST", "version": "v1" } }, @@ -17146,55 +16137,14 @@ "9000000": 2 }, "count": 2, - "sum": 4906.463 + "sum": 2657.845 } }, - "group": "rbac.authorization.k8s.io", - "resource": "rolebindings", + "group": "scheduling.k8s.io", + "resource": "priorityclasses", "scope": "resource", - "verb": "DELETE", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { + "verb": "POST", "version": "v1" - }, - "watch": { - "events": { - "kind": "Namespace", - "size": { - "bytes": { - "bucket": { - "+Inf": 145, - "1024": 145, - "131072": 145, - "16384": 145, - "2048": 145, - "32768": 145, - "4096": 145, - "65536": 145, - "8192": 145 - }, - "count": 145, - "sum": 17237 - } - } - } } }, "Index": "", @@ -17216,11 +16166,11 @@ "code": "404", "component": "apiserver", "count": 2, - "group": "flowcontrol.apiserver.k8s.io", - "resource": "flowschemas", + "group": "apps", + "resource": "daemonsets", "scope": "resource", "verb": "GET", - "version": "v1beta1" + "version": "v1" } }, "Index": "", @@ -17283,39 +16233,13 @@ "9000000": 2 }, "count": 2, - "sum": 2657.845 + "sum": 4906.463 } }, - "group": "scheduling.k8s.io", - "resource": "priorityclasses", - "scope": "resource", - "verb": "POST", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "404", - "component": "apiserver", - "count": 2, - "group": "apps", - "resource": "daemonsets", + "group": "rbac.authorization.k8s.io", + "resource": "rolebindings", "scope": "resource", - "verb": "GET", + "verb": "DELETE", "version": "v1" } }, @@ -17333,61 +16257,31 @@ { "RootFields": {}, "ModuleFields": null, - "MetricSetFields": { - "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 3, - "100000": 3, - "1000000": 3, - "10000000": 3, - "1250000": 3, - "150000": 3, - "1500000": 3, - "15000000": 3, - "1750000": 3, - "200000": 3, - "2000000": 3, - "20000000": 3, - "250000": 3, - "2500000": 3, - "25000000": 3, - "300000": 3, - "3000000": 3, - "30000000": 3, - "350000": 3, - "3500000": 3, - "400000": 3, - "4000000": 3, - "40000000": 3, - "450000": 3, - "4500000": 3, - "50000": 3, - "500000": 3, - "5000000": 3, - "50000000": 3, - "600000": 3, - "6000000": 3, - "60000000": 3, - "700000": 3, - "7000000": 3, - "800000": 3, - "8000000": 3, - "900000": 3, - "9000000": 3 - }, - "count": 3, - "sum": 6230.098 - } - }, - "group": "certificates.k8s.io", - "resource": "certificatesigningrequests", - "scope": "resource", - "subresource": "approval", - "verb": "PUT", + "MetricSetFields": { + "request": { "version": "v1" + }, + "watch": { + "events": { + "kind": "Namespace", + "size": { + "bytes": { + "bucket": { + "+Inf": 145, + "1024": 145, + "131072": 145, + "16384": 145, + "2048": 145, + "32768": 145, + "4096": 145, + "65536": 145, + "8192": 145 + }, + "count": 145, + "sum": 17237 + } + } + } } }, "Index": "", @@ -17406,58 +16300,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "404", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 75, - "100000": 75, - "1000000": 75, - "10000000": 75, - "1250000": 75, - "150000": 75, - "1500000": 75, - "15000000": 75, - "1750000": 75, - "200000": 75, - "2000000": 75, - "20000000": 75, - "250000": 75, - "2500000": 75, - "25000000": 75, - "300000": 75, - "3000000": 75, - "30000000": 75, - "350000": 75, - "3500000": 75, - "400000": 75, - "4000000": 75, - "40000000": 75, - "450000": 75, - "4500000": 75, - "50000": 75, - "500000": 75, - "5000000": 75, - "50000000": 75, - "600000": 75, - "6000000": 75, - "60000000": 75, - "700000": 75, - "7000000": 75, - "800000": 75, - "8000000": 75, - "900000": 75, - "9000000": 75 - }, - "count": 75, - "sum": 352185.06799999997 - } - }, - "resource": "pods", + "count": 2, + "group": "flowcontrol.apiserver.k8s.io", + "resource": "flowschemas", "scope": "resource", - "subresource": "status", - "verb": "PATCH", - "version": "v1" + "verb": "GET", + "version": "v1beta1" } }, "Index": "", @@ -17476,30 +16326,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "admissionregistration.k8s.io", + "code": "0", + "component": "apiserver", + "count": 13, + "group": "node.k8s.io", + "resource": "runtimeclasses", + "scope": "cluster", + "verb": "WATCH", "version": "v1" - }, - "watch": { - "events": { - "kind": "MutatingWebhookConfiguration", - "size": { - "bytes": { - "bucket": { - "+Inf": 30, - "1024": 30, - "131072": 30, - "16384": 30, - "2048": 30, - "32768": 30, - "4096": 30, - "65536": 30, - "8192": 30 - }, - "count": 30, - "sum": 2970 - } - } - } } }, "Index": "", @@ -17518,13 +16352,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", + "code": "201", "component": "apiserver", "count": 1, - "group": "rbac.authorization.k8s.io", - "resource": "clusterrolebindings", + "group": "apps", + "resource": "statefulsets", "scope": "resource", - "verb": "DELETE", + "verb": "POST", "version": "v1" } }, @@ -17544,27 +16378,27 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "node.k8s.io", + "group": "storage.k8s.io", "version": "v1" }, "watch": { "events": { - "kind": "RuntimeClass", + "kind": "CSIDriver", "size": { "bytes": { "bucket": { - "+Inf": 50, - "1024": 50, - "131072": 50, - "16384": 50, - "2048": 50, - "32768": 50, - "4096": 50, - "65536": 50, - "8192": 50 + "+Inf": 41, + "1024": 41, + "131072": 41, + "16384": 41, + "2048": 41, + "32768": 41, + "4096": 41, + "65536": 41, + "8192": 41 }, - "count": 50, - "sum": 3400 + "count": 41, + "sum": 2788 } } } @@ -17588,11 +16422,10 @@ "request": { "code": "200", "component": "apiserver", - "count": 4, - "resource": "pods", - "scope": "resource", - "subresource": "status", - "verb": "PUT", + "count": 13, + "resource": "configmaps", + "scope": "namespace", + "verb": "LIST", "version": "v1" } }, @@ -17616,71 +16449,54 @@ "duration": { "us": { "bucket": { - "+Inf": 180, - "100000": 180, - "1000000": 180, - "10000000": 180, - "1250000": 180, - "150000": 180, - "1500000": 180, - "15000000": 180, - "1750000": 180, - "200000": 180, - "2000000": 180, - "20000000": 180, - "250000": 180, - "2500000": 180, - "25000000": 180, - "300000": 180, - "3000000": 180, - "30000000": 180, - "350000": 180, - "3500000": 180, - "400000": 180, - "4000000": 180, - "40000000": 180, - "450000": 180, - "4500000": 180, - "50000": 180, - "500000": 180, - "5000000": 180, - "50000000": 180, - "600000": 180, - "6000000": 180, - "60000000": 180, - "700000": 180, - "7000000": 180, - "800000": 180, - "8000000": 180, - "900000": 180, - "9000000": 180 + "+Inf": 69, + "100000": 69, + "1000000": 69, + "10000000": 69, + "1250000": 69, + "150000": 69, + "1500000": 69, + "15000000": 69, + "1750000": 69, + "200000": 69, + "2000000": 69, + "20000000": 69, + "250000": 69, + "2500000": 69, + "25000000": 69, + "300000": 69, + "3000000": 69, + "30000000": 69, + "350000": 69, + "3500000": 69, + "400000": 69, + "4000000": 69, + "40000000": 69, + "450000": 69, + "4500000": 69, + "50000": 69, + "500000": 69, + "5000000": 69, + "50000000": 69, + "600000": 69, + "6000000": 69, + "60000000": 69, + "700000": 69, + "7000000": 69, + "800000": 69, + "8000000": 69, + "900000": 69, + "9000000": 69 }, - "count": 180, - "sum": 338773.72299999994 + "count": 69, + "sum": 104476.538 } }, - "resource": "configmaps", + "group": "rbac.authorization.k8s.io", + "resource": "clusterroles", "scope": "resource", - "verb": "GET", - "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 180, - "1000": 2, - "10000": 180, - "100000": 180, - "1000000": 180, - "10000000": 180, - "100000000": 180, - "1000000000": 180 - }, - "count": 180, - "sum": 234746 - } - } + "verb": "POST", + "version": "v1" } }, "Index": "", @@ -17698,76 +16514,13 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 31, - "100000": 31, - "1000000": 31, - "10000000": 31, - "1250000": 31, - "150000": 31, - "1500000": 31, - "15000000": 31, - "1750000": 31, - "200000": 31, - "2000000": 31, - "20000000": 31, - "250000": 31, - "2500000": 31, - "25000000": 31, - "300000": 31, - "3000000": 31, - "30000000": 31, - "350000": 31, - "3500000": 31, - "400000": 31, - "4000000": 31, - "40000000": 31, - "450000": 31, - "4500000": 31, - "50000": 31, - "500000": 31, - "5000000": 31, - "50000000": 31, - "600000": 31, - "6000000": 31, - "60000000": 31, - "700000": 31, - "7000000": 31, - "800000": 31, - "8000000": 31, - "900000": 31, - "9000000": 31 - }, - "count": 31, - "sum": 40253.549000000006 - } - }, - "resource": "resourcequotas", - "scope": "namespace", - "verb": "LIST", - "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 31, - "1000": 31, - "10000": 31, - "100000": 31, - "1000000": 31, - "10000000": 31, - "100000000": 31, - "1000000000": 31 - }, - "count": 31, - "sum": 1443 - } + "etcd": { + "object": { + "count": 7 } + }, + "request": { + "resource": "prioritylevelconfigurations.flowcontrol.apiserver.k8s.io" } }, "Index": "", @@ -17786,57 +16539,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "404", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 5, - "100000": 5, - "1000000": 5, - "10000000": 5, - "1250000": 5, - "150000": 5, - "1500000": 5, - "15000000": 5, - "1750000": 5, - "200000": 5, - "2000000": 5, - "20000000": 5, - "250000": 5, - "2500000": 5, - "25000000": 5, - "300000": 5, - "3000000": 5, - "30000000": 5, - "350000": 5, - "3500000": 5, - "400000": 5, - "4000000": 5, - "40000000": 5, - "450000": 5, - "4500000": 5, - "50000": 5, - "500000": 5, - "5000000": 5, - "50000000": 5, - "600000": 5, - "6000000": 5, - "60000000": 5, - "700000": 5, - "7000000": 5, - "800000": 5, - "8000000": 5, - "900000": 5, - "9000000": 5 - }, - "count": 5, - "sum": 17416.967999999997 - } - }, - "group": "apps", - "resource": "controllerrevisions", + "count": 1, + "group": "storage.k8s.io", + "resource": "storageclasses", "scope": "resource", - "verb": "POST", + "verb": "GET", "version": "v1" } }, @@ -17900,13 +16609,57 @@ "9000000": 4 }, "count": 4, - "sum": 21547.815 + "sum": 6066.859 } }, "group": "apps", - "resource": "daemonsets", - "scope": "resource", - "verb": "POST", + "resource": "replicasets", + "scope": "cluster", + "verb": "LIST", + "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 4, + "1000": 2, + "10000": 3, + "100000": 4, + "1000000": 4, + "10000000": 4, + "100000000": 4, + "1000000000": 4 + }, + "count": 4, + "sum": 22775 + } + } + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "200", + "component": "apiserver", + "count": 2, + "group": "rbac.authorization.k8s.io", + "resource": "rolebindings", + "scope": "namespace", + "verb": "LIST", "version": "v1" } }, @@ -17930,69 +16683,73 @@ "duration": { "us": { "bucket": { - "+Inf": 32, - "100000": 32, - "1000000": 32, - "10000000": 32, - "1250000": 32, - "150000": 32, - "1500000": 32, - "15000000": 32, - "1750000": 32, - "200000": 32, - "2000000": 32, - "20000000": 32, - "250000": 32, - "2500000": 32, - "25000000": 32, - "300000": 32, - "3000000": 32, - "30000000": 32, - "350000": 32, - "3500000": 32, - "400000": 32, - "4000000": 32, - "40000000": 32, - "450000": 32, - "4500000": 32, - "50000": 32, - "500000": 32, - "5000000": 32, - "50000000": 32, - "600000": 32, - "6000000": 32, - "60000000": 32, - "700000": 32, - "7000000": 32, - "800000": 32, - "8000000": 32, - "900000": 32, - "9000000": 32 + "+Inf": 6, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 }, - "count": 32, - "sum": 70075.33400000002 + "count": 6, + "sum": 2406004969.7720003 } }, - "resource": "services", + "group": "batch", + "longrunning": { + "count": 3 + }, + "resource": "jobs", "scope": "cluster", - "verb": "LIST", + "verb": "WATCH", "version": "v1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 32, + "+Inf": 6, "1000": 6, - "10000": 32, - "100000": 32, - "1000000": 32, - "10000000": 32, - "100000000": 32, - "1000000000": 32 + "10000": 6, + "100000": 6, + "1000000": 6, + "10000000": 6, + "100000000": 6, + "1000000000": 6 }, - "count": 32, - "sum": 69902 + "count": 6, + "sum": 0 } } } @@ -18013,40 +16770,58 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", "component": "apiserver", - "count": 6, - "group": "flowcontrol.apiserver.k8s.io", - "resource": "prioritylevelconfigurations", - "scope": "cluster", - "verb": "WATCH", - "version": "v1beta1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "client": { - "request": { - "count": 948 - } - }, - "request": { - "code": "200", - "host": "[::1]:6443", - "method": "GET" + "duration": { + "us": { + "bucket": { + "+Inf": 3, + "100000": 3, + "1000000": 3, + "10000000": 3, + "1250000": 3, + "150000": 3, + "1500000": 3, + "15000000": 3, + "1750000": 3, + "200000": 3, + "2000000": 3, + "20000000": 3, + "250000": 3, + "2500000": 3, + "25000000": 3, + "300000": 3, + "3000000": 3, + "30000000": 3, + "350000": 3, + "3500000": 3, + "400000": 3, + "4000000": 3, + "40000000": 3, + "450000": 3, + "4500000": 3, + "50000": 3, + "500000": 3, + "5000000": 3, + "50000000": 3, + "600000": 3, + "6000000": 3, + "60000000": 3, + "700000": 3, + "7000000": 3, + "800000": 3, + "8000000": 3, + "900000": 3, + "9000000": 3 + }, + "count": 3, + "sum": 12202.156 + } + }, + "group": "apps", + "resource": "deployments", + "scope": "resource", + "verb": "POST", + "version": "v1" } }, "Index": "", @@ -18109,14 +16884,31 @@ "9000000": 1 }, "count": 1, - "sum": 5285.116 + "sum": 1245.864 } }, - "group": "rbac.authorization.k8s.io", - "resource": "clusterroles", + "resource": "persistentvolumeclaims", "scope": "resource", - "verb": "DELETE", + "verb": "GET", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 1, + "1000": 1, + "10000": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "100000000": 1, + "1000000000": 1 + }, + "count": 1, + "sum": 230 + } + } } }, "Index": "", @@ -18135,76 +16927,27 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 104, - "100000": 0, - "1000000": 0, - "10000000": 1, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 1, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 1, - "250000": 0, - "2500000": 0, - "25000000": 1, - "300000": 0, - "3000000": 1, - "30000000": 1, - "350000": 0, - "3500000": 1, - "400000": 0, - "4000000": 1, - "40000000": 1, - "450000": 0, - "4500000": 1, - "50000": 0, - "500000": 0, - "5000000": 1, - "50000000": 1, - "600000": 0, - "6000000": 1, - "60000000": 1, - "700000": 0, - "7000000": 1, - "800000": 0, - "8000000": 1, - "900000": 0, - "9000000": 1 - }, - "count": 104, - "sum": 45987621142.41202 - } - }, - "longrunning": { - "count": 23 - }, - "resource": "nodes", - "scope": "cluster", - "verb": "WATCH", "version": "v1" }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 104, - "1000": 104, - "10000": 104, - "100000": 104, - "1000000": 104, - "10000000": 104, - "100000000": 104, - "1000000000": 104 - }, - "count": 104, - "sum": 0 + "watch": { + "events": { + "kind": "PodTemplate", + "size": { + "bytes": { + "bucket": { + "+Inf": 7, + "1024": 7, + "131072": 7, + "16384": 7, + "2048": 7, + "32768": 7, + "4096": 7, + "65536": 7, + "8192": 7 + }, + "count": 7, + "sum": 735 + } } } } @@ -18225,13 +16968,37 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", - "component": "apiserver", - "count": 1, - "resource": "serviceaccounts", - "scope": "resource", - "verb": "DELETE", - "version": "v1" + "code": "200", + "component": "apiserver", + "count": 17, + "resource": "nodes", + "scope": "resource", + "verb": "PATCH", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "etcd": { + "object": { + "count": 44 + } + }, + "request": { + "resource": "secrets" } }, "Index": "", @@ -18250,58 +17017,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "0", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 3, - "100000": 3, - "1000000": 3, - "10000000": 3, - "1250000": 3, - "150000": 3, - "1500000": 3, - "15000000": 3, - "1750000": 3, - "200000": 3, - "2000000": 3, - "20000000": 3, - "250000": 3, - "2500000": 3, - "25000000": 3, - "300000": 3, - "3000000": 3, - "30000000": 3, - "350000": 3, - "3500000": 3, - "400000": 3, - "4000000": 3, - "40000000": 3, - "450000": 3, - "4500000": 3, - "50000": 3, - "500000": 3, - "5000000": 3, - "50000000": 3, - "600000": 3, - "6000000": 3, - "60000000": 3, - "700000": 3, - "7000000": 3, - "800000": 3, - "8000000": 3, - "900000": 3, - "9000000": 3 - }, - "count": 3, - "sum": 13475.076 - } - }, - "group": "certificates.k8s.io", - "resource": "certificatesigningrequests", - "scope": "resource", - "subresource": "status", - "verb": "PUT", + "count": 3, + "group": "discovery.k8s.io", + "resource": "endpointslices", + "scope": "cluster", + "verb": "WATCH", "version": "v1" } }, @@ -18320,13 +17042,14 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "etcd": { - "object": { - "count": 0 - } - }, "request": { - "resource": "resourcequotas" + "code": "201", + "component": "apiserver", + "count": 1, + "resource": "persistentvolumeclaims", + "scope": "resource", + "verb": "POST", + "version": "v1" } }, "Index": "", @@ -18345,14 +17068,76 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "404", "component": "apiserver", - "count": 9, - "group": "coordination.k8s.io", - "resource": "leases", - "scope": "resource", - "verb": "GET", + "duration": { + "us": { + "bucket": { + "+Inf": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "1250000": 2, + "150000": 2, + "1500000": 2, + "15000000": 2, + "1750000": 2, + "200000": 2, + "2000000": 2, + "20000000": 2, + "250000": 2, + "2500000": 2, + "25000000": 2, + "300000": 2, + "3000000": 2, + "30000000": 2, + "350000": 2, + "3500000": 2, + "400000": 2, + "4000000": 2, + "40000000": 2, + "450000": 2, + "4500000": 2, + "50000": 2, + "500000": 2, + "5000000": 2, + "50000000": 2, + "600000": 2, + "6000000": 2, + "60000000": 2, + "700000": 2, + "7000000": 2, + "800000": 2, + "8000000": 2, + "900000": 2, + "9000000": 2 + }, + "count": 2, + "sum": 16126.376000000002 + } + }, + "group": "apiextensions.k8s.io", + "resource": "customresourcedefinitions", + "scope": "cluster", + "verb": "LIST", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 2, + "1000": 2, + "10000": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "100000000": 2, + "1000000000": 2 + }, + "count": 2, + "sum": 140 + } + } } }, "Index": "", @@ -18415,11 +17200,11 @@ "9000000": 2 }, "count": 2, - "sum": 963.68 + "sum": 5519.6 } }, "group": "networking.k8s.io", - "resource": "networkpolicies", + "resource": "ingressclasses", "scope": "cluster", "verb": "LIST", "version": "v1" @@ -18438,7 +17223,98 @@ "1000000000": 2 }, "count": 2, - "sum": 124 + "sum": 122 + } + } + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 6, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 + }, + "count": 6, + "sum": 2468004584.851 + } + }, + "group": "policy", + "longrunning": { + "count": 2 + }, + "resource": "poddisruptionbudgets", + "scope": "cluster", + "verb": "WATCH", + "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 6, + "1000": 6, + "10000": 6, + "100000": 6, + "1000000": 6, + "10000000": 6, + "100000000": 6, + "1000000000": 6 + }, + "count": 6, + "sum": 0 } } } @@ -18454,6 +17330,30 @@ "Period": 0, "DisableTimeSeries": false }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "etcd": { + "object": { + "count": 0 + } + }, + "request": { + "resource": "resourcequotas" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, { "RootFields": {}, "ModuleFields": null, @@ -18463,50 +17363,51 @@ "duration": { "us": { "bucket": { - "+Inf": 4, - "100000": 4, - "1000000": 4, - "10000000": 4, - "1250000": 4, - "150000": 4, - "1500000": 4, - "15000000": 4, - "1750000": 4, - "200000": 4, - "2000000": 4, - "20000000": 4, - "250000": 4, - "2500000": 4, - "25000000": 4, - "300000": 4, - "3000000": 4, - "30000000": 4, - "350000": 4, - "3500000": 4, - "400000": 4, - "4000000": 4, - "40000000": 4, - "450000": 4, - "4500000": 4, - "50000": 4, - "500000": 4, - "5000000": 4, - "50000000": 4, - "600000": 4, - "6000000": 4, - "60000000": 4, - "700000": 4, - "7000000": 4, - "800000": 4, - "8000000": 4, - "900000": 4, - "9000000": 4 + "+Inf": 3, + "100000": 3, + "1000000": 3, + "10000000": 3, + "1250000": 3, + "150000": 3, + "1500000": 3, + "15000000": 3, + "1750000": 3, + "200000": 3, + "2000000": 3, + "20000000": 3, + "250000": 3, + "2500000": 3, + "25000000": 3, + "300000": 3, + "3000000": 3, + "30000000": 3, + "350000": 3, + "3500000": 3, + "400000": 3, + "4000000": 3, + "40000000": 3, + "450000": 3, + "4500000": 3, + "50000": 3, + "500000": 3, + "5000000": 3, + "50000000": 3, + "600000": 3, + "6000000": 3, + "60000000": 3, + "700000": 3, + "7000000": 3, + "800000": 3, + "8000000": 3, + "900000": 3, + "9000000": 3 }, - "count": 4, - "sum": 14914.901000000002 + "count": 3, + "sum": 13475.076 } }, - "resource": "pods", + "group": "certificates.k8s.io", + "resource": "certificatesigningrequests", "scope": "resource", "subresource": "status", "verb": "PUT", @@ -18524,6 +17425,31 @@ "Period": 0, "DisableTimeSeries": false }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "200", + "component": "apiserver", + "count": 1, + "resource": "serviceaccounts", + "scope": "resource", + "verb": "DELETE", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, { "RootFields": {}, "ModuleFields": null, @@ -18573,57 +17499,14 @@ "9000000": 1 }, "count": 1, - "sum": 8484.125 + "sum": 5285.116 } }, - "resource": "events", - "scope": "cluster", - "verb": "LIST", + "group": "rbac.authorization.k8s.io", + "resource": "clusterroles", + "scope": "resource", + "verb": "DELETE", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 1, - "1000": 0, - "10000": 0, - "100000": 1, - "1000000": 1, - "10000000": 1, - "100000000": 1, - "1000000000": 1 - }, - "count": 1, - "sum": 11809 - } - } - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "client": { - "request": { - "count": 1 - } - }, - "request": { - "code": "404", - "host": "[::1]:6443", - "method": "PUT" } }, "Index": "", @@ -18646,69 +17529,72 @@ "duration": { "us": { "bucket": { - "+Inf": 839, - "100000": 828, - "1000000": 836, - "10000000": 839, - "1250000": 838, - "150000": 833, - "1500000": 839, - "15000000": 839, - "1750000": 839, - "200000": 833, - "2000000": 839, - "20000000": 839, - "250000": 833, - "2500000": 839, - "25000000": 839, - "300000": 833, - "3000000": 839, - "30000000": 839, - "350000": 834, - "3500000": 839, - "400000": 834, - "4000000": 839, - "40000000": 839, - "450000": 834, - "4500000": 839, - "50000": 827, - "500000": 834, - "5000000": 839, - "50000000": 839, - "600000": 835, - "6000000": 839, - "60000000": 839, - "700000": 836, - "7000000": 839, - "800000": 836, - "8000000": 839, - "900000": 836, - "9000000": 839 + "+Inf": 104, + "100000": 0, + "1000000": 0, + "10000000": 1, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 1, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 1, + "250000": 0, + "2500000": 0, + "25000000": 1, + "300000": 0, + "3000000": 1, + "30000000": 1, + "350000": 0, + "3500000": 1, + "400000": 0, + "4000000": 1, + "40000000": 1, + "450000": 0, + "4500000": 1, + "50000": 0, + "500000": 0, + "5000000": 1, + "50000000": 1, + "600000": 0, + "6000000": 1, + "60000000": 1, + "700000": 0, + "7000000": 1, + "800000": 0, + "8000000": 1, + "900000": 0, + "9000000": 1 }, - "count": 839, - "sum": 8754493.183000004 + "count": 104, + "sum": 45987621142.41202 } }, - "resource": "endpoints", - "scope": "resource", - "verb": "GET", + "longrunning": { + "count": 23 + }, + "resource": "nodes", + "scope": "cluster", + "verb": "WATCH", "version": "v1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 839, - "1000": 839, - "10000": 839, - "100000": 839, - "1000000": 839, - "10000000": 839, - "100000000": 839, - "1000000000": 839 + "+Inf": 104, + "1000": 104, + "10000": 104, + "100000": 104, + "1000000": 104, + "10000000": 104, + "100000000": 104, + "1000000000": 104 }, - "count": 839, - "sum": 587342 + "count": 104, + "sum": 0 } } } @@ -18724,6 +17610,32 @@ "Period": 0, "DisableTimeSeries": false }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "client": { + "request": { + "count": 948 + } + }, + "request": { + "code": "200", + "host": "[::1]:6443", + "method": "GET" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, { "RootFields": {}, "ModuleFields": null, @@ -18773,13 +17685,12 @@ "9000000": 32 }, "count": 32, - "sum": 68234.144 + "sum": 70075.33400000002 } }, - "group": "storage.k8s.io", - "resource": "csinodes", - "scope": "resource", - "verb": "GET", + "resource": "services", + "scope": "cluster", + "verb": "LIST", "version": "v1" }, "response": { @@ -18787,7 +17698,7 @@ "bytes": { "bucket": { "+Inf": 32, - "1000": 32, + "1000": 6, "10000": 32, "100000": 32, "1000000": 32, @@ -18796,7 +17707,7 @@ "1000000000": 32 }, "count": 32, - "sum": 5672 + "sum": 69902 } } } @@ -18812,58 +17723,6 @@ "Period": 0, "DisableTimeSeries": false }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "200", - "component": "apiserver", - "count": 3, - "group": "admissionregistration.k8s.io", - "resource": "mutatingwebhookconfigurations", - "scope": "cluster", - "verb": "LIST", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "200", - "component": "apiserver", - "count": 3, - "group": "admissionregistration.k8s.io", - "resource": "validatingwebhookconfigurations", - "scope": "cluster", - "verb": "LIST", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, { "RootFields": {}, "ModuleFields": null, @@ -18871,12 +17730,12 @@ "request": { "code": "0", "component": "apiserver", - "count": 3, - "group": "autoscaling", - "resource": "horizontalpodautoscalers", + "count": 6, + "group": "flowcontrol.apiserver.k8s.io", + "resource": "prioritylevelconfigurations", "scope": "cluster", "verb": "WATCH", - "version": "v1" + "version": "v1beta1" } }, "Index": "", @@ -18899,97 +17758,54 @@ "duration": { "us": { "bucket": { - "+Inf": 28, - "100000": 28, - "1000000": 28, - "10000000": 28, - "1250000": 28, - "150000": 28, - "1500000": 28, - "15000000": 28, - "1750000": 28, - "200000": 28, - "2000000": 28, - "20000000": 28, - "250000": 28, - "2500000": 28, - "25000000": 28, - "300000": 28, - "3000000": 28, - "30000000": 28, - "350000": 28, - "3500000": 28, - "400000": 28, - "4000000": 28, - "40000000": 28, - "450000": 28, - "4500000": 28, - "50000": 28, - "500000": 28, - "5000000": 28, - "50000000": 28, - "600000": 28, - "6000000": 28, - "60000000": 28, - "700000": 28, - "7000000": 28, - "800000": 28, - "8000000": 28, - "900000": 28, - "9000000": 28 - }, - "count": 28, - "sum": 36566.024999999994 - } - }, - "resource": "limitranges", - "scope": "namespace", - "verb": "LIST", - "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 28, - "1000": 28, - "10000": 28, - "100000": 28, - "1000000": 28, - "10000000": 28, - "100000000": 28, - "1000000000": 28 - }, - "count": 28, - "sum": 1224 - } - } - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "200", - "component": "apiserver", - "count": 2, - "group": "storage.k8s.io", - "resource": "csistoragecapacities", - "scope": "cluster", - "verb": "LIST", - "version": "v1beta1" + "+Inf": 4, + "100000": 4, + "1000000": 4, + "10000000": 4, + "1250000": 4, + "150000": 4, + "1500000": 4, + "15000000": 4, + "1750000": 4, + "200000": 4, + "2000000": 4, + "20000000": 4, + "250000": 4, + "2500000": 4, + "25000000": 4, + "300000": 4, + "3000000": 4, + "30000000": 4, + "350000": 4, + "3500000": 4, + "400000": 4, + "4000000": 4, + "40000000": 4, + "450000": 4, + "4500000": 4, + "50000": 4, + "500000": 4, + "5000000": 4, + "50000000": 4, + "600000": 4, + "6000000": 4, + "60000000": 4, + "700000": 4, + "7000000": 4, + "800000": 4, + "8000000": 4, + "900000": 4, + "9000000": 4 + }, + "count": 4, + "sum": 21547.815 + } + }, + "group": "apps", + "resource": "daemonsets", + "scope": "resource", + "verb": "POST", + "version": "v1" } }, "Index": "", @@ -19008,30 +17824,58 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 5, + "100000": 5, + "1000000": 5, + "10000000": 5, + "1250000": 5, + "150000": 5, + "1500000": 5, + "15000000": 5, + "1750000": 5, + "200000": 5, + "2000000": 5, + "20000000": 5, + "250000": 5, + "2500000": 5, + "25000000": 5, + "300000": 5, + "3000000": 5, + "30000000": 5, + "350000": 5, + "3500000": 5, + "400000": 5, + "4000000": 5, + "40000000": 5, + "450000": 5, + "4500000": 5, + "50000": 5, + "500000": 5, + "5000000": 5, + "50000000": 5, + "600000": 5, + "6000000": 5, + "60000000": 5, + "700000": 5, + "7000000": 5, + "800000": 5, + "8000000": 5, + "900000": 5, + "9000000": 5 + }, + "count": 5, + "sum": 17416.967999999997 + } + }, "group": "apps", + "resource": "controllerrevisions", + "scope": "resource", + "verb": "POST", "version": "v1" - }, - "watch": { - "events": { - "kind": "StatefulSet", - "size": { - "bytes": { - "bucket": { - "+Inf": 13, - "1024": 9, - "131072": 13, - "16384": 13, - "2048": 13, - "32768": 13, - "4096": 13, - "65536": 13, - "8192": 13 - }, - "count": 13, - "sum": 9152 - } - } - } } }, "Index": "", @@ -19050,13 +17894,75 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "404", "component": "apiserver", - "count": 2, - "resource": "services", + "duration": { + "us": { + "bucket": { + "+Inf": 180, + "100000": 180, + "1000000": 180, + "10000000": 180, + "1250000": 180, + "150000": 180, + "1500000": 180, + "15000000": 180, + "1750000": 180, + "200000": 180, + "2000000": 180, + "20000000": 180, + "250000": 180, + "2500000": 180, + "25000000": 180, + "300000": 180, + "3000000": 180, + "30000000": 180, + "350000": 180, + "3500000": 180, + "400000": 180, + "4000000": 180, + "40000000": 180, + "450000": 180, + "4500000": 180, + "50000": 180, + "500000": 180, + "5000000": 180, + "50000000": 180, + "600000": 180, + "6000000": 180, + "60000000": 180, + "700000": 180, + "7000000": 180, + "800000": 180, + "8000000": 180, + "900000": 180, + "9000000": 180 + }, + "count": 180, + "sum": 338773.72299999994 + } + }, + "resource": "configmaps", "scope": "resource", "verb": "GET", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 180, + "1000": 2, + "10000": 180, + "100000": 180, + "1000000": 180, + "10000000": 180, + "100000000": 180, + "1000000000": 180 + }, + "count": 180, + "sum": 234746 + } + } } }, "Index": "", @@ -19079,54 +17985,71 @@ "duration": { "us": { "bucket": { - "+Inf": 6, - "100000": 6, - "1000000": 6, - "10000000": 6, - "1250000": 6, - "150000": 6, - "1500000": 6, - "15000000": 6, - "1750000": 6, - "200000": 6, - "2000000": 6, - "20000000": 6, - "250000": 6, - "2500000": 6, - "25000000": 6, - "300000": 6, - "3000000": 6, - "30000000": 6, - "350000": 6, - "3500000": 6, - "400000": 6, - "4000000": 6, - "40000000": 6, - "450000": 6, - "4500000": 6, - "50000": 6, - "500000": 6, - "5000000": 6, - "50000000": 6, - "600000": 6, - "6000000": 6, - "60000000": 6, - "700000": 6, - "7000000": 6, - "800000": 6, - "8000000": 6, - "900000": 6, - "9000000": 6 + "+Inf": 31, + "100000": 31, + "1000000": 31, + "10000000": 31, + "1250000": 31, + "150000": 31, + "1500000": 31, + "15000000": 31, + "1750000": 31, + "200000": 31, + "2000000": 31, + "20000000": 31, + "250000": 31, + "2500000": 31, + "25000000": 31, + "300000": 31, + "3000000": 31, + "30000000": 31, + "350000": 31, + "3500000": 31, + "400000": 31, + "4000000": 31, + "40000000": 31, + "450000": 31, + "4500000": 31, + "50000": 31, + "500000": 31, + "5000000": 31, + "50000000": 31, + "600000": 31, + "6000000": 31, + "60000000": 31, + "700000": 31, + "7000000": 31, + "800000": 31, + "8000000": 31, + "900000": 31, + "9000000": 31 }, - "count": 6, - "sum": 17043.534 + "count": 31, + "sum": 40253.549000000006 + } + }, + "resource": "resourcequotas", + "scope": "namespace", + "verb": "LIST", + "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 31, + "1000": 31, + "10000": 31, + "100000": 31, + "1000000": 31, + "10000000": 31, + "100000000": 31, + "1000000000": 31 + }, + "count": 31, + "sum": 1443 } - }, - "group": "rbac.authorization.k8s.io", - "resource": "clusterroles", - "scope": "resource", - "verb": "APPLY", - "version": "v1" + } } }, "Index": "", @@ -19145,57 +18068,30 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "1250000": 1, - "150000": 1, - "1500000": 1, - "15000000": 1, - "1750000": 1, - "200000": 1, - "2000000": 1, - "20000000": 1, - "250000": 1, - "2500000": 1, - "25000000": 1, - "300000": 1, - "3000000": 1, - "30000000": 1, - "350000": 1, - "3500000": 1, - "400000": 1, - "4000000": 1, - "40000000": 1, - "450000": 1, - "4500000": 1, - "50000": 1, - "500000": 1, - "5000000": 1, - "50000000": 1, - "600000": 1, - "6000000": 1, - "60000000": 1, - "700000": 1, - "7000000": 1, - "800000": 1, - "8000000": 1, - "900000": 1, - "9000000": 1 - }, - "count": 1, - "sum": 4230.055 - } - }, - "resource": "secrets", - "scope": "resource", - "verb": "DELETE", + "group": "node.k8s.io", "version": "v1" + }, + "watch": { + "events": { + "kind": "RuntimeClass", + "size": { + "bytes": { + "bucket": { + "+Inf": 50, + "1024": 50, + "131072": 50, + "16384": 50, + "2048": 50, + "32768": 50, + "4096": 50, + "65536": 50, + "8192": 50 + }, + "count": 50, + "sum": 3400 + } + } + } } }, "Index": "", @@ -19214,76 +18110,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "1250000": 1, - "150000": 1, - "1500000": 1, - "15000000": 1, - "1750000": 1, - "200000": 1, - "2000000": 1, - "20000000": 1, - "250000": 1, - "2500000": 1, - "25000000": 1, - "300000": 1, - "3000000": 1, - "30000000": 1, - "350000": 1, - "3500000": 1, - "400000": 1, - "4000000": 1, - "40000000": 1, - "450000": 1, - "4500000": 1, - "50000": 1, - "500000": 1, - "5000000": 1, - "50000000": 1, - "600000": 1, - "6000000": 1, - "60000000": 1, - "700000": 1, - "7000000": 1, - "800000": 1, - "8000000": 1, - "900000": 1, - "9000000": 1 - }, - "count": 1, - "sum": 251.70900000000003 - } - }, - "group": "autoscaling", - "resource": "horizontalpodautoscalers", - "scope": "cluster", - "verb": "LIST", - "version": "v2beta1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 1, - "1000": 1, - "10000": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "100000000": 1, - "1000000000": 1 - }, - "count": 1, - "sum": 71 - } - } + "count": 4, + "resource": "pods", + "scope": "resource", + "subresource": "status", + "verb": "PUT", + "version": "v1" } }, "Index": "", @@ -19302,13 +18136,30 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", - "component": "apiserver", - "count": 1, - "resource": "serviceaccounts", - "scope": "namespace", - "verb": "LIST", + "group": "admissionregistration.k8s.io", "version": "v1" + }, + "watch": { + "events": { + "kind": "MutatingWebhookConfiguration", + "size": { + "bytes": { + "bucket": { + "+Inf": 30, + "1024": 30, + "131072": 30, + "16384": 30, + "2048": 30, + "32768": 30, + "4096": 30, + "65536": 30, + "8192": 30 + }, + "count": 30, + "sum": 2970 + } + } + } } }, "Index": "", @@ -19327,79 +18178,84 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 5, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 - }, - "count": 5, - "sum": 2425003419.499 - } - }, - "group": "storage.k8s.io", - "longrunning": { - "count": 2 - }, - "resource": "csistoragecapacities", - "scope": "cluster", - "verb": "WATCH", - "version": "v1beta1" - }, - "response": { - "size": { - "bytes": { + "count": 1, + "group": "rbac.authorization.k8s.io", + "resource": "clusterrolebindings", + "scope": "resource", + "verb": "DELETE", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "component": "apiserver", + "duration": { + "us": { "bucket": { - "+Inf": 5, - "1000": 5, - "10000": 5, - "100000": 5, - "1000000": 5, - "10000000": 5, - "100000000": 5, - "1000000000": 5 + "+Inf": 75, + "100000": 75, + "1000000": 75, + "10000000": 75, + "1250000": 75, + "150000": 75, + "1500000": 75, + "15000000": 75, + "1750000": 75, + "200000": 75, + "2000000": 75, + "20000000": 75, + "250000": 75, + "2500000": 75, + "25000000": 75, + "300000": 75, + "3000000": 75, + "30000000": 75, + "350000": 75, + "3500000": 75, + "400000": 75, + "4000000": 75, + "40000000": 75, + "450000": 75, + "4500000": 75, + "50000": 75, + "500000": 75, + "5000000": 75, + "50000000": 75, + "600000": 75, + "6000000": 75, + "60000000": 75, + "700000": 75, + "7000000": 75, + "800000": 75, + "8000000": 75, + "900000": 75, + "9000000": 75 }, - "count": 5, - "sum": 0 + "count": 75, + "sum": 352185.06799999997 } - } + }, + "resource": "pods", + "scope": "resource", + "subresource": "status", + "verb": "PATCH", + "version": "v1" } }, "Index": "", @@ -19418,13 +18274,58 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", "component": "apiserver", - "count": 6, - "group": "batch", - "resource": "jobs", - "scope": "cluster", - "verb": "WATCH", + "duration": { + "us": { + "bucket": { + "+Inf": 3, + "100000": 3, + "1000000": 3, + "10000000": 3, + "1250000": 3, + "150000": 3, + "1500000": 3, + "15000000": 3, + "1750000": 3, + "200000": 3, + "2000000": 3, + "20000000": 3, + "250000": 3, + "2500000": 3, + "25000000": 3, + "300000": 3, + "3000000": 3, + "30000000": 3, + "350000": 3, + "3500000": 3, + "400000": 3, + "4000000": 3, + "40000000": 3, + "450000": 3, + "4500000": 3, + "50000": 3, + "500000": 3, + "5000000": 3, + "50000000": 3, + "600000": 3, + "6000000": 3, + "60000000": 3, + "700000": 3, + "7000000": 3, + "800000": 3, + "8000000": 3, + "900000": 3, + "9000000": 3 + }, + "count": 3, + "sum": 6230.098 + } + }, + "group": "certificates.k8s.io", + "resource": "certificatesigningrequests", + "scope": "resource", + "subresource": "approval", + "verb": "PUT", "version": "v1" } }, @@ -19488,31 +18389,13 @@ "9000000": 1 }, "count": 1, - "sum": 257.88 + "sum": 4230.055 } }, - "resource": "podtemplates", - "scope": "cluster", - "verb": "LIST", + "resource": "secrets", + "scope": "resource", + "verb": "DELETE", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 1, - "1000": 1, - "10000": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "100000000": 1, - "1000000000": 1 - }, - "count": 1, - "sum": 42 - } - } } }, "Index": "", @@ -19531,70 +18414,74 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "component": "apiserver", "duration": { "us": { "bucket": { - "+Inf": 5, - "100000": 5, - "1000000": 5, - "10000000": 5, - "1250000": 5, - "150000": 5, - "1500000": 5, - "15000000": 5, - "1750000": 5, - "200000": 5, - "2000000": 5, - "20000000": 5, - "250000": 5, - "2500000": 5, - "25000000": 5, - "300000": 5, - "3000000": 5, - "30000000": 5, - "350000": 5, - "3500000": 5, - "400000": 5, - "4000000": 5, - "40000000": 5, - "450000": 5, - "4500000": 5, - "50000": 5, - "500000": 5, - "5000000": 5, - "50000000": 5, - "600000": 5, - "6000000": 5, - "60000000": 5, - "700000": 5, - "7000000": 5, - "800000": 5, - "8000000": 5, - "900000": 5, - "9000000": 5 + "+Inf": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "1250000": 1, + "150000": 1, + "1500000": 1, + "15000000": 1, + "1750000": 1, + "200000": 1, + "2000000": 1, + "20000000": 1, + "250000": 1, + "2500000": 1, + "25000000": 1, + "300000": 1, + "3000000": 1, + "30000000": 1, + "350000": 1, + "3500000": 1, + "400000": 1, + "4000000": 1, + "40000000": 1, + "450000": 1, + "4500000": 1, + "50000": 1, + "500000": 1, + "5000000": 1, + "50000000": 1, + "600000": 1, + "6000000": 1, + "60000000": 1, + "700000": 1, + "7000000": 1, + "800000": 1, + "8000000": 1, + "900000": 1, + "9000000": 1 }, - "count": 5, - "sum": 12048.192 + "count": 1, + "sum": 251.70900000000003 } }, - "subresource": "/healthz", - "verb": "GET" + "group": "autoscaling", + "resource": "horizontalpodautoscalers", + "scope": "cluster", + "verb": "LIST", + "version": "v2beta1" }, "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 5, - "1000": 5, - "10000": 5, - "100000": 5, - "1000000": 5, - "10000000": 5, - "100000000": 5, - "1000000000": 5 + "size": { + "bytes": { + "bucket": { + "+Inf": 1, + "1000": 1, + "10000": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "100000000": 1, + "1000000000": 1 }, - "count": 5, - "sum": 4 + "count": 1, + "sum": 71 } } } @@ -19615,30 +18502,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "flowcontrol.apiserver.k8s.io", - "version": "v1beta1" - }, - "watch": { - "events": { - "kind": "FlowSchema", - "size": { - "bytes": { - "bucket": { - "+Inf": 35, - "1024": 34, - "131072": 35, - "16384": 35, - "2048": 35, - "32768": 35, - "4096": 35, - "65536": 35, - "8192": 35 - }, - "count": 35, - "sum": 17360 - } - } - } + "code": "404", + "component": "apiserver", + "count": 2, + "resource": "services", + "scope": "resource", + "verb": "GET", + "version": "v1" } }, "Index": "", @@ -19657,13 +18527,100 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", "component": "apiserver", - "count": 1, - "resource": "podtemplates", - "scope": "cluster", - "verb": "LIST", + "duration": { + "us": { + "bucket": { + "+Inf": 6, + "100000": 6, + "1000000": 6, + "10000000": 6, + "1250000": 6, + "150000": 6, + "1500000": 6, + "15000000": 6, + "1750000": 6, + "200000": 6, + "2000000": 6, + "20000000": 6, + "250000": 6, + "2500000": 6, + "25000000": 6, + "300000": 6, + "3000000": 6, + "30000000": 6, + "350000": 6, + "3500000": 6, + "400000": 6, + "4000000": 6, + "40000000": 6, + "450000": 6, + "4500000": 6, + "50000": 6, + "500000": 6, + "5000000": 6, + "50000000": 6, + "600000": 6, + "6000000": 6, + "60000000": 6, + "700000": 6, + "7000000": 6, + "800000": 6, + "8000000": 6, + "900000": 6, + "9000000": 6 + }, + "count": 6, + "sum": 17043.534 + } + }, + "group": "rbac.authorization.k8s.io", + "resource": "clusterroles", + "scope": "resource", + "verb": "APPLY", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "group": "apps", "version": "v1" + }, + "watch": { + "events": { + "kind": "StatefulSet", + "size": { + "bytes": { + "bucket": { + "+Inf": 13, + "1024": 9, + "131072": 13, + "16384": 13, + "2048": 13, + "32768": 13, + "4096": 13, + "65536": 13, + "8192": 13 + }, + "count": 13, + "sum": 9152 + } + } + } } }, "Index": "", @@ -19685,11 +18642,11 @@ "code": "200", "component": "apiserver", "count": 2, - "resource": "persistentvolumes", - "scope": "resource", - "subresource": "status", - "verb": "PUT", - "version": "v1" + "group": "storage.k8s.io", + "resource": "csistoragecapacities", + "scope": "cluster", + "verb": "LIST", + "version": "v1beta1" } }, "Index": "", @@ -19712,53 +18669,71 @@ "duration": { "us": { "bucket": { - "+Inf": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "1250000": 1, - "150000": 1, - "1500000": 1, - "15000000": 1, - "1750000": 1, - "200000": 1, - "2000000": 1, - "20000000": 1, - "250000": 1, - "2500000": 1, - "25000000": 1, - "300000": 1, - "3000000": 1, - "30000000": 1, - "350000": 1, - "3500000": 1, - "400000": 1, - "4000000": 1, - "40000000": 1, - "450000": 1, - "4500000": 1, - "50000": 1, - "500000": 1, - "5000000": 1, - "50000000": 1, - "600000": 1, - "6000000": 1, - "60000000": 1, - "700000": 1, - "7000000": 1, - "800000": 1, - "8000000": 1, - "900000": 1, - "9000000": 1 + "+Inf": 28, + "100000": 28, + "1000000": 28, + "10000000": 28, + "1250000": 28, + "150000": 28, + "1500000": 28, + "15000000": 28, + "1750000": 28, + "200000": 28, + "2000000": 28, + "20000000": 28, + "250000": 28, + "2500000": 28, + "25000000": 28, + "300000": 28, + "3000000": 28, + "30000000": 28, + "350000": 28, + "3500000": 28, + "400000": 28, + "4000000": 28, + "40000000": 28, + "450000": 28, + "4500000": 28, + "50000": 28, + "500000": 28, + "5000000": 28, + "50000000": 28, + "600000": 28, + "6000000": 28, + "60000000": 28, + "700000": 28, + "7000000": 28, + "800000": 28, + "8000000": 28, + "900000": 28, + "9000000": 28 }, - "count": 1, - "sum": 3537.324 + "count": 28, + "sum": 36566.024999999994 } }, - "resource": "serviceaccounts", - "scope": "resource", - "verb": "DELETE", + "resource": "limitranges", + "scope": "namespace", + "verb": "LIST", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 28, + "1000": 28, + "10000": 28, + "100000": 28, + "1000000": 28, + "10000000": 28, + "100000000": 28, + "1000000000": 28 + }, + "count": 28, + "sum": 1224 + } + } } }, "Index": "", @@ -19777,76 +18752,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "0", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 4, - "100000": 4, - "1000000": 4, - "10000000": 4, - "1250000": 4, - "150000": 4, - "1500000": 4, - "15000000": 4, - "1750000": 4, - "200000": 4, - "2000000": 4, - "20000000": 4, - "250000": 4, - "2500000": 4, - "25000000": 4, - "300000": 4, - "3000000": 4, - "30000000": 4, - "350000": 4, - "3500000": 4, - "400000": 4, - "4000000": 4, - "40000000": 4, - "450000": 4, - "4500000": 4, - "50000": 4, - "500000": 4, - "5000000": 4, - "50000000": 4, - "600000": 4, - "6000000": 4, - "60000000": 4, - "700000": 4, - "7000000": 4, - "800000": 4, - "8000000": 4, - "900000": 4, - "9000000": 4 - }, - "count": 4, - "sum": 2944.409 - } - }, - "group": "rbac.authorization.k8s.io", - "resource": "clusterrolebindings", + "count": 3, + "group": "autoscaling", + "resource": "horizontalpodautoscalers", "scope": "cluster", - "verb": "LIST", + "verb": "WATCH", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 4, - "1000": 3, - "10000": 3, - "100000": 4, - "1000000": 4, - "10000000": 4, - "100000000": 4, - "1000000000": 4 - }, - "count": 4, - "sum": 31531 - } - } } }, "Index": "", @@ -19867,11 +18780,11 @@ "request": { "code": "200", "component": "apiserver", - "count": 10, - "group": "discovery.k8s.io", - "resource": "endpointslices", - "scope": "resource", - "verb": "PUT", + "count": 3, + "group": "admissionregistration.k8s.io", + "resource": "mutatingwebhookconfigurations", + "scope": "cluster", + "verb": "LIST", "version": "v1" } }, @@ -19891,76 +18804,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 72, - "100000": 72, - "1000000": 72, - "10000000": 72, - "1250000": 72, - "150000": 72, - "1500000": 72, - "15000000": 72, - "1750000": 72, - "200000": 72, - "2000000": 72, - "20000000": 72, - "250000": 72, - "2500000": 72, - "25000000": 72, - "300000": 72, - "3000000": 72, - "30000000": 72, - "350000": 72, - "3500000": 72, - "400000": 72, - "4000000": 72, - "40000000": 72, - "450000": 72, - "4500000": 72, - "50000": 72, - "500000": 72, - "5000000": 72, - "50000000": 72, - "600000": 72, - "6000000": 72, - "60000000": 72, - "700000": 72, - "7000000": 72, - "800000": 72, - "8000000": 72, - "900000": 72, - "9000000": 72 - }, - "count": 72, - "sum": 64481.998 - } - }, - "group": "rbac.authorization.k8s.io", - "resource": "clusterroles", - "scope": "resource", - "verb": "GET", + "count": 3, + "group": "admissionregistration.k8s.io", + "resource": "validatingwebhookconfigurations", + "scope": "cluster", + "verb": "LIST", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 72, - "1000": 72, - "10000": 72, - "100000": 72, - "1000000": 72, - "10000000": 72, - "100000000": 72, - "1000000000": 72 - }, - "count": 72, - "sum": 16178 - } - } } }, "Index": "", @@ -19983,70 +18834,70 @@ "duration": { "us": { "bucket": { - "+Inf": 6, - "100000": 6, - "1000000": 6, - "10000000": 6, - "1250000": 6, - "150000": 6, - "1500000": 6, - "15000000": 6, - "1750000": 6, - "200000": 6, - "2000000": 6, - "20000000": 6, - "250000": 6, - "2500000": 6, - "25000000": 6, - "300000": 6, - "3000000": 6, - "30000000": 6, - "350000": 6, - "3500000": 6, - "400000": 6, - "4000000": 6, - "40000000": 6, - "450000": 6, - "4500000": 6, - "50000": 6, - "500000": 6, - "5000000": 6, - "50000000": 6, - "600000": 6, - "6000000": 6, - "60000000": 6, - "700000": 6, - "7000000": 6, - "800000": 6, - "8000000": 6, - "900000": 6, - "9000000": 6 + "+Inf": 32, + "100000": 32, + "1000000": 32, + "10000000": 32, + "1250000": 32, + "150000": 32, + "1500000": 32, + "15000000": 32, + "1750000": 32, + "200000": 32, + "2000000": 32, + "20000000": 32, + "250000": 32, + "2500000": 32, + "25000000": 32, + "300000": 32, + "3000000": 32, + "30000000": 32, + "350000": 32, + "3500000": 32, + "400000": 32, + "4000000": 32, + "40000000": 32, + "450000": 32, + "4500000": 32, + "50000": 32, + "500000": 32, + "5000000": 32, + "50000000": 32, + "600000": 32, + "6000000": 32, + "60000000": 32, + "700000": 32, + "7000000": 32, + "800000": 32, + "8000000": 32, + "900000": 32, + "9000000": 32 }, - "count": 6, - "sum": 3581.286 + "count": 32, + "sum": 68234.144 } }, "group": "storage.k8s.io", - "resource": "csidrivers", - "scope": "cluster", - "verb": "LIST", + "resource": "csinodes", + "scope": "resource", + "verb": "GET", "version": "v1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 6, - "1000": 6, - "10000": 6, - "100000": 6, - "1000000": 6, - "10000000": 6, - "100000000": 6, - "1000000000": 6 + "+Inf": 32, + "1000": 32, + "10000": 32, + "100000": 32, + "1000000": 32, + "10000000": 32, + "100000000": 32, + "1000000000": 32 }, - "count": 6, - "sum": 330 + "count": 32, + "sum": 5672 } } } @@ -20067,28 +18918,73 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "flowcontrol.apiserver.k8s.io", - "version": "v1beta1" + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 839, + "100000": 828, + "1000000": 836, + "10000000": 839, + "1250000": 838, + "150000": 833, + "1500000": 839, + "15000000": 839, + "1750000": 839, + "200000": 833, + "2000000": 839, + "20000000": 839, + "250000": 833, + "2500000": 839, + "25000000": 839, + "300000": 833, + "3000000": 839, + "30000000": 839, + "350000": 834, + "3500000": 839, + "400000": 834, + "4000000": 839, + "40000000": 839, + "450000": 834, + "4500000": 839, + "50000": 827, + "500000": 834, + "5000000": 839, + "50000000": 839, + "600000": 835, + "6000000": 839, + "60000000": 839, + "700000": 836, + "7000000": 839, + "800000": 836, + "8000000": 839, + "900000": 836, + "9000000": 839 + }, + "count": 839, + "sum": 8754493.183000004 + } + }, + "resource": "endpoints", + "scope": "resource", + "verb": "GET", + "version": "v1" }, - "watch": { - "events": { - "kind": "PriorityLevelConfiguration", - "size": { - "bytes": { - "bucket": { - "+Inf": 19, - "1024": 19, - "131072": 19, - "16384": 19, - "2048": 19, - "32768": 19, - "4096": 19, - "65536": 19, - "8192": 19 - }, - "count": 19, - "sum": 4534 - } + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 839, + "1000": 839, + "10000": 839, + "100000": 839, + "1000000": 839, + "10000000": 839, + "100000000": 839, + "1000000000": 839 + }, + "count": 839, + "sum": 587342 } } } @@ -20104,42 +19000,81 @@ "Period": 0, "DisableTimeSeries": false }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "etcd": { - "object": { - "count": 181 - } - }, - "request": { - "resource": "events" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, { "RootFields": {}, "ModuleFields": null, "MetricSetFields": { "request": { - "code": "403", "component": "apiserver", - "count": 7, - "resource": "pods", - "scope": "resource", - "verb": "POST", + "duration": { + "us": { + "bucket": { + "+Inf": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "1250000": 2, + "150000": 2, + "1500000": 2, + "15000000": 2, + "1750000": 2, + "200000": 2, + "2000000": 2, + "20000000": 2, + "250000": 2, + "2500000": 2, + "25000000": 2, + "300000": 2, + "3000000": 2, + "30000000": 2, + "350000": 2, + "3500000": 2, + "400000": 2, + "4000000": 2, + "40000000": 2, + "450000": 2, + "4500000": 2, + "50000": 2, + "500000": 2, + "5000000": 2, + "50000000": 2, + "600000": 2, + "6000000": 2, + "60000000": 2, + "700000": 2, + "7000000": 2, + "800000": 2, + "8000000": 2, + "900000": 2, + "9000000": 2 + }, + "count": 2, + "sum": 963.68 + } + }, + "group": "networking.k8s.io", + "resource": "networkpolicies", + "scope": "cluster", + "verb": "LIST", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 2, + "1000": 2, + "10000": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "100000000": 2, + "1000000000": 2 + }, + "count": 2, + "sum": 124 + } + } } }, "Index": "", @@ -20162,75 +19097,54 @@ "duration": { "us": { "bucket": { - "+Inf": 2, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 + "+Inf": 4, + "100000": 4, + "1000000": 4, + "10000000": 4, + "1250000": 4, + "150000": 4, + "1500000": 4, + "15000000": 4, + "1750000": 4, + "200000": 4, + "2000000": 4, + "20000000": 4, + "250000": 4, + "2500000": 4, + "25000000": 4, + "300000": 4, + "3000000": 4, + "30000000": 4, + "350000": 4, + "3500000": 4, + "400000": 4, + "4000000": 4, + "40000000": 4, + "450000": 4, + "4500000": 4, + "50000": 4, + "500000": 4, + "5000000": 4, + "50000000": 4, + "600000": 4, + "6000000": 4, + "60000000": 4, + "700000": 4, + "7000000": 4, + "800000": 4, + "8000000": 4, + "900000": 4, + "9000000": 4 }, - "count": 2, - "sum": 1067002576.502 + "count": 4, + "sum": 14914.901000000002 } }, - "group": "events.k8s.io", - "longrunning": { - "count": 1 - }, - "resource": "events", - "scope": "cluster", - "verb": "WATCH", + "resource": "pods", + "scope": "resource", + "subresource": "status", + "verb": "PUT", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 2, - "1000": 2, - "10000": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "100000000": 2, - "1000000000": 2 - }, - "count": 2, - "sum": 0 - } - } } }, "Index": "", @@ -20249,14 +19163,75 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "201", "component": "apiserver", - "count": 3, - "group": "storage.k8s.io", - "resource": "csinodes", - "scope": "resource", - "verb": "POST", + "duration": { + "us": { + "bucket": { + "+Inf": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "1250000": 1, + "150000": 1, + "1500000": 1, + "15000000": 1, + "1750000": 1, + "200000": 1, + "2000000": 1, + "20000000": 1, + "250000": 1, + "2500000": 1, + "25000000": 1, + "300000": 1, + "3000000": 1, + "30000000": 1, + "350000": 1, + "3500000": 1, + "400000": 1, + "4000000": 1, + "40000000": 1, + "450000": 1, + "4500000": 1, + "50000": 1, + "500000": 1, + "5000000": 1, + "50000000": 1, + "600000": 1, + "6000000": 1, + "60000000": 1, + "700000": 1, + "7000000": 1, + "800000": 1, + "8000000": 1, + "900000": 1, + "9000000": 1 + }, + "count": 1, + "sum": 8484.125 + } + }, + "resource": "events", + "scope": "cluster", + "verb": "LIST", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 1, + "1000": 0, + "10000": 0, + "100000": 1, + "1000000": 1, + "10000000": 1, + "100000000": 1, + "1000000000": 1 + }, + "count": 1, + "sum": 11809 + } + } } }, "Index": "", @@ -20274,11 +19249,15 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { + "client": { + "request": { + "count": 1 + } + }, "request": { - "code": "200", - "count": 1420, - "subresource": "/readyz", - "verb": "GET" + "code": "404", + "host": "[::1]:6443", + "method": "PUT" } }, "Index": "", @@ -20297,14 +19276,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", + "code": "404", "component": "apiserver", - "count": 3, - "group": "extensions", - "resource": "ingresses", - "scope": "cluster", - "verb": "WATCH", - "version": "v1beta1" + "count": 9, + "group": "coordination.k8s.io", + "resource": "leases", + "scope": "resource", + "verb": "GET", + "version": "v1" } }, "Index": "", @@ -20322,13 +19301,77 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "etcd": { - "object": { - "count": 37 - } - }, "request": { - "resource": "apiservices.apiregistration.k8s.io" + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 72, + "100000": 72, + "1000000": 72, + "10000000": 72, + "1250000": 72, + "150000": 72, + "1500000": 72, + "15000000": 72, + "1750000": 72, + "200000": 72, + "2000000": 72, + "20000000": 72, + "250000": 72, + "2500000": 72, + "25000000": 72, + "300000": 72, + "3000000": 72, + "30000000": 72, + "350000": 72, + "3500000": 72, + "400000": 72, + "4000000": 72, + "40000000": 72, + "450000": 72, + "4500000": 72, + "50000": 72, + "500000": 72, + "5000000": 72, + "50000000": 72, + "600000": 72, + "6000000": 72, + "60000000": 72, + "700000": 72, + "7000000": 72, + "800000": 72, + "8000000": 72, + "900000": 72, + "9000000": 72 + }, + "count": 72, + "sum": 64481.998 + } + }, + "group": "rbac.authorization.k8s.io", + "resource": "clusterroles", + "scope": "resource", + "verb": "GET", + "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 72, + "1000": 72, + "10000": 72, + "100000": 72, + "1000000": 72, + "10000000": 72, + "100000000": 72, + "1000000000": 72 + }, + "count": 72, + "sum": 16178 + } + } } }, "Index": "", @@ -20391,11 +19434,11 @@ "9000000": 6 }, "count": 6, - "sum": 26525.21 + "sum": 3581.286 } }, - "group": "node.k8s.io", - "resource": "runtimeclasses", + "group": "storage.k8s.io", + "resource": "csidrivers", "scope": "cluster", "verb": "LIST", "version": "v1" @@ -20430,32 +19473,6 @@ "Period": 0, "DisableTimeSeries": false }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "0", - "component": "apiserver", - "count": 8, - "group": "discovery.k8s.io", - "resource": "endpointslices", - "scope": "cluster", - "verb": "WATCH", - "version": "v1beta1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, { "RootFields": {}, "ModuleFields": null, @@ -20463,10 +19480,11 @@ "request": { "code": "200", "component": "apiserver", - "count": 3, - "resource": "replicationcontrollers", - "scope": "cluster", - "verb": "LIST", + "count": 10, + "group": "discovery.k8s.io", + "resource": "endpointslices", + "scope": "resource", + "verb": "PUT", "version": "v1" } }, @@ -20530,12 +19548,12 @@ "9000000": 1 }, "count": 1, - "sum": 3355.154 + "sum": 3537.324 } }, - "resource": "persistentvolumes", + "resource": "serviceaccounts", "scope": "resource", - "verb": "PUT", + "verb": "DELETE", "version": "v1" } }, @@ -20555,12 +19573,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "404", + "code": "200", "component": "apiserver", "count": 2, - "resource": "configmaps", + "resource": "persistentvolumes", "scope": "resource", - "verb": "GET", + "subresource": "status", + "verb": "PUT", "version": "v1" } }, @@ -20580,13 +19599,118 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", "component": "apiserver", - "count": 2, - "resource": "configmaps", + "duration": { + "us": { + "bucket": { + "+Inf": 4, + "100000": 4, + "1000000": 4, + "10000000": 4, + "1250000": 4, + "150000": 4, + "1500000": 4, + "15000000": 4, + "1750000": 4, + "200000": 4, + "2000000": 4, + "20000000": 4, + "250000": 4, + "2500000": 4, + "25000000": 4, + "300000": 4, + "3000000": 4, + "30000000": 4, + "350000": 4, + "3500000": 4, + "400000": 4, + "4000000": 4, + "40000000": 4, + "450000": 4, + "4500000": 4, + "50000": 4, + "500000": 4, + "5000000": 4, + "50000000": 4, + "600000": 4, + "6000000": 4, + "60000000": 4, + "700000": 4, + "7000000": 4, + "800000": 4, + "8000000": 4, + "900000": 4, + "9000000": 4 + }, + "count": 4, + "sum": 2944.409 + } + }, + "group": "rbac.authorization.k8s.io", + "resource": "clusterrolebindings", "scope": "cluster", "verb": "LIST", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 4, + "1000": 3, + "10000": 3, + "100000": 4, + "1000000": 4, + "10000000": 4, + "100000000": 4, + "1000000000": 4 + }, + "count": 4, + "sum": 31531 + } + } + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "group": "flowcontrol.apiserver.k8s.io", + "version": "v1beta1" + }, + "watch": { + "events": { + "kind": "FlowSchema", + "size": { + "bytes": { + "bucket": { + "+Inf": 35, + "1024": 34, + "131072": 35, + "16384": 35, + "2048": 35, + "32768": 35, + "4096": 35, + "65536": 35, + "8192": 35 + }, + "count": 35, + "sum": 17360 + } + } + } } }, "Index": "", @@ -20605,77 +19729,182 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", + "count": 1, + "resource": "podtemplates", + "scope": "cluster", + "verb": "LIST", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { "duration": { "us": { "bucket": { - "+Inf": 6, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 + "+Inf": 5, + "100000": 5, + "1000000": 5, + "10000000": 5, + "1250000": 5, + "150000": 5, + "1500000": 5, + "15000000": 5, + "1750000": 5, + "200000": 5, + "2000000": 5, + "20000000": 5, + "250000": 5, + "2500000": 5, + "25000000": 5, + "300000": 5, + "3000000": 5, + "30000000": 5, + "350000": 5, + "3500000": 5, + "400000": 5, + "4000000": 5, + "40000000": 5, + "450000": 5, + "4500000": 5, + "50000": 5, + "500000": 5, + "5000000": 5, + "50000000": 5, + "600000": 5, + "6000000": 5, + "60000000": 5, + "700000": 5, + "7000000": 5, + "800000": 5, + "8000000": 5, + "900000": 5, + "9000000": 5 + }, + "count": 5, + "sum": 12048.192 + } + }, + "subresource": "/healthz", + "verb": "GET" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 5, + "1000": 5, + "10000": 5, + "100000": 5, + "1000000": 5, + "10000000": 5, + "100000000": 5, + "1000000000": 5 + }, + "count": 5, + "sum": 4 + } + } + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "1250000": 1, + "150000": 1, + "1500000": 1, + "15000000": 1, + "1750000": 1, + "200000": 1, + "2000000": 1, + "20000000": 1, + "250000": 1, + "2500000": 1, + "25000000": 1, + "300000": 1, + "3000000": 1, + "30000000": 1, + "350000": 1, + "3500000": 1, + "400000": 1, + "4000000": 1, + "40000000": 1, + "450000": 1, + "4500000": 1, + "50000": 1, + "500000": 1, + "5000000": 1, + "50000000": 1, + "600000": 1, + "6000000": 1, + "60000000": 1, + "700000": 1, + "7000000": 1, + "800000": 1, + "8000000": 1, + "900000": 1, + "9000000": 1 }, - "count": 6, - "sum": 2591004700.7980003 + "count": 1, + "sum": 257.88 } }, - "group": "storage.k8s.io", - "longrunning": { - "count": 2 - }, - "resource": "csinodes", + "resource": "podtemplates", "scope": "cluster", - "verb": "WATCH", + "verb": "LIST", "version": "v1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 6, - "1000": 6, - "10000": 6, - "100000": 6, - "1000000": 6, - "10000000": 6, - "100000000": 6, - "1000000000": 6 + "+Inf": 1, + "1000": 1, + "10000": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "100000000": 1, + "1000000000": 1 }, - "count": 6, - "sum": 0 + "count": 1, + "sum": 42 } } } @@ -20696,57 +19925,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "0", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "1250000": 2, - "150000": 2, - "1500000": 2, - "15000000": 2, - "1750000": 2, - "200000": 2, - "2000000": 2, - "20000000": 2, - "250000": 2, - "2500000": 2, - "25000000": 2, - "300000": 2, - "3000000": 2, - "30000000": 2, - "350000": 2, - "3500000": 2, - "400000": 2, - "4000000": 2, - "40000000": 2, - "450000": 2, - "4500000": 2, - "50000": 2, - "500000": 2, - "5000000": 2, - "50000000": 2, - "600000": 2, - "6000000": 2, - "60000000": 2, - "700000": 2, - "7000000": 2, - "800000": 2, - "8000000": 2, - "900000": 2, - "9000000": 2 - }, - "count": 2, - "sum": 5292.259 - } - }, - "group": "rbac.authorization.k8s.io", - "resource": "roles", - "scope": "resource", - "verb": "DELETE", + "count": 6, + "group": "batch", + "resource": "jobs", + "scope": "cluster", + "verb": "WATCH", "version": "v1" } }, @@ -20770,7 +19955,7 @@ "duration": { "us": { "bucket": { - "+Inf": 6, + "+Inf": 5, "100000": 0, "1000000": 0, "10000000": 0, @@ -20809,130 +19994,60 @@ "900000": 0, "9000000": 0 }, - "count": 6, - "sum": 2441004443.3759995 + "count": 5, + "sum": 2425003419.499 } }, + "group": "storage.k8s.io", "longrunning": { "count": 2 }, - "resource": "serviceaccounts", + "resource": "csistoragecapacities", "scope": "cluster", "verb": "WATCH", - "version": "v1" + "version": "v1beta1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 6, - "1000": 6, - "10000": 6, - "100000": 6, - "1000000": 6, - "10000000": 6, - "100000000": 6, - "1000000000": 6 - }, - "count": 6, - "sum": 0 - } - } - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "0", - "component": "apiserver", - "count": 8, - "group": "admissionregistration.k8s.io", - "resource": "validatingwebhookconfigurations", - "scope": "cluster", - "verb": "WATCH", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 135, - "100000": 135, - "1000000": 135, - "10000000": 135, - "1250000": 135, - "150000": 135, - "1500000": 135, - "15000000": 135, - "1750000": 135, - "200000": 135, - "2000000": 135, - "20000000": 135, - "250000": 135, - "2500000": 135, - "25000000": 135, - "300000": 135, - "3000000": 135, - "30000000": 135, - "350000": 135, - "3500000": 135, - "400000": 135, - "4000000": 135, - "40000000": 135, - "450000": 135, - "4500000": 135, - "50000": 135, - "500000": 135, - "5000000": 135, - "50000000": 135, - "600000": 135, - "6000000": 135, - "60000000": 135, - "700000": 135, - "7000000": 135, - "800000": 135, - "8000000": 135, - "900000": 135, - "9000000": 135 + "+Inf": 5, + "1000": 5, + "10000": 5, + "100000": 5, + "1000000": 5, + "10000000": 5, + "100000000": 5, + "1000000000": 5 }, - "count": 135, - "sum": 293881.7489999998 + "count": 5, + "sum": 0 } - }, - "group": "authentication.k8s.io", - "resource": "tokenreviews", - "scope": "resource", - "verb": "POST", + } + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "200", + "component": "apiserver", + "count": 1, + "resource": "serviceaccounts", + "scope": "namespace", + "verb": "LIST", "version": "v1" } }, @@ -20996,13 +20111,12 @@ "9000000": 1 }, "count": 1, - "sum": 5679.247 + "sum": 3355.154 } }, - "group": "apps", - "resource": "controllerrevisions", + "resource": "persistentvolumes", "scope": "resource", - "verb": "DELETE", + "verb": "PUT", "version": "v1" } }, @@ -21022,14 +20136,12 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", + "code": "404", "component": "apiserver", - "count": 28, - "group": "batch", - "resource": "jobs", + "count": 2, + "resource": "configmaps", "scope": "resource", - "subresource": "status", - "verb": "PUT", + "verb": "GET", "version": "v1" } }, @@ -21051,10 +20163,10 @@ "request": { "code": "200", "component": "apiserver", - "count": 178, - "resource": "configmaps", - "scope": "resource", - "verb": "GET", + "count": 3, + "resource": "replicationcontrollers", + "scope": "cluster", + "verb": "LIST", "version": "v1" } }, @@ -21069,6 +20181,56 @@ "Period": 0, "DisableTimeSeries": false }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "0", + "component": "apiserver", + "count": 8, + "group": "discovery.k8s.io", + "resource": "endpointslices", + "scope": "cluster", + "verb": "WATCH", + "version": "v1beta1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "etcd": { + "object": { + "count": 37 + } + }, + "request": { + "resource": "apiservices.apiregistration.k8s.io" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, { "RootFields": {}, "ModuleFields": null, @@ -21078,54 +20240,120 @@ "duration": { "us": { "bucket": { - "+Inf": 54, - "100000": 54, - "1000000": 54, - "10000000": 54, - "1250000": 54, - "150000": 54, - "1500000": 54, - "15000000": 54, - "1750000": 54, - "200000": 54, - "2000000": 54, - "20000000": 54, - "250000": 54, - "2500000": 54, - "25000000": 54, - "300000": 54, - "3000000": 54, - "30000000": 54, - "350000": 54, - "3500000": 54, - "400000": 54, - "4000000": 54, - "40000000": 54, - "450000": 54, - "4500000": 54, - "50000": 54, - "500000": 54, - "5000000": 54, - "50000000": 54, - "600000": 54, - "6000000": 54, - "60000000": 54, - "700000": 54, - "7000000": 54, - "800000": 54, - "8000000": 54, - "900000": 54, - "9000000": 54 + "+Inf": 6, + "100000": 6, + "1000000": 6, + "10000000": 6, + "1250000": 6, + "150000": 6, + "1500000": 6, + "15000000": 6, + "1750000": 6, + "200000": 6, + "2000000": 6, + "20000000": 6, + "250000": 6, + "2500000": 6, + "25000000": 6, + "300000": 6, + "3000000": 6, + "30000000": 6, + "350000": 6, + "3500000": 6, + "400000": 6, + "4000000": 6, + "40000000": 6, + "450000": 6, + "4500000": 6, + "50000": 6, + "500000": 6, + "5000000": 6, + "50000000": 6, + "600000": 6, + "6000000": 6, + "60000000": 6, + "700000": 6, + "7000000": 6, + "800000": 6, + "8000000": 6, + "900000": 6, + "9000000": 6 }, - "count": 54, - "sum": 84032.587 + "count": 6, + "sum": 26525.21 } }, - "group": "rbac.authorization.k8s.io", - "resource": "clusterrolebindings", - "scope": "resource", - "verb": "POST", + "group": "node.k8s.io", + "resource": "runtimeclasses", + "scope": "cluster", + "verb": "LIST", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 6, + "1000": 6, + "10000": 6, + "100000": 6, + "1000000": 6, + "10000000": 6, + "100000000": 6, + "1000000000": 6 + }, + "count": 6, + "sum": 330 + } + } + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "0", + "component": "apiserver", + "count": 3, + "group": "extensions", + "resource": "ingresses", + "scope": "cluster", + "verb": "WATCH", + "version": "v1beta1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "200", + "count": 1420, + "subresource": "/readyz", + "verb": "GET" } }, "Index": "", @@ -21144,14 +20372,79 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "201", "component": "apiserver", - "count": 58, - "resource": "serviceaccounts", - "scope": "resource", - "subresource": "token", - "verb": "POST", + "duration": { + "us": { + "bucket": { + "+Inf": 2, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 + }, + "count": 2, + "sum": 1067002576.502 + } + }, + "group": "events.k8s.io", + "longrunning": { + "count": 1 + }, + "resource": "events", + "scope": "cluster", + "verb": "WATCH", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 2, + "1000": 2, + "10000": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "100000000": 2, + "1000000000": 2 + }, + "count": 2, + "sum": 0 + } + } } }, "Index": "", @@ -21170,10 +20463,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", - "count": 14, - "subresource": "/readyz", - "verb": "GET" + "code": "201", + "component": "apiserver", + "count": 3, + "group": "storage.k8s.io", + "resource": "csinodes", + "scope": "resource", + "verb": "POST", + "version": "v1" } }, "Index": "", @@ -21191,14 +20488,13 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { + "etcd": { + "object": { + "count": 181 + } + }, "request": { - "code": "200", - "component": "apiserver", - "count": 837, - "resource": "endpoints", - "scope": "resource", - "verb": "GET", - "version": "v1" + "resource": "events" } }, "Index": "", @@ -21217,10 +20513,10 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "201", + "code": "403", "component": "apiserver", - "count": 184, - "resource": "events", + "count": 7, + "resource": "pods", "scope": "resource", "verb": "POST", "version": "v1" @@ -21242,27 +20538,27 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "certificates.k8s.io", - "version": "v1" + "group": "flowcontrol.apiserver.k8s.io", + "version": "v1beta1" }, "watch": { "events": { - "kind": "CertificateSigningRequest", + "kind": "PriorityLevelConfiguration", "size": { "bytes": { "bucket": { - "+Inf": 27, - "1024": 18, - "131072": 27, - "16384": 27, - "2048": 22, - "32768": 27, - "4096": 27, - "65536": 27, - "8192": 27 + "+Inf": 19, + "1024": 19, + "131072": 19, + "16384": 19, + "2048": 19, + "32768": 19, + "4096": 19, + "65536": 19, + "8192": 19 }, - "count": 27, - "sum": 19209 + "count": 19, + "sum": 4534 } } } @@ -21284,76 +20580,39 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "201", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 3, - "100000": 3, - "1000000": 3, - "10000000": 3, - "1250000": 3, - "150000": 3, - "1500000": 3, - "15000000": 3, - "1750000": 3, - "200000": 3, - "2000000": 3, - "20000000": 3, - "250000": 3, - "2500000": 3, - "25000000": 3, - "300000": 3, - "3000000": 3, - "30000000": 3, - "350000": 3, - "3500000": 3, - "400000": 3, - "4000000": 3, - "40000000": 3, - "450000": 3, - "4500000": 3, - "50000": 3, - "500000": 3, - "5000000": 3, - "50000000": 3, - "600000": 3, - "6000000": 3, - "60000000": 3, - "700000": 3, - "7000000": 3, - "800000": 3, - "8000000": 3, - "900000": 3, - "9000000": 3 - }, - "count": 3, - "sum": 5614.563999999999 - } - }, - "group": "apps", - "resource": "daemonsets", + "count": 15, + "group": "rbac.authorization.k8s.io", + "resource": "roles", + "scope": "resource", + "verb": "POST", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "200", + "component": "apiserver", + "count": 32, + "resource": "services", "scope": "cluster", "verb": "LIST", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 3, - "1000": 0, - "10000": 1, - "100000": 3, - "1000000": 3, - "10000000": 3, - "100000000": 3, - "1000000000": 3 - }, - "count": 3, - "sum": 38547 - } - } } }, "Index": "", @@ -21372,12 +20631,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", + "code": "200", "component": "apiserver", - "count": 7, - "resource": "resourcequotas", + "count": 5, + "group": "storage.k8s.io", + "resource": "storageclasses", "scope": "cluster", - "verb": "WATCH", + "verb": "LIST", "version": "v1" } }, @@ -21441,14 +20701,13 @@ "9000000": 0 }, "count": 3, - "sum": 1413001212.8630002 + "sum": 1368003098.8530002 } }, - "group": "discovery.k8s.io", "longrunning": { "count": 1 }, - "resource": "endpointslices", + "resource": "podtemplates", "scope": "cluster", "verb": "WATCH", "version": "v1" @@ -21487,13 +20746,15 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "etcd": { - "object": { - "count": 21 - } - }, "request": { - "resource": "jobs.batch" + "code": "201", + "component": "apiserver", + "count": 54, + "group": "rbac.authorization.k8s.io", + "resource": "clusterrolebindings", + "scope": "resource", + "verb": "POST", + "version": "v1" } }, "Index": "", @@ -21595,58 +20856,6 @@ "Period": 0, "DisableTimeSeries": false }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "201", - "component": "apiserver", - "count": 54, - "group": "rbac.authorization.k8s.io", - "resource": "clusterrolebindings", - "scope": "resource", - "verb": "POST", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "200", - "component": "apiserver", - "count": 5, - "group": "storage.k8s.io", - "resource": "storageclasses", - "scope": "cluster", - "verb": "LIST", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, { "RootFields": {}, "ModuleFields": null, @@ -21696,13 +20905,14 @@ "9000000": 0 }, "count": 3, - "sum": 1368003098.8530002 + "sum": 1413001212.8630002 } }, + "group": "discovery.k8s.io", "longrunning": { "count": 1 }, - "resource": "podtemplates", + "resource": "endpointslices", "scope": "cluster", "verb": "WATCH", "version": "v1" @@ -21742,13 +20952,191 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "201", + "code": "0", "component": "apiserver", - "count": 15, - "group": "rbac.authorization.k8s.io", - "resource": "roles", + "count": 7, + "resource": "resourcequotas", + "scope": "cluster", + "verb": "WATCH", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 3, + "100000": 3, + "1000000": 3, + "10000000": 3, + "1250000": 3, + "150000": 3, + "1500000": 3, + "15000000": 3, + "1750000": 3, + "200000": 3, + "2000000": 3, + "20000000": 3, + "250000": 3, + "2500000": 3, + "25000000": 3, + "300000": 3, + "3000000": 3, + "30000000": 3, + "350000": 3, + "3500000": 3, + "400000": 3, + "4000000": 3, + "40000000": 3, + "450000": 3, + "4500000": 3, + "50000": 3, + "500000": 3, + "5000000": 3, + "50000000": 3, + "600000": 3, + "6000000": 3, + "60000000": 3, + "700000": 3, + "7000000": 3, + "800000": 3, + "8000000": 3, + "900000": 3, + "9000000": 3 + }, + "count": 3, + "sum": 5614.563999999999 + } + }, + "group": "apps", + "resource": "daemonsets", + "scope": "cluster", + "verb": "LIST", + "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 3, + "1000": 0, + "10000": 1, + "100000": 3, + "1000000": 3, + "10000000": 3, + "100000000": 3, + "1000000000": 3 + }, + "count": 3, + "sum": 38547 + } + } + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "etcd": { + "object": { + "count": 21 + } + }, + "request": { + "resource": "jobs.batch" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "group": "certificates.k8s.io", + "version": "v1" + }, + "watch": { + "events": { + "kind": "CertificateSigningRequest", + "size": { + "bytes": { + "bucket": { + "+Inf": 27, + "1024": 18, + "131072": 27, + "16384": 27, + "2048": 22, + "32768": 27, + "4096": 27, + "65536": 27, + "8192": 27 + }, + "count": 27, + "sum": 19209 + } + } + } + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "200", + "component": "apiserver", + "count": 837, + "resource": "endpoints", "scope": "resource", - "verb": "POST", + "verb": "GET", "version": "v1" } }, @@ -21768,12 +21156,12 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", + "code": "201", "component": "apiserver", - "count": 32, - "resource": "services", - "scope": "cluster", - "verb": "LIST", + "count": 184, + "resource": "events", + "scope": "resource", + "verb": "POST", "version": "v1" } }, @@ -21793,12 +21181,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", + "code": "201", "component": "apiserver", - "count": 1, - "resource": "configmaps", + "count": 58, + "resource": "serviceaccounts", "scope": "resource", - "verb": "PUT", + "subresource": "token", + "verb": "POST", "version": "v1" } }, @@ -21818,75 +21207,10 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 116, - "100000": 115, - "1000000": 116, - "10000000": 116, - "1250000": 116, - "150000": 116, - "1500000": 116, - "15000000": 116, - "1750000": 116, - "200000": 116, - "2000000": 116, - "20000000": 116, - "250000": 116, - "2500000": 116, - "25000000": 116, - "300000": 116, - "3000000": 116, - "30000000": 116, - "350000": 116, - "3500000": 116, - "400000": 116, - "4000000": 116, - "40000000": 116, - "450000": 116, - "4500000": 116, - "50000": 115, - "500000": 116, - "5000000": 116, - "50000000": 116, - "600000": 116, - "6000000": 116, - "60000000": 116, - "700000": 116, - "7000000": 116, - "800000": 116, - "8000000": 116, - "900000": 116, - "9000000": 116 - }, - "count": 116, - "sum": 469104.2889999999 - } - }, - "resource": "pods", - "scope": "resource", - "verb": "GET", - "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 116, - "1000": 29, - "10000": 116, - "100000": 116, - "1000000": 116, - "10000000": 116, - "100000000": 116, - "1000000000": 116 - }, - "count": 116, - "sum": 385613 - } - } + "code": "0", + "count": 14, + "subresource": "/readyz", + "verb": "GET" } }, "Index": "", @@ -21904,13 +21228,14 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "etcd": { - "object": { - "count": 1 - } - }, "request": { - "resource": "statefulsets.apps" + "code": "200", + "component": "apiserver", + "count": 178, + "resource": "configmaps", + "scope": "resource", + "verb": "GET", + "version": "v1" } }, "Index": "", @@ -21929,13 +21254,57 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", "component": "apiserver", - "count": 9, - "group": "apps", - "resource": "statefulsets", - "scope": "cluster", - "verb": "WATCH", + "duration": { + "us": { + "bucket": { + "+Inf": 54, + "100000": 54, + "1000000": 54, + "10000000": 54, + "1250000": 54, + "150000": 54, + "1500000": 54, + "15000000": 54, + "1750000": 54, + "200000": 54, + "2000000": 54, + "20000000": 54, + "250000": 54, + "2500000": 54, + "25000000": 54, + "300000": 54, + "3000000": 54, + "30000000": 54, + "350000": 54, + "3500000": 54, + "400000": 54, + "4000000": 54, + "40000000": 54, + "450000": 54, + "4500000": 54, + "50000": 54, + "500000": 54, + "5000000": 54, + "50000000": 54, + "600000": 54, + "6000000": 54, + "60000000": 54, + "700000": 54, + "7000000": 54, + "800000": 54, + "8000000": 54, + "900000": 54, + "9000000": 54 + }, + "count": 54, + "sum": 84032.587 + } + }, + "group": "rbac.authorization.k8s.io", + "resource": "clusterrolebindings", + "scope": "resource", + "verb": "POST", "version": "v1" } }, @@ -21998,33 +21367,112 @@ "900000": 1, "9000000": 1 }, - "count": 1, - "sum": 1386.749 + "count": 1, + "sum": 5679.247 + } + }, + "group": "apps", + "resource": "controllerrevisions", + "scope": "resource", + "verb": "DELETE", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "200", + "component": "apiserver", + "count": 28, + "group": "batch", + "resource": "jobs", + "scope": "resource", + "subresource": "status", + "verb": "PUT", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 135, + "100000": 135, + "1000000": 135, + "10000000": 135, + "1250000": 135, + "150000": 135, + "1500000": 135, + "15000000": 135, + "1750000": 135, + "200000": 135, + "2000000": 135, + "20000000": 135, + "250000": 135, + "2500000": 135, + "25000000": 135, + "300000": 135, + "3000000": 135, + "30000000": 135, + "350000": 135, + "3500000": 135, + "400000": 135, + "4000000": 135, + "40000000": 135, + "450000": 135, + "4500000": 135, + "50000": 135, + "500000": 135, + "5000000": 135, + "50000000": 135, + "600000": 135, + "6000000": 135, + "60000000": 135, + "700000": 135, + "7000000": 135, + "800000": 135, + "8000000": 135, + "900000": 135, + "9000000": 135 + }, + "count": 135, + "sum": 293881.7489999998 } }, - "group": "apps", - "resource": "controllerrevisions", + "group": "authentication.k8s.io", + "resource": "tokenreviews", "scope": "resource", - "verb": "GET", + "verb": "POST", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 1, - "1000": 0, - "10000": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "100000000": 1, - "1000000000": 1 - }, - "count": 1, - "sum": 3262 - } - } } }, "Index": "", @@ -22047,7 +21495,7 @@ "duration": { "us": { "bucket": { - "+Inf": 3, + "+Inf": 6, "100000": 0, "1000000": 0, "10000000": 0, @@ -22086,16 +21534,16 @@ "900000": 0, "9000000": 0 }, - "count": 3, - "sum": 1155003339.1 + "count": 6, + "sum": 2591004700.7980003 } }, - "group": "coordination.k8s.io", + "group": "storage.k8s.io", "longrunning": { - "count": 1 + "count": 2 }, - "resource": "leases", - "scope": "namespace", + "resource": "csinodes", + "scope": "cluster", "verb": "WATCH", "version": "v1" }, @@ -22103,16 +21551,16 @@ "size": { "bytes": { "bucket": { - "+Inf": 3, - "1000": 3, - "10000": 3, - "100000": 3, - "1000000": 3, - "10000000": 3, - "100000000": 3, - "1000000000": 3 + "+Inf": 6, + "1000": 6, + "10000": 6, + "100000": 6, + "1000000": 6, + "10000000": 6, + "100000000": 6, + "1000000000": 6 }, - "count": 3, + "count": 6, "sum": 0 } } @@ -22134,29 +21582,58 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "version": "v1" - }, - "watch": { - "events": { - "kind": "PersistentVolume", - "size": { - "bytes": { - "bucket": { - "+Inf": 31, - "1024": 18, - "131072": 31, - "16384": 31, - "2048": 31, - "32768": 31, - "4096": 31, - "65536": 31, - "8192": 31 - }, - "count": 31, - "sum": 22753 - } + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "1250000": 2, + "150000": 2, + "1500000": 2, + "15000000": 2, + "1750000": 2, + "200000": 2, + "2000000": 2, + "20000000": 2, + "250000": 2, + "2500000": 2, + "25000000": 2, + "300000": 2, + "3000000": 2, + "30000000": 2, + "350000": 2, + "3500000": 2, + "400000": 2, + "4000000": 2, + "40000000": 2, + "450000": 2, + "4500000": 2, + "50000": 2, + "500000": 2, + "5000000": 2, + "50000000": 2, + "600000": 2, + "6000000": 2, + "60000000": 2, + "700000": 2, + "7000000": 2, + "800000": 2, + "8000000": 2, + "900000": 2, + "9000000": 2 + }, + "count": 2, + "sum": 5292.259 } - } + }, + "group": "rbac.authorization.k8s.io", + "resource": "roles", + "scope": "resource", + "verb": "DELETE", + "version": "v1" } }, "Index": "", @@ -22179,70 +21656,72 @@ "duration": { "us": { "bucket": { - "+Inf": 3, - "100000": 3, - "1000000": 3, - "10000000": 3, - "1250000": 3, - "150000": 3, - "1500000": 3, - "15000000": 3, - "1750000": 3, - "200000": 3, - "2000000": 3, - "20000000": 3, - "250000": 3, - "2500000": 3, - "25000000": 3, - "300000": 3, - "3000000": 3, - "30000000": 3, - "350000": 3, - "3500000": 3, - "400000": 3, - "4000000": 3, - "40000000": 3, - "450000": 3, - "4500000": 3, - "50000": 3, - "500000": 3, - "5000000": 3, - "50000000": 3, - "600000": 3, - "6000000": 3, - "60000000": 3, - "700000": 3, - "7000000": 3, - "800000": 3, - "8000000": 3, - "900000": 3, - "9000000": 3 + "+Inf": 6, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 }, - "count": 3, - "sum": 6648.844999999999 + "count": 6, + "sum": 2441004443.3759995 } }, - "group": "apps", - "resource": "deployments", + "longrunning": { + "count": 2 + }, + "resource": "serviceaccounts", "scope": "cluster", - "verb": "LIST", + "verb": "WATCH", "version": "v1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 3, - "1000": 0, - "10000": 1, - "100000": 3, - "1000000": 3, - "10000000": 3, - "100000000": 3, - "1000000000": 3 + "+Inf": 6, + "1000": 6, + "10000": 6, + "100000": 6, + "1000000": 6, + "10000000": 6, + "100000000": 6, + "1000000000": 6 }, - "count": 3, - "sum": 35850 + "count": 6, + "sum": 0 } } } @@ -22263,12 +21742,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "404", + "code": "0", "component": "apiserver", - "count": 5, - "resource": "namespaces", - "scope": "resource", - "verb": "GET", + "count": 8, + "group": "admissionregistration.k8s.io", + "resource": "validatingwebhookconfigurations", + "scope": "cluster", + "verb": "WATCH", "version": "v1" } }, @@ -22290,11 +21770,10 @@ "request": { "code": "200", "component": "apiserver", - "count": 90, - "group": "apps", - "resource": "replicasets", - "scope": "resource", - "verb": "GET", + "count": 2, + "resource": "configmaps", + "scope": "cluster", + "verb": "LIST", "version": "v1" } }, @@ -22313,13 +21792,31 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "etcd": { - "object": { - "count": 4 - } - }, "request": { - "resource": "endpoints" + "group": "apiregistration.k8s.io", + "version": "v1" + }, + "watch": { + "events": { + "kind": "APIService", + "size": { + "bytes": { + "bucket": { + "+Inf": 53, + "1024": 53, + "131072": 53, + "16384": 53, + "2048": 53, + "32768": 53, + "4096": 53, + "65536": 53, + "8192": 53 + }, + "count": 53, + "sum": 22136 + } + } + } } }, "Index": "", @@ -22338,10 +21835,79 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", - "count": 2, - "subresource": "/healthz", - "verb": "GET" + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 9, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 + }, + "count": 9, + "sum": 4046010432.816 + } + }, + "group": "apps", + "longrunning": { + "count": 4 + }, + "resource": "statefulsets", + "scope": "cluster", + "verb": "WATCH", + "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 9, + "1000": 9, + "10000": 9, + "100000": 9, + "1000000": 9, + "10000000": 9, + "100000000": 9, + "1000000000": 9 + }, + "count": 9, + "sum": 0 + } + } } }, "Index": "", @@ -22364,69 +21930,73 @@ "duration": { "us": { "bucket": { - "+Inf": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "1250000": 1, - "150000": 1, - "1500000": 1, - "15000000": 1, - "1750000": 1, - "200000": 1, - "2000000": 1, - "20000000": 1, - "250000": 1, - "2500000": 1, - "25000000": 1, - "300000": 1, - "3000000": 1, - "30000000": 1, - "350000": 1, - "3500000": 1, - "400000": 1, - "4000000": 1, - "40000000": 1, - "450000": 1, - "4500000": 1, - "50000": 1, - "500000": 1, - "5000000": 1, - "50000000": 1, - "600000": 1, - "6000000": 1, - "60000000": 1, - "700000": 1, - "7000000": 1, - "800000": 1, - "8000000": 1, - "900000": 1, - "9000000": 1 + "+Inf": 3, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 }, - "count": 1, - "sum": 1708.7269999999999 + "count": 3, + "sum": 1309002203.2310002 } }, - "resource": "serviceaccounts", - "scope": "namespace", - "verb": "LIST", - "version": "v1" + "group": "policy", + "longrunning": { + "count": 1 + }, + "resource": "podsecuritypolicies", + "scope": "cluster", + "verb": "WATCH", + "version": "v1beta1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 1, - "1000": 1, - "10000": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "100000000": 1, - "1000000000": 1 + "+Inf": 3, + "1000": 3, + "10000": 3, + "100000": 3, + "1000000": 3, + "10000000": 3, + "100000000": 3, + "1000000000": 3 }, - "count": 1, - "sum": 97 + "count": 3, + "sum": 0 } } } @@ -22446,13 +22016,41 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "etcd": { - "object": { - "count": 3 - } - }, "request": { - "resource": "daemonsets.apps" + "code": "0", + "component": "apiserver", + "count": 7, + "group": "storage.k8s.io", + "resource": "volumeattachments", + "scope": "cluster", + "verb": "WATCH", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "0", + "component": "apiserver", + "count": 5, + "group": "storage.k8s.io", + "resource": "csistoragecapacities", + "scope": "cluster", + "verb": "WATCH", + "version": "v1beta1" } }, "Index": "", @@ -22586,15 +22184,13 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { + "etcd": { + "object": { + "count": 3 + } + }, "request": { - "code": "0", - "component": "apiserver", - "count": 5, - "group": "storage.k8s.io", - "resource": "csistoragecapacities", - "scope": "cluster", - "verb": "WATCH", - "version": "v1beta1" + "resource": "daemonsets.apps" } }, "Index": "", @@ -22613,14 +22209,75 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", "component": "apiserver", - "count": 7, - "group": "storage.k8s.io", - "resource": "volumeattachments", - "scope": "cluster", - "verb": "WATCH", + "duration": { + "us": { + "bucket": { + "+Inf": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "1250000": 1, + "150000": 1, + "1500000": 1, + "15000000": 1, + "1750000": 1, + "200000": 1, + "2000000": 1, + "20000000": 1, + "250000": 1, + "2500000": 1, + "25000000": 1, + "300000": 1, + "3000000": 1, + "30000000": 1, + "350000": 1, + "3500000": 1, + "400000": 1, + "4000000": 1, + "40000000": 1, + "450000": 1, + "4500000": 1, + "50000": 1, + "500000": 1, + "5000000": 1, + "50000000": 1, + "600000": 1, + "6000000": 1, + "60000000": 1, + "700000": 1, + "7000000": 1, + "800000": 1, + "8000000": 1, + "900000": 1, + "9000000": 1 + }, + "count": 1, + "sum": 1708.7269999999999 + } + }, + "resource": "serviceaccounts", + "scope": "namespace", + "verb": "LIST", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 1, + "1000": 1, + "10000": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "100000000": 1, + "1000000000": 1 + }, + "count": 1, + "sum": 97 + } + } } }, "Index": "", @@ -22639,79 +22296,34 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 3, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 - }, - "count": 3, - "sum": 1309002203.2310002 - } - }, - "group": "policy", - "longrunning": { - "count": 1 - }, - "resource": "podsecuritypolicies", - "scope": "cluster", - "verb": "WATCH", - "version": "v1beta1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 3, - "1000": 3, - "10000": 3, - "100000": 3, - "1000000": 3, - "10000000": 3, - "100000000": 3, - "1000000000": 3 - }, - "count": 3, - "sum": 0 - } + "code": "200", + "count": 2, + "subresource": "/healthz", + "verb": "GET" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "etcd": { + "object": { + "count": 4 } + }, + "request": { + "resource": "endpoints" } }, "Index": "", @@ -22730,79 +22342,39 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 9, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 - }, - "count": 9, - "sum": 4046010432.816 - } - }, - "group": "apps", - "longrunning": { - "count": 4 - }, - "resource": "statefulsets", - "scope": "cluster", - "verb": "WATCH", + "count": 90, + "group": "apps", + "resource": "replicasets", + "scope": "resource", + "verb": "GET", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "404", + "component": "apiserver", + "count": 5, + "resource": "namespaces", + "scope": "resource", + "verb": "GET", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 9, - "1000": 9, - "10000": 9, - "100000": 9, - "1000000": 9, - "10000000": 9, - "100000000": 9, - "1000000000": 9 - }, - "count": 9, - "sum": 0 - } - } } }, "Index": "", @@ -22821,27 +22393,26 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "apiregistration.k8s.io", "version": "v1" }, "watch": { "events": { - "kind": "APIService", + "kind": "PersistentVolume", "size": { "bytes": { "bucket": { - "+Inf": 53, - "1024": 53, - "131072": 53, - "16384": 53, - "2048": 53, - "32768": 53, - "4096": 53, - "65536": 53, - "8192": 53 + "+Inf": 31, + "1024": 18, + "131072": 31, + "16384": 31, + "2048": 31, + "32768": 31, + "4096": 31, + "65536": 31, + "8192": 31 }, - "count": 53, - "sum": 22136 + "count": 31, + "sum": 22753 } } } @@ -22863,28 +22434,74 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 3, + "100000": 3, + "1000000": 3, + "10000000": 3, + "1250000": 3, + "150000": 3, + "1500000": 3, + "15000000": 3, + "1750000": 3, + "200000": 3, + "2000000": 3, + "20000000": 3, + "250000": 3, + "2500000": 3, + "25000000": 3, + "300000": 3, + "3000000": 3, + "30000000": 3, + "350000": 3, + "3500000": 3, + "400000": 3, + "4000000": 3, + "40000000": 3, + "450000": 3, + "4500000": 3, + "50000": 3, + "500000": 3, + "5000000": 3, + "50000000": 3, + "600000": 3, + "6000000": 3, + "60000000": 3, + "700000": 3, + "7000000": 3, + "800000": 3, + "8000000": 3, + "900000": 3, + "9000000": 3 + }, + "count": 3, + "sum": 6648.844999999999 + } + }, "group": "apps", + "resource": "deployments", + "scope": "cluster", + "verb": "LIST", "version": "v1" }, - "watch": { - "events": { - "kind": "DaemonSet", - "size": { - "bytes": { - "bucket": { - "+Inf": 52, - "1024": 23, - "131072": 52, - "16384": 52, - "2048": 23, - "32768": 52, - "4096": 37, - "65536": 52, - "8192": 52 - }, - "count": 52, - "sum": 165667 - } + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 3, + "1000": 0, + "10000": 1, + "100000": 3, + "1000000": 3, + "10000000": 3, + "100000000": 3, + "1000000000": 3 + }, + "count": 3, + "sum": 35850 } } } @@ -22949,17 +22566,17 @@ "9000000": 0 }, "count": 3, - "sum": 1173002223.382 + "sum": 1155003339.1 } }, - "group": "extensions", + "group": "coordination.k8s.io", "longrunning": { "count": 1 }, - "resource": "ingresses", - "scope": "cluster", + "resource": "leases", + "scope": "namespace", "verb": "WATCH", - "version": "v1beta1" + "version": "v1" }, "response": { "size": { @@ -22974,95 +22591,8 @@ "100000000": 3, "1000000000": 3 }, - "count": 3, - "sum": 0 - } - } - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 470, - "100000": 462, - "1000000": 469, - "10000000": 470, - "1250000": 470, - "150000": 463, - "1500000": 470, - "15000000": 470, - "1750000": 470, - "200000": 463, - "2000000": 470, - "20000000": 470, - "250000": 463, - "2500000": 470, - "25000000": 470, - "300000": 463, - "3000000": 470, - "30000000": 470, - "350000": 463, - "3500000": 470, - "400000": 463, - "4000000": 470, - "40000000": 470, - "450000": 463, - "4500000": 470, - "50000": 462, - "500000": 463, - "5000000": 470, - "50000000": 470, - "600000": 466, - "6000000": 470, - "60000000": 470, - "700000": 466, - "7000000": 470, - "800000": 468, - "8000000": 470, - "900000": 468, - "9000000": 470 - }, - "count": 470, - "sum": 10186391.616000004 - } - }, - "resource": "nodes", - "scope": "cluster", - "verb": "LIST", - "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 470, - "1000": 2, - "10000": 35, - "100000": 470, - "1000000": 470, - "10000000": 470, - "100000000": 470, - "1000000000": 470 - }, - "count": 470, - "sum": 6116278 + "count": 3, + "sum": 0 } } } @@ -23127,11 +22657,11 @@ "9000000": 1 }, "count": 1, - "sum": 1171.6280000000002 + "sum": 1386.749 } }, "group": "apps", - "resource": "statefulsets", + "resource": "controllerrevisions", "scope": "resource", "verb": "GET", "version": "v1" @@ -23141,7 +22671,7 @@ "bytes": { "bucket": { "+Inf": 1, - "1000": 1, + "1000": 0, "10000": 1, "100000": 1, "1000000": 1, @@ -23150,7 +22680,7 @@ "1000000000": 1 }, "count": 1, - "sum": 210 + "sum": 3262 } } } @@ -23171,14 +22701,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", + "code": "0", "component": "apiserver", - "count": 46, - "group": "flowcontrol.apiserver.k8s.io", - "resource": "flowschemas", - "scope": "resource", - "verb": "GET", - "version": "v1beta1" + "count": 9, + "group": "apps", + "resource": "statefulsets", + "scope": "cluster", + "verb": "WATCH", + "version": "v1" } }, "Index": "", @@ -23197,13 +22727,99 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "404", "component": "apiserver", - "count": 4, - "resource": "events", + "duration": { + "us": { + "bucket": { + "+Inf": 116, + "100000": 115, + "1000000": 116, + "10000000": 116, + "1250000": 116, + "150000": 116, + "1500000": 116, + "15000000": 116, + "1750000": 116, + "200000": 116, + "2000000": 116, + "20000000": 116, + "250000": 116, + "2500000": 116, + "25000000": 116, + "300000": 116, + "3000000": 116, + "30000000": 116, + "350000": 116, + "3500000": 116, + "400000": 116, + "4000000": 116, + "40000000": 116, + "450000": 116, + "4500000": 116, + "50000": 115, + "500000": 116, + "5000000": 116, + "50000000": 116, + "600000": 116, + "6000000": 116, + "60000000": 116, + "700000": 116, + "7000000": 116, + "800000": 116, + "8000000": 116, + "900000": 116, + "9000000": 116 + }, + "count": 116, + "sum": 469104.2889999999 + } + }, + "resource": "pods", "scope": "resource", - "verb": "PATCH", + "verb": "GET", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 116, + "1000": 29, + "10000": 116, + "100000": 116, + "1000000": 116, + "10000000": 116, + "100000000": 116, + "1000000000": 116 + }, + "count": 116, + "sum": 385613 + } + } + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "etcd": { + "object": { + "count": 1 + } + }, + "request": { + "resource": "statefulsets.apps" } }, "Index": "", @@ -23222,79 +22838,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 5, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 - }, - "count": 5, - "sum": 2201003244.6959996 - } - }, - "group": "networking.k8s.io", - "longrunning": { - "count": 2 - }, - "resource": "ingressclasses", - "scope": "cluster", - "verb": "WATCH", + "count": 1, + "resource": "configmaps", + "scope": "resource", + "verb": "PUT", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 5, - "1000": 5, - "10000": 5, - "100000": 5, - "1000000": 5, - "10000000": 5, - "100000000": 5, - "1000000000": 5 - }, - "count": 5, - "sum": 0 - } - } } }, "Index": "", @@ -23313,13 +22863,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", + "code": "200", "component": "apiserver", - "count": 15, - "group": "storage.k8s.io", - "resource": "csidrivers", - "scope": "cluster", - "verb": "WATCH", + "count": 1, + "resource": "persistentvolumeclaims", + "scope": "resource", + "subresource": "status", + "verb": "PUT", "version": "v1" } }, @@ -23341,10 +22891,10 @@ "request": { "code": "201", "component": "apiserver", - "count": 3, - "group": "apps", - "resource": "replicasets", + "count": 38, + "resource": "pods", "scope": "resource", + "subresource": "binding", "verb": "POST", "version": "v1" } @@ -23460,14 +23010,131 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "201", + "code": "201", + "component": "apiserver", + "count": 3, + "group": "apps", + "resource": "replicasets", + "scope": "resource", + "verb": "POST", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "0", + "component": "apiserver", + "count": 15, + "group": "storage.k8s.io", + "resource": "csidrivers", + "scope": "cluster", + "verb": "WATCH", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { "component": "apiserver", - "count": 38, - "resource": "pods", - "scope": "resource", - "subresource": "binding", - "verb": "POST", + "duration": { + "us": { + "bucket": { + "+Inf": 5, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 + }, + "count": 5, + "sum": 2201003244.6959996 + } + }, + "group": "networking.k8s.io", + "longrunning": { + "count": 2 + }, + "resource": "ingressclasses", + "scope": "cluster", + "verb": "WATCH", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 5, + "1000": 5, + "10000": 5, + "100000": 5, + "1000000": 5, + "10000000": 5, + "100000000": 5, + "1000000000": 5 + }, + "count": 5, + "sum": 0 + } + } } }, "Index": "", @@ -23488,12 +23155,12 @@ "request": { "code": "200", "component": "apiserver", - "count": 1, - "resource": "persistentvolumeclaims", + "count": 46, + "group": "flowcontrol.apiserver.k8s.io", + "resource": "flowschemas", "scope": "resource", - "subresource": "status", - "verb": "PUT", - "version": "v1" + "verb": "GET", + "version": "v1beta1" } }, "Index": "", @@ -23512,13 +23179,12 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", + "code": "404", "component": "apiserver", - "count": 2, - "group": "rbac.authorization.k8s.io", - "resource": "roles", - "scope": "cluster", - "verb": "LIST", + "count": 4, + "resource": "events", + "scope": "resource", + "verb": "PATCH", "version": "v1" } }, @@ -23537,13 +23203,76 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "etcd": { - "object": { - "count": 1 - } - }, "request": { - "resource": "cronjobs.batch" + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 470, + "100000": 462, + "1000000": 469, + "10000000": 470, + "1250000": 470, + "150000": 463, + "1500000": 470, + "15000000": 470, + "1750000": 470, + "200000": 463, + "2000000": 470, + "20000000": 470, + "250000": 463, + "2500000": 470, + "25000000": 470, + "300000": 463, + "3000000": 470, + "30000000": 470, + "350000": 463, + "3500000": 470, + "400000": 463, + "4000000": 470, + "40000000": 470, + "450000": 463, + "4500000": 470, + "50000": 462, + "500000": 463, + "5000000": 470, + "50000000": 470, + "600000": 466, + "6000000": 470, + "60000000": 470, + "700000": 466, + "7000000": 470, + "800000": 468, + "8000000": 470, + "900000": 468, + "9000000": 470 + }, + "count": 470, + "sum": 10186391.616000004 + } + }, + "resource": "nodes", + "scope": "cluster", + "verb": "LIST", + "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 470, + "1000": 2, + "10000": 35, + "100000": 470, + "1000000": 470, + "10000000": 470, + "100000000": 470, + "1000000000": 470 + }, + "count": 470, + "sum": 6116278 + } + } } }, "Index": "", @@ -23606,13 +23335,13 @@ "9000000": 1 }, "count": 1, - "sum": 222.078 + "sum": 1171.6280000000002 } }, "group": "apps", - "resource": "controllerrevisions", - "scope": "cluster", - "verb": "LIST", + "resource": "statefulsets", + "scope": "resource", + "verb": "GET", "version": "v1" }, "response": { @@ -23629,7 +23358,7 @@ "1000000000": 1 }, "count": 1, - "sum": 54 + "sum": 210 } } } @@ -23650,37 +23379,79 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", "component": "apiserver", - "count": 6, - "resource": "serviceaccounts", - "scope": "cluster", - "verb": "WATCH", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "etcd": { - "object": { - "count": 3 - } + "duration": { + "us": { + "bucket": { + "+Inf": 3, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 + }, + "count": 3, + "sum": 1173002223.382 + } + }, + "group": "extensions", + "longrunning": { + "count": 1 + }, + "resource": "ingresses", + "scope": "cluster", + "verb": "WATCH", + "version": "v1beta1" }, - "request": { - "resource": "deployments.apps" + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 3, + "1000": 3, + "10000": 3, + "100000": 3, + "1000000": 3, + "10000000": 3, + "100000000": 3, + "1000000000": 3 + }, + "count": 3, + "sum": 0 + } + } } }, "Index": "", @@ -23699,27 +23470,27 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "batch", + "group": "apps", "version": "v1" }, "watch": { "events": { - "kind": "CronJob", + "kind": "DaemonSet", "size": { "bytes": { "bucket": { - "+Inf": 74, - "1024": 35, - "131072": 74, - "16384": 74, - "2048": 39, - "32768": 74, - "4096": 63, - "65536": 74, - "8192": 74 + "+Inf": 52, + "1024": 23, + "131072": 52, + "16384": 52, + "2048": 23, + "32768": 52, + "4096": 37, + "65536": 52, + "8192": 52 }, - "count": 74, - "sum": 142786 + "count": 52, + "sum": 165667 } } } @@ -23743,8 +23514,8 @@ "request": { "code": "200", "component": "apiserver", - "count": 1, - "resource": "persistentvolumes", + "count": 75, + "resource": "serviceaccounts", "scope": "resource", "verb": "GET", "version": "v1" @@ -23766,65 +23537,79 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", "component": "apiserver", - "count": 448, - "resource": "nodes", - "scope": "resource", - "verb": "GET", + "duration": { + "us": { + "bucket": { + "+Inf": 13, + "100000": 0, + "1000000": 0, + "10000000": 1, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 1, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 1, + "250000": 0, + "2500000": 0, + "25000000": 1, + "300000": 0, + "3000000": 1, + "30000000": 1, + "350000": 0, + "3500000": 1, + "400000": 0, + "4000000": 1, + "40000000": 1, + "450000": 0, + "4500000": 1, + "50000": 0, + "500000": 0, + "5000000": 1, + "50000000": 1, + "600000": 0, + "6000000": 1, + "60000000": 1, + "700000": 0, + "7000000": 1, + "800000": 0, + "8000000": 1, + "900000": 0, + "9000000": 1 + }, + "count": 13, + "sum": 5649540567.557001 + } + }, + "group": "node.k8s.io", + "longrunning": { + "count": 5 + }, + "resource": "runtimeclasses", + "scope": "cluster", + "verb": "WATCH", "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "client": { - "request": { - "count": 14 - } }, - "request": { - "code": "500", - "host": "[::1]:6443", - "method": "GET" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "200", - "component": "apiserver", - "count": 2, - "group": "rbac.authorization.k8s.io", - "resource": "roles", - "scope": "namespace", - "verb": "LIST", - "version": "v1" + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 13, + "1000": 13, + "10000": 13, + "100000": 13, + "1000000": 13, + "10000000": 13, + "100000000": 13, + "1000000000": 13 + }, + "count": 13, + "sum": 0 + } + } } }, "Index": "", @@ -23843,14 +23628,79 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", "component": "apiserver", - "count": 2, - "group": "apiextensions.k8s.io", - "resource": "customresourcedefinitions", + "duration": { + "us": { + "bucket": { + "+Inf": 13, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 + }, + "count": 13, + "sum": 5965009865.233 + } + }, + "group": "storage.k8s.io", + "longrunning": { + "count": 5 + }, + "resource": "storageclasses", "scope": "cluster", - "verb": "LIST", + "verb": "WATCH", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 13, + "1000": 13, + "10000": 13, + "100000": 13, + "1000000": 13, + "10000000": 13, + "100000000": 13, + "1000000000": 13 + }, + "count": 13, + "sum": 0 + } + } } }, "Index": "", @@ -23869,75 +23719,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 48, - "100000": 47, - "1000000": 48, - "10000000": 48, - "1250000": 48, - "150000": 47, - "1500000": 48, - "15000000": 48, - "1750000": 48, - "200000": 47, - "2000000": 48, - "20000000": 48, - "250000": 48, - "2500000": 48, - "25000000": 48, - "300000": 48, - "3000000": 48, - "30000000": 48, - "350000": 48, - "3500000": 48, - "400000": 48, - "4000000": 48, - "40000000": 48, - "450000": 48, - "4500000": 48, - "50000": 47, - "500000": 48, - "5000000": 48, - "50000000": 48, - "600000": 48, - "6000000": 48, - "60000000": 48, - "700000": 48, - "7000000": 48, - "800000": 48, - "8000000": 48, - "900000": 48, - "9000000": 48 - }, - "count": 48, - "sum": 341344.43299999996 - } - }, - "resource": "pods", - "scope": "cluster", - "verb": "LIST", + "count": 1, + "resource": "persistentvolumeclaims", + "scope": "resource", + "verb": "PUT", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 48, - "1000": 2, - "10000": 4, - "100000": 48, - "1000000": 48, - "10000000": 48, - "100000000": 48, - "1000000000": 48 - }, - "count": 48, - "sum": 2583812 - } - } } }, "Index": "", @@ -23956,13 +23744,30 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", - "component": "apiserver", - "count": 6, - "resource": "persistentvolumes", - "scope": "cluster", - "verb": "LIST", + "group": "apiextensions.k8s.io", "version": "v1" + }, + "watch": { + "events": { + "kind": "CustomResourceDefinition", + "size": { + "bytes": { + "bucket": { + "+Inf": 20, + "1024": 20, + "131072": 20, + "16384": 20, + "2048": 20, + "32768": 20, + "4096": 20, + "65536": 20, + "8192": 20 + }, + "count": 20, + "sum": 1836 + } + } + } } }, "Index": "", @@ -23981,13 +23786,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", + "code": "200", "component": "apiserver", - "count": 104, - "resource": "nodes", - "scope": "cluster", - "verb": "WATCH", - "version": "v1" + "count": 46, + "group": "flowcontrol.apiserver.k8s.io", + "resource": "prioritylevelconfigurations", + "scope": "resource", + "verb": "GET", + "version": "v1beta1" } }, "Index": "", @@ -24094,80 +23900,12 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", - "component": "apiserver", - "count": 46, - "group": "flowcontrol.apiserver.k8s.io", - "resource": "prioritylevelconfigurations", - "scope": "resource", - "verb": "GET", - "version": "v1beta1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "group": "apiextensions.k8s.io", - "version": "v1" - }, - "watch": { - "events": { - "kind": "CustomResourceDefinition", - "size": { - "bytes": { - "bucket": { - "+Inf": 20, - "1024": 20, - "131072": 20, - "16384": 20, - "2048": 20, - "32768": 20, - "4096": 20, - "65536": 20, - "8192": 20 - }, - "count": 20, - "sum": 1836 - } - } - } - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "200", + "code": "0", "component": "apiserver", - "count": 1, - "resource": "persistentvolumeclaims", - "scope": "resource", - "verb": "PUT", + "count": 104, + "resource": "nodes", + "scope": "cluster", + "verb": "WATCH", "version": "v1" } }, @@ -24185,81 +23923,15 @@ { "RootFields": {}, "ModuleFields": null, - "MetricSetFields": { - "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 13, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 - }, - "count": 13, - "sum": 5965009865.233 - } - }, - "group": "storage.k8s.io", - "longrunning": { - "count": 5 - }, - "resource": "storageclasses", + "MetricSetFields": { + "request": { + "code": "200", + "component": "apiserver", + "count": 6, + "resource": "persistentvolumes", "scope": "cluster", - "verb": "WATCH", + "verb": "LIST", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 13, - "1000": 13, - "10000": 13, - "100000": 13, - "1000000": 13, - "10000000": 13, - "100000000": 13, - "1000000000": 13 - }, - "count": 13, - "sum": 0 - } - } } }, "Index": "", @@ -24280,10 +23952,11 @@ "request": { "code": "200", "component": "apiserver", - "count": 75, - "resource": "serviceaccounts", - "scope": "resource", - "verb": "GET", + "count": 2, + "group": "apiextensions.k8s.io", + "resource": "customresourcedefinitions", + "scope": "cluster", + "verb": "LIST", "version": "v1" } }, @@ -24307,73 +23980,69 @@ "duration": { "us": { "bucket": { - "+Inf": 13, - "100000": 0, - "1000000": 0, - "10000000": 1, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 1, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 1, - "250000": 0, - "2500000": 0, - "25000000": 1, - "300000": 0, - "3000000": 1, - "30000000": 1, - "350000": 0, - "3500000": 1, - "400000": 0, - "4000000": 1, - "40000000": 1, - "450000": 0, - "4500000": 1, - "50000": 0, - "500000": 0, - "5000000": 1, - "50000000": 1, - "600000": 0, - "6000000": 1, - "60000000": 1, - "700000": 0, - "7000000": 1, - "800000": 0, - "8000000": 1, - "900000": 0, - "9000000": 1 + "+Inf": 48, + "100000": 47, + "1000000": 48, + "10000000": 48, + "1250000": 48, + "150000": 47, + "1500000": 48, + "15000000": 48, + "1750000": 48, + "200000": 47, + "2000000": 48, + "20000000": 48, + "250000": 48, + "2500000": 48, + "25000000": 48, + "300000": 48, + "3000000": 48, + "30000000": 48, + "350000": 48, + "3500000": 48, + "400000": 48, + "4000000": 48, + "40000000": 48, + "450000": 48, + "4500000": 48, + "50000": 47, + "500000": 48, + "5000000": 48, + "50000000": 48, + "600000": 48, + "6000000": 48, + "60000000": 48, + "700000": 48, + "7000000": 48, + "800000": 48, + "8000000": 48, + "900000": 48, + "9000000": 48 }, - "count": 13, - "sum": 5649540567.557001 + "count": 48, + "sum": 341344.43299999996 } }, - "group": "node.k8s.io", - "longrunning": { - "count": 5 - }, - "resource": "runtimeclasses", + "resource": "pods", "scope": "cluster", - "verb": "WATCH", + "verb": "LIST", "version": "v1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 13, - "1000": 13, - "10000": 13, - "100000": 13, - "1000000": 13, - "10000000": 13, - "100000000": 13, - "1000000000": 13 + "+Inf": 48, + "1000": 2, + "10000": 4, + "100000": 48, + "1000000": 48, + "10000000": 48, + "100000000": 48, + "1000000000": 48 }, - "count": 13, - "sum": 0 + "count": 48, + "sum": 2583812 } } } @@ -24394,79 +24063,40 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 2, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 - }, - "count": 2, - "sum": 1065001554.3879999 - } - }, - "group": "autoscaling", - "longrunning": { - "count": 1 - }, - "resource": "horizontalpodautoscalers", - "scope": "cluster", - "verb": "WATCH", - "version": "v2beta1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 2, - "1000": 2, - "10000": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "100000000": 2, - "1000000000": 2 - }, - "count": 2, - "sum": 0 - } + "count": 2, + "group": "rbac.authorization.k8s.io", + "resource": "roles", + "scope": "namespace", + "verb": "LIST", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "client": { + "request": { + "count": 14 } + }, + "request": { + "code": "500", + "host": "[::1]:6443", + "method": "GET" } }, "Index": "", @@ -24485,13 +24115,12 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", + "code": "200", "component": "apiserver", - "count": 6, - "group": "scheduling.k8s.io", - "resource": "priorityclasses", - "scope": "cluster", - "verb": "WATCH", + "count": 448, + "resource": "nodes", + "scope": "resource", + "verb": "GET", "version": "v1" } }, @@ -24511,78 +24140,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 80, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 - }, - "count": 80, - "sum": 36404069758.69201 - } - }, - "longrunning": { - "count": 41 - }, - "resource": "namespaces", - "scope": "cluster", - "verb": "WATCH", + "count": 1, + "resource": "persistentvolumes", + "scope": "resource", + "verb": "GET", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 80, - "1000": 80, - "10000": 80, - "100000": 80, - "1000000": 80, - "10000000": 80, - "100000000": 80, - "1000000000": 80 - }, - "count": 80, - "sum": 0 - } - } } }, "Index": "", @@ -24600,80 +24164,13 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 6, - "100000": 0, - "1000000": 0, - "10000000": 0, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 0, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 0, - "250000": 0, - "2500000": 0, - "25000000": 0, - "300000": 0, - "3000000": 0, - "30000000": 0, - "350000": 0, - "3500000": 0, - "400000": 0, - "4000000": 0, - "40000000": 0, - "450000": 0, - "4500000": 0, - "50000": 0, - "500000": 0, - "5000000": 0, - "50000000": 0, - "600000": 0, - "6000000": 0, - "60000000": 0, - "700000": 0, - "7000000": 0, - "800000": 0, - "8000000": 0, - "900000": 0, - "9000000": 0 - }, - "count": 6, - "sum": 2620003788.506 - } - }, - "group": "apiregistration.k8s.io", - "longrunning": { - "count": 2 - }, - "resource": "apiservices", - "scope": "cluster", - "verb": "WATCH", - "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 6, - "1000": 6, - "10000": 6, - "100000": 6, - "1000000": 6, - "10000000": 6, - "100000000": 6, - "1000000000": 6 - }, - "count": 6, - "sum": 0 - } + "etcd": { + "object": { + "count": 1 } + }, + "request": { + "resource": "cronjobs.batch" } }, "Index": "", @@ -24696,54 +24193,72 @@ "duration": { "us": { "bucket": { - "+Inf": 37, - "100000": 37, - "1000000": 37, - "10000000": 37, - "1250000": 37, - "150000": 37, - "1500000": 37, - "15000000": 37, - "1750000": 37, - "200000": 37, - "2000000": 37, - "20000000": 37, - "250000": 37, - "2500000": 37, - "25000000": 37, - "300000": 37, - "3000000": 37, - "30000000": 37, - "350000": 37, - "3500000": 37, - "400000": 37, - "4000000": 37, - "40000000": 37, - "450000": 37, - "4500000": 37, - "50000": 37, - "500000": 37, - "5000000": 37, - "50000000": 37, - "600000": 37, - "6000000": 37, - "60000000": 37, - "700000": 37, - "7000000": 37, - "800000": 37, - "8000000": 37, - "900000": 37, - "9000000": 37 + "+Inf": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "1250000": 1, + "150000": 1, + "1500000": 1, + "15000000": 1, + "1750000": 1, + "200000": 1, + "2000000": 1, + "20000000": 1, + "250000": 1, + "2500000": 1, + "25000000": 1, + "300000": 1, + "3000000": 1, + "30000000": 1, + "350000": 1, + "3500000": 1, + "400000": 1, + "4000000": 1, + "40000000": 1, + "450000": 1, + "4500000": 1, + "50000": 1, + "500000": 1, + "5000000": 1, + "50000000": 1, + "600000": 1, + "6000000": 1, + "60000000": 1, + "700000": 1, + "7000000": 1, + "800000": 1, + "8000000": 1, + "900000": 1, + "9000000": 1 }, - "count": 37, - "sum": 92443.478 + "count": 1, + "sum": 222.078 } }, - "group": "apiregistration.k8s.io", - "resource": "apiservices", - "scope": "resource", - "verb": "POST", + "group": "apps", + "resource": "controllerrevisions", + "scope": "cluster", + "verb": "LIST", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 1, + "1000": 1, + "10000": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "100000000": 1, + "1000000000": 1 + }, + "count": 1, + "sum": 54 + } + } } }, "Index": "", @@ -24765,8 +24280,7 @@ "code": "0", "component": "apiserver", "count": 6, - "group": "rbac.authorization.k8s.io", - "resource": "roles", + "resource": "serviceaccounts", "scope": "cluster", "verb": "WATCH", "version": "v1" @@ -24790,11 +24304,11 @@ "request": { "code": "200", "component": "apiserver", - "count": 2617, - "group": "coordination.k8s.io", - "resource": "leases", - "scope": "resource", - "verb": "GET", + "count": 2, + "group": "rbac.authorization.k8s.io", + "resource": "roles", + "scope": "cluster", + "verb": "LIST", "version": "v1" } }, @@ -24813,74 +24327,53 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { + "etcd": { + "object": { + "count": 3 + } + }, "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 3, - "100000": 3, - "1000000": 3, - "10000000": 3, - "1250000": 3, - "150000": 3, - "1500000": 3, - "15000000": 3, - "1750000": 3, - "200000": 3, - "2000000": 3, - "20000000": 3, - "250000": 3, - "2500000": 3, - "25000000": 3, - "300000": 3, - "3000000": 3, - "30000000": 3, - "350000": 3, - "3500000": 3, - "400000": 3, - "4000000": 3, - "40000000": 3, - "450000": 3, - "4500000": 3, - "50000": 3, - "500000": 3, - "5000000": 3, - "50000000": 3, - "600000": 3, - "6000000": 3, - "60000000": 3, - "700000": 3, - "7000000": 3, - "800000": 3, - "8000000": 3, - "900000": 3, - "9000000": 3 - }, - "count": 3, - "sum": 919.3489999999999 - } - }, - "resource": "resourcequotas", - "scope": "cluster", - "verb": "LIST", + "resource": "deployments.apps" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "group": "batch", "version": "v1" }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 3, - "1000": 3, - "10000": 3, - "100000": 3, - "1000000": 3, - "10000000": 3, - "100000000": 3, - "1000000000": 3 - }, - "count": 3, - "sum": 132 + "watch": { + "events": { + "kind": "CronJob", + "size": { + "bytes": { + "bucket": { + "+Inf": 74, + "1024": 35, + "131072": 74, + "16384": 74, + "2048": 39, + "32768": 74, + "4096": 63, + "65536": 74, + "8192": 74 + }, + "count": 74, + "sum": 142786 + } } } } @@ -24901,13 +24394,29 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", - "component": "apiserver", - "count": 12, - "resource": "persistentvolumeclaims", - "scope": "cluster", - "verb": "WATCH", "version": "v1" + }, + "watch": { + "events": { + "kind": "LimitRange", + "size": { + "bytes": { + "bucket": { + "+Inf": 27, + "1024": 27, + "131072": 27, + "16384": 27, + "2048": 27, + "32768": 27, + "4096": 27, + "65536": 27, + "8192": 27 + }, + "count": 27, + "sum": 1458 + } + } + } } }, "Index": "", @@ -24930,54 +24439,96 @@ "duration": { "us": { "bucket": { - "+Inf": 16, - "100000": 16, - "1000000": 16, - "10000000": 16, - "1250000": 16, - "150000": 16, - "1500000": 16, - "15000000": 16, - "1750000": 16, - "200000": 16, - "2000000": 16, - "20000000": 16, - "250000": 16, - "2500000": 16, - "25000000": 16, - "300000": 16, - "3000000": 16, - "30000000": 16, - "350000": 16, - "3500000": 16, - "400000": 16, - "4000000": 16, - "40000000": 16, - "450000": 16, - "4500000": 16, - "50000": 16, - "500000": 16, - "5000000": 16, - "50000000": 16, - "600000": 16, - "6000000": 16, - "60000000": 16, - "700000": 16, - "7000000": 16, - "800000": 16, - "8000000": 16, - "900000": 16, - "9000000": 16 + "+Inf": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "1250000": 2, + "150000": 2, + "1500000": 2, + "15000000": 2, + "1750000": 2, + "200000": 2, + "2000000": 2, + "20000000": 2, + "250000": 2, + "2500000": 2, + "25000000": 2, + "300000": 2, + "3000000": 2, + "30000000": 2, + "350000": 2, + "3500000": 2, + "400000": 2, + "4000000": 2, + "40000000": 2, + "450000": 2, + "4500000": 2, + "50000": 2, + "500000": 2, + "5000000": 2, + "50000000": 2, + "600000": 2, + "6000000": 2, + "60000000": 2, + "700000": 2, + "7000000": 2, + "800000": 2, + "8000000": 2, + "900000": 2, + "9000000": 2 }, - "count": 16, - "sum": 78117.859 + "count": 2, + "sum": 3102.872 + } + }, + "resource": "persistentvolumes", + "scope": "resource", + "verb": "GET", + "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 2, + "1000": 1, + "10000": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "100000000": 2, + "1000000000": 2 + }, + "count": 2, + "sum": 1639 } - }, - "group": "apps", - "resource": "deployments", + } + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "404", + "component": "apiserver", + "count": 72, + "group": "rbac.authorization.k8s.io", + "resource": "clusterroles", "scope": "resource", - "subresource": "status", - "verb": "PUT", + "verb": "GET", "version": "v1" } }, @@ -24996,15 +24547,13 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { + "etcd": { + "object": { + "count": 0 + } + }, "request": { - "code": "200", - "component": "apiserver", - "count": 3, - "group": "discovery.k8s.io", - "resource": "endpointslices", - "scope": "cluster", - "verb": "LIST", - "version": "v1beta1" + "resource": "mutatingwebhookconfigurations.admissionregistration.k8s.io" } }, "Index": "", @@ -25110,13 +24659,15 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "etcd": { - "object": { - "count": 0 - } - }, "request": { - "resource": "mutatingwebhookconfigurations.admissionregistration.k8s.io" + "code": "200", + "component": "apiserver", + "count": 3, + "group": "discovery.k8s.io", + "resource": "endpointslices", + "scope": "cluster", + "verb": "LIST", + "version": "v1beta1" } }, "Index": "", @@ -25135,55 +24686,59 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "404", "component": "apiserver", - "count": 72, - "group": "rbac.authorization.k8s.io", - "resource": "clusterroles", + "duration": { + "us": { + "bucket": { + "+Inf": 16, + "100000": 16, + "1000000": 16, + "10000000": 16, + "1250000": 16, + "150000": 16, + "1500000": 16, + "15000000": 16, + "1750000": 16, + "200000": 16, + "2000000": 16, + "20000000": 16, + "250000": 16, + "2500000": 16, + "25000000": 16, + "300000": 16, + "3000000": 16, + "30000000": 16, + "350000": 16, + "3500000": 16, + "400000": 16, + "4000000": 16, + "40000000": 16, + "450000": 16, + "4500000": 16, + "50000": 16, + "500000": 16, + "5000000": 16, + "50000000": 16, + "600000": 16, + "6000000": 16, + "60000000": 16, + "700000": 16, + "7000000": 16, + "800000": 16, + "8000000": 16, + "900000": 16, + "9000000": 16 + }, + "count": 16, + "sum": 78117.859 + } + }, + "group": "apps", + "resource": "deployments", "scope": "resource", - "verb": "GET", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { + "subresource": "status", + "verb": "PUT", "version": "v1" - }, - "watch": { - "events": { - "kind": "LimitRange", - "size": { - "bytes": { - "bucket": { - "+Inf": 27, - "1024": 27, - "131072": 27, - "16384": 27, - "2048": 27, - "32768": 27, - "4096": 27, - "65536": 27, - "8192": 27 - }, - "count": 27, - "sum": 1458 - } - } - } } }, "Index": "", @@ -25206,69 +24761,69 @@ "duration": { "us": { "bucket": { - "+Inf": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "1250000": 2, - "150000": 2, - "1500000": 2, - "15000000": 2, - "1750000": 2, - "200000": 2, - "2000000": 2, - "20000000": 2, - "250000": 2, - "2500000": 2, - "25000000": 2, - "300000": 2, - "3000000": 2, - "30000000": 2, - "350000": 2, - "3500000": 2, - "400000": 2, - "4000000": 2, - "40000000": 2, - "450000": 2, - "4500000": 2, - "50000": 2, - "500000": 2, - "5000000": 2, - "50000000": 2, - "600000": 2, - "6000000": 2, - "60000000": 2, - "700000": 2, - "7000000": 2, - "800000": 2, - "8000000": 2, - "900000": 2, - "9000000": 2 + "+Inf": 3, + "100000": 3, + "1000000": 3, + "10000000": 3, + "1250000": 3, + "150000": 3, + "1500000": 3, + "15000000": 3, + "1750000": 3, + "200000": 3, + "2000000": 3, + "20000000": 3, + "250000": 3, + "2500000": 3, + "25000000": 3, + "300000": 3, + "3000000": 3, + "30000000": 3, + "350000": 3, + "3500000": 3, + "400000": 3, + "4000000": 3, + "40000000": 3, + "450000": 3, + "4500000": 3, + "50000": 3, + "500000": 3, + "5000000": 3, + "50000000": 3, + "600000": 3, + "6000000": 3, + "60000000": 3, + "700000": 3, + "7000000": 3, + "800000": 3, + "8000000": 3, + "900000": 3, + "9000000": 3 }, - "count": 2, - "sum": 3102.872 + "count": 3, + "sum": 919.3489999999999 } }, - "resource": "persistentvolumes", - "scope": "resource", - "verb": "GET", + "resource": "resourcequotas", + "scope": "cluster", + "verb": "LIST", "version": "v1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 2, - "1000": 1, - "10000": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "100000000": 2, - "1000000000": 2 + "+Inf": 3, + "1000": 3, + "10000": 3, + "100000": 3, + "1000000": 3, + "10000000": 3, + "100000000": 3, + "1000000000": 3 }, - "count": 2, - "sum": 1639 + "count": 3, + "sum": 132 } } } @@ -25284,6 +24839,31 @@ "Period": 0, "DisableTimeSeries": false }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "0", + "component": "apiserver", + "count": 12, + "resource": "persistentvolumeclaims", + "scope": "cluster", + "verb": "WATCH", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, { "RootFields": {}, "ModuleFields": null, @@ -25291,12 +24871,103 @@ "request": { "code": "200", "component": "apiserver", - "count": 1, - "group": "discovery.k8s.io", - "resource": "endpointslices", + "count": 2617, + "group": "coordination.k8s.io", + "resource": "leases", + "scope": "resource", + "verb": "GET", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 6, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 + }, + "count": 6, + "sum": 2620003788.506 + } + }, + "group": "apiregistration.k8s.io", + "longrunning": { + "count": 2 + }, + "resource": "apiservices", "scope": "cluster", - "verb": "LIST", + "verb": "WATCH", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 6, + "1000": 6, + "10000": 6, + "100000": 6, + "1000000": 6, + "10000000": 6, + "100000000": 6, + "1000000000": 6 + }, + "count": 6, + "sum": 0 + } + } } }, "Index": "", @@ -25319,7 +24990,7 @@ "duration": { "us": { "bucket": { - "+Inf": 3, + "+Inf": 80, "100000": 0, "1000000": 0, "10000000": 0, @@ -25358,15 +25029,14 @@ "900000": 0, "9000000": 0 }, - "count": 3, - "sum": 1277001273.351 + "count": 80, + "sum": 36404069758.69201 } }, - "group": "apps", "longrunning": { - "count": 1 + "count": 41 }, - "resource": "controllerrevisions", + "resource": "namespaces", "scope": "cluster", "verb": "WATCH", "version": "v1" @@ -25375,16 +25045,16 @@ "size": { "bytes": { "bucket": { - "+Inf": 3, - "1000": 3, - "10000": 3, - "100000": 3, - "1000000": 3, - "10000000": 3, - "100000000": 3, - "1000000000": 3 + "+Inf": 80, + "1000": 80, + "10000": 80, + "100000": 80, + "1000000": 80, + "10000000": 80, + "100000000": 80, + "1000000000": 80 }, - "count": 3, + "count": 80, "sum": 0 } } @@ -25401,6 +25071,32 @@ "Period": 0, "DisableTimeSeries": false }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "0", + "component": "apiserver", + "count": 6, + "group": "rbac.authorization.k8s.io", + "resource": "roles", + "scope": "cluster", + "verb": "WATCH", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, { "RootFields": {}, "ModuleFields": null, @@ -25410,72 +25106,80 @@ "duration": { "us": { "bucket": { - "+Inf": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "1250000": 2, - "150000": 2, - "1500000": 2, - "15000000": 2, - "1750000": 2, - "200000": 2, - "2000000": 2, - "20000000": 2, - "250000": 2, - "2500000": 2, - "25000000": 2, - "300000": 2, - "3000000": 2, - "30000000": 2, - "350000": 2, - "3500000": 2, - "400000": 2, - "4000000": 2, - "40000000": 2, - "450000": 2, - "4500000": 2, - "50000": 2, - "500000": 2, - "5000000": 2, - "50000000": 2, - "600000": 2, - "6000000": 2, - "60000000": 2, - "700000": 2, - "7000000": 2, - "800000": 2, - "8000000": 2, - "900000": 2, - "9000000": 2 + "+Inf": 37, + "100000": 37, + "1000000": 37, + "10000000": 37, + "1250000": 37, + "150000": 37, + "1500000": 37, + "15000000": 37, + "1750000": 37, + "200000": 37, + "2000000": 37, + "20000000": 37, + "250000": 37, + "2500000": 37, + "25000000": 37, + "300000": 37, + "3000000": 37, + "30000000": 37, + "350000": 37, + "3500000": 37, + "400000": 37, + "4000000": 37, + "40000000": 37, + "450000": 37, + "4500000": 37, + "50000": 37, + "500000": 37, + "5000000": 37, + "50000000": 37, + "600000": 37, + "6000000": 37, + "60000000": 37, + "700000": 37, + "7000000": 37, + "800000": 37, + "8000000": 37, + "900000": 37, + "9000000": 37 }, - "count": 2, - "sum": 1879.065 + "count": 37, + "sum": 92443.478 } }, - "group": "storage.k8s.io", - "resource": "csistoragecapacities", + "group": "apiregistration.k8s.io", + "resource": "apiservices", + "scope": "resource", + "verb": "POST", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "0", + "component": "apiserver", + "count": 6, + "group": "scheduling.k8s.io", + "resource": "priorityclasses", "scope": "cluster", - "verb": "LIST", - "version": "v1beta1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 2, - "1000": 2, - "10000": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "100000000": 2, - "1000000000": 2 - }, - "count": 2, - "sum": 138 - } - } + "verb": "WATCH", + "version": "v1" } }, "Index": "", @@ -25498,7 +25202,7 @@ "duration": { "us": { "bucket": { - "+Inf": 8, + "+Inf": 2, "100000": 0, "1000000": 0, "10000000": 0, @@ -25537,33 +25241,33 @@ "900000": 0, "9000000": 0 }, - "count": 8, - "sum": 3344005906.8700004 + "count": 2, + "sum": 1065001554.3879999 } }, - "group": "admissionregistration.k8s.io", + "group": "autoscaling", "longrunning": { - "count": 3 + "count": 1 }, - "resource": "validatingwebhookconfigurations", + "resource": "horizontalpodautoscalers", "scope": "cluster", "verb": "WATCH", - "version": "v1" + "version": "v2beta1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 8, - "1000": 8, - "10000": 8, - "100000": 8, - "1000000": 8, - "10000000": 8, - "100000000": 8, - "1000000000": 8 + "+Inf": 2, + "1000": 2, + "10000": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "100000000": 2, + "1000000000": 2 }, - "count": 8, + "count": 2, "sum": 0 } } @@ -25585,30 +25289,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "networking.k8s.io", + "code": "200", + "component": "apiserver", + "count": 4, + "group": "apps", + "resource": "replicasets", + "scope": "cluster", + "verb": "LIST", "version": "v1" - }, - "watch": { - "events": { - "kind": "NetworkPolicy", - "size": { - "bytes": { - "bucket": { - "+Inf": 16, - "1024": 16, - "131072": 16, - "16384": 16, - "2048": 16, - "32768": 16, - "4096": 16, - "65536": 16, - "8192": 16 - }, - "count": 16, - "sum": 1232 - } - } - } } }, "Index": "", @@ -25629,9 +25317,8 @@ "request": { "code": "200", "component": "apiserver", - "count": 4, - "group": "rbac.authorization.k8s.io", - "resource": "clusterroles", + "count": 2, + "resource": "serviceaccounts", "scope": "cluster", "verb": "LIST", "version": "v1" @@ -25653,12 +25340,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "404", + "code": "0", "component": "apiserver", - "count": 2, - "resource": "endpoints", - "scope": "resource", - "verb": "GET", + "count": 7, + "group": "apps", + "resource": "deployments", + "scope": "cluster", + "verb": "WATCH", "version": "v1" } }, @@ -25678,14 +25366,126 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", + "code": "0", "component": "apiserver", - "count": 1, - "group": "apps", - "resource": "controllerrevisions", + "count": 7, + "resource": "limitranges", + "scope": "cluster", + "verb": "WATCH", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "code": "0", + "component": "apiserver", + "count": 3, + "resource": "podtemplates", + "scope": "cluster", + "verb": "WATCH", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 5, + "100000": 5, + "1000000": 5, + "10000000": 5, + "1250000": 5, + "150000": 5, + "1500000": 5, + "15000000": 5, + "1750000": 5, + "200000": 5, + "2000000": 5, + "20000000": 5, + "250000": 5, + "2500000": 5, + "25000000": 5, + "300000": 5, + "3000000": 5, + "30000000": 5, + "350000": 5, + "3500000": 5, + "400000": 5, + "4000000": 5, + "40000000": 5, + "450000": 5, + "4500000": 5, + "50000": 5, + "500000": 5, + "5000000": 5, + "50000000": 5, + "600000": 5, + "6000000": 5, + "60000000": 5, + "700000": 5, + "7000000": 5, + "800000": 5, + "8000000": 5, + "900000": 5, + "9000000": 5 + }, + "count": 5, + "sum": 7218.701000000001 + } + }, + "group": "storage.k8s.io", + "resource": "storageclasses", "scope": "cluster", "verb": "LIST", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 5, + "1000": 4, + "10000": 5, + "100000": 5, + "1000000": 5, + "10000000": 5, + "100000000": 5, + "1000000000": 5 + }, + "count": 5, + "sum": 3009 + } + } } }, "Index": "", @@ -25703,13 +25503,77 @@ "RootFields": {}, "ModuleFields": null, "MetricSetFields": { - "etcd": { - "object": { - "count": 0 - } - }, "request": { - "resource": "ingressclasses.networking.k8s.io" + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "1250000": 2, + "150000": 2, + "1500000": 2, + "15000000": 2, + "1750000": 2, + "200000": 2, + "2000000": 2, + "20000000": 2, + "250000": 2, + "2500000": 2, + "25000000": 2, + "300000": 2, + "3000000": 2, + "30000000": 2, + "350000": 2, + "3500000": 2, + "400000": 2, + "4000000": 2, + "40000000": 2, + "450000": 2, + "4500000": 2, + "50000": 2, + "500000": 2, + "5000000": 2, + "50000000": 2, + "600000": 2, + "6000000": 2, + "60000000": 2, + "700000": 2, + "7000000": 2, + "800000": 2, + "8000000": 2, + "900000": 2, + "9000000": 2 + }, + "count": 2, + "sum": 2948.476 + } + }, + "group": "rbac.authorization.k8s.io", + "resource": "roles", + "scope": "namespace", + "verb": "LIST", + "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 2, + "1000": 2, + "10000": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "100000000": 2, + "1000000000": 2 + }, + "count": 2, + "sum": 226 + } + } } }, "Index": "", @@ -25728,76 +25592,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "0", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 4, - "100000": 4, - "1000000": 4, - "10000000": 4, - "1250000": 4, - "150000": 4, - "1500000": 4, - "15000000": 4, - "1750000": 4, - "200000": 4, - "2000000": 4, - "20000000": 4, - "250000": 4, - "2500000": 4, - "25000000": 4, - "300000": 4, - "3000000": 4, - "30000000": 4, - "350000": 4, - "3500000": 4, - "400000": 4, - "4000000": 4, - "40000000": 4, - "450000": 4, - "4500000": 4, - "50000": 4, - "500000": 4, - "5000000": 4, - "50000000": 4, - "600000": 4, - "6000000": 4, - "60000000": 4, - "700000": 4, - "7000000": 4, - "800000": 4, - "8000000": 4, - "900000": 4, - "9000000": 4 - }, - "count": 4, - "sum": 4491.235 - } - }, - "group": "rbac.authorization.k8s.io", - "resource": "clusterroles", + "count": 14, + "resource": "endpoints", "scope": "cluster", - "verb": "LIST", + "verb": "WATCH", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 4, - "1000": 3, - "10000": 3, - "100000": 4, - "1000000": 4, - "10000000": 4, - "100000000": 4, - "1000000000": 4 - }, - "count": 4, - "sum": 44225 - } - } } }, "Index": "", @@ -25919,114 +25720,25 @@ "Index": "", "ID": "", "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "0", - "component": "apiserver", - "count": 14, - "resource": "endpoints", - "scope": "cluster", - "verb": "WATCH", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "1250000": 2, - "150000": 2, - "1500000": 2, - "15000000": 2, - "1750000": 2, - "200000": 2, - "2000000": 2, - "20000000": 2, - "250000": 2, - "2500000": 2, - "25000000": 2, - "300000": 2, - "3000000": 2, - "30000000": 2, - "350000": 2, - "3500000": 2, - "400000": 2, - "4000000": 2, - "40000000": 2, - "450000": 2, - "4500000": 2, - "50000": 2, - "500000": 2, - "5000000": 2, - "50000000": 2, - "600000": 2, - "6000000": 2, - "60000000": 2, - "700000": 2, - "7000000": 2, - "800000": 2, - "8000000": 2, - "900000": 2, - "9000000": 2 - }, - "count": 2, - "sum": 2948.476 - } - }, - "group": "rbac.authorization.k8s.io", - "resource": "roles", - "scope": "namespace", - "verb": "LIST", - "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 2, - "1000": 2, - "10000": 2, - "100000": 2, - "1000000": 2, - "10000000": 2, - "100000000": 2, - "1000000000": 2 - }, - "count": 2, - "sum": 226 - } + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "etcd": { + "object": { + "count": 0 } + }, + "request": { + "resource": "ingressclasses.networking.k8s.io" } }, "Index": "", @@ -26049,51 +25761,51 @@ "duration": { "us": { "bucket": { - "+Inf": 5, - "100000": 5, - "1000000": 5, - "10000000": 5, - "1250000": 5, - "150000": 5, - "1500000": 5, - "15000000": 5, - "1750000": 5, - "200000": 5, - "2000000": 5, - "20000000": 5, - "250000": 5, - "2500000": 5, - "25000000": 5, - "300000": 5, - "3000000": 5, - "30000000": 5, - "350000": 5, - "3500000": 5, - "400000": 5, - "4000000": 5, - "40000000": 5, - "450000": 5, - "4500000": 5, - "50000": 5, - "500000": 5, - "5000000": 5, - "50000000": 5, - "600000": 5, - "6000000": 5, - "60000000": 5, - "700000": 5, - "7000000": 5, - "800000": 5, - "8000000": 5, - "900000": 5, - "9000000": 5 + "+Inf": 4, + "100000": 4, + "1000000": 4, + "10000000": 4, + "1250000": 4, + "150000": 4, + "1500000": 4, + "15000000": 4, + "1750000": 4, + "200000": 4, + "2000000": 4, + "20000000": 4, + "250000": 4, + "2500000": 4, + "25000000": 4, + "300000": 4, + "3000000": 4, + "30000000": 4, + "350000": 4, + "3500000": 4, + "400000": 4, + "4000000": 4, + "40000000": 4, + "450000": 4, + "4500000": 4, + "50000": 4, + "500000": 4, + "5000000": 4, + "50000000": 4, + "600000": 4, + "6000000": 4, + "60000000": 4, + "700000": 4, + "7000000": 4, + "800000": 4, + "8000000": 4, + "900000": 4, + "9000000": 4 }, - "count": 5, - "sum": 7218.701000000001 + "count": 4, + "sum": 4491.235 } }, - "group": "storage.k8s.io", - "resource": "storageclasses", + "group": "rbac.authorization.k8s.io", + "resource": "clusterroles", "scope": "cluster", "verb": "LIST", "version": "v1" @@ -26102,17 +25814,17 @@ "size": { "bytes": { "bucket": { - "+Inf": 5, - "1000": 4, - "10000": 5, - "100000": 5, - "1000000": 5, - "10000000": 5, - "100000000": 5, - "1000000000": 5 + "+Inf": 4, + "1000": 3, + "10000": 3, + "100000": 4, + "1000000": 4, + "10000000": 4, + "100000000": 4, + "1000000000": 4 }, - "count": 5, - "sum": 3009 + "count": 4, + "sum": 44225 } } } @@ -26133,12 +25845,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", + "code": "200", "component": "apiserver", - "count": 7, - "resource": "limitranges", + "count": 4, + "group": "rbac.authorization.k8s.io", + "resource": "clusterroles", "scope": "cluster", - "verb": "WATCH", + "verb": "LIST", "version": "v1" } }, @@ -26158,12 +25871,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", + "code": "200", "component": "apiserver", - "count": 3, - "resource": "podtemplates", + "count": 1, + "group": "apps", + "resource": "controllerrevisions", "scope": "cluster", - "verb": "WATCH", + "verb": "LIST", "version": "v1" } }, @@ -26183,13 +25897,12 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", + "code": "404", "component": "apiserver", - "count": 7, - "group": "apps", - "resource": "deployments", - "scope": "cluster", - "verb": "WATCH", + "count": 2, + "resource": "endpoints", + "scope": "resource", + "verb": "GET", "version": "v1" } }, @@ -26209,14 +25922,121 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", + "group": "networking.k8s.io", + "version": "v1" + }, + "watch": { + "events": { + "kind": "NetworkPolicy", + "size": { + "bytes": { + "bucket": { + "+Inf": 16, + "1024": 16, + "131072": 16, + "16384": 16, + "2048": 16, + "32768": 16, + "4096": 16, + "65536": 16, + "8192": 16 + }, + "count": 16, + "sum": 1232 + } + } + } + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { "component": "apiserver", - "count": 4, + "duration": { + "us": { + "bucket": { + "+Inf": 3, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 + }, + "count": 3, + "sum": 1277001273.351 + } + }, "group": "apps", - "resource": "replicasets", + "longrunning": { + "count": 1 + }, + "resource": "controllerrevisions", "scope": "cluster", - "verb": "LIST", + "verb": "WATCH", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 3, + "1000": 3, + "10000": 3, + "100000": 3, + "1000000": 3, + "10000000": 3, + "100000000": 3, + "1000000000": 3 + }, + "count": 3, + "sum": 0 + } + } } }, "Index": "", @@ -26235,13 +26055,79 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", "component": "apiserver", - "count": 2, - "resource": "serviceaccounts", + "duration": { + "us": { + "bucket": { + "+Inf": 8, + "100000": 0, + "1000000": 0, + "10000000": 0, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 0, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 0, + "250000": 0, + "2500000": 0, + "25000000": 0, + "300000": 0, + "3000000": 0, + "30000000": 0, + "350000": 0, + "3500000": 0, + "400000": 0, + "4000000": 0, + "40000000": 0, + "450000": 0, + "4500000": 0, + "50000": 0, + "500000": 0, + "5000000": 0, + "50000000": 0, + "600000": 0, + "6000000": 0, + "60000000": 0, + "700000": 0, + "7000000": 0, + "800000": 0, + "8000000": 0, + "900000": 0, + "9000000": 0 + }, + "count": 8, + "sum": 3344005906.8700004 + } + }, + "group": "admissionregistration.k8s.io", + "longrunning": { + "count": 3 + }, + "resource": "validatingwebhookconfigurations", "scope": "cluster", - "verb": "LIST", + "verb": "WATCH", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 8, + "1000": 8, + "10000": 8, + "100000": 8, + "1000000": 8, + "10000000": 8, + "100000000": 8, + "1000000000": 8 + }, + "count": 8, + "sum": 0 + } + } } }, "Index": "", @@ -26264,53 +26150,72 @@ "duration": { "us": { "bucket": { - "+Inf": 31, - "100000": 31, - "1000000": 31, - "10000000": 31, - "1250000": 31, - "150000": 31, - "1500000": 31, - "15000000": 31, - "1750000": 31, - "200000": 31, - "2000000": 31, - "20000000": 31, - "250000": 31, - "2500000": 31, - "25000000": 31, - "300000": 31, - "3000000": 31, - "30000000": 31, - "350000": 31, - "3500000": 31, - "400000": 31, - "4000000": 31, - "40000000": 31, - "450000": 31, - "4500000": 31, - "50000": 31, - "500000": 31, - "5000000": 31, - "50000000": 31, - "600000": 31, - "6000000": 31, - "60000000": 31, - "700000": 31, - "7000000": 31, - "800000": 31, - "8000000": 31, - "900000": 31, - "9000000": 31 + "+Inf": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "1250000": 2, + "150000": 2, + "1500000": 2, + "15000000": 2, + "1750000": 2, + "200000": 2, + "2000000": 2, + "20000000": 2, + "250000": 2, + "2500000": 2, + "25000000": 2, + "300000": 2, + "3000000": 2, + "30000000": 2, + "350000": 2, + "3500000": 2, + "400000": 2, + "4000000": 2, + "40000000": 2, + "450000": 2, + "4500000": 2, + "50000": 2, + "500000": 2, + "5000000": 2, + "50000000": 2, + "600000": 2, + "6000000": 2, + "60000000": 2, + "700000": 2, + "7000000": 2, + "800000": 2, + "8000000": 2, + "900000": 2, + "9000000": 2 }, - "count": 31, - "sum": 134097.76899999997 + "count": 2, + "sum": 1879.065 } }, - "resource": "events", - "scope": "resource", - "verb": "PATCH", - "version": "v1" + "group": "storage.k8s.io", + "resource": "csistoragecapacities", + "scope": "cluster", + "verb": "LIST", + "version": "v1beta1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 2, + "1000": 2, + "10000": 2, + "100000": 2, + "1000000": 2, + "10000000": 2, + "100000000": 2, + "1000000000": 2 + }, + "count": 2, + "sum": 138 + } + } } }, "Index": "", @@ -26329,12 +26234,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "201", + "code": "200", "component": "apiserver", - "count": 4, - "resource": "endpoints", - "scope": "resource", - "verb": "POST", + "count": 1, + "group": "discovery.k8s.io", + "resource": "endpointslices", + "scope": "cluster", + "verb": "LIST", "version": "v1" } }, @@ -26354,14 +26260,78 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", "component": "apiserver", - "count": 214, - "group": "batch", - "resource": "jobs", - "scope": "resource", - "verb": "GET", + "duration": { + "us": { + "bucket": { + "+Inf": 62, + "100000": 0, + "1000000": 0, + "10000000": 1, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 1, + "1750000": 1, + "200000": 0, + "2000000": 1, + "20000000": 1, + "250000": 0, + "2500000": 1, + "25000000": 1, + "300000": 0, + "3000000": 1, + "30000000": 1, + "350000": 0, + "3500000": 1, + "400000": 0, + "4000000": 1, + "40000000": 1, + "450000": 0, + "4500000": 1, + "50000": 0, + "500000": 0, + "5000000": 1, + "50000000": 1, + "600000": 0, + "6000000": 1, + "60000000": 1, + "700000": 0, + "7000000": 1, + "800000": 0, + "8000000": 1, + "900000": 0, + "9000000": 1 + }, + "count": 62, + "sum": 27628720569.026997 + } + }, + "longrunning": { + "count": 30 + }, + "resource": "pods", + "scope": "cluster", + "verb": "WATCH", "version": "v1" + }, + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 62, + "1000": 62, + "10000": 62, + "100000": 62, + "1000000": 62, + "10000000": 62, + "100000000": 62, + "1000000000": 62 + }, + "count": 62, + "sum": 0 + } + } } }, "Index": "", @@ -26380,14 +26350,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "201", + "code": "0", "component": "apiserver", - "count": 7, - "group": "flowcontrol.apiserver.k8s.io", - "resource": "prioritylevelconfigurations", - "scope": "resource", - "verb": "POST", - "version": "v1beta1" + "count": 6, + "group": "apiextensions.k8s.io", + "resource": "customresourcedefinitions", + "scope": "cluster", + "verb": "WATCH", + "version": "v1" } }, "Index": "", @@ -26406,83 +26376,29 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 11, - "100000": 11, - "1000000": 11, - "10000000": 11, - "1250000": 11, - "150000": 11, - "1500000": 11, - "15000000": 11, - "1750000": 11, - "200000": 11, - "2000000": 11, - "20000000": 11, - "250000": 11, - "2500000": 11, - "25000000": 11, - "300000": 11, - "3000000": 11, - "30000000": 11, - "350000": 11, - "3500000": 11, - "400000": 11, - "4000000": 11, - "40000000": 11, - "450000": 11, - "4500000": 11, - "50000": 11, - "500000": 11, - "5000000": 11, - "50000000": 11, - "600000": 11, - "6000000": 11, - "60000000": 11, - "700000": 11, - "7000000": 11, - "800000": 11, - "8000000": 11, - "900000": 11, - "9000000": 11 - }, - "count": 11, - "sum": 25375.327000000005 + "version": "v1" + }, + "watch": { + "events": { + "kind": "Event", + "size": { + "bytes": { + "bucket": { + "+Inf": 68, + "1024": 0, + "131072": 68, + "16384": 68, + "2048": 68, + "32768": 68, + "4096": 68, + "65536": 68, + "8192": 68 + }, + "count": 68, + "sum": 75222 + } } - }, - "group": "flowcontrol.apiserver.k8s.io", - "resource": "flowschemas", - "scope": "resource", - "subresource": "status", - "verb": "PATCH", - "version": "v1beta1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "etcd": { - "object": { - "count": 2 } - }, - "request": { - "resource": "priorityclasses.scheduling.k8s.io" } }, "Index": "", @@ -26503,8 +26419,9 @@ "request": { "code": "0", "component": "apiserver", - "count": 80, - "resource": "namespaces", + "count": 7, + "group": "admissionregistration.k8s.io", + "resource": "mutatingwebhookconfigurations", "scope": "cluster", "verb": "WATCH", "version": "v1" @@ -26530,70 +26447,114 @@ "duration": { "us": { "bucket": { - "+Inf": 2626, - "100000": 2605, - "1000000": 2620, - "10000000": 2626, - "1250000": 2622, - "150000": 2610, - "1500000": 2626, - "15000000": 2626, - "1750000": 2626, - "200000": 2611, - "2000000": 2626, - "20000000": 2626, - "250000": 2612, - "2500000": 2626, - "25000000": 2626, - "300000": 2612, - "3000000": 2626, - "30000000": 2626, - "350000": 2612, - "3500000": 2626, - "400000": 2614, - "4000000": 2626, - "40000000": 2626, - "450000": 2614, - "4500000": 2626, - "50000": 2603, - "500000": 2616, - "5000000": 2626, - "50000000": 2626, - "600000": 2617, - "6000000": 2626, - "60000000": 2626, - "700000": 2619, - "7000000": 2626, - "800000": 2619, - "8000000": 2626, - "900000": 2620, - "9000000": 2626 + "+Inf": 34, + "100000": 0, + "1000000": 0, + "10000000": 1, + "1250000": 0, + "150000": 0, + "1500000": 0, + "15000000": 1, + "1750000": 0, + "200000": 0, + "2000000": 0, + "20000000": 1, + "250000": 0, + "2500000": 0, + "25000000": 1, + "300000": 0, + "3000000": 1, + "30000000": 1, + "350000": 0, + "3500000": 1, + "400000": 0, + "4000000": 1, + "40000000": 1, + "450000": 0, + "4500000": 1, + "50000": 0, + "500000": 0, + "5000000": 1, + "50000000": 1, + "600000": 0, + "6000000": 1, + "60000000": 1, + "700000": 0, + "7000000": 1, + "800000": 0, + "8000000": 1, + "900000": 0, + "9000000": 1 }, - "count": 2626, - "sum": 20702689.795999948 + "count": 34, + "sum": 14462572341.869 } }, - "group": "coordination.k8s.io", - "resource": "leases", - "scope": "resource", - "verb": "GET", + "longrunning": { + "count": 13 + }, + "resource": "services", + "scope": "cluster", + "verb": "WATCH", "version": "v1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 2626, - "1000": 2626, - "10000": 2626, - "100000": 2626, - "1000000": 2626, - "10000000": 2626, - "100000000": 2626, - "1000000000": 2626 + "+Inf": 34, + "1000": 34, + "10000": 34, + "100000": 34, + "1000000": 34, + "10000000": 34, + "100000000": 34, + "1000000000": 34 }, - "count": 2626, - "sum": 1508318 + "count": 34, + "sum": 0 + } + } + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "group": "discovery.k8s.io", + "version": "v1beta1" + }, + "watch": { + "events": { + "kind": "EndpointSlice", + "size": { + "bytes": { + "bucket": { + "+Inf": 39, + "1024": 35, + "131072": 39, + "16384": 39, + "2048": 39, + "32768": 39, + "4096": 39, + "65536": 39, + "8192": 39 + }, + "count": 39, + "sum": 8380 + } } } } @@ -26609,6 +26570,30 @@ "Period": 0, "DisableTimeSeries": false }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "etcd": { + "object": { + "count": 13 + } + }, + "request": { + "resource": "rolebindings.rbac.authorization.k8s.io" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, { "RootFields": {}, "ModuleFields": null, @@ -26634,6 +26619,76 @@ "Period": 0, "DisableTimeSeries": false }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 22, + "100000": 22, + "1000000": 22, + "10000000": 22, + "1250000": 22, + "150000": 22, + "1500000": 22, + "15000000": 22, + "1750000": 22, + "200000": 22, + "2000000": 22, + "20000000": 22, + "250000": 22, + "2500000": 22, + "25000000": 22, + "300000": 22, + "3000000": 22, + "30000000": 22, + "350000": 22, + "3500000": 22, + "400000": 22, + "4000000": 22, + "40000000": 22, + "450000": 22, + "4500000": 22, + "50000": 22, + "500000": 22, + "5000000": 22, + "50000000": 22, + "600000": 22, + "6000000": 22, + "60000000": 22, + "700000": 22, + "7000000": 22, + "800000": 22, + "8000000": 22, + "900000": 22, + "9000000": 22 + }, + "count": 22, + "sum": 77986.433 + } + }, + "resource": "nodes", + "scope": "resource", + "subresource": "status", + "verb": "PATCH", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, { "RootFields": {}, "ModuleFields": null, @@ -26727,57 +26782,12 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "0", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 22, - "100000": 22, - "1000000": 22, - "10000000": 22, - "1250000": 22, - "150000": 22, - "1500000": 22, - "15000000": 22, - "1750000": 22, - "200000": 22, - "2000000": 22, - "20000000": 22, - "250000": 22, - "2500000": 22, - "25000000": 22, - "300000": 22, - "3000000": 22, - "30000000": 22, - "350000": 22, - "3500000": 22, - "400000": 22, - "4000000": 22, - "40000000": 22, - "450000": 22, - "4500000": 22, - "50000": 22, - "500000": 22, - "5000000": 22, - "50000000": 22, - "600000": 22, - "6000000": 22, - "60000000": 22, - "700000": 22, - "7000000": 22, - "800000": 22, - "8000000": 22, - "900000": 22, - "9000000": 22 - }, - "count": 22, - "sum": 77986.433 - } - }, - "resource": "nodes", - "scope": "resource", - "subresource": "status", - "verb": "PATCH", + "count": 80, + "resource": "namespaces", + "scope": "cluster", + "verb": "WATCH", "version": "v1" } }, @@ -26797,28 +26807,74 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "discovery.k8s.io", - "version": "v1beta1" + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 2626, + "100000": 2605, + "1000000": 2620, + "10000000": 2626, + "1250000": 2622, + "150000": 2610, + "1500000": 2626, + "15000000": 2626, + "1750000": 2626, + "200000": 2611, + "2000000": 2626, + "20000000": 2626, + "250000": 2612, + "2500000": 2626, + "25000000": 2626, + "300000": 2612, + "3000000": 2626, + "30000000": 2626, + "350000": 2612, + "3500000": 2626, + "400000": 2614, + "4000000": 2626, + "40000000": 2626, + "450000": 2614, + "4500000": 2626, + "50000": 2603, + "500000": 2616, + "5000000": 2626, + "50000000": 2626, + "600000": 2617, + "6000000": 2626, + "60000000": 2626, + "700000": 2619, + "7000000": 2626, + "800000": 2619, + "8000000": 2626, + "900000": 2620, + "9000000": 2626 + }, + "count": 2626, + "sum": 20702689.795999948 + } + }, + "group": "coordination.k8s.io", + "resource": "leases", + "scope": "resource", + "verb": "GET", + "version": "v1" }, - "watch": { - "events": { - "kind": "EndpointSlice", - "size": { - "bytes": { - "bucket": { - "+Inf": 39, - "1024": 35, - "131072": 39, - "16384": 39, - "2048": 39, - "32768": 39, - "4096": 39, - "65536": 39, - "8192": 39 - }, - "count": 39, - "sum": 8380 - } + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 2626, + "1000": 2626, + "10000": 2626, + "100000": 2626, + "1000000": 2626, + "10000000": 2626, + "100000000": 2626, + "1000000000": 2626 + }, + "count": 2626, + "sum": 1508318 } } } @@ -26840,11 +26896,11 @@ "MetricSetFields": { "etcd": { "object": { - "count": 13 + "count": 2 } }, "request": { - "resource": "rolebindings.rbac.authorization.k8s.io" + "resource": "priorityclasses.scheduling.k8s.io" } }, "Index": "", @@ -26867,74 +26923,55 @@ "duration": { "us": { "bucket": { - "+Inf": 34, - "100000": 0, - "1000000": 0, - "10000000": 1, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 1, - "1750000": 0, - "200000": 0, - "2000000": 0, - "20000000": 1, - "250000": 0, - "2500000": 0, - "25000000": 1, - "300000": 0, - "3000000": 1, - "30000000": 1, - "350000": 0, - "3500000": 1, - "400000": 0, - "4000000": 1, - "40000000": 1, - "450000": 0, - "4500000": 1, - "50000": 0, - "500000": 0, - "5000000": 1, - "50000000": 1, - "600000": 0, - "6000000": 1, - "60000000": 1, - "700000": 0, - "7000000": 1, - "800000": 0, - "8000000": 1, - "900000": 0, - "9000000": 1 + "+Inf": 11, + "100000": 11, + "1000000": 11, + "10000000": 11, + "1250000": 11, + "150000": 11, + "1500000": 11, + "15000000": 11, + "1750000": 11, + "200000": 11, + "2000000": 11, + "20000000": 11, + "250000": 11, + "2500000": 11, + "25000000": 11, + "300000": 11, + "3000000": 11, + "30000000": 11, + "350000": 11, + "3500000": 11, + "400000": 11, + "4000000": 11, + "40000000": 11, + "450000": 11, + "4500000": 11, + "50000": 11, + "500000": 11, + "5000000": 11, + "50000000": 11, + "600000": 11, + "6000000": 11, + "60000000": 11, + "700000": 11, + "7000000": 11, + "800000": 11, + "8000000": 11, + "900000": 11, + "9000000": 11 }, - "count": 34, - "sum": 14462572341.869 + "count": 11, + "sum": 25375.327000000005 } }, - "longrunning": { - "count": 13 - }, - "resource": "services", - "scope": "cluster", - "verb": "WATCH", - "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 34, - "1000": 34, - "10000": 34, - "100000": 34, - "1000000": 34, - "10000000": 34, - "100000000": 34, - "1000000000": 34 - }, - "count": 34, - "sum": 0 - } - } + "group": "flowcontrol.apiserver.k8s.io", + "resource": "flowschemas", + "scope": "resource", + "subresource": "status", + "verb": "PATCH", + "version": "v1beta1" } }, "Index": "", @@ -26953,55 +26990,14 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", + "code": "201", "component": "apiserver", "count": 7, - "group": "admissionregistration.k8s.io", - "resource": "mutatingwebhookconfigurations", - "scope": "cluster", - "verb": "WATCH", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "version": "v1" - }, - "watch": { - "events": { - "kind": "Event", - "size": { - "bytes": { - "bucket": { - "+Inf": 68, - "1024": 0, - "131072": 68, - "16384": 68, - "2048": 68, - "32768": 68, - "4096": 68, - "65536": 68, - "8192": 68 - }, - "count": 68, - "sum": 75222 - } - } - } + "group": "flowcontrol.apiserver.k8s.io", + "resource": "prioritylevelconfigurations", + "scope": "resource", + "verb": "POST", + "version": "v1beta1" } }, "Index": "", @@ -27018,80 +27014,16 @@ { "RootFields": {}, "ModuleFields": null, - "MetricSetFields": { - "request": { - "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 62, - "100000": 0, - "1000000": 0, - "10000000": 1, - "1250000": 0, - "150000": 0, - "1500000": 0, - "15000000": 1, - "1750000": 1, - "200000": 0, - "2000000": 1, - "20000000": 1, - "250000": 0, - "2500000": 1, - "25000000": 1, - "300000": 0, - "3000000": 1, - "30000000": 1, - "350000": 0, - "3500000": 1, - "400000": 0, - "4000000": 1, - "40000000": 1, - "450000": 0, - "4500000": 1, - "50000": 0, - "500000": 0, - "5000000": 1, - "50000000": 1, - "600000": 0, - "6000000": 1, - "60000000": 1, - "700000": 0, - "7000000": 1, - "800000": 0, - "8000000": 1, - "900000": 0, - "9000000": 1 - }, - "count": 62, - "sum": 27628720569.026997 - } - }, - "longrunning": { - "count": 30 - }, - "resource": "pods", - "scope": "cluster", - "verb": "WATCH", - "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 62, - "1000": 62, - "10000": 62, - "100000": 62, - "1000000": 62, - "10000000": 62, - "100000000": 62, - "1000000000": 62 - }, - "count": 62, - "sum": 0 - } - } + "MetricSetFields": { + "request": { + "code": "200", + "component": "apiserver", + "count": 214, + "group": "batch", + "resource": "jobs", + "scope": "resource", + "verb": "GET", + "version": "v1" } }, "Index": "", @@ -27110,13 +27042,56 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", "component": "apiserver", - "count": 6, - "group": "apiextensions.k8s.io", - "resource": "customresourcedefinitions", - "scope": "cluster", - "verb": "WATCH", + "duration": { + "us": { + "bucket": { + "+Inf": 31, + "100000": 31, + "1000000": 31, + "10000000": 31, + "1250000": 31, + "150000": 31, + "1500000": 31, + "15000000": 31, + "1750000": 31, + "200000": 31, + "2000000": 31, + "20000000": 31, + "250000": 31, + "2500000": 31, + "25000000": 31, + "300000": 31, + "3000000": 31, + "30000000": 31, + "350000": 31, + "3500000": 31, + "400000": 31, + "4000000": 31, + "40000000": 31, + "450000": 31, + "4500000": 31, + "50000": 31, + "500000": 31, + "5000000": 31, + "50000000": 31, + "600000": 31, + "6000000": 31, + "60000000": 31, + "700000": 31, + "7000000": 31, + "800000": 31, + "8000000": 31, + "900000": 31, + "9000000": 31 + }, + "count": 31, + "sum": 134097.76899999997 + } + }, + "resource": "events", + "scope": "resource", + "verb": "PATCH", "version": "v1" } }, @@ -27136,55 +27111,10 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "201", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 15, - "100000": 15, - "1000000": 15, - "10000000": 15, - "1250000": 15, - "150000": 15, - "1500000": 15, - "15000000": 15, - "1750000": 15, - "200000": 15, - "2000000": 15, - "20000000": 15, - "250000": 15, - "2500000": 15, - "25000000": 15, - "300000": 15, - "3000000": 15, - "30000000": 15, - "350000": 15, - "3500000": 15, - "400000": 15, - "4000000": 15, - "40000000": 15, - "450000": 15, - "4500000": 15, - "50000": 15, - "500000": 15, - "5000000": 15, - "50000000": 15, - "600000": 15, - "6000000": 15, - "60000000": 15, - "700000": 15, - "7000000": 15, - "800000": 15, - "8000000": 15, - "900000": 15, - "9000000": 15 - }, - "count": 15, - "sum": 24698.454 - } - }, - "group": "rbac.authorization.k8s.io", - "resource": "roles", + "count": 4, + "resource": "endpoints", "scope": "resource", "verb": "POST", "version": "v1" @@ -27206,13 +27136,12 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", + "code": "409", "component": "apiserver", - "count": 2, - "group": "apps", - "resource": "daemonsets", + "count": 4, + "resource": "pods", "scope": "resource", - "verb": "GET", + "verb": "POST", "version": "v1" } }, @@ -27234,8 +27163,9 @@ "request": { "code": "0", "component": "apiserver", - "count": 15, - "resource": "persistentvolumes", + "count": 6, + "group": "apiregistration.k8s.io", + "resource": "apiservices", "scope": "cluster", "verb": "WATCH", "version": "v1" @@ -27257,73 +27187,53 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "201", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 13, - "100000": 13, - "1000000": 13, - "10000000": 13, - "1250000": 13, - "150000": 13, - "1500000": 13, - "15000000": 13, - "1750000": 13, - "200000": 13, - "2000000": 13, - "20000000": 13, - "250000": 13, - "2500000": 13, - "25000000": 13, - "300000": 13, - "3000000": 13, - "30000000": 13, - "350000": 13, - "3500000": 13, - "400000": 13, - "4000000": 13, - "40000000": 13, - "450000": 13, - "4500000": 13, - "50000": 13, - "500000": 13, - "5000000": 13, - "50000000": 13, - "600000": 13, - "6000000": 13, - "60000000": 13, - "700000": 13, - "7000000": 13, - "800000": 13, - "8000000": 13, - "900000": 13, - "9000000": 13 - }, - "count": 13, - "sum": 52356.55500000001 - } - }, - "resource": "configmaps", - "scope": "namespace", - "verb": "LIST", + "count": 3, + "group": "apps", + "resource": "deployments", + "scope": "resource", + "verb": "POST", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { "version": "v1" }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 13, - "1000": 4, - "10000": 13, - "100000": 13, - "1000000": 13, - "10000000": 13, - "100000000": 13, - "1000000000": 13 - }, - "count": 13, - "sum": 16435 + "watch": { + "events": { + "kind": "ConfigMap", + "size": { + "bytes": { + "bucket": { + "+Inf": 104, + "1024": 92, + "131072": 104, + "16384": 104, + "2048": 102, + "32768": 104, + "4096": 104, + "65536": 104, + "8192": 104 + }, + "count": 104, + "sum": 23673 + } } } } @@ -27344,13 +27254,30 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", - "component": "apiserver", - "count": 3, - "resource": "resourcequotas", - "scope": "cluster", - "verb": "LIST", + "group": "apps", "version": "v1" + }, + "watch": { + "events": { + "kind": "ReplicaSet", + "size": { + "bytes": { + "bucket": { + "+Inf": 64, + "1024": 37, + "131072": 64, + "16384": 64, + "2048": 37, + "32768": 64, + "4096": 64, + "65536": 64, + "8192": 64 + }, + "count": 64, + "sum": 90936 + } + } + } } }, "Index": "", @@ -27369,13 +27296,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "200", + "code": "0", "component": "apiserver", - "count": 1, - "group": "apps", - "resource": "controllerrevisions", - "scope": "resource", - "verb": "DELETE", + "count": 4, + "group": "batch", + "resource": "cronjobs", + "scope": "cluster", + "verb": "WATCH", "version": "v1" } }, @@ -27399,69 +27326,73 @@ "duration": { "us": { "bucket": { - "+Inf": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "1250000": 1, - "150000": 1, - "1500000": 1, - "15000000": 1, - "1750000": 1, - "200000": 1, - "2000000": 1, - "20000000": 1, - "250000": 1, - "2500000": 1, - "25000000": 1, - "300000": 1, - "3000000": 1, - "30000000": 1, - "350000": 1, - "3500000": 1, - "400000": 1, - "4000000": 1, - "40000000": 1, - "450000": 1, - "4500000": 1, - "50000": 1, - "500000": 1, - "5000000": 1, - "50000000": 1, - "600000": 1, - "6000000": 1, - "60000000": 1, - "700000": 1, - "7000000": 1, - "800000": 1, - "8000000": 1, - "900000": 1, - "9000000": 1 + "+Inf": 8, + "100000": 2, + "1000000": 2, + "10000000": 3, + "1250000": 2, + "150000": 2, + "1500000": 2, + "15000000": 3, + "1750000": 2, + "200000": 2, + "2000000": 2, + "20000000": 3, + "250000": 2, + "2500000": 2, + "25000000": 3, + "300000": 2, + "3000000": 3, + "30000000": 3, + "350000": 2, + "3500000": 3, + "400000": 2, + "4000000": 3, + "40000000": 3, + "450000": 2, + "4500000": 3, + "50000": 2, + "500000": 2, + "5000000": 3, + "50000000": 3, + "600000": 2, + "6000000": 3, + "60000000": 3, + "700000": 2, + "7000000": 3, + "800000": 2, + "8000000": 3, + "900000": 2, + "9000000": 3 }, - "count": 1, - "sum": 1118.0890000000002 + "count": 8, + "sum": 2145525049.725 } }, - "resource": "secrets", - "scope": "resource", - "verb": "GET", + "group": "certificates.k8s.io", + "longrunning": { + "count": 2 + }, + "resource": "certificatesigningrequests", + "scope": "cluster", + "verb": "WATCH", "version": "v1" }, "response": { "size": { "bytes": { "bucket": { - "+Inf": 1, - "1000": 1, - "10000": 1, - "100000": 1, - "1000000": 1, - "10000000": 1, - "100000000": 1, - "1000000000": 1 + "+Inf": 8, + "1000": 8, + "10000": 8, + "100000": 8, + "1000000": 8, + "10000000": 8, + "100000000": 8, + "1000000000": 8 }, - "count": 1, - "sum": 218 + "count": 8, + "sum": 0 } } } @@ -27477,31 +27408,6 @@ "Period": 0, "DisableTimeSeries": false }, - { - "RootFields": {}, - "ModuleFields": null, - "MetricSetFields": { - "request": { - "code": "404", - "component": "apiserver", - "count": 1, - "resource": "persistentvolumes", - "scope": "resource", - "verb": "GET", - "version": "v1" - } - }, - "Index": "", - "ID": "", - "Namespace": "", - "Timestamp": "0001-01-01T00:00:00Z", - "Error": null, - "Host": "", - "Service": "", - "Took": 0, - "Period": 0, - "DisableTimeSeries": false - }, { "RootFields": {}, "ModuleFields": null, @@ -27686,28 +27592,98 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "group": "apps", + "code": "404", + "component": "apiserver", + "count": 1, + "resource": "persistentvolumes", + "scope": "resource", + "verb": "GET", + "version": "v1" + } + }, + "Index": "", + "ID": "", + "Namespace": "", + "Timestamp": "0001-01-01T00:00:00Z", + "Error": null, + "Host": "", + "Service": "", + "Took": 0, + "Period": 0, + "DisableTimeSeries": false + }, + { + "RootFields": {}, + "ModuleFields": null, + "MetricSetFields": { + "request": { + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "1250000": 1, + "150000": 1, + "1500000": 1, + "15000000": 1, + "1750000": 1, + "200000": 1, + "2000000": 1, + "20000000": 1, + "250000": 1, + "2500000": 1, + "25000000": 1, + "300000": 1, + "3000000": 1, + "30000000": 1, + "350000": 1, + "3500000": 1, + "400000": 1, + "4000000": 1, + "40000000": 1, + "450000": 1, + "4500000": 1, + "50000": 1, + "500000": 1, + "5000000": 1, + "50000000": 1, + "600000": 1, + "6000000": 1, + "60000000": 1, + "700000": 1, + "7000000": 1, + "800000": 1, + "8000000": 1, + "900000": 1, + "9000000": 1 + }, + "count": 1, + "sum": 1118.0890000000002 + } + }, + "resource": "secrets", + "scope": "resource", + "verb": "GET", "version": "v1" }, - "watch": { - "events": { - "kind": "ReplicaSet", - "size": { - "bytes": { - "bucket": { - "+Inf": 64, - "1024": 37, - "131072": 64, - "16384": 64, - "2048": 37, - "32768": 64, - "4096": 64, - "65536": 64, - "8192": 64 - }, - "count": 64, - "sum": 90936 - } + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 1, + "1000": 1, + "10000": 1, + "100000": 1, + "1000000": 1, + "10000000": 1, + "100000000": 1, + "1000000000": 1 + }, + "count": 1, + "sum": 218 } } } @@ -27728,13 +27704,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", + "code": "200", "component": "apiserver", - "count": 4, - "group": "batch", - "resource": "cronjobs", - "scope": "cluster", - "verb": "WATCH", + "count": 1, + "group": "apps", + "resource": "controllerrevisions", + "scope": "resource", + "verb": "DELETE", "version": "v1" } }, @@ -27754,79 +27730,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "code": "200", "component": "apiserver", - "duration": { - "us": { - "bucket": { - "+Inf": 8, - "100000": 2, - "1000000": 2, - "10000000": 3, - "1250000": 2, - "150000": 2, - "1500000": 2, - "15000000": 3, - "1750000": 2, - "200000": 2, - "2000000": 2, - "20000000": 3, - "250000": 2, - "2500000": 2, - "25000000": 3, - "300000": 2, - "3000000": 3, - "30000000": 3, - "350000": 2, - "3500000": 3, - "400000": 2, - "4000000": 3, - "40000000": 3, - "450000": 2, - "4500000": 3, - "50000": 2, - "500000": 2, - "5000000": 3, - "50000000": 3, - "600000": 2, - "6000000": 3, - "60000000": 3, - "700000": 2, - "7000000": 3, - "800000": 2, - "8000000": 3, - "900000": 2, - "9000000": 3 - }, - "count": 8, - "sum": 2145525049.725 - } - }, - "group": "certificates.k8s.io", - "longrunning": { - "count": 2 - }, - "resource": "certificatesigningrequests", + "count": 3, + "resource": "resourcequotas", "scope": "cluster", - "verb": "WATCH", + "verb": "LIST", "version": "v1" - }, - "response": { - "size": { - "bytes": { - "bucket": { - "+Inf": 8, - "1000": 8, - "10000": 8, - "100000": 8, - "1000000": 8, - "10000000": 8, - "100000000": 8, - "1000000000": 8 - }, - "count": 8, - "sum": 0 - } - } } }, "Index": "", @@ -27845,27 +27755,73 @@ "ModuleFields": null, "MetricSetFields": { "request": { + "component": "apiserver", + "duration": { + "us": { + "bucket": { + "+Inf": 13, + "100000": 13, + "1000000": 13, + "10000000": 13, + "1250000": 13, + "150000": 13, + "1500000": 13, + "15000000": 13, + "1750000": 13, + "200000": 13, + "2000000": 13, + "20000000": 13, + "250000": 13, + "2500000": 13, + "25000000": 13, + "300000": 13, + "3000000": 13, + "30000000": 13, + "350000": 13, + "3500000": 13, + "400000": 13, + "4000000": 13, + "40000000": 13, + "450000": 13, + "4500000": 13, + "50000": 13, + "500000": 13, + "5000000": 13, + "50000000": 13, + "600000": 13, + "6000000": 13, + "60000000": 13, + "700000": 13, + "7000000": 13, + "800000": 13, + "8000000": 13, + "900000": 13, + "9000000": 13 + }, + "count": 13, + "sum": 52356.55500000001 + } + }, + "resource": "configmaps", + "scope": "namespace", + "verb": "LIST", "version": "v1" }, - "watch": { - "events": { - "kind": "ConfigMap", - "size": { - "bytes": { - "bucket": { - "+Inf": 104, - "1024": 92, - "131072": 104, - "16384": 104, - "2048": 102, - "32768": 104, - "4096": 104, - "65536": 104, - "8192": 104 - }, - "count": 104, - "sum": 23673 - } + "response": { + "size": { + "bytes": { + "bucket": { + "+Inf": 13, + "1000": 4, + "10000": 13, + "100000": 13, + "1000000": 13, + "10000000": 13, + "100000000": 13, + "1000000000": 13 + }, + "count": 13, + "sum": 16435 } } } @@ -27886,11 +27842,55 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "201", "component": "apiserver", - "count": 3, - "group": "apps", - "resource": "deployments", + "duration": { + "us": { + "bucket": { + "+Inf": 15, + "100000": 15, + "1000000": 15, + "10000000": 15, + "1250000": 15, + "150000": 15, + "1500000": 15, + "15000000": 15, + "1750000": 15, + "200000": 15, + "2000000": 15, + "20000000": 15, + "250000": 15, + "2500000": 15, + "25000000": 15, + "300000": 15, + "3000000": 15, + "30000000": 15, + "350000": 15, + "3500000": 15, + "400000": 15, + "4000000": 15, + "40000000": 15, + "450000": 15, + "4500000": 15, + "50000": 15, + "500000": 15, + "5000000": 15, + "50000000": 15, + "600000": 15, + "6000000": 15, + "60000000": 15, + "700000": 15, + "7000000": 15, + "800000": 15, + "8000000": 15, + "900000": 15, + "9000000": 15 + }, + "count": 15, + "sum": 24698.454 + } + }, + "group": "rbac.authorization.k8s.io", + "resource": "roles", "scope": "resource", "verb": "POST", "version": "v1" @@ -27912,13 +27912,13 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "0", + "code": "200", "component": "apiserver", - "count": 6, - "group": "apiregistration.k8s.io", - "resource": "apiservices", - "scope": "cluster", - "verb": "WATCH", + "count": 2, + "group": "apps", + "resource": "daemonsets", + "scope": "resource", + "verb": "GET", "version": "v1" } }, @@ -27938,12 +27938,12 @@ "ModuleFields": null, "MetricSetFields": { "request": { - "code": "409", + "code": "0", "component": "apiserver", - "count": 4, - "resource": "pods", - "scope": "resource", - "verb": "POST", + "count": 15, + "resource": "persistentvolumes", + "scope": "cluster", + "verb": "WATCH", "version": "v1" } }, diff --git a/metricbeat/module/prometheus/collector/_meta/data.json b/metricbeat/module/prometheus/collector/_meta/data.json index dba9f7771c4..a46b63c74fe 100644 --- a/metricbeat/module/prometheus/collector/_meta/data.json +++ b/metricbeat/module/prometheus/collector/_meta/data.json @@ -11,12 +11,10 @@ }, "prometheus": { "labels": { - "job": "prometheus", - "listener_name": "http" + "job": "prometheus" }, "metrics": { - "net_conntrack_listener_conn_accepted_total": 3, - "net_conntrack_listener_conn_closed_total": 0 + "up": 1 } }, "service": { diff --git a/metricbeat/module/prometheus/collector/_meta/testdata/docs.plain-expected.json b/metricbeat/module/prometheus/collector/_meta/testdata/docs.plain-expected.json index 0abc4c113cc..bcf2489c878 100644 --- a/metricbeat/module/prometheus/collector/_meta/testdata/docs.plain-expected.json +++ b/metricbeat/module/prometheus/collector/_meta/testdata/docs.plain-expected.json @@ -11,7 +11,7 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:33379", + "instance": "127.0.0.1:41103", "job": "prometheus" }, "metrics": { @@ -35,7 +35,7 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:33379", + "instance": "127.0.0.1:41103", "job": "prometheus", "listener_name": "http" }, diff --git a/metricbeat/module/prometheus/collector/_meta/testdata/duplicate-metrics.plain-expected.json b/metricbeat/module/prometheus/collector/_meta/testdata/duplicate-metrics.plain-expected.json index bc547c74444..4380af72d6f 100644 --- a/metricbeat/module/prometheus/collector/_meta/testdata/duplicate-metrics.plain-expected.json +++ b/metricbeat/module/prometheus/collector/_meta/testdata/duplicate-metrics.plain-expected.json @@ -11,12 +11,12 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:44753", + "instance": "127.0.0.1:44633", "job": "prometheus", - "name": "PS MarkSweep" + "name": "PS Scavenge" }, "metrics": { - "base_gc_total_total": 4 + "base_gc_total_total": 34 } }, "service": { @@ -36,12 +36,12 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:44753", + "instance": "127.0.0.1:44633", "job": "prometheus", - "name": "PS Scavenge" + "name": "PS MarkSweep" }, "metrics": { - "base_gc_total_total": 34 + "base_gc_total_total": 4 } }, "service": { @@ -61,7 +61,7 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:44753", + "instance": "127.0.0.1:44633", "job": "prometheus" }, "metrics": { diff --git a/metricbeat/module/prometheus/collector/_meta/testdata/etcd-3.3.10-partial.plain-expected.json b/metricbeat/module/prometheus/collector/_meta/testdata/etcd-3.3.10-partial.plain-expected.json index 85a7c125ddf..a811dc351ac 100644 --- a/metricbeat/module/prometheus/collector/_meta/testdata/etcd-3.3.10-partial.plain-expected.json +++ b/metricbeat/module/prometheus/collector/_meta/testdata/etcd-3.3.10-partial.plain-expected.json @@ -11,32 +11,7 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:42999", - "job": "prometheus", - "server_version": "3.3.10" - }, - "metrics": { - "etcd_server_version": 1 - } - }, - "service": { - "address": "127.0.0.1:55555", - "type": "prometheus" - } - }, - { - "event": { - "dataset": "prometheus.collector", - "duration": 115000, - "module": "prometheus" - }, - "metricset": { - "name": "collector", - "period": 10000 - }, - "prometheus": { - "labels": { - "instance": "127.0.0.1:42999", + "instance": "127.0.0.1:37991", "job": "prometheus", "server_go_version": "go1.10.4" }, @@ -61,12 +36,12 @@ }, "prometheus": { "labels": { - "action": "getRecursive", - "instance": "127.0.0.1:42999", - "job": "prometheus" + "instance": "127.0.0.1:37991", + "job": "prometheus", + "server_version": "3.3.10" }, "metrics": { - "etcd_debugging_store_reads_total": 1 + "etcd_server_version": 1 } }, "service": { @@ -87,7 +62,7 @@ "prometheus": { "labels": { "action": "create", - "instance": "127.0.0.1:42999", + "instance": "127.0.0.1:37991", "job": "prometheus" }, "metrics": { @@ -111,12 +86,12 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:42999", + "instance": "127.0.0.1:37991", "job": "prometheus", - "version": "go1.10.4" + "server_id": "8e9e05c52164694d" }, "metrics": { - "go_info": 1 + "etcd_server_id": 1 } }, "service": { @@ -136,12 +111,12 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:42999", + "instance": "127.0.0.1:37991", "job": "prometheus", - "server_id": "8e9e05c52164694d" + "version": "go1.10.4" }, "metrics": { - "etcd_server_id": 1 + "go_info": 1 } }, "service": { @@ -161,12 +136,12 @@ }, "prometheus": { "labels": { - "action": "set", - "instance": "127.0.0.1:42999", + "action": "getRecursive", + "instance": "127.0.0.1:37991", "job": "prometheus" }, "metrics": { - "etcd_debugging_store_writes_total": 2 + "etcd_debugging_store_reads_total": 1 } }, "service": { @@ -186,7 +161,7 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:42999", + "instance": "127.0.0.1:37991", "job": "prometheus" }, "metrics": { @@ -262,5 +237,30 @@ "address": "127.0.0.1:55555", "type": "prometheus" } + }, + { + "event": { + "dataset": "prometheus.collector", + "duration": 115000, + "module": "prometheus" + }, + "metricset": { + "name": "collector", + "period": 10000 + }, + "prometheus": { + "labels": { + "action": "set", + "instance": "127.0.0.1:37991", + "job": "prometheus" + }, + "metrics": { + "etcd_debugging_store_writes_total": 2 + } + }, + "service": { + "address": "127.0.0.1:55555", + "type": "prometheus" + } } -] +] \ No newline at end of file diff --git a/metricbeat/module/prometheus/collector/_meta/testdata/metrics-with-naninf.plain-expected.json b/metricbeat/module/prometheus/collector/_meta/testdata/metrics-with-naninf.plain-expected.json index 54f0e0d102e..9b65de2c6a1 100644 --- a/metricbeat/module/prometheus/collector/_meta/testdata/metrics-with-naninf.plain-expected.json +++ b/metricbeat/module/prometheus/collector/_meta/testdata/metrics-with-naninf.plain-expected.json @@ -11,12 +11,12 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:41287", + "instance": "127.0.0.1:43755", "job": "prometheus", - "listener_name": "http" + "le": "3" }, "metrics": { - "net_conntrack_listener_conn_accepted_total": 1568652315554 + "http_request_duration_seconds_bucket": 3 } }, "service": { @@ -36,12 +36,12 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:41287", + "instance": "127.0.0.1:43755", "job": "prometheus", - "method": "GET" + "le": "+Inf" }, "metrics": { - "http_failures": 2 + "http_request_duration_seconds_bucket": 3 } }, "service": { @@ -61,7 +61,7 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:41287", + "instance": "127.0.0.1:43755", "job": "prometheus", "quantile": "0.75" }, @@ -86,12 +86,12 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:41287", + "instance": "127.0.0.1:43755", "job": "prometheus", - "le": "2" + "le": "5" }, "metrics": { - "http_request_duration_seconds_bucket": 2 + "http_request_duration_seconds_bucket": 3 } }, "service": { @@ -111,12 +111,12 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:41287", + "instance": "127.0.0.1:43755", "job": "prometheus", - "le": "5" + "le": "2" }, "metrics": { - "http_request_duration_seconds_bucket": 3 + "http_request_duration_seconds_bucket": 2 } }, "service": { @@ -136,15 +136,12 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:41287", - "job": "prometheus" + "instance": "127.0.0.1:43755", + "job": "prometheus", + "quantile": "1" }, "metrics": { - "go_gc_duration_seconds_count": 13118, - "go_gc_duration_seconds_sum": 3.451780079, - "http_request_duration_seconds_count": 3, - "http_request_duration_seconds_sum": 6, - "up": 1 + "go_gc_duration_seconds": 0.011689149 } }, "service": { @@ -164,12 +161,15 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:41287", - "job": "prometheus", - "le": "+Inf" + "instance": "127.0.0.1:43755", + "job": "prometheus" }, "metrics": { - "http_request_duration_seconds_bucket": 3 + "go_gc_duration_seconds_count": 13118, + "go_gc_duration_seconds_sum": 3.451780079, + "http_request_duration_seconds_count": 3, + "http_request_duration_seconds_sum": 6, + "up": 1 } }, "service": { @@ -189,12 +189,12 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:41287", + "instance": "127.0.0.1:43755", "job": "prometheus", - "le": "1" + "listener_name": "http" }, "metrics": { - "http_request_duration_seconds_bucket": 1 + "net_conntrack_listener_conn_accepted_total": 1568652315554 } }, "service": { @@ -215,7 +215,7 @@ "prometheus": { "labels": { "client_id": "consumer4", - "instance": "127.0.0.1:41287", + "instance": "127.0.0.1:43755", "job": "prometheus" }, "metrics": { @@ -239,12 +239,12 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:41287", + "instance": "127.0.0.1:43755", "job": "prometheus", - "le": "3" + "le": "1" }, "metrics": { - "http_request_duration_seconds_bucket": 3 + "http_request_duration_seconds_bucket": 1 } }, "service": { @@ -264,12 +264,12 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:41287", + "instance": "127.0.0.1:43755", "job": "prometheus", - "quantile": "1" + "method": "GET" }, "metrics": { - "go_gc_duration_seconds": 0.011689149 + "http_failures": 2 } }, "service": { @@ -277,4 +277,4 @@ "type": "prometheus" } } -] +] \ No newline at end of file diff --git a/metricbeat/module/prometheus/collector/_meta/testdata/prometheus-2.6.0-partial.plain-expected.json b/metricbeat/module/prometheus/collector/_meta/testdata/prometheus-2.6.0-partial.plain-expected.json index 0b3f3b12dd6..30ff0fee745 100644 --- a/metricbeat/module/prometheus/collector/_meta/testdata/prometheus-2.6.0-partial.plain-expected.json +++ b/metricbeat/module/prometheus/collector/_meta/testdata/prometheus-2.6.0-partial.plain-expected.json @@ -11,47 +11,12 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:39775", - "job": "prometheus" + "instance": "127.0.0.1:35567", + "job": "prometheus", + "quantile": "1" }, "metrics": { - "go_gc_duration_seconds_count": 4, - "go_gc_duration_seconds_sum": 0.004534198, - "go_goroutines": 35, - "go_memstats_alloc_bytes": 10558112, - "go_memstats_alloc_bytes_total": 14087760, - "go_memstats_buck_hash_sys_bytes": 1447018, - "go_memstats_frees_total": 15673, - "go_memstats_gc_cpu_fraction": 0.0008429952574435172, - "go_memstats_gc_sys_bytes": 2379776, - "go_memstats_heap_alloc_bytes": 10558112, - "go_memstats_heap_idle_bytes": 54042624, - "go_memstats_heap_inuse_bytes": 12214272, - "go_memstats_heap_objects": 61771, - "go_memstats_heap_released_bytes": 0, - "go_memstats_heap_sys_bytes": 66256896, - "go_memstats_last_gc_time_seconds": 1553430316.1488917, - "go_memstats_lookups_total": 0, - "go_memstats_mallocs_total": 77444, - "go_memstats_mcache_inuse_bytes": 6912, - "go_memstats_mcache_sys_bytes": 16384, - "go_memstats_mspan_inuse_bytes": 127984, - "go_memstats_mspan_sys_bytes": 131072, - "go_memstats_next_gc_bytes": 18390112, - "go_memstats_other_sys_bytes": 1201294, - "go_memstats_stack_inuse_bytes": 851968, - "go_memstats_stack_sys_bytes": 851968, - "go_memstats_sys_bytes": 72284408, - "go_threads": 14, - "process_cpu_seconds_total": 0.14, - "process_max_fds": 1048576, - "process_open_fds": 13, - "process_resident_memory_bytes": 35934208, - "process_start_time_seconds": 1553430305.4, - "process_virtual_memory_bytes": 150646784, - "process_virtual_memory_max_bytes": -1, - "prometheus_api_remote_read_queries": 0, - "up": 1 + "go_gc_duration_seconds": 0.004392391 } }, "service": { @@ -71,12 +36,14 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:39775", - "job": "prometheus", - "quantile": "0" + "dialer_name": "default", + "instance": "127.0.0.1:35567", + "job": "prometheus" }, "metrics": { - "go_gc_duration_seconds": 0.000038386 + "net_conntrack_dialer_conn_attempted_total": 0, + "net_conntrack_dialer_conn_closed_total": 0, + "net_conntrack_dialer_conn_established_total": 0 } }, "service": { @@ -96,14 +63,13 @@ }, "prometheus": { "labels": { - "dialer_name": "default", - "instance": "127.0.0.1:39775", - "job": "prometheus" + "instance": "127.0.0.1:35567", + "job": "prometheus", + "listener_name": "http" }, "metrics": { - "net_conntrack_dialer_conn_attempted_total": 0, - "net_conntrack_dialer_conn_closed_total": 0, - "net_conntrack_dialer_conn_established_total": 0 + "net_conntrack_listener_conn_accepted_total": 3, + "net_conntrack_listener_conn_closed_total": 0 } }, "service": { @@ -123,12 +89,12 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:39775", + "instance": "127.0.0.1:35567", "job": "prometheus", - "version": "go1.11.3" + "quantile": "0.75" }, "metrics": { - "go_info": 1 + "go_gc_duration_seconds": 0.004392391 } }, "service": { @@ -148,12 +114,47 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:39775", - "job": "prometheus", - "quantile": "0.75" + "instance": "127.0.0.1:35567", + "job": "prometheus" }, "metrics": { - "go_gc_duration_seconds": 0.004392391 + "go_gc_duration_seconds_count": 4, + "go_gc_duration_seconds_sum": 0.004534198, + "go_goroutines": 35, + "go_memstats_alloc_bytes": 10558112, + "go_memstats_alloc_bytes_total": 14087760, + "go_memstats_buck_hash_sys_bytes": 1447018, + "go_memstats_frees_total": 15673, + "go_memstats_gc_cpu_fraction": 0.0008429952574435172, + "go_memstats_gc_sys_bytes": 2379776, + "go_memstats_heap_alloc_bytes": 10558112, + "go_memstats_heap_idle_bytes": 54042624, + "go_memstats_heap_inuse_bytes": 12214272, + "go_memstats_heap_objects": 61771, + "go_memstats_heap_released_bytes": 0, + "go_memstats_heap_sys_bytes": 66256896, + "go_memstats_last_gc_time_seconds": 1553430316.1488917, + "go_memstats_lookups_total": 0, + "go_memstats_mallocs_total": 77444, + "go_memstats_mcache_inuse_bytes": 6912, + "go_memstats_mcache_sys_bytes": 16384, + "go_memstats_mspan_inuse_bytes": 127984, + "go_memstats_mspan_sys_bytes": 131072, + "go_memstats_next_gc_bytes": 18390112, + "go_memstats_other_sys_bytes": 1201294, + "go_memstats_stack_inuse_bytes": 851968, + "go_memstats_stack_sys_bytes": 851968, + "go_memstats_sys_bytes": 72284408, + "go_threads": 14, + "process_cpu_seconds_total": 0.14, + "process_max_fds": 1048576, + "process_open_fds": 13, + "process_resident_memory_bytes": 35934208, + "process_start_time_seconds": 1553430305.4, + "process_virtual_memory_bytes": 150646784, + "process_virtual_memory_max_bytes": -1, + "prometheus_api_remote_read_queries": 0, + "up": 1 } }, "service": { @@ -173,13 +174,12 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:39775", + "instance": "127.0.0.1:35567", "job": "prometheus", - "listener_name": "http" + "quantile": "0.5" }, "metrics": { - "net_conntrack_listener_conn_accepted_total": 3, - "net_conntrack_listener_conn_closed_total": 0 + "go_gc_duration_seconds": 0.000060618 } }, "service": { @@ -199,12 +199,12 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:39775", + "instance": "127.0.0.1:35567", "job": "prometheus", - "quantile": "1" + "version": "go1.11.3" }, "metrics": { - "go_gc_duration_seconds": 0.004392391 + "go_info": 1 } }, "service": { @@ -224,14 +224,12 @@ }, "prometheus": { "labels": { - "dialer_name": "prometheus", - "instance": "127.0.0.1:39775", - "job": "prometheus" + "instance": "127.0.0.1:35567", + "job": "prometheus", + "quantile": "0" }, "metrics": { - "net_conntrack_dialer_conn_attempted_total": 1, - "net_conntrack_dialer_conn_closed_total": 0, - "net_conntrack_dialer_conn_established_total": 1 + "go_gc_duration_seconds": 0.000038386 } }, "service": { @@ -251,12 +249,14 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:39775", - "job": "prometheus", - "quantile": "0.25" + "dialer_name": "prometheus", + "instance": "127.0.0.1:35567", + "job": "prometheus" }, "metrics": { - "go_gc_duration_seconds": 0.000042803 + "net_conntrack_dialer_conn_attempted_total": 1, + "net_conntrack_dialer_conn_closed_total": 0, + "net_conntrack_dialer_conn_established_total": 1 } }, "service": { @@ -277,7 +277,7 @@ "prometheus": { "labels": { "dialer_name": "alertmanager", - "instance": "127.0.0.1:39775", + "instance": "127.0.0.1:35567", "job": "prometheus" }, "metrics": { @@ -303,12 +303,12 @@ }, "prometheus": { "labels": { - "instance": "127.0.0.1:39775", + "instance": "127.0.0.1:35567", "job": "prometheus", - "quantile": "0.5" + "quantile": "0.25" }, "metrics": { - "go_gc_duration_seconds": 0.000060618 + "go_gc_duration_seconds": 0.000042803 } }, "service": { @@ -316,4 +316,4 @@ "type": "prometheus" } } -] +] \ No newline at end of file From 5fb9408676f29d1955b3643da9127b361fd2ae8e Mon Sep 17 00:00:00 2001 From: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com> Date: Fri, 22 Sep 2023 13:33:06 -0400 Subject: [PATCH 05/22] Update Beats install docs to mention ARM binaries (#36644) * Update Beats install docs to mention ARM binaries * Add note to Functionbeat docs --- auditbeat/docs/getting-started.asciidoc | 4 ++++ filebeat/docs/getting-started.asciidoc | 4 ++++ heartbeat/docs/getting-started.asciidoc | 4 ++++ metricbeat/docs/getting-started.asciidoc | 4 ++++ packetbeat/docs/getting-started.asciidoc | 4 ++++ x-pack/functionbeat/docs/getting-started.asciidoc | 4 ++++ 6 files changed, 24 insertions(+) diff --git a/auditbeat/docs/getting-started.asciidoc b/auditbeat/docs/getting-started.asciidoc index ad05a31e97f..0e7cb1d38da 100644 --- a/auditbeat/docs/getting-started.asciidoc +++ b/auditbeat/docs/getting-started.asciidoc @@ -35,6 +35,10 @@ system: include::{libbeat-dir}/tab-widgets/install-widget.asciidoc[] +The commands shown are for AMD platforms, but ARM packages are also available. +Refer to the https://www.elastic.co/downloads/beats/{beatname_lc}[download page] +for the full list of available packages. + [float] [[other-installation-options]] ==== Other installation options diff --git a/filebeat/docs/getting-started.asciidoc b/filebeat/docs/getting-started.asciidoc index 60c8cd9b54e..71a0b22647e 100644 --- a/filebeat/docs/getting-started.asciidoc +++ b/filebeat/docs/getting-started.asciidoc @@ -41,6 +41,10 @@ system: include::{libbeat-dir}/tab-widgets/install-widget.asciidoc[] +The commands shown are for AMD platforms, but ARM packages are also available. +Refer to the https://www.elastic.co/downloads/beats/{beatname_lc}[download page] +for the full list of available packages. + [float] [[other-installation-options]] ==== Other installation options diff --git a/heartbeat/docs/getting-started.asciidoc b/heartbeat/docs/getting-started.asciidoc index 83c3174cf90..be285333113 100644 --- a/heartbeat/docs/getting-started.asciidoc +++ b/heartbeat/docs/getting-started.asciidoc @@ -38,6 +38,10 @@ system: include::{libbeat-dir}/tab-widgets/install-widget.asciidoc[] +The commands shown are for AMD platforms, but ARM packages are also available. +Refer to the https://www.elastic.co/downloads/beats/{beatname_lc}[download page] +for the full list of available packages. + [float] [[other-installation-options]] ==== Other installation options diff --git a/metricbeat/docs/getting-started.asciidoc b/metricbeat/docs/getting-started.asciidoc index 9cd837dfc42..8b9ce9e3329 100644 --- a/metricbeat/docs/getting-started.asciidoc +++ b/metricbeat/docs/getting-started.asciidoc @@ -46,6 +46,10 @@ system: include::{libbeat-dir}/tab-widgets/install-widget.asciidoc[] +The commands shown are for AMD platforms, but ARM packages are also available. +Refer to the https://www.elastic.co/downloads/beats/{beatname_lc}[download page] +for the full list of available packages. + [float] [[other-installation-options]] ==== Other installation options diff --git a/packetbeat/docs/getting-started.asciidoc b/packetbeat/docs/getting-started.asciidoc index 0ee45527534..bb17e343107 100644 --- a/packetbeat/docs/getting-started.asciidoc +++ b/packetbeat/docs/getting-started.asciidoc @@ -49,6 +49,10 @@ system: include::{libbeat-dir}/tab-widgets/install-widget.asciidoc[] +The commands shown are for AMD platforms, but ARM packages are also available. +Refer to the https://www.elastic.co/downloads/beats/{beatname_lc}[download page] +for the full list of available packages. + [float] [[other-installation-options]] ==== Other installation options diff --git a/x-pack/functionbeat/docs/getting-started.asciidoc b/x-pack/functionbeat/docs/getting-started.asciidoc index 01a5315fb22..adbf4ec6717 100644 --- a/x-pack/functionbeat/docs/getting-started.asciidoc +++ b/x-pack/functionbeat/docs/getting-started.asciidoc @@ -30,6 +30,10 @@ system. include::{libbeat-dir}/tab-widgets/install-linux-mac-win-short-widget.asciidoc[] +The commands shown are for AMD platforms, but ARM packages are also available. +Refer to the https://www.elastic.co/downloads/beats/{beatname_lc}[download page] +for the full list of available packages. + [float] [[set-connection]] === Step 2: Connect to the {stack} From e932051de7b0ac147307f0c8923f292d452c1121 Mon Sep 17 00:00:00 2001 From: Andrew Kroh Date: Fri, 22 Sep 2023 14:47:10 -0400 Subject: [PATCH 06/22] filebeat - stop warning under elastic-agent (#36659) This message is being logged excessively when running under Elastic Agent. It's not relevant because Fleet manages pipelines. So disable it. Filebeat is unable to load the ingest pipelines for the configured modules because the Elasticsearch output is not configured/enabled. If you have already loaded the ingest pipelines or are using Logstash pipelines, you can ignore this warning. --- CHANGELOG.next.asciidoc | 1 + filebeat/beater/filebeat.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index c7251aef80a..db01ce06ebd 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -215,6 +215,7 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff] - For request tracer logging in CEL and httpjson the request and response body are no longer included in `event.original`. The body is still present in `http.{request,response}.body.content`. {pull}36531[36531] - Added support for Okta OAuth2 provider in the CEL input. {issue}36336[36336] {pull}36521[36521] - Improve error logging in HTTPJSON input. {pull}36529[36529] +- Disable warning message about ingest pipeline loading when running under Elastic Agent. {pull}36659[36659] - Add input metrics to http_endpoint input. {issue}36402[36402] {pull}36427[36427] *Auditbeat* diff --git a/filebeat/beater/filebeat.go b/filebeat/beater/filebeat.go index 78084c0fc29..b1d88fe9f74 100644 --- a/filebeat/beater/filebeat.go +++ b/filebeat/beater/filebeat.go @@ -189,7 +189,7 @@ func newBeater(b *beat.Beat, plugins PluginFactory, rawConfig *conf.C) (beat.Bea // setupPipelineLoaderCallback sets the callback function for loading pipelines during setup. func (fb *Filebeat) setupPipelineLoaderCallback(b *beat.Beat) error { - if b.Config.Output.Name() != "elasticsearch" { + if b.Config.Output.Name() != "elasticsearch" && !b.Manager.Enabled() { logp.Warn(pipelinesWarning) return nil } From 0ad4264557759c192ac3560f7b8bba96329ba936 Mon Sep 17 00:00:00 2001 From: Dan Kortschak <90160302+efd6@users.noreply.github.com> Date: Sat, 23 Sep 2023 06:08:51 +0930 Subject: [PATCH 07/22] winlogbeat/sys/wineventlog: fix unsafe pointer use (#36650) Fix the use of pointer to uintptr conversions to comply with the unsafe.Pointer rules. In particular, the code previously was not making conversions from a *T to uintptr in the call expression as required by rule (4) Conversion of a Pointer to a uintptr when calling syscall.Syscall[1]. [1]https://pkg.go.dev/unsafe#Pointer --- CHANGELOG-developer.next.asciidoc | 1 + winlogbeat/sys/wineventlog/format_message.go | 7 +++---- winlogbeat/sys/wineventlog/renderer.go | 4 ++-- winlogbeat/sys/wineventlog/syscall_windows.go | 4 ++-- .../sys/wineventlog/wineventlog_windows.go | 18 ++++++++---------- winlogbeat/sys/wineventlog/zsyscall_windows.go | 8 ++++---- 6 files changed, 20 insertions(+), 22 deletions(-) diff --git a/CHANGELOG-developer.next.asciidoc b/CHANGELOG-developer.next.asciidoc index 9bd8c4037a1..464afe040f8 100644 --- a/CHANGELOG-developer.next.asciidoc +++ b/CHANGELOG-developer.next.asciidoc @@ -88,6 +88,7 @@ The list below covers the major changes between 7.0.0-rc2 and main only. - Renamed an httpjson input metric to follow naming conventions. `httpjson_interval_pages_total` was renamed to `httpjson_interval_pages` because the `_total` suffix is reserved for counters. {issue}35933[35933] {pull}36169[36169] - Fixed some race conditions in tests {pull}36185[36185] - Re-enable HTTPJSON fixed flakey test. {issue}34929[34929] {pull}36525[36525] +- Make winlogbeat/sys/wineventlog follow the unsafe.Pointer rules. {pull}36650[36650] ==== Added diff --git a/winlogbeat/sys/wineventlog/format_message.go b/winlogbeat/sys/wineventlog/format_message.go index 98640ed2f2c..e6502d384fa 100644 --- a/winlogbeat/sys/wineventlog/format_message.go +++ b/winlogbeat/sys/wineventlog/format_message.go @@ -21,7 +21,6 @@ package wineventlog import ( "fmt" - "unsafe" "golang.org/x/sys/windows" @@ -70,10 +69,10 @@ func getEventXML(metadata *PublisherMetadata, eventHandle EvtHandle) (string, er func evtFormatMessage(metadataHandle EvtHandle, eventHandle EvtHandle, messageID uint32, values []EvtVariant, messageFlag EvtFormatMessageFlag) (string, error) { var ( valuesCount = uint32(len(values)) - valuesPtr uintptr + valuesPtr *EvtVariant ) - if len(values) > 0 { - valuesPtr = uintptr(unsafe.Pointer(&values[0])) + if len(values) != 0 { + valuesPtr = &values[0] } // Determine the buffer size needed (given in WCHARs). diff --git a/winlogbeat/sys/wineventlog/renderer.go b/winlogbeat/sys/wineventlog/renderer.go index bd458f6d998..4471b7b6aff 100644 --- a/winlogbeat/sys/wineventlog/renderer.go +++ b/winlogbeat/sys/wineventlog/renderer.go @@ -53,12 +53,12 @@ type Renderer struct { // NewRenderer returns a new Renderer. func NewRenderer(session EvtHandle, log *logp.Logger) (*Renderer, error) { - systemContext, err := _EvtCreateRenderContext(0, 0, EvtRenderContextSystem) + systemContext, err := _EvtCreateRenderContext(0, nil, EvtRenderContextSystem) if err != nil { return nil, fmt.Errorf("failed in EvtCreateRenderContext for system context: %w", err) } - userContext, err := _EvtCreateRenderContext(0, 0, EvtRenderContextUser) + userContext, err := _EvtCreateRenderContext(0, nil, EvtRenderContextUser) if err != nil { return nil, fmt.Errorf("failed in EvtCreateRenderContext for user context: %w", err) } diff --git a/winlogbeat/sys/wineventlog/syscall_windows.go b/winlogbeat/sys/wineventlog/syscall_windows.go index f18bbeb2087..14cbf560e6f 100644 --- a/winlogbeat/sys/wineventlog/syscall_windows.go +++ b/winlogbeat/sys/wineventlog/syscall_windows.go @@ -649,14 +649,14 @@ func EvtClearLog(session EvtHandle, channelPath string, targetFilePath string) e //sys _EvtSubscribe(session EvtHandle, signalEvent uintptr, channelPath *uint16, query *uint16, bookmark EvtHandle, context uintptr, callback syscall.Handle, flags EvtSubscribeFlag) (handle EvtHandle, err error) = wevtapi.EvtSubscribe //sys _EvtCreateBookmark(bookmarkXML *uint16) (handle EvtHandle, err error) = wevtapi.EvtCreateBookmark //sys _EvtUpdateBookmark(bookmark EvtHandle, event EvtHandle) (err error) = wevtapi.EvtUpdateBookmark -//sys _EvtCreateRenderContext(ValuePathsCount uint32, valuePaths uintptr, flags EvtRenderContextFlag) (handle EvtHandle, err error) = wevtapi.EvtCreateRenderContext +//sys _EvtCreateRenderContext(ValuePathsCount uint32, valuePaths **uint16, flags EvtRenderContextFlag) (handle EvtHandle, err error) = wevtapi.EvtCreateRenderContext //sys _EvtRender(context EvtHandle, fragment EvtHandle, flags EvtRenderFlag, bufferSize uint32, buffer *byte, bufferUsed *uint32, propertyCount *uint32) (err error) = wevtapi.EvtRender //sys _EvtClose(object EvtHandle) (err error) = wevtapi.EvtClose //sys _EvtSeek(resultSet EvtHandle, position int64, bookmark EvtHandle, timeout uint32, flags uint32) (success bool, err error) [!success] = wevtapi.EvtSeek //sys _EvtNext(resultSet EvtHandle, eventArraySize uint32, eventArray *EvtHandle, timeout uint32, flags uint32, numReturned *uint32) (err error) = wevtapi.EvtNext //sys _EvtOpenChannelEnum(session EvtHandle, flags uint32) (handle EvtHandle, err error) = wevtapi.EvtOpenChannelEnum //sys _EvtNextChannelPath(channelEnum EvtHandle, channelPathBufferSize uint32, channelPathBuffer *uint16, channelPathBufferUsed *uint32) (err error) = wevtapi.EvtNextChannelPath -//sys _EvtFormatMessage(publisherMetadata EvtHandle, event EvtHandle, messageID uint32, valueCount uint32, values uintptr, flags EvtFormatMessageFlag, bufferSize uint32, buffer *byte, bufferUsed *uint32) (err error) = wevtapi.EvtFormatMessage +//sys _EvtFormatMessage(publisherMetadata EvtHandle, event EvtHandle, messageID uint32, valueCount uint32, values *EvtVariant, flags EvtFormatMessageFlag, bufferSize uint32, buffer *byte, bufferUsed *uint32) (err error) = wevtapi.EvtFormatMessage //sys _EvtOpenPublisherMetadata(session EvtHandle, publisherIdentity *uint16, logFilePath *uint16, locale uint32, flags uint32) (handle EvtHandle, err error) = wevtapi.EvtOpenPublisherMetadata //sys _EvtGetPublisherMetadataProperty(publisherMetadata EvtHandle, propertyID EvtPublisherMetadataPropertyID, flags uint32, bufferSize uint32, variant *EvtVariant, bufferUsed *uint32) (err error) = wevtapi.EvtGetPublisherMetadataProperty //sys _EvtGetEventMetadataProperty(eventMetadata EvtHandle, propertyID EvtEventMetadataPropertyID, flags uint32, bufferSize uint32, variant *EvtVariant, bufferUsed *uint32) (err error) = wevtapi.EvtGetEventMetadataProperty diff --git a/winlogbeat/sys/wineventlog/wineventlog_windows.go b/winlogbeat/sys/wineventlog/wineventlog_windows.go index 545b7940878..6b4abfaf5d1 100644 --- a/winlogbeat/sys/wineventlog/wineventlog_windows.go +++ b/winlogbeat/sys/wineventlog/wineventlog_windows.go @@ -333,19 +333,17 @@ func CreateBookmarkFromXML(bookmarkXML string) (EvtHandle, error) { // CreateRenderContext creates a render context. Close must be called on // returned EvtHandle when finished with the handle. func CreateRenderContext(valuePaths []string, flag EvtRenderContextFlag) (EvtHandle, error) { - paths := make([]uintptr, 0, len(valuePaths)) + paths := make([]*uint16, 0, len(valuePaths)) for _, path := range valuePaths { - utf16, err := syscall.UTF16FromString(path) + utf16, err := syscall.UTF16PtrFromString(path) if err != nil { return 0, err } - - paths = append(paths, reflect.ValueOf(&utf16[0]).Pointer()) + paths = append(paths, utf16) } - - var pathsAddr uintptr - if len(paths) > 0 { - pathsAddr = reflect.ValueOf(&paths[0]).Pointer() + var pathsAddr **uint16 + if len(paths) != 0 { + pathsAddr = &paths[0] } context, err := _EvtCreateRenderContext(uint32(len(paths)), pathsAddr, flag) @@ -409,7 +407,7 @@ func FormatEventString( // Determine the buffer size needed (given in WCHARs). var bufferUsed uint32 - err := _EvtFormatMessage(ph, eventHandle, 0, 0, 0, messageFlag, 0, nil, &bufferUsed) + err := _EvtFormatMessage(ph, eventHandle, 0, 0, nil, messageFlag, 0, nil, &bufferUsed) if err != windows.ERROR_INSUFFICIENT_BUFFER { //nolint:errorlint // This is an errno. return fmt.Errorf("failed in EvtFormatMessage: %w", err) } @@ -423,7 +421,7 @@ func FormatEventString( // https://docs.microsoft.com/en-us/windows/win32/api/winevt/nf-winevt-evtformatmessage bb.Reserve(int(bufferUsed * 2)) - err = _EvtFormatMessage(ph, eventHandle, 0, 0, 0, messageFlag, bufferUsed, bb.PtrAt(0), &bufferUsed) + err = _EvtFormatMessage(ph, eventHandle, 0, 0, nil, messageFlag, bufferUsed, bb.PtrAt(0), &bufferUsed) if err != nil { return fmt.Errorf("failed in EvtFormatMessage: %w", err) } diff --git a/winlogbeat/sys/wineventlog/zsyscall_windows.go b/winlogbeat/sys/wineventlog/zsyscall_windows.go index 62e455f09a0..3cf625d77c1 100644 --- a/winlogbeat/sys/wineventlog/zsyscall_windows.go +++ b/winlogbeat/sys/wineventlog/zsyscall_windows.go @@ -119,8 +119,8 @@ func _EvtCreateBookmark(bookmarkXML *uint16) (handle EvtHandle, err error) { return } -func _EvtCreateRenderContext(ValuePathsCount uint32, valuePaths uintptr, flags EvtRenderContextFlag) (handle EvtHandle, err error) { - r0, _, e1 := syscall.Syscall(procEvtCreateRenderContext.Addr(), 3, uintptr(ValuePathsCount), uintptr(valuePaths), uintptr(flags)) +func _EvtCreateRenderContext(ValuePathsCount uint32, valuePaths **uint16, flags EvtRenderContextFlag) (handle EvtHandle, err error) { + r0, _, e1 := syscall.Syscall(procEvtCreateRenderContext.Addr(), 3, uintptr(ValuePathsCount), uintptr(unsafe.Pointer(valuePaths)), uintptr(flags)) handle = EvtHandle(r0) if handle == 0 { err = errnoErr(e1) @@ -128,8 +128,8 @@ func _EvtCreateRenderContext(ValuePathsCount uint32, valuePaths uintptr, flags E return } -func _EvtFormatMessage(publisherMetadata EvtHandle, event EvtHandle, messageID uint32, valueCount uint32, values uintptr, flags EvtFormatMessageFlag, bufferSize uint32, buffer *byte, bufferUsed *uint32) (err error) { - r1, _, e1 := syscall.Syscall9(procEvtFormatMessage.Addr(), 9, uintptr(publisherMetadata), uintptr(event), uintptr(messageID), uintptr(valueCount), uintptr(values), uintptr(flags), uintptr(bufferSize), uintptr(unsafe.Pointer(buffer)), uintptr(unsafe.Pointer(bufferUsed))) +func _EvtFormatMessage(publisherMetadata EvtHandle, event EvtHandle, messageID uint32, valueCount uint32, values *EvtVariant, flags EvtFormatMessageFlag, bufferSize uint32, buffer *byte, bufferUsed *uint32) (err error) { + r1, _, e1 := syscall.Syscall9(procEvtFormatMessage.Addr(), 9, uintptr(publisherMetadata), uintptr(event), uintptr(messageID), uintptr(valueCount), uintptr(unsafe.Pointer(values)), uintptr(flags), uintptr(bufferSize), uintptr(unsafe.Pointer(buffer)), uintptr(unsafe.Pointer(bufferUsed))) if r1 == 0 { err = errnoErr(e1) } From ea3b9e34bdea09bba0f951a7c4cb562bb037b09a Mon Sep 17 00:00:00 2001 From: Dan Kortschak <90160302+efd6@users.noreply.github.com> Date: Sat, 23 Sep 2023 06:26:48 +0930 Subject: [PATCH 08/22] x-pack/filebeat/input/cel: update mito version to v1.6.0 (#36651) This picks up a bugfix in JSON encoding. --- CHANGELOG.next.asciidoc | 1 + NOTICE.txt | 4 ++-- go.mod | 2 +- go.sum | 4 ++-- x-pack/filebeat/docs/inputs/input-cel.asciidoc | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index db01ce06ebd..228d201f74f 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -217,6 +217,7 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff] - Improve error logging in HTTPJSON input. {pull}36529[36529] - Disable warning message about ingest pipeline loading when running under Elastic Agent. {pull}36659[36659] - Add input metrics to http_endpoint input. {issue}36402[36402] {pull}36427[36427] +- Update mito CEL extension library to v1.6.0. {pull}36651[36651] *Auditbeat* diff --git a/NOTICE.txt b/NOTICE.txt index 77541649c2d..bc45b225aef 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -15600,11 +15600,11 @@ limitations under the License. -------------------------------------------------------------------------------- Dependency : github.com/elastic/mito -Version: v1.5.0 +Version: v1.6.0 Licence type (autodetected): Apache-2.0 -------------------------------------------------------------------------------- -Contents of probable licence file $GOMODCACHE/github.com/elastic/mito@v1.5.0/LICENSE: +Contents of probable licence file $GOMODCACHE/github.com/elastic/mito@v1.6.0/LICENSE: Apache License diff --git a/go.mod b/go.mod index 0aa925dcc15..4cf3e5c020e 100644 --- a/go.mod +++ b/go.mod @@ -206,7 +206,7 @@ require ( github.com/elastic/elastic-agent-shipper-client v0.5.1-0.20230228231646-f04347b666f3 github.com/elastic/elastic-agent-system-metrics v0.6.1 github.com/elastic/go-elasticsearch/v8 v8.10.0 - github.com/elastic/mito v1.5.0 + github.com/elastic/mito v1.6.0 github.com/elastic/toutoumomoma v0.0.0-20221026030040-594ef30cb640 github.com/foxcpp/go-mockdns v0.0.0-20201212160233-ede2f9158d15 github.com/google/cel-go v0.15.3 diff --git a/go.sum b/go.sum index 2375c473a8d..371aa1efbb2 100644 --- a/go.sum +++ b/go.sum @@ -695,8 +695,8 @@ github.com/elastic/gopacket v1.1.20-0.20211202005954-d412fca7f83a h1:8WfL/X6fK11 github.com/elastic/gopacket v1.1.20-0.20211202005954-d412fca7f83a/go.mod h1:riddUzxTSBpJXk3qBHtYr4qOhFhT6k/1c0E3qkQjQpA= github.com/elastic/gosigar v0.14.2 h1:Dg80n8cr90OZ7x+bAax/QjoW/XqTI11RmA79ZwIm9/4= github.com/elastic/gosigar v0.14.2/go.mod h1:iXRIGg2tLnu7LBdpqzyQfGDEidKCfWcCMS0WKyPWoMs= -github.com/elastic/mito v1.5.0 h1:637UzhwJH8XfHgusGrpL9b7sTkDE+gJ4unf1tDPDtUE= -github.com/elastic/mito v1.5.0/go.mod h1:J0LW+SbpiAoiBUBEBrbH8epwNDFhWWgEWyR/9DpY04c= +github.com/elastic/mito v1.6.0 h1:0Gf0qovzgBCKfGoPKdqdGKBjS9L3mRREWNqb7zG2WYg= +github.com/elastic/mito v1.6.0/go.mod h1:J0LW+SbpiAoiBUBEBrbH8epwNDFhWWgEWyR/9DpY04c= github.com/elastic/ristretto v0.1.1-0.20220602190459-83b0895ca5b3 h1:ChPwRVv1RR4a0cxoGjKcyWjTEpxYfm5gydMIzo32cAw= github.com/elastic/ristretto v0.1.1-0.20220602190459-83b0895ca5b3/go.mod h1:RAy2GVV4sTWVlNMavv3xhLsk18rxhfhDnombTe6EF5c= github.com/elastic/sarama v1.19.1-0.20220310193331-ebc2b0d8eef3 h1:FzA0/n4iMt8ojGDGRoiFPSHFvvdVIvxOxyLtiFnrLBM= diff --git a/x-pack/filebeat/docs/inputs/input-cel.asciidoc b/x-pack/filebeat/docs/inputs/input-cel.asciidoc index 6bfee14a7f6..258d23096e6 100644 --- a/x-pack/filebeat/docs/inputs/input-cel.asciidoc +++ b/x-pack/filebeat/docs/inputs/input-cel.asciidoc @@ -1,7 +1,7 @@ [role="xpack"] :type: cel -:mito_version: v1.5.0 +:mito_version: v1.6.0 :mito_docs: https://pkg.go.dev/github.com/elastic/mito@{mito_version} [id="{beatname_lc}-input-{type}"] From 2950898a3ae205ff5af55137965c398a51e8ac15 Mon Sep 17 00:00:00 2001 From: apmmachine <58790750+apmmachine@users.noreply.github.com> Date: Mon, 25 Sep 2023 10:18:38 -0400 Subject: [PATCH 09/22] [updatecli] update elastic stack version for testing 8.11.0-c47419c4 (#36621) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: Update snapshot.yml Made with ❤️️ by updatecli * chore: Update snapshot.yml Made with ❤️️ by updatecli * chore: Update snapshot.yml Made with ❤️️ by updatecli * chore: Update snapshot.yml Made with ❤️️ by updatecli --------- Co-authored-by: apmmachine --- testing/environments/snapshot.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testing/environments/snapshot.yml b/testing/environments/snapshot.yml index 95b12616908..7a387583a4c 100644 --- a/testing/environments/snapshot.yml +++ b/testing/environments/snapshot.yml @@ -3,7 +3,7 @@ version: '2.3' services: elasticsearch: - image: docker.elastic.co/elasticsearch/elasticsearch:8.11.0-2b227d89-SNAPSHOT + image: docker.elastic.co/elasticsearch/elasticsearch:8.11.0-c47419c4-SNAPSHOT # When extend is used it merges healthcheck.tests, see: # https://github.com/docker/compose/issues/8962 # healthcheck: @@ -31,7 +31,7 @@ services: - "./docker/elasticsearch/users_roles:/usr/share/elasticsearch/config/users_roles" logstash: - image: docker.elastic.co/logstash/logstash:8.11.0-2b227d89-SNAPSHOT + image: docker.elastic.co/logstash/logstash:8.11.0-c47419c4-SNAPSHOT healthcheck: test: ["CMD", "curl", "-f", "http://localhost:9600/_node/stats"] retries: 600 @@ -44,7 +44,7 @@ services: - 5055:5055 kibana: - image: docker.elastic.co/kibana/kibana:8.11.0-2b227d89-SNAPSHOT + image: docker.elastic.co/kibana/kibana:8.11.0-c47419c4-SNAPSHOT environment: - "ELASTICSEARCH_USERNAME=kibana_system_user" - "ELASTICSEARCH_PASSWORD=testing" From f111cbc73ec40b728299cd457e93ae72a8d7a6b9 Mon Sep 17 00:00:00 2001 From: Dan Kortschak <90160302+efd6@users.noreply.github.com> Date: Tue, 26 Sep 2023 06:14:57 +0930 Subject: [PATCH 10/22] libbeat/processors/cache: new processor (#36619) This is the initial infrastructure for a caching metadata processor to be added. It currently only supports in-memory caching, though both planned cache types are configurable with the file cache being mocked by an in-memory cache. Additional config options are added relative to the RFC, but these are intentionally not documented at this stage. --- .github/CODEOWNERS | 1 + CHANGELOG-developer.next.asciidoc | 1 + libbeat/processors/cache/cache.go | 290 +++++++++ libbeat/processors/cache/cache_test.go | 625 +++++++++++++++++++ libbeat/processors/cache/config.go | 113 ++++ libbeat/processors/cache/config_test.go | 182 ++++++ libbeat/processors/cache/docs/cache.asciidoc | 107 ++++ libbeat/processors/cache/mem_store.go | 257 ++++++++ libbeat/processors/cache/mem_store_test.go | 379 +++++++++++ 9 files changed, 1955 insertions(+) create mode 100644 libbeat/processors/cache/cache.go create mode 100644 libbeat/processors/cache/cache_test.go create mode 100644 libbeat/processors/cache/config.go create mode 100644 libbeat/processors/cache/config_test.go create mode 100644 libbeat/processors/cache/docs/cache.asciidoc create mode 100644 libbeat/processors/cache/mem_store.go create mode 100644 libbeat/processors/cache/mem_store_test.go diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a41ac990750..8fe748c1bf5 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -55,6 +55,7 @@ CHANGELOG* /libbeat/ @elastic/elastic-agent-data-plane /libbeat/docs/processors-list.asciidoc @elastic/ingest-docs /libbeat/management @elastic/elastic-agent-control-plane +/libbeat/processors/cache/ @elastic/security-external-integrations /libbeat/processors/community_id/ @elastic/security-external-integrations /libbeat/processors/decode_xml/ @elastic/security-external-integrations /libbeat/processors/decode_xml_wineventlog/ @elastic/security-external-integrations diff --git a/CHANGELOG-developer.next.asciidoc b/CHANGELOG-developer.next.asciidoc index 464afe040f8..d0f4c40ef3b 100644 --- a/CHANGELOG-developer.next.asciidoc +++ b/CHANGELOG-developer.next.asciidoc @@ -172,6 +172,7 @@ The list below covers the major changes between 7.0.0-rc2 and main only. - Skip dependabot updates for github.com/elastic/mito. {pull}36158[36158] - Add device handling to Okta API package for entity analytics. {pull}35980[35980] - Make Filebeat HTTPJSON input process responses sequentially. {pull}36493[36493] +- Add initial infrastructure for a caching enrichment processor. {pull}36619[36619] ==== Deprecated diff --git a/libbeat/processors/cache/cache.go b/libbeat/processors/cache/cache.go new file mode 100644 index 00000000000..eea3ed115ea --- /dev/null +++ b/libbeat/processors/cache/cache.go @@ -0,0 +1,290 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +package cache + +import ( + "context" + "errors" + "fmt" + "time" + + "github.com/elastic/beats/v7/libbeat/beat" + "github.com/elastic/beats/v7/libbeat/common/atomic" + "github.com/elastic/beats/v7/libbeat/processors" + conf "github.com/elastic/elastic-agent-libs/config" + "github.com/elastic/elastic-agent-libs/logp" + "github.com/elastic/elastic-agent-libs/mapstr" +) + +const name = "cache" + +func init() { + // We cannot use this as a JS plugin as it is stateful and includes a Close method. + processors.RegisterPlugin(name, New) +} + +var ( + // ErrNoMatch is returned when the event doesn't contain the field + // specified in key_field. + ErrNoMatch = errors.New("field in key_field not found in the event") + + // ErrNoData is returned when metadata for an event can't be collected. + ErrNoData = errors.New("metadata not found") + + instanceID atomic.Uint32 +) + +// cache is a caching enrichment processor. +type cache struct { + config config + store Store + cancel context.CancelFunc + log *logp.Logger +} + +// Resulting processor implements `Close()` to release the cache resources. +func New(cfg *conf.C) (beat.Processor, error) { + config := defaultConfig() + err := cfg.Unpack(&config) + if err != nil { + return nil, fmt.Errorf("failed to unpack the %s configuration: %w", name, err) + } + src, cancel, err := getStoreFor(config) + if err != nil { + return nil, fmt.Errorf("failed to get the store for %s: %w", name, err) + } + + // Logging (each processor instance has a unique ID). + id := int(instanceID.Inc()) + log := logp.NewLogger(name).With("instance_id", id) + + p := &cache{ + config: config, + store: src, + cancel: cancel, + log: log, + } + p.log.Infow("initialized cache processor", "details", p) + return p, nil +} + +// getStoreFor returns a backing store for the provided configuration, +// and a context cancellation that releases the cache resource when it +// is no longer required. The cancellation should be called when the +// processor is closed. +func getStoreFor(cfg config) (Store, context.CancelFunc, error) { + switch { + case cfg.Store.Memory != nil: + s, cancel := memStores.get(cfg.Store.Memory.ID, cfg) + return s, cancel, nil + + case cfg.Store.File != nil: + logp.L().Warn("using memory store when file is configured") + // TODO: Replace place-holder code with a file-store. + s, cancel := fileStores.get(cfg.Store.File.ID, cfg) + return s, cancel, nil + + default: + // This should have been caught by config validation. + return nil, noop, errors.New("no configured store") + } +} + +var ( + memStores = memStoreSet{stores: map[string]*memStore{}, typ: "memory"} + fileStores = memStoreSet{stores: map[string]*memStore{}, typ: "file"} // This is a temporary mock. +) + +// noop is a no-op context.CancelFunc. +func noop() {} + +// Store is the interface implemented by metadata providers. +type Store interface { + Put(key string, val any) error + Get(key string) (any, error) + Delete(key string) error + + // The string returned from the String method should + // be the backing store ID. Either "file:" or + // "memory:". + fmt.Stringer +} + +type CacheEntry struct { + key string + value any + expires time.Time + index int +} + +// Run enriches the given event with the host metadata. +func (p *cache) Run(event *beat.Event) (*beat.Event, error) { + switch { + case p.config.Put != nil: + p.log.Debugw("put", "backend_id", p.store, "config", p.config.Put) + err := p.putFrom(event) + if err != nil { + switch { + case errors.Is(err, mapstr.ErrKeyNotFound): + if p.config.IgnoreMissing { + return event, nil + } + return event, err + } + return event, fmt.Errorf("error applying %s put processor: %w", name, err) + } + return event, nil + + case p.config.Get != nil: + p.log.Debugw("get", "backend_id", p.store, "config", p.config.Get) + result, err := p.getFor(event) + if err != nil { + switch { + case errors.Is(err, mapstr.ErrKeyNotFound): + if p.config.IgnoreMissing { + return event, nil + } + case errors.Is(err, ErrNoData): + return event, err + } + return event, fmt.Errorf("error applying %s get processor: %w", name, err) + } + if result != nil { + return result, nil + } + return event, ErrNoMatch + + case p.config.Delete != nil: + p.log.Debugw("delete", "backend_id", p.store, "config", p.config.Delete) + err := p.deleteFor(event) + if err != nil { + return event, fmt.Errorf("error applying %s delete processor: %w", name, err) + } + return event, nil + + default: + // This should never happen, but we don't need to flag it. + return event, nil + } +} + +// putFrom takes the configured value from the event and stores it in the cache +// if it exists. +func (p *cache) putFrom(event *beat.Event) error { + k, err := event.GetValue(p.config.Put.Key) + if err != nil { + return err + } + key, ok := k.(string) + if !ok { + return fmt.Errorf("key field '%s' not a string: %T", p.config.Put.Key, k) + } + p.log.Debugw("put", "backend_id", p.store, "key", key) + + val, err := event.GetValue(p.config.Put.Value) + if err != nil { + return err + } + + err = p.store.Put(key, val) + if err != nil { + return fmt.Errorf("failed to put '%s' into '%s': %w", key, p.config.Put.Value, err) + } + return nil +} + +// getFor gets the configured value from the cache for the event and inserts +// it into the configured field if it exists. +func (p *cache) getFor(event *beat.Event) (result *beat.Event, err error) { + // Check for clobbering. + dst := p.config.Get.Target + if !p.config.OverwriteKeys { + if _, err := event.GetValue(dst); err == nil { + return nil, fmt.Errorf("target field '%s' already exists and overwrite_keys is false", dst) + } + } + + // Get key into store for metadata. + key := p.config.Get.Key + v, err := event.GetValue(key) + if err != nil { + return nil, err + } + k, ok := v.(string) + if !ok { + return nil, fmt.Errorf("key field '%s' not a string: %T", key, v) + } + p.log.Debugw("get", "backend_id", p.store, "key", k) + + // Get metadata... + meta, err := p.store.Get(k) + if err != nil { + return nil, fmt.Errorf("%w for '%s': %w", ErrNoData, k, err) + } + if meta == nil { + return nil, fmt.Errorf("%w for '%s'", ErrNoData, k) + } + if m, ok := meta.(map[string]interface{}); ok { + meta = mapstr.M(m) + } + // ... and write it into the event. + // The implementation of PutValue currently leaves event + // essentially unchanged in the case of an error (in the + // case of an @metadata field there may be a mutation, + // but at most this will be the addition of a Meta field + // value to event). None of this is documented. + if _, err = event.PutValue(dst, meta); err != nil { + return nil, err + } + return event, nil +} + +// deleteFor deletes the configured value from the cache based on the value of +// the configured key. +func (p *cache) deleteFor(event *beat.Event) error { + v, err := event.GetValue(p.config.Delete.Key) + if err != nil { + return err + } + k, ok := v.(string) + if !ok { + return fmt.Errorf("key field '%s' not a string: %T", p.config.Delete.Key, v) + } + return p.store.Delete(k) +} + +func (p *cache) Close() error { + p.cancel() + return nil +} + +// String returns the processor representation formatted as a string +func (p *cache) String() string { + switch { + case p.config.Put != nil: + return fmt.Sprintf("%s=[operation=put, store_id=%s, key_field=%s, value_field=%s, ttl=%v, ignore_missing=%t, overwrite_fields=%t]", + name, p.store, p.config.Put.Key, p.config.Put.Value, p.config.Put.TTL, p.config.IgnoreMissing, p.config.OverwriteKeys) + case p.config.Get != nil: + return fmt.Sprintf("%s=[operation=get, store_id=%s, key_field=%s, target_field=%s, ignore_missing=%t, overwrite_fields=%t]", + name, p.store, p.config.Get.Key, p.config.Get.Target, p.config.IgnoreMissing, p.config.OverwriteKeys) + case p.config.Delete != nil: + return fmt.Sprintf("%s=[operation=delete, store_id=%s, key_field=%s]", name, p.store, p.config.Delete.Key) + default: + return fmt.Sprintf("%s=[operation=invalid]", name) + } +} diff --git a/libbeat/processors/cache/cache_test.go b/libbeat/processors/cache/cache_test.go new file mode 100644 index 00000000000..6fe5847c01f --- /dev/null +++ b/libbeat/processors/cache/cache_test.go @@ -0,0 +1,625 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +package cache + +import ( + "errors" + "testing" + + "github.com/google/go-cmp/cmp" + "github.com/google/go-cmp/cmp/cmpopts" + + "github.com/elastic/beats/v7/libbeat/beat" + conf "github.com/elastic/elastic-agent-libs/config" + "github.com/elastic/elastic-agent-libs/logp" + "github.com/elastic/elastic-agent-libs/mapstr" +) + +type cacheTestStep struct { + event mapstr.M + want mapstr.M + wantCacheVal map[string]*CacheEntry + wantErr error +} + +var cacheTests = []struct { + name string + configs []testConfig + wantInitErr error + steps []cacheTestStep +}{ + { + name: "invalid_no_backend", + configs: []testConfig{ + { + cfg: mapstr.M{ + "put": mapstr.M{ + "key_field": "crowdstrike.aid", + "ttl": "168h", + "value_field": "crowdstrike.metadata", + }, + }, + }, + }, + wantInitErr: errors.New("failed to unpack the cache configuration: missing required field accessing 'backend'"), + }, + { + name: "invalid_no_key_field", + configs: []testConfig{ + { + cfg: mapstr.M{ + "backend": mapstr.M{ + "memory": mapstr.M{ + "id": "aidmaster", + }, + }, + "put": mapstr.M{ + "value_field": "crowdstrike.metadata", + "ttl": "168h", + }, + }, + }, + }, + wantInitErr: errors.New("failed to unpack the cache configuration: string value is not set accessing 'put.key_field'"), + }, + { + name: "invalid_no_value_field", + configs: []testConfig{ + { + cfg: mapstr.M{ + "backend": mapstr.M{ + "memory": mapstr.M{ + "id": "aidmaster", + }, + }, + "put": mapstr.M{ + "key_field": "crowdstrike.aid", + "ttl": "168h", + }, + }, + }, + }, + wantInitErr: errors.New("failed to unpack the cache configuration: string value is not set accessing 'put.value_field'"), + }, + { + name: "put_value", + configs: []testConfig{ + { + cfg: mapstr.M{ + "backend": mapstr.M{ + "memory": mapstr.M{ + "id": "aidmaster", + }, + }, + "put": mapstr.M{ + "key_field": "crowdstrike.aid", + "value_field": "crowdstrike.metadata", + "ttl": "168h", + }, + }, + }, + }, + wantInitErr: nil, + steps: []cacheTestStep{ + { + event: mapstr.M{ + "crowdstrike": mapstr.M{ + "aid": "one", + "metadata": "metadata_value", + }, + }, + want: mapstr.M{ + "crowdstrike": mapstr.M{ + "aid": "one", + "metadata": "metadata_value", + }, + }, + wantCacheVal: map[string]*CacheEntry{ + "one": {key: "one", value: "metadata_value"}, + }, + wantErr: nil, + }, + }, + }, + { + name: "put_and_get_value", + configs: []testConfig{ + { + when: func(e mapstr.M) bool { + return e["put"] == true + }, + cfg: mapstr.M{ + "backend": mapstr.M{ + "memory": mapstr.M{ + "id": "aidmaster", + }, + }, + "put": mapstr.M{ + "key_field": "crowdstrike.aid", + "value_field": "crowdstrike.metadata", + "ttl": "168h", + }, + }, + }, + { + when: func(e mapstr.M) bool { + return e["get"] == true + }, + cfg: mapstr.M{ + "backend": mapstr.M{ + "memory": mapstr.M{ + "id": "aidmaster", + }, + }, + "get": mapstr.M{ + "key_field": "crowdstrike.aid", + "target_field": "crowdstrike.metadata_new", + }, + }, + }, + }, + wantInitErr: nil, + steps: []cacheTestStep{ + { + event: mapstr.M{ + "put": true, + "crowdstrike": mapstr.M{ + "aid": "one", + "metadata": "metadata_value", + }, + }, + want: mapstr.M{ + "put": true, + "crowdstrike": mapstr.M{ + "aid": "one", + "metadata": "metadata_value", + }, + }, + wantCacheVal: map[string]*CacheEntry{ + "one": {key: "one", value: "metadata_value"}, + }, + wantErr: nil, + }, + { + event: mapstr.M{ + "get": true, + "crowdstrike": mapstr.M{ + "aid": "one", + }, + }, + want: mapstr.M{ + "get": true, + "crowdstrike": mapstr.M{ + "aid": "one", + "metadata_new": "metadata_value", + }, + }, + wantCacheVal: map[string]*CacheEntry{ + "one": {key: "one", value: "metadata_value"}, + }, + wantErr: nil, + }, + }, + }, + { + name: "put_and_get_value_reverse_config", + configs: []testConfig{ + { + when: func(e mapstr.M) bool { + return e["get"] == true + }, + cfg: mapstr.M{ + "backend": mapstr.M{ + "memory": mapstr.M{ + "id": "aidmaster", + }, + }, + "get": mapstr.M{ + "key_field": "crowdstrike.aid", + "target_field": "crowdstrike.metadata_new", + }, + }, + }, + { + when: func(e mapstr.M) bool { + return e["put"] == true + }, + cfg: mapstr.M{ + "backend": mapstr.M{ + "memory": mapstr.M{ + "id": "aidmaster", + }, + }, + "put": mapstr.M{ + "key_field": "crowdstrike.aid", + "value_field": "crowdstrike.metadata", + "ttl": "168h", + }, + }, + }, + }, + wantInitErr: nil, + steps: []cacheTestStep{ + { + event: mapstr.M{ + "put": true, + "crowdstrike": mapstr.M{ + "aid": "one", + "metadata": "metadata_value", + }, + }, + want: mapstr.M{ + "put": true, + "crowdstrike": mapstr.M{ + "aid": "one", + "metadata": "metadata_value", + }, + }, + wantCacheVal: map[string]*CacheEntry{ + "one": {key: "one", value: "metadata_value"}, + }, + wantErr: nil, + }, + { + event: mapstr.M{ + "get": true, + "crowdstrike": mapstr.M{ + "aid": "one", + }, + }, + want: mapstr.M{ + "get": true, + "crowdstrike": mapstr.M{ + "aid": "one", + "metadata_new": "metadata_value", + }, + }, + wantCacheVal: map[string]*CacheEntry{ + "one": {key: "one", value: "metadata_value"}, + }, + wantErr: nil, + }, + }, + }, + { + name: "put_and_get_value_with_get_error_no_overwrite", + configs: []testConfig{ + { + when: func(e mapstr.M) bool { + return e["put"] == true + }, + cfg: mapstr.M{ + "backend": mapstr.M{ + "memory": mapstr.M{ + "id": "aidmaster", + }, + }, + "put": mapstr.M{ + "key_field": "crowdstrike.aid", + "value_field": "crowdstrike.metadata", + "ttl": "168h", + }, + }, + }, + { + when: func(e mapstr.M) bool { + return e["get"] == true + }, + cfg: mapstr.M{ + "backend": mapstr.M{ + "memory": mapstr.M{ + "id": "aidmaster", + }, + }, + "get": mapstr.M{ + "key_field": "crowdstrike.aid", + "target_field": "crowdstrike.metadata_new", + }, + }, + }, + }, + wantInitErr: nil, + steps: []cacheTestStep{ + { + event: mapstr.M{ + "put": true, + "crowdstrike": mapstr.M{ + "aid": "one", + "metadata": "metadata_value", + }, + }, + want: mapstr.M{ + "put": true, + "crowdstrike": mapstr.M{ + "aid": "one", + "metadata": "metadata_value", + }, + }, + wantCacheVal: map[string]*CacheEntry{ + "one": {key: "one", value: "metadata_value"}, + }, + wantErr: nil, + }, + { + event: mapstr.M{ + "get": true, + "crowdstrike": mapstr.M{ + "aid": "one", + "metadata_new": mapstr.M{ + "someone_is_already_here": mapstr.M{ + "another_key": "value", + }, + }, + }, + }, + want: mapstr.M{ + "get": true, + "crowdstrike": mapstr.M{ + "aid": "one", + "metadata_new": mapstr.M{ + "someone_is_already_here": mapstr.M{ + "another_key": "value", + }, + }, + }, + }, + wantCacheVal: map[string]*CacheEntry{ + "one": {key: "one", value: "metadata_value"}, + }, + wantErr: errors.New("error applying cache get processor: target field 'crowdstrike.metadata_new' already exists and overwrite_keys is false"), + }, + }, + }, + { + name: "put_and_get_value_allow_overwrite", + configs: []testConfig{ + { + when: func(e mapstr.M) bool { + return e["put"] == true + }, + cfg: mapstr.M{ + "backend": mapstr.M{ + "memory": mapstr.M{ + "id": "aidmaster", + }, + }, + "put": mapstr.M{ + "key_field": "crowdstrike.aid", + "value_field": "crowdstrike.metadata", + "ttl": "168h", + }, + }, + }, + { + when: func(e mapstr.M) bool { + return e["get"] == true + }, + cfg: mapstr.M{ + "backend": mapstr.M{ + "memory": mapstr.M{ + "id": "aidmaster", + }, + }, + "overwrite_keys": true, + "get": mapstr.M{ + "key_field": "crowdstrike.aid", + "target_field": "crowdstrike.metadata_new", + }, + }, + }, + }, + wantInitErr: nil, + steps: []cacheTestStep{ + { + event: mapstr.M{ + "put": true, + "crowdstrike": mapstr.M{ + "aid": "one", + "metadata": "metadata_value", + }, + }, + want: mapstr.M{ + "put": true, + "crowdstrike": mapstr.M{ + "aid": "one", + "metadata": "metadata_value", + }, + }, + wantCacheVal: map[string]*CacheEntry{ + "one": {key: "one", value: "metadata_value"}, + }, + wantErr: nil, + }, + { + event: mapstr.M{ + "get": true, + "crowdstrike": mapstr.M{ + "aid": "one", + "metadata_new": mapstr.M{ + "someone_is_already_here": mapstr.M{ + "another_key": "value", + }, + }, + }, + }, + want: mapstr.M{ + "get": true, + "crowdstrike": mapstr.M{ + "aid": "one", + "metadata_new": "metadata_value", + }, + }, + wantCacheVal: map[string]*CacheEntry{ + "one": {key: "one", value: "metadata_value"}, + }, + wantErr: nil, + }, + }, + }, + { + name: "put_and_get_value_allow_overwrite_but_get_error", + configs: []testConfig{ + { + when: func(e mapstr.M) bool { + return e["put"] == true + }, + cfg: mapstr.M{ + "backend": mapstr.M{ + "memory": mapstr.M{ + "id": "aidmaster", + }, + }, + "put": mapstr.M{ + "key_field": "crowdstrike.aid", + "value_field": "crowdstrike.metadata", + "ttl": "168h", + }, + }, + }, + { + when: func(e mapstr.M) bool { + return e["get"] == true + }, + cfg: mapstr.M{ + "backend": mapstr.M{ + "memory": mapstr.M{ + "id": "aidmaster", + }, + }, + "overwrite_keys": true, + "get": mapstr.M{ + "key_field": "crowdstrike.aid", + "target_field": "crowdstrike.metadata_new.child", + }, + }, + }, + }, + wantInitErr: nil, + steps: []cacheTestStep{ + { + event: mapstr.M{ + "put": true, + "crowdstrike": mapstr.M{ + "aid": "one", + "metadata": "metadata_value", + }, + }, + want: mapstr.M{ + "put": true, + "crowdstrike": mapstr.M{ + "aid": "one", + "metadata": "metadata_value", + }, + }, + wantCacheVal: map[string]*CacheEntry{ + "one": {key: "one", value: "metadata_value"}, + }, + wantErr: nil, + }, + { + event: mapstr.M{ + "get": true, + "crowdstrike": mapstr.M{ + "aid": "one", + "metadata_new": "someone_is_already_here", + }, + }, + want: mapstr.M{ + "get": true, + "crowdstrike": mapstr.M{ + "aid": "one", + "metadata_new": "someone_is_already_here", + }, + }, + wantCacheVal: map[string]*CacheEntry{ + "one": {key: "one", value: "metadata_value"}, + }, + wantErr: errors.New("error applying cache get processor: expected map but type is string"), + }, + }, + }, +} + +type testConfig struct { + when func(e mapstr.M) bool + cfg mapstr.M +} + +func TestCache(t *testing.T) { + logp.TestingSetup(logp.WithSelectors(name)) + for _, test := range cacheTests { + t.Run(test.name, func(t *testing.T) { + var processors []beat.Processor + for i, cfg := range test.configs { + config, err := conf.NewConfigFrom(cfg.cfg) + if err != nil { + t.Fatal(err) + } + + p, err := New(config) + if !sameError(err, test.wantInitErr) { + t.Errorf("unexpected error from New: got:%v want:%v", err, test.wantInitErr) + } + if err != nil { + return + } + + t.Log(p) + c, ok := p.(*cache) + if !ok { + t.Fatalf("processor %d is not an *cache", i) + } + + defer func() { + err := c.Close() + if err != nil { + t.Errorf("unexpected error from c.Close(): %v", err) + } + }() + + processors = append(processors, p) + } + + for i, step := range test.steps { + for j, p := range processors { + if test.configs[j].when != nil && !test.configs[j].when(step.event) { + continue + } + got, err := p.Run(&beat.Event{ + Fields: step.event, + }) + if !sameError(err, step.wantErr) { + t.Errorf("unexpected error from Run: got:%v want:%v", err, step.wantErr) + return + } + if !cmp.Equal(step.want, got.Fields) { + t.Errorf("unexpected result %d\n--- want\n+++ got\n%s", i, cmp.Diff(step.want, got.Fields)) + } + switch got := p.(*cache).store.(type) { + case *memStore: + allow := cmp.AllowUnexported(CacheEntry{}) + ignore := cmpopts.IgnoreFields(CacheEntry{}, "expires", "index") + if !cmp.Equal(step.wantCacheVal, got.cache, allow, ignore) { + t.Errorf("unexpected cache state result %d:\n--- want\n+++ got\n%s", i, cmp.Diff(step.wantCacheVal, got.cache, allow, ignore)) + } + } + } + } + }) + } +} diff --git a/libbeat/processors/cache/config.go b/libbeat/processors/cache/config.go new file mode 100644 index 00000000000..06dacc5c6ca --- /dev/null +++ b/libbeat/processors/cache/config.go @@ -0,0 +1,113 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +package cache + +import ( + "errors" + "time" +) + +type config struct { + Get *getConfig `config:"get"` + Put *putConfig `config:"put"` + Delete *delConfig `config:"delete"` + + Store *storeConfig `config:"backend" validate:"required"` + + // IgnoreMissing: Ignore errors if event has no matching field. + IgnoreMissing bool `config:"ignore_missing"` + + // OverwriteKeys allow target_fields to overwrite existing fields. + OverwriteKeys bool `config:"overwrite_keys"` +} + +func (cfg *config) Validate() error { + var ops int + if cfg.Put != nil { + ops++ + } + if cfg.Get != nil { + ops++ + } + if cfg.Delete != nil { + ops++ + } + switch ops { + case 0: + return errors.New("no operation specified for cache processor") + case 1: + return nil + default: + return errors.New("cannot specify multiple operations together in a cache processor") + } +} + +type getConfig struct { + // Key is the field containing the key to lookup for matching. + Key string `config:"key_field" validate:"required"` + + // Target is the destination field where fields will be added. + Target string `config:"target_field" validate:"required"` +} + +type putConfig struct { + // Key is the field containing the key to lookup for matching. + Key string `config:"key_field" validate:"required"` + + // Target is the destination field where fields will be added. + Value string `config:"value_field" validate:"required"` + + TTL *time.Duration `config:"ttl" validate:"required"` +} + +type delConfig struct { + // Key is the field containing the key to lookup for deletion. + Key string `config:"key_field" validate:"required"` +} + +func defaultConfig() config { + return config{ + IgnoreMissing: true, + OverwriteKeys: false, + } +} + +type storeConfig struct { + Memory *id `config:"memory"` + File *id `config:"file"` + + // Capacity and Effort are currently experimental + // and not in public-facing documentation. + Capacity int `config:"capacity"` + Effort int `config:"eviction_effort"` +} + +type id struct { + ID string `config:"id"` +} + +func (cfg *storeConfig) Validate() error { + switch { + case cfg.Memory != nil && cfg.File != nil: + return errors.New("must specify only one of backend.memory.id or backend.file.id") + case cfg.Memory != nil, cfg.File != nil: + default: + return errors.New("must specify one of backend.memory.id or backend.file.id") + } + return nil +} diff --git a/libbeat/processors/cache/config_test.go b/libbeat/processors/cache/config_test.go new file mode 100644 index 00000000000..6e8b01d930f --- /dev/null +++ b/libbeat/processors/cache/config_test.go @@ -0,0 +1,182 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +package cache + +import ( + "errors" + "testing" + + "github.com/elastic/go-ucfg/yaml" +) + +var validateTests = []struct { + name string + cfg string + want error +}{ + { + name: "put_file", + cfg: ` +backend: + file: + id: aidmaster +put: + ttl: 168h + key_field: crowdstrike.aid + value_field: crowdstrike.metadata +`, + want: nil, + }, + { + name: "put_memory", + cfg: ` +backend: + memory: + id: aidmaster +put: + ttl: 168h + key_field: crowdstrike.aid + value_field: crowdstrike.metadata +`, + want: nil, + }, + { + name: "get", + cfg: ` +backend: + file: + id: aidmaster +get: + key_field: crowdstrike.aid + target_field: crowdstrike.metadata +`, + want: nil, + }, + { + name: "delete", + cfg: ` +backend: + file: + id: aidmaster +delete: + key_field: crowdstrike.aid +`, + want: nil, + }, + { + name: "no_op", + cfg: ` +backend: + file: + id: aidmaster +`, + want: errors.New("no operation specified for cache processor accessing config"), + }, + { + + name: "too_many_ops", + cfg: ` +backend: + file: + id: aidmaster +put: + ttl: 168h + key_field: crowdstrike.aid + value_field: crowdstrike.metadata +get: + key_field: crowdstrike.aid + target_field: crowdstrike.metadata +`, + want: errors.New("cannot specify multiple operations together in a cache processor accessing config"), + }, + { + + name: "no_backend", + cfg: ` +put: + ttl: 168h + key_field: crowdstrike.aid + value_field: crowdstrike.metadata +`, + want: errors.New("missing required field accessing 'backend'"), + }, + { + + name: "incomplete_backend", + cfg: ` +backend: + file: ~ +put: + ttl: 168h + key_field: crowdstrike.aid + value_field: crowdstrike.metadata +`, + want: errors.New("must specify one of backend.memory.id or backend.file.id accessing 'backend'"), + }, + { + + name: "too_many_backends", + cfg: ` +backend: + file: + id: aidmaster_f + memory: + id: aidmaster_m +put: + ttl: 168h + key_field: crowdstrike.aid + value_field: crowdstrike.metadata +`, + want: errors.New("must specify only one of backend.memory.id or backend.file.id accessing 'backend'"), + }, +} + +func TestValidate(t *testing.T) { + for _, test := range validateTests { + t.Run(test.name, func(t *testing.T) { + got := ucfgRigmarole(test.cfg) + if !sameError(got, test.want) { + t.Errorf("unexpected error: got:%v want:%v", got, test.want) + } + }) + } +} + +func ucfgRigmarole(text string) error { + c, err := yaml.NewConfig([]byte(text)) + if err != nil { + return err + } + cfg := defaultConfig() + err = c.Unpack(&cfg) + if err != nil { + return err + } + return cfg.Validate() +} + +func sameError(a, b error) bool { + switch { + case a == nil && b == nil: + return true + case a == nil, b == nil: + return false + default: + return a.Error() == b.Error() + } +} diff --git a/libbeat/processors/cache/docs/cache.asciidoc b/libbeat/processors/cache/docs/cache.asciidoc new file mode 100644 index 00000000000..94f5d07cece --- /dev/null +++ b/libbeat/processors/cache/docs/cache.asciidoc @@ -0,0 +1,107 @@ +[[add-cached-metadata]] +=== Add cached metadata + +++++ +cache +++++ + +experimental[] + +The `cache` processor enriches events with information from a previously +cached events. + +[source,yaml] +------------------------------------------------------------------------------- +processors: + - cache: + backend: + memory: + id: cache_id + put: + key_field: join_key_field + value_field: source_field +------------------------------------------------------------------------------- + +[source,yaml] +------------------------------------------------------------------------------- +processors: + - cache: + backend: + memory: + id: cache_id + get: + key_field: join_key_field + target_field: destination_field +------------------------------------------------------------------------------- + +[source,yaml] +------------------------------------------------------------------------------- +processors: + - cache: + backend: + memory: + id: cache_id + delete: + key_field: join_key_field +------------------------------------------------------------------------------- + +The fields added to the target field will depend on the provider. + +It has the following settings: + +One of `backend.memory.id` or `backend.file.id` must be provided. + +`backend.memory.id`:: The ID of a memory based cache. Use the same ID across instance to reference the same cache. +`backend.file.id`:: The ID of a file based cache. Use the same ID across instance to reference the same cache. + +One of `put`, `get` or `delete` must be provided. + +`put.key_field`:: Name of the field containing the key to put into the cache. Required if `put` is present. +`put.value_field`:: Name of the field containing the value to put into the cache. Required if `put` is present. +`put.ttl`:: The TTL to associate with the cached key/value. Valid time units are h, m, s, ms, us/µs and ns. Required if `put` is present. + +`get.key_field`:: Name of the field containing the key to get. Required if `get` is present. +`get.target_field`:: Name of the field to which the cached value will be written. Required if `get` is present. + +`delete.key_field`:: Name of the field containing the key to delete. Required if `delete` is present. + +`ignore_missing`:: (Optional) When set to `false`, events that don't contain any +of the fields in `match_keys` will be discarded and an error will be generated. By +default, this condition is ignored. + +`overwrite_keys`:: (Optional) By default, if a target field already exists, it +will not be overwritten and an error will be logged. If `overwrite_keys` is +set to `true`, this condition will be ignored. + +The `cache` processor can be used to perform joins within the Beat between +documents within an event stream. + +[source,yaml] +------------------------------------------------------------------------------- +processors: + - if: + contains: + log.file.path: fdrv2/aidmaster + then: + - cache: + backend: + memory: + id: aidmaster + put: + ttl: 168h + key_field: crowdstrike.aid + value_field: crowdstrike.metadata + else: + - cache: + backend: + memory: + id: aidmaster + get: + key_field: crowdstrike.aid + target_field: crowdstrike.metadata +------------------------------------------------------------------------------- + +This would enrich an event events with `log.file.path` not equal to +"fdrv2/aidmaster" with the `crowdstrike.metadata` fields from events +with `log.file.path` equal to that value where the `crowdstrike.aid` +field matches between the source and destination documents. diff --git a/libbeat/processors/cache/mem_store.go b/libbeat/processors/cache/mem_store.go new file mode 100644 index 00000000000..900e91c8e60 --- /dev/null +++ b/libbeat/processors/cache/mem_store.go @@ -0,0 +1,257 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +package cache + +import ( + "container/heap" + "context" + "sync" + "time" +) + +// memStoreSet is a collection of shared memStore caches. +type memStoreSet struct { + mu sync.Mutex + stores map[string]*memStore + typ string // TODO: Remove when a file-backed store exists. +} + +// get returns a memStore cache with the provided ID based on the config. +// If a memStore with the ID already exist, its configuration is adjusted +// and its reference count is increased. The returned context.CancelFunc +// reduces the reference count and deletes the memStore from set if the +// count reaches zero. +func (s *memStoreSet) get(id string, cfg config) (*memStore, context.CancelFunc) { + s.mu.Lock() + defer s.mu.Unlock() + store, ok := s.stores[id] + if !ok { + store = newMemStore(cfg, id, s.typ) + s.stores[store.id] = store + } + store.add(cfg) + + return store, func() { + store.dropFrom(s) + } +} + +// free removes the memStore with the given ID from the set. free is safe +// for concurrent use. +func (s *memStoreSet) free(id string) { + s.mu.Lock() + delete(s.stores, id) + s.mu.Unlock() +} + +// memStore is a memory-backed cache store. +type memStore struct { + mu sync.Mutex + cache map[string]*CacheEntry + expiries expiryHeap + ttl time.Duration // ttl is the time entries are valid for in the cache. + refs int // refs is the number of processors referring to this store. + + // id is the index into global cache store for the cache. + id string + // typ is a temporary tag to differentiate memory stores + // from the mocked file store. + // TODO: Remove when a file-backed store exists. + typ string + + // cap is the maximum number of elements the cache + // will hold. If not positive, no limit. + cap int + // effort is the number of entries to examine during + // expired element eviction. If not positive, full effort. + effort int +} + +// newMemStore returns a new memStore configured to apply the give TTL duration. +// The memStore is guaranteed not to grow larger than cap elements. id is the +// look-up into the global cache store the memStore is held in. +func newMemStore(cfg config, id, typ string) *memStore { + return &memStore{ + id: id, + typ: typ, + cache: make(map[string]*CacheEntry), + + // Mark the ttl as invalid until we have had a put + // operation configured. While the shared backing + // data store is incomplete, and has no put operation + // defined, the TTL will be invalid, but will never + // be accessed since all time operations outside put + // refer to absolute times, held by the CacheEntry. + ttl: -1, + cap: -1, + effort: -1, + } +} + +func (c *memStore) String() string { return c.typ + ":" + c.id } + +// add updates the receiver for a new operation. It increases the reference +// count for the receiver, and if the config is a put operation and has no +// previous put operation defined, the TTL, cap and effort will be set from +// cfg. add is safe for concurrent use. +func (c *memStore) add(cfg config) { + c.mu.Lock() + defer c.mu.Unlock() + c.refs++ + + // We may have already constructed the store with + // a get or a delete config, so set the TTL, cap + // and effort if we have a put config. If another + // put config has already been included, we ignore + // the put options now. + if cfg.Put == nil { + return + } + if c.ttl == -1 { + // putConfig.TTL is a required field, so we don't + // need to check for nil-ness. + c.ttl = *cfg.Put.TTL + c.cap = cfg.Store.Capacity + c.effort = cfg.Store.Effort + } +} + +// dropFrom decreases the reference count for the memStore and removes it from +// the stores map if the count is zero. dropFrom is safe for concurrent use. +func (c *memStore) dropFrom(stores *memStoreSet) { + c.mu.Lock() + c.refs-- + if c.refs < 0 { + panic("invalid reference count") + } + if c.refs == 0 { + stores.free(c.id) + // GC assists. + c.cache = nil + c.expiries = nil + } + c.mu.Unlock() +} + +// Get returns the cached value associated with the provided key. If there is +// no value for the key, or the value has expired Get returns ErrNoData. Get +// is safe for concurrent use. +func (c *memStore) Get(key string) (any, error) { + c.mu.Lock() + defer c.mu.Unlock() + v, ok := c.cache[key] + if !ok { + return nil, ErrNoData + } + if time.Now().After(v.expires) { + delete(c.cache, key) + return nil, ErrNoData + } + return v.value, nil +} + +// Put stores the provided value in the cache associated with the given key. +// The value is given an expiry time based on the configured TTL of the cache. +// Put is safe for concurrent use. +func (c *memStore) Put(key string, val any) error { + c.mu.Lock() + defer c.mu.Unlock() + now := time.Now() + c.evictExpired(now) + e := &CacheEntry{ + key: key, + value: val, + expires: now.Add(c.ttl), + } + c.cache[key] = e + heap.Push(&c.expiries, e) + return nil +} + +// evictExpired removes up to effort elements from the cache when the cache +// is below capacity, retaining all elements that have not expired. If the +// cache is at or above capacity, the oldest elements are removed to bring +// it under the capacity limit. +func (c *memStore) evictExpired(now time.Time) { + for n := 0; (c.effort <= 0 || n < c.effort) && len(c.cache) != 0; n++ { + if c.expiries[0].expires.After(now) { + break + } + e := c.expiries.pop() + delete(c.cache, e.key) + } + if c.cap <= 0 { + // No cap, so depend on effort. + return + } + for len(c.cache) >= c.cap { + e := c.expiries.pop() + delete(c.cache, e.key) + } +} + +// Delete removes the value associated with the provided key from the cache. +// Delete is safe for concurrent use. +func (c *memStore) Delete(key string) error { + c.mu.Lock() + defer c.mu.Unlock() + v, ok := c.cache[key] + if !ok { + return nil + } + heap.Remove(&c.expiries, v.index) + delete(c.cache, key) + return nil +} + +var _ heap.Interface = (*expiryHeap)(nil) + +// expiryHeap is a min-date heap. +// +// TODO: This could be a queue instead, though deletion becomes more +// complicated in that case. +type expiryHeap []*CacheEntry + +func (h *expiryHeap) pop() *CacheEntry { + e := heap.Pop(h).(*CacheEntry) + e.index = -1 + return e +} + +func (h expiryHeap) Len() int { + return len(h) +} +func (h expiryHeap) Less(i, j int) bool { + return h[i].expires.Before(h[j].expires) +} +func (h expiryHeap) Swap(i, j int) { + h[i], h[j] = h[j], h[i] + h[i].index = i + h[j].index = j +} +func (h *expiryHeap) Push(v any) { + e := v.(*CacheEntry) + e.index = len(*h) + *h = append(*h, e) +} +func (h *expiryHeap) Pop() any { + v := (*h)[len(*h)-1] + (*h)[len(*h)-1] = nil // Help GC. + *h = (*h)[:len(*h)-1] + return v +} diff --git a/libbeat/processors/cache/mem_store_test.go b/libbeat/processors/cache/mem_store_test.go new file mode 100644 index 00000000000..692931854b8 --- /dev/null +++ b/libbeat/processors/cache/mem_store_test.go @@ -0,0 +1,379 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +package cache + +import ( + "fmt" + "testing" + "time" + + "github.com/google/go-cmp/cmp" + "github.com/google/go-cmp/cmp/cmpopts" +) + +type memStoreTestSteps struct { + doTo func(*memStore) error + want *memStore +} + +//nolint:errcheck // Paul Hogan was right. +var memStoreTests = []struct { + name string + cfg config + want *memStore + steps []memStoreTestSteps +}{ + { + name: "new_put", + cfg: config{ + Store: &storeConfig{ + Memory: &id{"test"}, + Capacity: 1000, + Effort: 10, + }, + Put: &putConfig{ + TTL: ptrTo(time.Second), + }, + }, + want: &memStore{ + id: "test", + cache: map[string]*CacheEntry{}, + refs: 1, + ttl: time.Second, + cap: 1000, + effort: 10, + }, + }, + { + name: "new_get", + cfg: config{ + Store: &storeConfig{ + Memory: &id{"test"}, + Capacity: 1000, + Effort: 10, + }, + Get: &getConfig{}, + }, + want: &memStore{ + id: "test", + cache: map[string]*CacheEntry{}, + refs: 1, + // TTL, capacity and effort are set only by put. + ttl: -1, + cap: -1, + effort: -1, + }, + }, + { + name: "new_delete", + cfg: config{ + Store: &storeConfig{ + Memory: &id{"test"}, + Capacity: 1000, + Effort: 10, + }, + Delete: &delConfig{}, + }, + want: &memStore{ + id: "test", + cache: map[string]*CacheEntry{}, + refs: 1, + // TTL, capacity and effort are set only by put. + ttl: -1, + cap: -1, + effort: -1, + }, + }, + { + name: "new_get_add_put", + cfg: config{ + Store: &storeConfig{ + Memory: &id{"test"}, + Capacity: 1000, + Effort: 10, + }, + Get: &getConfig{}, + }, + want: &memStore{ + id: "test", + cache: map[string]*CacheEntry{}, + // TTL, capacity and effort are set only by put. + refs: 1, + ttl: -1, + cap: -1, + effort: -1, + }, + steps: []memStoreTestSteps{ + 0: { + doTo: func(s *memStore) error { + putCfg := config{ + Store: &storeConfig{ + Memory: &id{"test"}, + Capacity: 1000, + Effort: 10, + }, + Put: &putConfig{ + TTL: ptrTo(time.Second), + }, + } + s.add(putCfg) + return nil + }, + want: &memStore{ + id: "test", + cache: map[string]*CacheEntry{}, + refs: 2, + ttl: time.Second, + cap: 1000, + effort: 10, + }, + }, + }, + }, + { + name: "ensemble", + cfg: config{ + Store: &storeConfig{ + Memory: &id{"test"}, + Capacity: 1000, + Effort: 10, + }, + Get: &getConfig{}, + }, + want: &memStore{ + id: "test", + cache: map[string]*CacheEntry{}, + refs: 1, + // TTL, capacity and effort are set only by put. + ttl: -1, + cap: -1, + effort: -1, + }, + steps: []memStoreTestSteps{ + 0: { + doTo: func(s *memStore) error { + putCfg := config{ + Store: &storeConfig{ + Memory: &id{"test"}, + Capacity: 1000, + Effort: 10, + }, + Put: &putConfig{ + TTL: ptrTo(time.Second), + }, + } + s.add(putCfg) + return nil + }, + want: &memStore{ + id: "test", + cache: map[string]*CacheEntry{}, + refs: 2, + ttl: time.Second, + cap: 1000, + effort: 10, + }, + }, + 1: { + doTo: func(s *memStore) error { + s.Put("one", 1) + s.Put("two", 2) + s.Put("three", 3) + return nil + }, + want: &memStore{ + id: "test", + cache: map[string]*CacheEntry{ + "one": {key: "one", value: int(1), index: 0}, + "two": {key: "two", value: int(2), index: 1}, + "three": {key: "three", value: int(3), index: 2}, + }, + expiries: expiryHeap{ + {key: "one", value: int(1), index: 0}, + {key: "two", value: int(2), index: 1}, + {key: "three", value: int(3), index: 2}, + }, + refs: 2, + ttl: time.Second, + cap: 1000, + effort: 10, + }, + }, + 2: { + doTo: func(s *memStore) error { + got, err := s.Get("two") + if got != 2 { + return fmt.Errorf(`unexpected result from Get("two"): got:%v want:2`, got) + } + return err + }, + want: &memStore{ + id: "test", + cache: map[string]*CacheEntry{ + "one": {key: "one", value: int(1), index: 0}, + "two": {key: "two", value: int(2), index: 1}, + "three": {key: "three", value: int(3), index: 2}, + }, + expiries: expiryHeap{ + {key: "one", value: int(1), index: 0}, + {key: "two", value: int(2), index: 1}, + {key: "three", value: int(3), index: 2}, + }, + refs: 2, + ttl: time.Second, + cap: 1000, + effort: 10, + }, + }, + 3: { + doTo: func(s *memStore) error { + return s.Delete("two") + }, + want: &memStore{ + id: "test", + cache: map[string]*CacheEntry{ + "one": {key: "one", value: int(1), index: 0}, + "three": {key: "three", value: int(3), index: 1}, + }, + expiries: expiryHeap{ + {key: "one", value: int(1), index: 0}, + {key: "three", value: int(3), index: 1}, + }, + refs: 2, + ttl: time.Second, + cap: 1000, + effort: 10, + }, + }, + 4: { + doTo: func(s *memStore) error { + got, _ := s.Get("two") + if got != nil { + return fmt.Errorf(`unexpected result from Get("two") after deletion: got:%v want:nil`, got) + } + return nil + }, + want: &memStore{ + id: "test", + cache: map[string]*CacheEntry{ + "one": {key: "one", value: int(1), index: 0}, + "three": {key: "three", value: int(3), index: 1}, + }, + expiries: expiryHeap{ + {key: "one", value: int(1), index: 0}, + {key: "three", value: int(3), index: 1}, + }, + refs: 2, + ttl: time.Second, + cap: 1000, + effort: 10, + }, + }, + 5: { + doTo: func(s *memStore) error { + s.dropFrom(&memStores) + if !memStores.has(s.id) { + return fmt.Errorf("%q memStore not found after single close", s.id) + } + return nil + }, + want: &memStore{ + id: "test", + cache: map[string]*CacheEntry{ + "one": {key: "one", value: int(1), index: 0}, + "three": {key: "three", value: int(3), index: 1}, + }, + expiries: expiryHeap{ + {key: "one", value: int(1), index: 0}, + {key: "three", value: int(3), index: 1}, + }, + refs: 1, + ttl: time.Second, + cap: 1000, + effort: 10, + }, + }, + 6: { + doTo: func(s *memStore) error { + s.dropFrom(&memStores) + if memStores.has(s.id) { + return fmt.Errorf("%q memStore still found after double close", s.id) + } + return nil + }, + want: &memStore{ + id: "test", + cache: nil, // assistively nil-ed. + expiries: nil, // assistively nil-ed. + refs: 0, + ttl: time.Second, + cap: 1000, + effort: 10, + }, + }, + }, + }, +} + +func TestMemStore(t *testing.T) { + allow := cmp.AllowUnexported(memStore{}, CacheEntry{}) + ignoreInMemStore := cmpopts.IgnoreFields(memStore{}, "mu", "typ") + ignoreInCacheEntry := cmpopts.IgnoreFields(CacheEntry{}, "expires") + + for _, test := range memStoreTests { + t.Run(test.name, func(t *testing.T) { + // Construct the store and put in into the stores map as + // we would if we were calling Run. + store := newMemStore(test.cfg, test.cfg.Store.Memory.ID, "memory") + store.add(test.cfg) + memStores.add(store) + + if !cmp.Equal(test.want, store, allow, ignoreInMemStore) { + t.Errorf("unexpected new memStore result:\n--- want\n+++ got\n%s", + cmp.Diff(test.want, store, allow, ignoreInMemStore)) + } + for i, step := range test.steps { + err := step.doTo(store) + if err != nil { + t.Errorf("unexpected error at step %d: %v", i, err) + } + if !cmp.Equal(step.want, store, allow, ignoreInMemStore, ignoreInCacheEntry) { + t.Errorf("unexpected memStore step %d result:\n--- want\n+++ got\n%s", + i, cmp.Diff(step.want, store, allow, ignoreInMemStore, ignoreInCacheEntry)) + } + } + }) + } +} + +// add adds the store to the set, it is used only for testing. +func (s *memStoreSet) add(store *memStore) { + s.mu.Lock() + s.stores[store.id] = store + s.mu.Unlock() +} + +// has returns whether the store exists in the set, it is used only for testing. +func (s *memStoreSet) has(id string) bool { + s.mu.Lock() + _, ok := s.stores[id] + s.mu.Unlock() + return ok +} + +func ptrTo[T any](v T) *T { return &v } From abfcd96455c5aae7bc08d170ea788f27b9da3b74 Mon Sep 17 00:00:00 2001 From: Dan Kortschak <90160302+efd6@users.noreply.github.com> Date: Wed, 27 Sep 2023 06:49:29 +0930 Subject: [PATCH 11/22] x-pack/packetbeat: bump npcap version to v1.76 (#36549) --- CHANGELOG.next.asciidoc | 4 +- x-pack/packetbeat/LICENSE-Npcap.txt | 465 +++++++++++---------- x-pack/packetbeat/magefile.go | 2 +- x-pack/packetbeat/npcap/installer/LICENSE | 4 +- x-pack/packetbeat/tests/system/app_test.go | 2 +- 5 files changed, 242 insertions(+), 235 deletions(-) diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index 228d201f74f..a8ed9f032c5 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -238,12 +238,10 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff] *Osquerybeat* -*Packetbeat* - - *Packetbeat* - Improve efficiency of sniffers by deduplicating interface configurations. {issue}36574[36574] {pull}36576[36576] +- Bump Windows Npcap version to v1.76. {issue}36539[36539] {pull}36549[36549] *Winlogbeat* diff --git a/x-pack/packetbeat/LICENSE-Npcap.txt b/x-pack/packetbeat/LICENSE-Npcap.txt index 893b6ff218a..bb51b2fbd6f 100644 --- a/x-pack/packetbeat/LICENSE-Npcap.txt +++ b/x-pack/packetbeat/LICENSE-Npcap.txt @@ -1,228 +1,237 @@ - -NPCAP COPYRIGHT / END USER LICENSE AGREEMENT - -Npcap is a Windows packet sniffing driver and library and is copyright -(c) 2013-2022 by Insecure.Com LLC ("The Nmap Project"). All rights -reserved. - -Even though Npcap source code is publicly available for review, it is -not open source software and may not be redistributed without special -permission from the Nmap Project. The standard version is also -limited to installation on five systems. We fund the Npcap project by -selling two types of commercial licenses to a special Npcap OEM -edition: - -1) Npcap OEM Redistribution License allows companies to redistribute -Npcap with their products. - -2) Npcap OEM Internal Use License allows companies to use Npcap OEM -internally in excess of the free/demo version's normal 5-system -limitation. - -Both of these licenses include updates and support as well as a -warranty. Npcap OEM also includes a silent installer for unattended -installation. Further details about Npcap OEM are available from -https://nmap.org/npcap/oem/, and you are also welcome to contact us at -sales@nmap.com to ask any questions or set up a license for your -organization. - -Free and open source software producers are also welcome to contact us -for redistribution requests. However, we normally recommend that such -authors instead ask your users to download and install Npcap themselves. - -If the Nmap Project (directly or through one of our commercial -licensing customers) has granted you additional rights to Npcap or -Npcap OEM, those additional rights take precedence where they conflict -with the terms of this license agreement. - -Since the Npcap source code is available for download and review, -users sometimes contribute code patches to fix bugs or add new -features. By sending these changes to the Nmap Project (including -through direct email or our mailing lists or submitting pull requests -through our source code repository), it is understood unless you -specify otherwise that you are offering the Nmap Project the -unlimited, non-exclusive right to reuse, modify, and relicence your -code contribution so that we may (but are not obligated to) -incorporate it into Npcap. If you wish to specify special license -conditions or restrictions on your contributions, just say so when you -send them. - -This copy of Npcap (the "Software") and accompanying documentation is -licensed and not sold. This Software is protected by copyright laws -and treaties, as well as laws and treaties related to other forms of -intellectual property. The Nmap Project owns intellectual property -rights in the Software. The Licensee's ("you" or "your") license to -download, use, copy, or change the Software is subject to these rights -and to all the terms and conditions of this End User License Agreement -("Agreement"). - -ACCEPTANCE - -By accepting this agreement or by downloading, installing, using, or -copying the Software, or by clicking "I Agree", you agree to be bound -by the terms of this EULA. If you do not agree to the terms of this -EULA, do not install, use, or copy the Software. - -LICENSE GRANT - -This Agreement entitles you to install and use five (5) copies of the -Software. In addition, you may make archival copies of the Software -which may only be used for the reinstallation of the Software. This -Agreement does not permit the installation or use of more than 5 -copies of the Software, or the installation of the Software on more -than five computer at any given time, on a system that allows shared -used of applications by more than five users, or on any configuration -or system of computers that allows more than five users. A user may -only have one instance of this Agreement active at once. For example, -downloading the software multiple times, downloading multiple versions -of the software, and/or executing the software installer multiple -times do not grant any additional rights such as using the software on -more machines. - -The terms "computer" and "machine" in this license include any -computing device, including software computing instances such as -virtual machines and Docker containers. - -Copies of Npcap do not count toward the five copy, five computer, or -five user limitations imposed by this section if they are installed -and used solely in conjunction with any of the following software: - -o The Nmap Security Scanner, as distributed from https://nmap.org - -o The Wireshark network protocol analyzer, as distributed from - https://www.wireshark.org/ - -o Microsoft Defender for Identity, as distributed from - https://www.microsoft.com/en-us/microsoft-365/security/identity-defender - -Users wishing to redistribute Npcap or exceed the usage limits imposed -by this free license or benefit from commercial support and features -such as a silent installer should contact sales@nmap.com to obtain an -appropriate commercial license agreement. More details on our OEM -edition is also available from https://nmap.org/npcap/oem/. - -DISCLAIMER OF WARRANTIES AND LIMITATION OF LIABILITY - -This program is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -RESTRICTIONS ON TRANSFER - -Without first obtaining the express written consent of the Nmap -Project, you may not assign your rights and obligations under this -Agreement, or redistribute, encumber, sell, rent, lease, sublicense, -or otherwise transfer your rights to the Software Product. - -RESTRICTIONS ON USE - -You may not use, copy, or install the Software Product on more than -five computers, or permit the use, copying, or installation of the -Software Product by more than five users or on more than five -computers. - -RESTRICTIONS ON COPYING - -You may not copy any part of the Software except to the extent that -licensed use inherently demands the creation of a temporary copy -stored in computer memory and not permanently affixed on storage -medium. You may make archival copies as well. - -DISCLAIMER OF WARRANTIES AND LIMITATION OF LIABILITY - -UNLESS OTHERWISE EXPLICITLY AGREED TO IN WRITING BY THE NMAP PROJECT, -THE NMAP PROJECT MAKES NO OTHER WARRANTIES, EXPRESS OR IMPLIED, IN -FACT OR IN LAW, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED WARRANTIES -OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OTHER THAN AS -SET FORTH IN THIS AGREEMENT OR IN THE LIMITED WARRANTY DOCUMENTS -PROVIDED WITH THE SOFTWARE. - -The Nmap Project makes no warranty that the Software will meet your -requirements or operate under your specific conditions of use. The -Nmap Project makes no warranty that operation of the Software Product -will be secure, error free, or free from interruption. YOU MUST -DETERMINE WHETHER THE SOFTWARE SUFFICIENTLY MEETS YOUR REQUIREMENTS -FOR SECURITY AND UNINTERRUPTABILITY. YOU BEAR SOLE RESPONSIBILITY AND -ALL LIABILITY FOR ANY LOSS INCURRED DUE TO FAILURE OF THE SOFTWARE TO -MEET YOUR REQUIREMENTS. THE NMAP PROJECT WILL NOT, UNDER ANY -CIRCUMSTANCES, BE RESPONSIBLE OR LIABLE FOR THE LOSS OF DATA ON ANY -COMPUTER OR INFORMATION STORAGE DEVICE. - -UNDER NO CIRCUMSTANCES SHALL THE NMAP PROJECT, ITS DIRECTORS, -OFFICERS, EMPLOYEES OR AGENTS BE LIABLE TO YOU OR ANY OTHER PARTY FOR -INDIRECT, CONSEQUENTIAL, SPECIAL, INCIDENTAL, PUNITIVE, OR EXEMPLARY -DAMAGES OF ANY KIND (INCLUDING LOST REVENUES OR PROFITS OR LOSS OF -BUSINESS) RESULTING FROM THIS AGREEMENT, OR FROM THE FURNISHING, -PERFORMANCE, INSTALLATION, OR USE OF THE SOFTWARE, WHETHER DUE TO A -BREACH OF CONTRACT, BREACH OF WARRANTY, OR THE NEGLIGENCE OF THE NMAP -PROJECT OR ANY OTHER PARTY, EVEN IF THE NMAP PROJECT IS ADVISED -BEFOREHAND OF THE POSSIBILITY OF SUCH DAMAGES. TO THE EXTENT THAT THE -APPLICABLE JURISDICTION LIMITS THE NMAP PROJECT'S ABILITY TO DISCLAIM -ANY IMPLIED WARRANTIES, THIS DISCLAIMER SHALL BE EFFECTIVE TO THE -MAXIMUM EXTENT PERMITTED. - -LIMITATIONS OF REMEDIES AND DAMAGES - -Your remedy for a breach of this Agreement or of any warranty included -in this Agreement is the correction or replacement of the Software or -a refund of the purchase price of the Software, exclusive of any costs -for shipping and handling. Selection of whether to correct or replace -or refund shall be solely at the discretion of the Nmap Project. The -Nmap Project reserves the right to substitute a functionally -equivalent copy of the Software Product as a replacement. - -Any claim must be made within the applicable warranty period. All -warranties cover only defects arising under normal use and do not -include malfunctions or failure resulting from misuse, abuse, neglect, -alteration, problems with electrical power, acts of nature, unusual -temperatures or humidity, improper installation, or damage determined -by the Nmap Project to have been caused by you. All limited warranties -on the Software Product are granted only to you and are -non-transferable. - -You agree to indemnify and hold the Nmap Project harmless from all -claims, judgments, liabilities, expenses, or costs arising from your -breach of this Agreement and/or acts or omissions. - -GOVERNING LAW, JURISDICTION AND COSTS - -This Agreement is governed by the laws the United States of America -and Washington State, without regard to Washington's conflict or -choice of law provisions. - -SEVERABILITY - -If any provision of this Agreement shall be held to be invalid or -unenforceable, the remainder of this Agreement shall remain in full -force and effect. To the extent any express or implied restrictions -are not permitted by applicable laws, these express or implied -restrictions shall remain in force and effect to the maximum extent -permitted by such applicable laws. - -THIRD PARTY SOFTWARE ATTRIBUTION - -Npcap uses several 3rd party open source software libraries: - -* The libpcap portable packet capturing library from https://tcpdump.org -* The Winpcap packet capturing library. It has been abandoned, but is - currently still available from https://www.winpcap.org/. -* The ieee80211_radiotap.h header file from David Young - -All of these are open source with BSD-style licenses that allow for -unlimited use and royalty-free redistribution within other software -(including commercial/proprietary software). Some include a warranty -disclaimer (relating to the original authors) and require a small -amount of acknowledgment text be added somewhere in the documentation -of any software which includes them (including indirect inclusion -through Npcap). - -The required acknowledgement text as well as full license text and -source details for these libraries is available from: -https://npcap.org/src/docs/Npcap-Third-Party-Open-Source.pdf . - -Since Insecure.Com LLC is not the author of this 3rd party code, we -can not waive or modify it’s software copyright or license. Npcap -users and redistributors must comply with the relevant Npcap license -(either the free/demo license or a commercial Npcap OEM license they -may have purchased) as well as the minimal requirements of this 3rd -party open source software. + +NPCAP COPYRIGHT / END USER LICENSE AGREEMENT + +Npcap (https://npcap.com) is a Windows packet sniffing driver and +library and is copyright (c) 2013-2023 by Nmap Software LLC ("The Nmap +Project"). All rights reserved. + +Even though Npcap source code is publicly available for review, it is +not open source software and may not be redistributed or used in other +software without special permission from the Nmap Project. The +standard (free) version is usually limited to installation on five +systems. We fund the Npcap project by selling two types of commercial +licenses to a special Npcap OEM edition: + +1) The Npcap OEM Redistribution License allows companies distribute +Npcap OEM within their products. Licensees generally use the Npcap OEM +silent installer, ensuring a seamless experience for end +users. Licensees may choose between a perpetual unlimited license or +a quarterly term license, along with options for commercial support and +updates. Prices and details: https://npcap.com/oem/redist.html + +2) The Npcap OEM Internal-Use License is for organizations that wish +to use Npcap OEM internally, without redistribution outside their +organization. This allows them to bypass the 5-system usage cap of the +Npcap free edition. It includes commercial support and update options, +and provides the extra Npcap OEM features such as the silent installer +for automated deployment. Prices and details: +https://npcap.com/oem/internal.html + +Both of these licenses include updates and support as well as a +warranty. Npcap OEM also includes a silent installer for unattended +installation. Further details about Npcap OEM are available from +https://npcap.com/oem/, and you are also welcome to contact us at +sales@nmap.com to ask any questions or set up a license for your +organization. + +Free and open source software producers are also welcome to contact us +for redistribution requests. However, we normally recommend that such +authors instead ask your users to download and install Npcap +themselves. It will be free for them if they need 5 or fewer copies. + +If the Nmap Project (directly or through one of our commercial +licensing customers) has granted you additional rights to Npcap or +Npcap OEM, those additional rights take precedence where they conflict +with the terms of this license agreement. + +Since the Npcap source code is available for download and review, +users sometimes contribute code patches to fix bugs or add new +features. By sending these changes to the Nmap Project (including +through direct email or our mailing lists or submitting pull requests +through our source code repository), it is understood unless you +specify otherwise that you are offering the Nmap Project the +unlimited, non-exclusive right to reuse, modify, and relicense your +code contribution so that we may (but are not obligated to) +incorporate it into Npcap. If you wish to specify special license +conditions or restrictions on your contributions, just say so when you +send them. + +This copy of Npcap (the "Software") and accompanying documentation is +licensed and not sold. This Software is protected by copyright laws +and treaties, as well as laws and treaties related to other forms of +intellectual property. The Nmap Project owns intellectual property +rights in the Software. The Licensee's ("you" or "your") license to +download, use, copy, or change the Software is subject to these rights +and to all the terms and conditions of this End User License Agreement +("Agreement"). + +ACCEPTANCE + +By accepting this agreement or by downloading, installing, using, or +copying the Software, or by clicking "I Agree", you agree to be bound +by the terms of this EULA. If you do not agree to the terms of this +EULA, do not install, use, or copy the Software. + +LICENSE GRANT + +This Agreement entitles you to install and use five (5) copies of the +Software. In addition, you may make archival copies of the Software +which may only be used for the reinstallation of the Software. This +Agreement does not permit the installation or use of more than 5 +copies of the Software, or the installation of the Software on more +than five computer at any given time, on a system that allows shared +used of applications by more than five users, or on any configuration +or system of computers that allows more than five users. A user may +only have one instance of this Agreement active at once. For example, +downloading the software multiple times, downloading multiple versions +of the software, and/or executing the software installer multiple +times do not grant any additional rights such as using the software on +more machines. + +The terms "computer" and "machine" in this license include any +computing device, including software computing instances such as +virtual machines and Docker containers. + +Copies of Npcap do not count toward the five copy, five computer, or +five user limitations imposed by this section if they are installed +and used solely in conjunction with any of the following software: + +o The Nmap Security Scanner, as distributed from https://nmap.org + +o The Wireshark network protocol analyzer, as distributed from + https://www.wireshark.org/ + +o Microsoft Defender for Identity, as distributed from + https://www.microsoft.com/en-us/microsoft-365/security/identity-defender + +Users wishing to redistribute Npcap or exceed the usage limits imposed +by this free license or benefit from commercial support and features +such as a silent installer should contact sales@nmap.com to obtain an +appropriate commercial license agreement. More details on our OEM +edition is also available from https://npcap.com/oem/. + +DISCLAIMER OF WARRANTIES AND LIMITATION OF LIABILITY + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +RESTRICTIONS ON TRANSFER + +Without first obtaining the express written consent of the Nmap +Project, you may not assign your rights and obligations under this +Agreement, or redistribute, encumber, sell, rent, lease, sublicense, +or otherwise transfer your rights to the Software Product. + +RESTRICTIONS ON USE + +You may not use, copy, or install the Software Product on more than +five computers, or permit the use, copying, or installation of the +Software Product by more than five users or on more than five +computers. + +RESTRICTIONS ON COPYING + +You may not copy any part of the Software except to the extent that +licensed use inherently demands the creation of a temporary copy +stored in computer memory and not permanently affixed on storage +medium. You may make archival copies as well. + +DISCLAIMER OF WARRANTIES AND LIMITATION OF LIABILITY + +UNLESS OTHERWISE EXPLICITLY AGREED TO IN WRITING BY THE NMAP PROJECT, +THE NMAP PROJECT MAKES NO OTHER WARRANTIES, EXPRESS OR IMPLIED, IN +FACT OR IN LAW, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED WARRANTIES +OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OTHER THAN AS +SET FORTH IN THIS AGREEMENT OR IN THE LIMITED WARRANTY DOCUMENTS +PROVIDED WITH THE SOFTWARE. + +The Nmap Project makes no warranty that the Software will meet your +requirements or operate under your specific conditions of use. The +Nmap Project makes no warranty that operation of the Software Product +will be secure, error free, or free from interruption. YOU MUST +DETERMINE WHETHER THE SOFTWARE SUFFICIENTLY MEETS YOUR REQUIREMENTS +FOR SECURITY AND UNINTERRUPTABILITY. YOU BEAR SOLE RESPONSIBILITY AND +ALL LIABILITY FOR ANY LOSS INCURRED DUE TO FAILURE OF THE SOFTWARE TO +MEET YOUR REQUIREMENTS. THE NMAP PROJECT WILL NOT, UNDER ANY +CIRCUMSTANCES, BE RESPONSIBLE OR LIABLE FOR THE LOSS OF DATA ON ANY +COMPUTER OR INFORMATION STORAGE DEVICE. + +UNDER NO CIRCUMSTANCES SHALL THE NMAP PROJECT, ITS DIRECTORS, +OFFICERS, EMPLOYEES OR AGENTS BE LIABLE TO YOU OR ANY OTHER PARTY FOR +INDIRECT, CONSEQUENTIAL, SPECIAL, INCIDENTAL, PUNITIVE, OR EXEMPLARY +DAMAGES OF ANY KIND (INCLUDING LOST REVENUES OR PROFITS OR LOSS OF +BUSINESS) RESULTING FROM THIS AGREEMENT, OR FROM THE FURNISHING, +PERFORMANCE, INSTALLATION, OR USE OF THE SOFTWARE, WHETHER DUE TO A +BREACH OF CONTRACT, BREACH OF WARRANTY, OR THE NEGLIGENCE OF THE NMAP +PROJECT OR ANY OTHER PARTY, EVEN IF THE NMAP PROJECT IS ADVISED +BEFOREHAND OF THE POSSIBILITY OF SUCH DAMAGES. TO THE EXTENT THAT THE +APPLICABLE JURISDICTION LIMITS THE NMAP PROJECT'S ABILITY TO DISCLAIM +ANY IMPLIED WARRANTIES, THIS DISCLAIMER SHALL BE EFFECTIVE TO THE +MAXIMUM EXTENT PERMITTED. + +LIMITATIONS OF REMEDIES AND DAMAGES + +Your remedy for a breach of this Agreement or of any warranty included +in this Agreement is the correction or replacement of the Software or +a refund of the purchase price of the Software, exclusive of any costs +for shipping and handling. Selection of whether to correct or replace +or refund shall be solely at the discretion of the Nmap Project. The +Nmap Project reserves the right to substitute a functionally +equivalent copy of the Software Product as a replacement. + +Any claim must be made within the applicable warranty period. All +warranties cover only defects arising under normal use and do not +include malfunctions or failure resulting from misuse, abuse, neglect, +alteration, problems with electrical power, acts of nature, unusual +temperatures or humidity, improper installation, or damage determined +by the Nmap Project to have been caused by you. All limited warranties +on the Software Product are granted only to you and are +non-transferable. + +You agree to indemnify and hold the Nmap Project harmless from all +claims, judgments, liabilities, expenses, or costs arising from your +breach of this Agreement and/or acts or omissions. + +GOVERNING LAW, JURISDICTION AND COSTS + +This Agreement is governed by the laws of the United States of America +and Deleware State, without regard to Delaware's conflict or choice of +law provisions. + +SEVERABILITY + +If any provision of this Agreement shall be held to be invalid or +unenforceable, the remainder of this Agreement shall remain in full +force and effect. To the extent any express or implied restrictions +are not permitted by applicable laws, these express or implied +restrictions shall remain in force and effect to the maximum extent +permitted by such applicable laws. + +THIRD PARTY SOFTWARE ATTRIBUTION + +Npcap uses several 3rd party open source software libraries: + +* The libpcap portable packet capturing library from https://tcpdump.org +* The Winpcap packet capturing library. It has been abandoned, but is + currently still available from https://www.winpcap.org/. +* The ieee80211_radiotap.h header file from David Young + +All of these are open source with BSD-style licenses that allow for +unlimited use and royalty-free redistribution within other software +(including commercial/proprietary software). Some include a warranty +disclaimer (relating to the original authors) and require a small +amount of acknowledgment text be added somewhere in the documentation +of any software which includes them (including indirect inclusion +through Npcap). + +The required acknowledgement text as well as full license text and +source details for these libraries is available from: +https://npcap.com/src/docs/Npcap-Third-Party-Open-Source.pdf . + +Since Nmap Software LLC is not the author of this 3rd party code, we +can not waive or modify its software copyright or license. Npcap +users and redistributors must comply with the relevant Npcap license +(either the free/demo license or a commercial Npcap OEM license they +may have purchased) as well as the minimal requirements of this 3rd +party open source software. diff --git a/x-pack/packetbeat/magefile.go b/x-pack/packetbeat/magefile.go index daee711156a..2d0d367a460 100644 --- a/x-pack/packetbeat/magefile.go +++ b/x-pack/packetbeat/magefile.go @@ -36,7 +36,7 @@ import ( // the packetbeat executable. It is used to specify which npcap builder crossbuild // image to use and the installer to obtain from the cloud store for testing. const ( - NpcapVersion = "1.71" + NpcapVersion = "1.76" installer = "npcap-" + NpcapVersion + "-oem.exe" ) diff --git a/x-pack/packetbeat/npcap/installer/LICENSE b/x-pack/packetbeat/npcap/installer/LICENSE index 0bf8aa4d9b6..61173d3226a 100644 --- a/x-pack/packetbeat/npcap/installer/LICENSE +++ b/x-pack/packetbeat/npcap/installer/LICENSE @@ -1,10 +1,10 @@ -------------------------------------------------------------------------------- Dependency : Npcap (https://nmap.org/npcap/) -Version: 1.71 +Version: 1.76 Licence type: Commercial -------------------------------------------------------------------------------- -Npcap is Copyright (c) 2013-2021 Insecure.Com LLC. All rights reserved. +Npcap is Copyright (c) 2013-2023 Insecure.Com LLC. All rights reserved. See https://npcap.org for details. Portions of Npcap are Copyright (c) 1999 - 2005 NetGroup, Politecnico di diff --git a/x-pack/packetbeat/tests/system/app_test.go b/x-pack/packetbeat/tests/system/app_test.go index f6db2aa2977..b7566e7450b 100644 --- a/x-pack/packetbeat/tests/system/app_test.go +++ b/x-pack/packetbeat/tests/system/app_test.go @@ -29,7 +29,7 @@ import ( ) // Keep in sync with NpcapVersion in magefile.go. -const NpcapVersion = "1.71" +const NpcapVersion = "1.76" func TestWindowsNpcapInstaller(t *testing.T) { if runtime.GOOS != "windows" { From 58db08f2bf76e124b46c28118148afe45f55c577 Mon Sep 17 00:00:00 2001 From: nima Date: Wed, 27 Sep 2023 09:26:19 +1000 Subject: [PATCH 12/22] Update rate_limit.asciidoc (#36562) --- libbeat/processors/ratelimit/docs/rate_limit.asciidoc | 1 - 1 file changed, 1 deletion(-) diff --git a/libbeat/processors/ratelimit/docs/rate_limit.asciidoc b/libbeat/processors/ratelimit/docs/rate_limit.asciidoc index 9a7a2f32322..aa847ea4292 100644 --- a/libbeat/processors/ratelimit/docs/rate_limit.asciidoc +++ b/libbeat/processors/ratelimit/docs/rate_limit.asciidoc @@ -1,6 +1,5 @@ [[rate-limit]] === Rate limit the flow of events -beta[] ++++ rate_limit From d5f659dc080b81960a15d7a9c4b0401da95ecc94 Mon Sep 17 00:00:00 2001 From: apmmachine <58790750+apmmachine@users.noreply.github.com> Date: Wed, 27 Sep 2023 13:39:37 -0400 Subject: [PATCH 13/22] [updatecli] update elastic stack version for testing 8.11.0-b2ac6b4d (#36673) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: Update snapshot.yml Made with ❤️️ by updatecli * chore: Update snapshot.yml Made with ❤️️ by updatecli * chore: Update snapshot.yml Made with ❤️️ by updatecli --------- Co-authored-by: apmmachine Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- testing/environments/snapshot.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testing/environments/snapshot.yml b/testing/environments/snapshot.yml index 7a387583a4c..20233b29f4c 100644 --- a/testing/environments/snapshot.yml +++ b/testing/environments/snapshot.yml @@ -3,7 +3,7 @@ version: '2.3' services: elasticsearch: - image: docker.elastic.co/elasticsearch/elasticsearch:8.11.0-c47419c4-SNAPSHOT + image: docker.elastic.co/elasticsearch/elasticsearch:8.11.0-b2ac6b4d-SNAPSHOT # When extend is used it merges healthcheck.tests, see: # https://github.com/docker/compose/issues/8962 # healthcheck: @@ -31,7 +31,7 @@ services: - "./docker/elasticsearch/users_roles:/usr/share/elasticsearch/config/users_roles" logstash: - image: docker.elastic.co/logstash/logstash:8.11.0-c47419c4-SNAPSHOT + image: docker.elastic.co/logstash/logstash:8.11.0-b2ac6b4d-SNAPSHOT healthcheck: test: ["CMD", "curl", "-f", "http://localhost:9600/_node/stats"] retries: 600 @@ -44,7 +44,7 @@ services: - 5055:5055 kibana: - image: docker.elastic.co/kibana/kibana:8.11.0-c47419c4-SNAPSHOT + image: docker.elastic.co/kibana/kibana:8.11.0-b2ac6b4d-SNAPSHOT environment: - "ELASTICSEARCH_USERNAME=kibana_system_user" - "ELASTICSEARCH_PASSWORD=testing" From 9e503b4a8cca23cb0b2428e3b49fb7be763b3ebc Mon Sep 17 00:00:00 2001 From: Dan Kortschak <90160302+efd6@users.noreply.github.com> Date: Thu, 28 Sep 2023 14:00:35 +0930 Subject: [PATCH 14/22] libbeat/processors/cache: add file-backed cache (#36686) This adds a file-backed cache implementation to the cache processor. Caching between put and get operations is done in-memory using the memory cache, but the file cache will load previously written cache state on start-up and will write cache contents to file when the cache is dropped. Depending on user configuration, the file cache will also periodically write the cache state to the backing file to reduce state loss in the event of a crash. For simplicity, the cache state is stored as a JSON stream of objects with fields for the key, value and expiry timestamp of cached entities. --- CHANGELOG-developer.next.asciidoc | 1 + libbeat/processors/cache/cache.go | 33 +- libbeat/processors/cache/cache_test.go | 24 +- libbeat/processors/cache/config.go | 13 +- libbeat/processors/cache/config_test.go | 36 ++ libbeat/processors/cache/docs/cache.asciidoc | 5 +- libbeat/processors/cache/file_store.go | 294 ++++++++++++ libbeat/processors/cache/file_store_test.go | 455 +++++++++++++++++++ libbeat/processors/cache/mem_store.go | 34 +- libbeat/processors/cache/mem_store_test.go | 72 +-- 10 files changed, 877 insertions(+), 90 deletions(-) create mode 100644 libbeat/processors/cache/file_store.go create mode 100644 libbeat/processors/cache/file_store_test.go diff --git a/CHANGELOG-developer.next.asciidoc b/CHANGELOG-developer.next.asciidoc index d0f4c40ef3b..ca46d018247 100644 --- a/CHANGELOG-developer.next.asciidoc +++ b/CHANGELOG-developer.next.asciidoc @@ -173,6 +173,7 @@ The list below covers the major changes between 7.0.0-rc2 and main only. - Add device handling to Okta API package for entity analytics. {pull}35980[35980] - Make Filebeat HTTPJSON input process responses sequentially. {pull}36493[36493] - Add initial infrastructure for a caching enrichment processor. {pull}36619[36619] +- Add file-backed cache for cache enrichment processor. {pull}36686[36686] ==== Deprecated diff --git a/libbeat/processors/cache/cache.go b/libbeat/processors/cache/cache.go index eea3ed115ea..a7ce4876f50 100644 --- a/libbeat/processors/cache/cache.go +++ b/libbeat/processors/cache/cache.go @@ -21,6 +21,7 @@ import ( "context" "errors" "fmt" + "os" "time" "github.com/elastic/beats/v7/libbeat/beat" @@ -29,6 +30,7 @@ import ( conf "github.com/elastic/elastic-agent-libs/config" "github.com/elastic/elastic-agent-libs/logp" "github.com/elastic/elastic-agent-libs/mapstr" + "github.com/elastic/elastic-agent-libs/paths" ) const name = "cache" @@ -64,15 +66,15 @@ func New(cfg *conf.C) (beat.Processor, error) { if err != nil { return nil, fmt.Errorf("failed to unpack the %s configuration: %w", name, err) } - src, cancel, err := getStoreFor(config) - if err != nil { - return nil, fmt.Errorf("failed to get the store for %s: %w", name, err) - } - // Logging (each processor instance has a unique ID). id := int(instanceID.Inc()) log := logp.NewLogger(name).With("instance_id", id) + src, cancel, err := getStoreFor(config, log) + if err != nil { + return nil, fmt.Errorf("failed to get the store for %s: %w", name, err) + } + p := &cache{ config: config, store: src, @@ -87,16 +89,18 @@ func New(cfg *conf.C) (beat.Processor, error) { // and a context cancellation that releases the cache resource when it // is no longer required. The cancellation should be called when the // processor is closed. -func getStoreFor(cfg config) (Store, context.CancelFunc, error) { +func getStoreFor(cfg config, log *logp.Logger) (Store, context.CancelFunc, error) { switch { case cfg.Store.Memory != nil: s, cancel := memStores.get(cfg.Store.Memory.ID, cfg) return s, cancel, nil case cfg.Store.File != nil: - logp.L().Warn("using memory store when file is configured") - // TODO: Replace place-holder code with a file-store. - s, cancel := fileStores.get(cfg.Store.File.ID, cfg) + err := os.MkdirAll(paths.Resolve(paths.Data, "cache_processor"), 0o700) + if err != nil { + return nil, noop, fmt.Errorf("cache processor could not create store directory: %w", err) + } + s, cancel := fileStores.get(cfg.Store.File.ID, cfg, log) return s, cancel, nil default: @@ -105,11 +109,6 @@ func getStoreFor(cfg config) (Store, context.CancelFunc, error) { } } -var ( - memStores = memStoreSet{stores: map[string]*memStore{}, typ: "memory"} - fileStores = memStoreSet{stores: map[string]*memStore{}, typ: "file"} // This is a temporary mock. -) - // noop is a no-op context.CancelFunc. func noop() {} @@ -126,9 +125,9 @@ type Store interface { } type CacheEntry struct { - key string - value any - expires time.Time + Key string `json:"key"` + Value any `json:"val"` + Expires time.Time `json:"expires"` index int } diff --git a/libbeat/processors/cache/cache_test.go b/libbeat/processors/cache/cache_test.go index 6fe5847c01f..8acd22d74d7 100644 --- a/libbeat/processors/cache/cache_test.go +++ b/libbeat/processors/cache/cache_test.go @@ -130,7 +130,7 @@ var cacheTests = []struct { }, }, wantCacheVal: map[string]*CacheEntry{ - "one": {key: "one", value: "metadata_value"}, + "one": {Key: "one", Value: "metadata_value"}, }, wantErr: nil, }, @@ -191,7 +191,7 @@ var cacheTests = []struct { }, }, wantCacheVal: map[string]*CacheEntry{ - "one": {key: "one", value: "metadata_value"}, + "one": {Key: "one", Value: "metadata_value"}, }, wantErr: nil, }, @@ -210,7 +210,7 @@ var cacheTests = []struct { }, }, wantCacheVal: map[string]*CacheEntry{ - "one": {key: "one", value: "metadata_value"}, + "one": {Key: "one", Value: "metadata_value"}, }, wantErr: nil, }, @@ -271,7 +271,7 @@ var cacheTests = []struct { }, }, wantCacheVal: map[string]*CacheEntry{ - "one": {key: "one", value: "metadata_value"}, + "one": {Key: "one", Value: "metadata_value"}, }, wantErr: nil, }, @@ -290,7 +290,7 @@ var cacheTests = []struct { }, }, wantCacheVal: map[string]*CacheEntry{ - "one": {key: "one", value: "metadata_value"}, + "one": {Key: "one", Value: "metadata_value"}, }, wantErr: nil, }, @@ -351,7 +351,7 @@ var cacheTests = []struct { }, }, wantCacheVal: map[string]*CacheEntry{ - "one": {key: "one", value: "metadata_value"}, + "one": {Key: "one", Value: "metadata_value"}, }, wantErr: nil, }, @@ -379,7 +379,7 @@ var cacheTests = []struct { }, }, wantCacheVal: map[string]*CacheEntry{ - "one": {key: "one", value: "metadata_value"}, + "one": {Key: "one", Value: "metadata_value"}, }, wantErr: errors.New("error applying cache get processor: target field 'crowdstrike.metadata_new' already exists and overwrite_keys is false"), }, @@ -441,7 +441,7 @@ var cacheTests = []struct { }, }, wantCacheVal: map[string]*CacheEntry{ - "one": {key: "one", value: "metadata_value"}, + "one": {Key: "one", Value: "metadata_value"}, }, wantErr: nil, }, @@ -465,7 +465,7 @@ var cacheTests = []struct { }, }, wantCacheVal: map[string]*CacheEntry{ - "one": {key: "one", value: "metadata_value"}, + "one": {Key: "one", Value: "metadata_value"}, }, wantErr: nil, }, @@ -527,7 +527,7 @@ var cacheTests = []struct { }, }, wantCacheVal: map[string]*CacheEntry{ - "one": {key: "one", value: "metadata_value"}, + "one": {Key: "one", Value: "metadata_value"}, }, wantErr: nil, }, @@ -547,7 +547,7 @@ var cacheTests = []struct { }, }, wantCacheVal: map[string]*CacheEntry{ - "one": {key: "one", value: "metadata_value"}, + "one": {Key: "one", Value: "metadata_value"}, }, wantErr: errors.New("error applying cache get processor: expected map but type is string"), }, @@ -613,7 +613,7 @@ func TestCache(t *testing.T) { switch got := p.(*cache).store.(type) { case *memStore: allow := cmp.AllowUnexported(CacheEntry{}) - ignore := cmpopts.IgnoreFields(CacheEntry{}, "expires", "index") + ignore := cmpopts.IgnoreFields(CacheEntry{}, "Expires", "index") if !cmp.Equal(step.wantCacheVal, got.cache, allow, ignore) { t.Errorf("unexpected cache state result %d:\n--- want\n+++ got\n%s", i, cmp.Diff(step.wantCacheVal, got.cache, allow, ignore)) } diff --git a/libbeat/processors/cache/config.go b/libbeat/processors/cache/config.go index 06dacc5c6ca..36eeb423fc2 100644 --- a/libbeat/processors/cache/config.go +++ b/libbeat/processors/cache/config.go @@ -88,8 +88,8 @@ func defaultConfig() config { } type storeConfig struct { - Memory *id `config:"memory"` - File *id `config:"file"` + Memory *memConfig `config:"memory"` + File *fileConfig `config:"file"` // Capacity and Effort are currently experimental // and not in public-facing documentation. @@ -97,8 +97,13 @@ type storeConfig struct { Effort int `config:"eviction_effort"` } -type id struct { - ID string `config:"id"` +type memConfig struct { + ID string `config:"id" validate:"required"` +} + +type fileConfig struct { + ID string `config:"id" validate:"required"` + WriteOutEvery time.Duration `config:"write_interval"` } func (cfg *storeConfig) Validate() error { diff --git a/libbeat/processors/cache/config_test.go b/libbeat/processors/cache/config_test.go index 6e8b01d930f..4a956caef02 100644 --- a/libbeat/processors/cache/config_test.go +++ b/libbeat/processors/cache/config_test.go @@ -39,6 +39,20 @@ put: ttl: 168h key_field: crowdstrike.aid value_field: crowdstrike.metadata +`, + want: nil, + }, + { + name: "put_file_with_periodic_write_out", + cfg: ` +backend: + file: + id: aidmaster + write_interval: 15m +put: + ttl: 168h + key_field: crowdstrike.aid + value_field: crowdstrike.metadata `, want: nil, }, @@ -78,6 +92,28 @@ delete: `, want: nil, }, + { + name: "memory_no_id", + cfg: ` +backend: + memory: + id: '' +delete: + key_field: crowdstrike.aid +`, + want: errors.New("string value is not set accessing 'backend.memory.id'"), + }, + { + name: "file_no_id", + cfg: ` +backend: + file: + id: '' +delete: + key_field: crowdstrike.aid +`, + want: errors.New("string value is not set accessing 'backend.file.id'"), + }, { name: "no_op", cfg: ` diff --git a/libbeat/processors/cache/docs/cache.asciidoc b/libbeat/processors/cache/docs/cache.asciidoc index 94f5d07cece..3e17d37e213 100644 --- a/libbeat/processors/cache/docs/cache.asciidoc +++ b/libbeat/processors/cache/docs/cache.asciidoc @@ -51,8 +51,9 @@ It has the following settings: One of `backend.memory.id` or `backend.file.id` must be provided. -`backend.memory.id`:: The ID of a memory based cache. Use the same ID across instance to reference the same cache. -`backend.file.id`:: The ID of a file based cache. Use the same ID across instance to reference the same cache. +`backend.memory.id`:: The ID of a memory-based cache. Use the same ID across instance to reference the same cache. +`backend.file.id`:: The ID of a file-based cache. Use the same ID across instance to reference the same cache. +`backend.file.write_frequency`:: The frequency the cache is periodically written to the backing file. Valid time units are h, m, s, ms, us/µs and ns. Periodic writes are only made if `backend.file.write_frequency` is greater than zero. The contents are always written out to the backing file when the processor is closed. Default is zero, no periodic writes. One of `put`, `get` or `delete` must be provided. diff --git a/libbeat/processors/cache/file_store.go b/libbeat/processors/cache/file_store.go new file mode 100644 index 00000000000..45ed9d84068 --- /dev/null +++ b/libbeat/processors/cache/file_store.go @@ -0,0 +1,294 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +package cache + +import ( + "container/heap" + "context" + "encoding/json" + "errors" + "io" + "io/fs" + "os" + "path/filepath" + "strings" + "sync" + "time" + + "github.com/elastic/elastic-agent-libs/logp" + "github.com/elastic/elastic-agent-libs/paths" +) + +var fileStores = fileStoreSet{stores: map[string]*fileStore{}} + +// fileStoreSet is a collection of shared fileStore caches. +type fileStoreSet struct { + mu sync.Mutex + stores map[string]*fileStore +} + +// get returns a fileStore cache with the provided ID based on the config. +// If a fileStore with the ID already exist, its configuration is adjusted +// and its reference count is increased. The returned context.CancelFunc +// reduces the reference count and deletes the fileStore from the set if the +// count reaches zero. +func (s *fileStoreSet) get(id string, cfg config, log *logp.Logger) (*fileStore, context.CancelFunc) { + s.mu.Lock() + defer s.mu.Unlock() + store, ok := s.stores[id] + if !ok { + store = newFileStore(cfg, id, pathFromConfig(cfg, log), log) + s.stores[store.id] = store + } + store.add(cfg) + + return store, func() { + store.dropFrom(s) + } +} + +// pathFromConfig returns the mapping form a config to a file-system path. +func pathFromConfig(cfg config, log *logp.Logger) string { + path := filepath.Join(paths.Resolve(paths.Data, "cache_processor"), cleanFilename(cfg.Store.File.ID)) + log.Infow("mapping file-backed cache processor config to file path", "id", cfg.Store.File.ID, "path", path) + return path +} + +// cleanFilename replaces illegal printable characters (and space or dot) in +// filenames, with underscore. +func cleanFilename(s string) string { + return pathCleaner.Replace(s) +} + +var pathCleaner = strings.NewReplacer( + "/", "_", + "<", "_", + ">", "_", + ":", "_", + `"`, "_", + "/", "_", + `\`, "_", + "|", "_", + "?", "_", + "*", "_", + ".", "_", + " ", "_", +) + +// free removes the fileStore with the given ID from the set. free is safe +// for concurrent use. +func (s *fileStoreSet) free(id string) { + s.mu.Lock() + delete(s.stores, id) + s.mu.Unlock() +} + +// fileStore is a file-backed cache store. +type fileStore struct { + memStore + + path string + // cancel stops periodic write out operations. + // Write out operations are protected by the + // memStore's mutex. + cancel context.CancelFunc + + log *logp.Logger +} + +// newFileStore returns a new fileStore configured to apply the give TTL duration. +// The fileStore is guaranteed not to grow larger than cap elements. id is the +// look-up into the global cache store the fileStore is held in. +func newFileStore(cfg config, id, path string, log *logp.Logger) *fileStore { + s := fileStore{ + path: path, + log: log, + memStore: memStore{ + id: id, + cache: make(map[string]*CacheEntry), + + // Mark the ttl as invalid until we have had a put + // operation configured. While the shared backing + // data store is incomplete, and has no put operation + // defined, the TTL will be invalid, but will never + // be accessed since all time operations outside put + // refer to absolute times, held by the CacheEntry. + ttl: -1, + cap: -1, + effort: -1, + }, + } + s.cancel = noop + if cfg.Store.File.WriteOutEvery > 0 { + var ctx context.Context + ctx, s.cancel = context.WithCancel(context.Background()) + go s.periodicWriteOut(ctx, cfg.Store.File.WriteOutEvery) + } + s.readState() + return &s +} + +func (c *fileStore) String() string { return "file:" + c.id } + +// dropFrom decreases the reference count for the fileStore and removes it from +// the stores map if the count is zero. dropFrom is safe for concurrent use. +func (c *fileStore) dropFrom(stores *fileStoreSet) { + c.mu.Lock() + c.refs-- + if c.refs < 0 { + panic("invalid reference count") + } + if c.refs == 0 { + // Stop periodic writes + c.cancel() + // and do a final write out. + c.writeState(true) + + stores.free(c.id) + // GC assists. + c.cache = nil + c.expiries = nil + } + c.mu.Unlock() +} + +func (c *fileStore) readState() { + f, err := os.Open(c.path) + if err != nil { + if errors.Is(err, fs.ErrNotExist) { + c.log.Debugw("no state on file system", "error", err) + } else { + c.log.Errorw("failed to open file to read state", "error", err) + } + return + } + defer f.Close() + + // It would be nice to be able at this stage to determine + // whether the file is stale past the TTL of the cache, but + // we do not have this information yet. So we must read + // through all the elements. If any survive the filter, we + // were alive, otherwise delete the file. + + dec := json.NewDecoder(f) + for { + var e CacheEntry + err = dec.Decode(&e) + if err != nil { + if err != io.EOF { + switch err := err.(type) { + case *json.SyntaxError: + c.log.Errorw("failed to read state element", "error", err, "path", c.path, "offset", err.Offset) + default: + c.log.Errorw("failed to read state element", "error", err, "path", c.path) + } + } + break + } + if e.Expires.Before(time.Now()) { + // Don't retain expired elements. + continue + } + c.cache[e.Key] = &e + heap.Push(&c.expiries, &e) + } + + if len(c.cache) != 0 { + return + } + // We had no live entries, so delete the file. + err = os.Remove(c.path) + if err != nil { + c.log.Errorw("failed to delete stale cache file", "error", err) + } +} + +// periodicWriteOut writes the cache contents to the backing file at the +// specified interval until the context is cancelled. periodicWriteOut is +// safe for concurrent use. +func (c *fileStore) periodicWriteOut(ctx context.Context, every time.Duration) { + tick := time.NewTicker(every) + defer tick.Stop() + for { + select { + case <-tick.C: + c.mu.Lock() + c.writeState(false) + c.mu.Unlock() + case <-ctx.Done(): + return + } + } +} + +// writeState writes the current cache state to the backing file. +// If final is true and the cache is empty, the file will be deleted. +func (c *fileStore) writeState(final bool) { + if len(c.cache) == 0 && final { + err := os.Remove(c.path) + if err != nil { + c.log.Errorw("failed to delete write state when empty", "error", err) + } + return + } + f, err := os.CreateTemp(filepath.Dir(c.path), filepath.Base(c.path)+"-*.tmp") + if err != nil { + c.log.Errorw("failed to open file to write state", "error", err) + return + } + // Try to make sure we are private. + err = os.Chmod(f.Name(), 0o600) + if err != nil { + c.log.Errorw("failed to set state file mode", "error", err) + return + } + tmp := f.Name() + defer func() { + err = f.Sync() + if err != nil { + c.log.Errorw("failed to sync file after writing state", "error", err) + return + } + err = f.Close() + if err != nil { + c.log.Errorw("failed to close file after writing state", "error", err) + return + } + // Try to be atomic. + err = os.Rename(tmp, c.path) + if err != nil { + c.log.Errorw("failed to finalize writing state", "error", err) + } + }() + + enc := json.NewEncoder(f) + enc.SetEscapeHTML(false) + now := time.Now() + for c.expiries.Len() != 0 { + e := c.expiries.pop() + if e.Expires.Before(now) { + // Don't write expired elements. + continue + } + err = enc.Encode(e) + if err != nil { + c.log.Errorw("failed to write state element", "error", err) + return + } + } +} diff --git a/libbeat/processors/cache/file_store_test.go b/libbeat/processors/cache/file_store_test.go new file mode 100644 index 00000000000..557a7eca9a5 --- /dev/null +++ b/libbeat/processors/cache/file_store_test.go @@ -0,0 +1,455 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +package cache + +import ( + "encoding/json" + "errors" + "flag" + "fmt" + "io" + "io/fs" + "os" + "path/filepath" + "testing" + "time" + + "github.com/google/go-cmp/cmp" + "github.com/google/go-cmp/cmp/cmpopts" + + "github.com/elastic/elastic-agent-libs/logp" +) + +var keep = flag.Bool("keep", false, "keep testdata after test complete") + +type fileStoreTestSteps struct { + doTo func(*fileStore) error + want *fileStore +} + +//nolint:errcheck // Paul Hogan was right. +var fileStoreTests = []struct { + name string + cfg config + want *fileStore + steps []fileStoreTestSteps + wantPersisted []*CacheEntry +}{ + { + name: "new_put", + cfg: config{ + Store: &storeConfig{ + File: &fileConfig{ID: "test"}, + Capacity: 1000, + Effort: 10, + }, + Put: &putConfig{ + TTL: ptrTo(time.Second), + }, + }, + want: &fileStore{path: "testdata/new_put", memStore: memStore{ + id: "test", + cache: map[string]*CacheEntry{}, + refs: 1, + ttl: time.Second, + cap: 1000, + effort: 10, + }}, + }, + { + name: "new_get", + cfg: config{ + Store: &storeConfig{ + File: &fileConfig{ID: "test"}, + Capacity: 1000, + Effort: 10, + }, + Get: &getConfig{}, + }, + want: &fileStore{path: "testdata/new_get", memStore: memStore{ + id: "test", + cache: map[string]*CacheEntry{}, + refs: 1, + // TTL, capacity and effort are set only by put. + ttl: -1, + cap: -1, + effort: -1, + }}, + }, + { + name: "new_delete", + cfg: config{ + Store: &storeConfig{ + File: &fileConfig{ID: "test"}, + Capacity: 1000, + Effort: 10, + }, + Delete: &delConfig{}, + }, + want: &fileStore{path: "testdata/new_delete", memStore: memStore{ + id: "test", + cache: map[string]*CacheEntry{}, + refs: 1, + // TTL, capacity and effort are set only by put. + ttl: -1, + cap: -1, + effort: -1, + }}, + }, + { + name: "new_get_add_put", + cfg: config{ + Store: &storeConfig{ + File: &fileConfig{ID: "test"}, + Capacity: 1000, + Effort: 10, + }, + Get: &getConfig{}, + }, + want: &fileStore{path: "testdata/new_get_add_put", memStore: memStore{ + id: "test", + cache: map[string]*CacheEntry{}, + // TTL, capacity and effort are set only by put. + refs: 1, + ttl: -1, + cap: -1, + effort: -1, + }}, + steps: []fileStoreTestSteps{ + 0: { + doTo: func(s *fileStore) error { + putCfg := config{ + Store: &storeConfig{ + File: &fileConfig{ID: "test"}, + Capacity: 1000, + Effort: 10, + }, + Put: &putConfig{ + TTL: ptrTo(time.Second), + }, + } + s.add(putCfg) + return nil + }, + want: &fileStore{path: "testdata/new_get_add_put", memStore: memStore{ + id: "test", + cache: map[string]*CacheEntry{}, + refs: 2, + ttl: time.Second, + cap: 1000, + effort: 10, + }}, + }, + }, + }, + { + name: "ensemble", + cfg: config{ + Store: &storeConfig{ + File: &fileConfig{ID: "test"}, + Capacity: 1000, + Effort: 10, + }, + Get: &getConfig{}, + }, + want: &fileStore{path: "testdata/ensemble", memStore: memStore{ + id: "test", + cache: map[string]*CacheEntry{}, + refs: 1, + // TTL, capacity and effort are set only by put. + ttl: -1, + cap: -1, + effort: -1, + }}, + steps: []fileStoreTestSteps{ + 0: { + doTo: func(s *fileStore) error { + putCfg := config{ + Store: &storeConfig{ + File: &fileConfig{ID: "test"}, + Capacity: 1000, + Effort: 10, + }, + Put: &putConfig{ + TTL: ptrTo(time.Second), + }, + } + s.add(putCfg) + return nil + }, + want: &fileStore{path: "testdata/ensemble", memStore: memStore{ + id: "test", + cache: map[string]*CacheEntry{}, + refs: 2, + ttl: time.Second, + cap: 1000, + effort: 10, + }}, + }, + 1: { + doTo: func(s *fileStore) error { + s.Put("one", 1) + s.Put("two", 2) + s.Put("three", 3) + return nil + }, + want: &fileStore{path: "testdata/ensemble", memStore: memStore{ + id: "test", + cache: map[string]*CacheEntry{ + "one": {Key: "one", Value: int(1), index: 0}, + "two": {Key: "two", Value: int(2), index: 1}, + "three": {Key: "three", Value: int(3), index: 2}, + }, + expiries: expiryHeap{ + {Key: "one", Value: int(1), index: 0}, + {Key: "two", Value: int(2), index: 1}, + {Key: "three", Value: int(3), index: 2}, + }, + refs: 2, + ttl: time.Second, + cap: 1000, + effort: 10, + }}, + }, + 2: { + doTo: func(s *fileStore) error { + got, err := s.Get("two") + if got != 2 { + return fmt.Errorf(`unexpected result from Get("two"): got:%v want:2`, got) + } + return err + }, + want: &fileStore{path: "testdata/ensemble", memStore: memStore{ + id: "test", + cache: map[string]*CacheEntry{ + "one": {Key: "one", Value: int(1), index: 0}, + "two": {Key: "two", Value: int(2), index: 1}, + "three": {Key: "three", Value: int(3), index: 2}, + }, + expiries: expiryHeap{ + {Key: "one", Value: int(1), index: 0}, + {Key: "two", Value: int(2), index: 1}, + {Key: "three", Value: int(3), index: 2}, + }, + refs: 2, + ttl: time.Second, + cap: 1000, + effort: 10, + }}, + }, + 3: { + doTo: func(s *fileStore) error { + return s.Delete("two") + }, + want: &fileStore{path: "testdata/ensemble", memStore: memStore{ + id: "test", + cache: map[string]*CacheEntry{ + "one": {Key: "one", Value: int(1), index: 0}, + "three": {Key: "three", Value: int(3), index: 1}, + }, + expiries: expiryHeap{ + {Key: "one", Value: int(1), index: 0}, + {Key: "three", Value: int(3), index: 1}, + }, + refs: 2, + ttl: time.Second, + cap: 1000, + effort: 10, + }}, + }, + 4: { + doTo: func(s *fileStore) error { + got, _ := s.Get("two") + if got != nil { + return fmt.Errorf(`unexpected result from Get("two") after deletion: got:%v want:nil`, got) + } + return nil + }, + want: &fileStore{path: "testdata/ensemble", memStore: memStore{ + id: "test", + cache: map[string]*CacheEntry{ + "one": {Key: "one", Value: int(1), index: 0}, + "three": {Key: "three", Value: int(3), index: 1}, + }, + expiries: expiryHeap{ + {Key: "one", Value: int(1), index: 0}, + {Key: "three", Value: int(3), index: 1}, + }, + refs: 2, + ttl: time.Second, + cap: 1000, + effort: 10, + }}, + }, + 5: { + doTo: func(s *fileStore) error { + s.dropFrom(&fileStores) + if !fileStores.has(s.id) { + return fmt.Errorf("%q fileStore not found after single close", s.id) + } + return nil + }, + want: &fileStore{path: "testdata/ensemble", memStore: memStore{ + id: "test", + cache: map[string]*CacheEntry{ + "one": {Key: "one", Value: int(1), index: 0}, + "three": {Key: "three", Value: int(3), index: 1}, + }, + expiries: expiryHeap{ + {Key: "one", Value: int(1), index: 0}, + {Key: "three", Value: int(3), index: 1}, + }, + refs: 1, + ttl: time.Second, + cap: 1000, + effort: 10, + }}, + }, + 6: { + doTo: func(s *fileStore) error { + s.dropFrom(&fileStores) + if fileStores.has(s.id) { + return fmt.Errorf("%q fileStore still found after double close", s.id) + } + return nil + }, + want: &fileStore{path: "testdata/ensemble", memStore: memStore{ + id: "test", + cache: nil, // assistively nil-ed. + expiries: nil, // assistively nil-ed. + refs: 0, + ttl: time.Second, + cap: 1000, + effort: 10, + }}, + }, + }, + wantPersisted: []*CacheEntry{ + // Numeric values are float due to JSON round-trip. + {Key: "one", Value: 1.0}, + {Key: "three", Value: 3.0}, + }, + }, +} + +func TestFileStore(t *testing.T) { + err := os.RemoveAll("testdata") + if err != nil && !errors.Is(err, fs.ErrNotExist) { + t.Fatalf("failed to clear testdata directory: %v", err) + } + err = os.Mkdir("testdata", 0o755) + if err != nil && !errors.Is(err, fs.ErrExist) { + t.Fatalf("failed to create testdata directory: %v", err) + } + if !*keep { + t.Cleanup(func() { os.RemoveAll("testdata") }) + } + + allow := cmp.AllowUnexported(fileStore{}, memStore{}, CacheEntry{}) + ignoreInFileStore := cmpopts.IgnoreFields(fileStore{}, "cancel", "log") + ignoreInMemStore := cmpopts.IgnoreFields(memStore{}, "mu") + ignoreInCacheEntry := cmpopts.IgnoreFields(CacheEntry{}, "Expires") + + for _, test := range fileStoreTests { + t.Run(test.name, func(t *testing.T) { + // Construct the store and put in into the stores map as + // we would if we were calling Run. + path := filepath.Join("testdata", test.name) + store := newFileStore(test.cfg, test.cfg.Store.File.ID, path, logp.L()) + store.add(test.cfg) + fileStores.add(store) + + if !cmp.Equal(test.want, store, allow, ignoreInFileStore, ignoreInMemStore) { + t.Errorf("unexpected new fileStore result:\n--- want\n+++ got\n%s", + cmp.Diff(test.want, store, allow, ignoreInFileStore, ignoreInMemStore)) + } + for i, step := range test.steps { + err := step.doTo(store) + if err != nil { + t.Errorf("unexpected error at step %d: %v", i, err) + } + if !cmp.Equal(step.want, store, allow, ignoreInFileStore, ignoreInMemStore, ignoreInCacheEntry) { + t.Errorf("unexpected fileStore step %d result:\n--- want\n+++ got\n%s", + i, cmp.Diff(step.want, store, allow, ignoreInFileStore, ignoreInMemStore, ignoreInCacheEntry)) + } + } + if test.wantPersisted == nil { + return + } + + f, err := os.Open(path) + if err != nil { + t.Fatalf("failed to open persisted data: %v", err) + } + defer f.Close() + dec := json.NewDecoder(f) + var got []*CacheEntry + for { + var e CacheEntry + err = dec.Decode(&e) + if err != nil { + if err != io.EOF { + t.Fatalf("unexpected error reading persisted cache data: %v", err) + } + break + } + got = append(got, &e) + } + if !cmp.Equal(test.wantPersisted, got, allow, ignoreInCacheEntry) { + t.Errorf("unexpected persisted state:\n--- want\n+++ got\n%s", + cmp.Diff(test.wantPersisted, got, allow, ignoreInCacheEntry)) + } + wantCache := make(map[string]*CacheEntry) + for _, e := range got { + wantCache[e.Key] = e + } + store = newFileStore(test.cfg, test.cfg.Store.File.ID, path, logp.L()) + // Specialise the in cache entry ignore list to include index. + ignoreMoreInCacheEntry := cmpopts.IgnoreFields(CacheEntry{}, "Expires", "index") + if !cmp.Equal(wantCache, store.cache, allow, ignoreMoreInCacheEntry) { + t.Errorf("unexpected restored state:\n--- want\n+++ got\n%s", + cmp.Diff(wantCache, store.cache, allow, ignoreMoreInCacheEntry)) + } + for k, e := range store.cache { + if e.index < 0 || len(store.expiries) <= e.index { + t.Errorf("cache entry %s index out of bounds: got:%d [0,%d)", k, e.index, len(store.expiries)) + continue + } + if !cmp.Equal(e, store.expiries[e.index], allow, ignoreInCacheEntry) { + t.Errorf("unexpected mismatched cache/expiry state %s:\n--- want\n+++ got\n%s", + k, cmp.Diff(e, store.expiries[e.index], allow, ignoreInCacheEntry)) + } + } + }) + } +} + +// add adds the store to the set. It is used only for testing. +func (s *fileStoreSet) add(store *fileStore) { + s.mu.Lock() + s.stores[store.id] = store + s.mu.Unlock() +} + +// has returns whether the store exists in the set. It is used only for testing. +func (s *fileStoreSet) has(id string) bool { + s.mu.Lock() + _, ok := s.stores[id] + s.mu.Unlock() + return ok +} diff --git a/libbeat/processors/cache/mem_store.go b/libbeat/processors/cache/mem_store.go index 900e91c8e60..774a019d783 100644 --- a/libbeat/processors/cache/mem_store.go +++ b/libbeat/processors/cache/mem_store.go @@ -24,24 +24,25 @@ import ( "time" ) +var memStores = memStoreSet{stores: map[string]*memStore{}} + // memStoreSet is a collection of shared memStore caches. type memStoreSet struct { mu sync.Mutex stores map[string]*memStore - typ string // TODO: Remove when a file-backed store exists. } // get returns a memStore cache with the provided ID based on the config. // If a memStore with the ID already exist, its configuration is adjusted // and its reference count is increased. The returned context.CancelFunc -// reduces the reference count and deletes the memStore from set if the +// reduces the reference count and deletes the memStore from the set if the // count reaches zero. func (s *memStoreSet) get(id string, cfg config) (*memStore, context.CancelFunc) { s.mu.Lock() defer s.mu.Unlock() store, ok := s.stores[id] if !ok { - store = newMemStore(cfg, id, s.typ) + store = newMemStore(cfg, id) s.stores[store.id] = store } store.add(cfg) @@ -69,10 +70,6 @@ type memStore struct { // id is the index into global cache store for the cache. id string - // typ is a temporary tag to differentiate memory stores - // from the mocked file store. - // TODO: Remove when a file-backed store exists. - typ string // cap is the maximum number of elements the cache // will hold. If not positive, no limit. @@ -85,10 +82,9 @@ type memStore struct { // newMemStore returns a new memStore configured to apply the give TTL duration. // The memStore is guaranteed not to grow larger than cap elements. id is the // look-up into the global cache store the memStore is held in. -func newMemStore(cfg config, id, typ string) *memStore { +func newMemStore(cfg config, id string) *memStore { return &memStore{ id: id, - typ: typ, cache: make(map[string]*CacheEntry), // Mark the ttl as invalid until we have had a put @@ -103,7 +99,7 @@ func newMemStore(cfg config, id, typ string) *memStore { } } -func (c *memStore) String() string { return c.typ + ":" + c.id } +func (c *memStore) String() string { return "memory:" + c.id } // add updates the receiver for a new operation. It increases the reference // count for the receiver, and if the config is a put operation and has no @@ -158,11 +154,11 @@ func (c *memStore) Get(key string) (any, error) { if !ok { return nil, ErrNoData } - if time.Now().After(v.expires) { + if time.Now().After(v.Expires) { delete(c.cache, key) return nil, ErrNoData } - return v.value, nil + return v.Value, nil } // Put stores the provided value in the cache associated with the given key. @@ -174,9 +170,9 @@ func (c *memStore) Put(key string, val any) error { now := time.Now() c.evictExpired(now) e := &CacheEntry{ - key: key, - value: val, - expires: now.Add(c.ttl), + Key: key, + Value: val, + Expires: now.Add(c.ttl), } c.cache[key] = e heap.Push(&c.expiries, e) @@ -189,11 +185,11 @@ func (c *memStore) Put(key string, val any) error { // it under the capacity limit. func (c *memStore) evictExpired(now time.Time) { for n := 0; (c.effort <= 0 || n < c.effort) && len(c.cache) != 0; n++ { - if c.expiries[0].expires.After(now) { + if c.expiries[0].Expires.After(now) { break } e := c.expiries.pop() - delete(c.cache, e.key) + delete(c.cache, e.Key) } if c.cap <= 0 { // No cap, so depend on effort. @@ -201,7 +197,7 @@ func (c *memStore) evictExpired(now time.Time) { } for len(c.cache) >= c.cap { e := c.expiries.pop() - delete(c.cache, e.key) + delete(c.cache, e.Key) } } @@ -237,7 +233,7 @@ func (h expiryHeap) Len() int { return len(h) } func (h expiryHeap) Less(i, j int) bool { - return h[i].expires.Before(h[j].expires) + return h[i].Expires.Before(h[j].Expires) } func (h expiryHeap) Swap(i, j int) { h[i], h[j] = h[j], h[i] diff --git a/libbeat/processors/cache/mem_store_test.go b/libbeat/processors/cache/mem_store_test.go index 692931854b8..6be5eadb357 100644 --- a/libbeat/processors/cache/mem_store_test.go +++ b/libbeat/processors/cache/mem_store_test.go @@ -42,7 +42,7 @@ var memStoreTests = []struct { name: "new_put", cfg: config{ Store: &storeConfig{ - Memory: &id{"test"}, + Memory: &memConfig{"test"}, Capacity: 1000, Effort: 10, }, @@ -63,7 +63,7 @@ var memStoreTests = []struct { name: "new_get", cfg: config{ Store: &storeConfig{ - Memory: &id{"test"}, + Memory: &memConfig{"test"}, Capacity: 1000, Effort: 10, }, @@ -83,7 +83,7 @@ var memStoreTests = []struct { name: "new_delete", cfg: config{ Store: &storeConfig{ - Memory: &id{"test"}, + Memory: &memConfig{"test"}, Capacity: 1000, Effort: 10, }, @@ -103,7 +103,7 @@ var memStoreTests = []struct { name: "new_get_add_put", cfg: config{ Store: &storeConfig{ - Memory: &id{"test"}, + Memory: &memConfig{"test"}, Capacity: 1000, Effort: 10, }, @@ -123,7 +123,7 @@ var memStoreTests = []struct { doTo: func(s *memStore) error { putCfg := config{ Store: &storeConfig{ - Memory: &id{"test"}, + Memory: &memConfig{"test"}, Capacity: 1000, Effort: 10, }, @@ -149,7 +149,7 @@ var memStoreTests = []struct { name: "ensemble", cfg: config{ Store: &storeConfig{ - Memory: &id{"test"}, + Memory: &memConfig{"test"}, Capacity: 1000, Effort: 10, }, @@ -169,7 +169,7 @@ var memStoreTests = []struct { doTo: func(s *memStore) error { putCfg := config{ Store: &storeConfig{ - Memory: &id{"test"}, + Memory: &memConfig{"test"}, Capacity: 1000, Effort: 10, }, @@ -199,14 +199,14 @@ var memStoreTests = []struct { want: &memStore{ id: "test", cache: map[string]*CacheEntry{ - "one": {key: "one", value: int(1), index: 0}, - "two": {key: "two", value: int(2), index: 1}, - "three": {key: "three", value: int(3), index: 2}, + "one": {Key: "one", Value: int(1), index: 0}, + "two": {Key: "two", Value: int(2), index: 1}, + "three": {Key: "three", Value: int(3), index: 2}, }, expiries: expiryHeap{ - {key: "one", value: int(1), index: 0}, - {key: "two", value: int(2), index: 1}, - {key: "three", value: int(3), index: 2}, + {Key: "one", Value: int(1), index: 0}, + {Key: "two", Value: int(2), index: 1}, + {Key: "three", Value: int(3), index: 2}, }, refs: 2, ttl: time.Second, @@ -225,14 +225,14 @@ var memStoreTests = []struct { want: &memStore{ id: "test", cache: map[string]*CacheEntry{ - "one": {key: "one", value: int(1), index: 0}, - "two": {key: "two", value: int(2), index: 1}, - "three": {key: "three", value: int(3), index: 2}, + "one": {Key: "one", Value: int(1), index: 0}, + "two": {Key: "two", Value: int(2), index: 1}, + "three": {Key: "three", Value: int(3), index: 2}, }, expiries: expiryHeap{ - {key: "one", value: int(1), index: 0}, - {key: "two", value: int(2), index: 1}, - {key: "three", value: int(3), index: 2}, + {Key: "one", Value: int(1), index: 0}, + {Key: "two", Value: int(2), index: 1}, + {Key: "three", Value: int(3), index: 2}, }, refs: 2, ttl: time.Second, @@ -247,12 +247,12 @@ var memStoreTests = []struct { want: &memStore{ id: "test", cache: map[string]*CacheEntry{ - "one": {key: "one", value: int(1), index: 0}, - "three": {key: "three", value: int(3), index: 1}, + "one": {Key: "one", Value: int(1), index: 0}, + "three": {Key: "three", Value: int(3), index: 1}, }, expiries: expiryHeap{ - {key: "one", value: int(1), index: 0}, - {key: "three", value: int(3), index: 1}, + {Key: "one", Value: int(1), index: 0}, + {Key: "three", Value: int(3), index: 1}, }, refs: 2, ttl: time.Second, @@ -271,12 +271,12 @@ var memStoreTests = []struct { want: &memStore{ id: "test", cache: map[string]*CacheEntry{ - "one": {key: "one", value: int(1), index: 0}, - "three": {key: "three", value: int(3), index: 1}, + "one": {Key: "one", Value: int(1), index: 0}, + "three": {Key: "three", Value: int(3), index: 1}, }, expiries: expiryHeap{ - {key: "one", value: int(1), index: 0}, - {key: "three", value: int(3), index: 1}, + {Key: "one", Value: int(1), index: 0}, + {Key: "three", Value: int(3), index: 1}, }, refs: 2, ttl: time.Second, @@ -295,12 +295,12 @@ var memStoreTests = []struct { want: &memStore{ id: "test", cache: map[string]*CacheEntry{ - "one": {key: "one", value: int(1), index: 0}, - "three": {key: "three", value: int(3), index: 1}, + "one": {Key: "one", Value: int(1), index: 0}, + "three": {Key: "three", Value: int(3), index: 1}, }, expiries: expiryHeap{ - {key: "one", value: int(1), index: 0}, - {key: "three", value: int(3), index: 1}, + {Key: "one", Value: int(1), index: 0}, + {Key: "three", Value: int(3), index: 1}, }, refs: 1, ttl: time.Second, @@ -332,14 +332,14 @@ var memStoreTests = []struct { func TestMemStore(t *testing.T) { allow := cmp.AllowUnexported(memStore{}, CacheEntry{}) - ignoreInMemStore := cmpopts.IgnoreFields(memStore{}, "mu", "typ") - ignoreInCacheEntry := cmpopts.IgnoreFields(CacheEntry{}, "expires") + ignoreInMemStore := cmpopts.IgnoreFields(memStore{}, "mu") + ignoreInCacheEntry := cmpopts.IgnoreFields(CacheEntry{}, "Expires") for _, test := range memStoreTests { t.Run(test.name, func(t *testing.T) { // Construct the store and put in into the stores map as // we would if we were calling Run. - store := newMemStore(test.cfg, test.cfg.Store.Memory.ID, "memory") + store := newMemStore(test.cfg, test.cfg.Store.Memory.ID) store.add(test.cfg) memStores.add(store) @@ -361,14 +361,14 @@ func TestMemStore(t *testing.T) { } } -// add adds the store to the set, it is used only for testing. +// add adds the store to the set. It is used only for testing. func (s *memStoreSet) add(store *memStore) { s.mu.Lock() s.stores[store.id] = store s.mu.Unlock() } -// has returns whether the store exists in the set, it is used only for testing. +// has returns whether the store exists in the set. It is used only for testing. func (s *memStoreSet) has(id string) bool { s.mu.Lock() _, ok := s.stores[id] From 017b589ca3c87c54e0c41e0bd2d9bdaf0f22e6a4 Mon Sep 17 00:00:00 2001 From: Dan Kortschak <90160302+efd6@users.noreply.github.com> Date: Thu, 28 Sep 2023 19:50:00 +0930 Subject: [PATCH 15/22] x-pack/filebeat/input/httpjson: improve template evaluation logging (#36668) This adds valuable missing context to the debug logging emitted for template evaluation. Previously, only the final result was printed to the log, which failed to provide the information required to be able to determine why any given template was being executed. So add the target name to the logs. --- CHANGELOG.next.asciidoc | 1 + x-pack/filebeat/input/httpjson/cursor.go | 2 +- x-pack/filebeat/input/httpjson/input_test.go | 2 ++ x-pack/filebeat/input/httpjson/rate_limiter.go | 6 +++--- x-pack/filebeat/input/httpjson/request.go | 2 +- x-pack/filebeat/input/httpjson/value_tpl.go | 6 +++--- x-pack/filebeat/input/httpjson/value_tpl_test.go | 4 +++- 7 files changed, 14 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index a8ed9f032c5..2064650e19f 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -218,6 +218,7 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff] - Disable warning message about ingest pipeline loading when running under Elastic Agent. {pull}36659[36659] - Add input metrics to http_endpoint input. {issue}36402[36402] {pull}36427[36427] - Update mito CEL extension library to v1.6.0. {pull}36651[36651] +- Improve template evaluation logging for HTTPJSON input. {pull}36668[36668] *Auditbeat* diff --git a/x-pack/filebeat/input/httpjson/cursor.go b/x-pack/filebeat/input/httpjson/cursor.go index 92cd53a52a2..1a864361ee7 100644 --- a/x-pack/filebeat/input/httpjson/cursor.go +++ b/x-pack/filebeat/input/httpjson/cursor.go @@ -50,7 +50,7 @@ func (c *cursor) update(trCtx *transformContext) { } for k, cfg := range c.cfg { - v, _ := cfg.Value.Execute(trCtx, transformable{}, "", cfg.Default, c.log) + v, _ := cfg.Value.Execute(trCtx, transformable{}, k, cfg.Default, c.log) if v != "" || !cfg.mustIgnoreEmptyValue() { _, _ = c.state.Put(k, v) c.log.Debugf("cursor.%s stored with %s", k, v) diff --git a/x-pack/filebeat/input/httpjson/input_test.go b/x-pack/filebeat/input/httpjson/input_test.go index e4d94527e72..de4cc3f11e6 100644 --- a/x-pack/filebeat/input/httpjson/input_test.go +++ b/x-pack/filebeat/input/httpjson/input_test.go @@ -1248,6 +1248,8 @@ var testCases = []struct { } func TestInput(t *testing.T) { + logp.TestingSetup() + for _, test := range testCases { t.Run(test.name, func(t *testing.T) { if test.skipReason != "" { diff --git a/x-pack/filebeat/input/httpjson/rate_limiter.go b/x-pack/filebeat/input/httpjson/rate_limiter.go index dcbed7c1ac9..30c50ae3f05 100644 --- a/x-pack/filebeat/input/httpjson/rate_limiter.go +++ b/x-pack/filebeat/input/httpjson/rate_limiter.go @@ -104,7 +104,7 @@ func (r *rateLimiter) getRateLimit(resp *http.Response) (int64, error) { ctx := emptyTransformContext() ctx.updateLastResponse(response{header: resp.Header.Clone()}) - remaining, _ := r.remaining.Execute(ctx, tr, "", nil, r.log) + remaining, _ := r.remaining.Execute(ctx, tr, "rate-limit_remaining", nil, r.log) if remaining == "" { return 0, errors.New("remaining value is empty") } @@ -119,7 +119,7 @@ func (r *rateLimiter) getRateLimit(resp *http.Response) (int64, error) { if r.earlyLimit != nil { earlyLimit := *r.earlyLimit if earlyLimit > 0 && earlyLimit < 1 { - limit, _ := r.limit.Execute(ctx, tr, "", nil, r.log) + limit, _ := r.limit.Execute(ctx, tr, "early_limit", nil, r.log) if limit != "" { l, err := strconv.ParseInt(limit, 10, 64) if err == nil { @@ -141,7 +141,7 @@ func (r *rateLimiter) getRateLimit(resp *http.Response) (int64, error) { return 0, nil } - reset, _ := r.reset.Execute(ctx, tr, "", nil, r.log) + reset, _ := r.reset.Execute(ctx, tr, "rate-limit_reset", nil, r.log) if reset == "" { return 0, errors.New("reset value is empty") } diff --git a/x-pack/filebeat/input/httpjson/request.go b/x-pack/filebeat/input/httpjson/request.go index f70ab4094df..248918e8116 100644 --- a/x-pack/filebeat/input/httpjson/request.go +++ b/x-pack/filebeat/input/httpjson/request.go @@ -385,7 +385,7 @@ func evaluateResponse(expression *valueTpl, data []byte, log *logp.Logger) (bool lastResponse: &response{body: dataMap}, } - val, err := expression.Execute(paramCtx, tr, "", nil, log) + val, err := expression.Execute(paramCtx, tr, "response_evaluation", nil, log) if err != nil { return false, fmt.Errorf("error while evaluating expression: %w", err) } diff --git a/x-pack/filebeat/input/httpjson/value_tpl.go b/x-pack/filebeat/input/httpjson/value_tpl.go index 133271e726f..97bc75a62d9 100644 --- a/x-pack/filebeat/input/httpjson/value_tpl.go +++ b/x-pack/filebeat/input/httpjson/value_tpl.go @@ -96,7 +96,7 @@ func (t *valueTpl) Unpack(in string) error { func (t *valueTpl) Execute(trCtx *transformContext, tr transformable, targetName string, defaultVal *valueTpl, log *logp.Logger) (val string, err error) { fallback := func(err error) (string, error) { if defaultVal != nil { - log.Debugf("template execution: falling back to default value") + log.Debugw("template execution: falling back to default value", "target", targetName) return defaultVal.Execute(emptyTransformContext(), transformable{}, targetName, nil, log) } return "", err @@ -107,7 +107,7 @@ func (t *valueTpl) Execute(trCtx *transformContext, tr transformable, targetName val, err = fallback(errExecutingTemplate) } if err != nil { - log.Debugf("template execution failed: %v", err) + log.Debugw("template execution failed", "target", targetName, "error", err) } tryDebugTemplateValue(targetName, val, log) }() @@ -142,7 +142,7 @@ func tryDebugTemplateValue(target, val string, log *logp.Logger) { case "Authorization", "Proxy-Authorization": // ignore filtered headers default: - log.Debugf("template execution: evaluated template %q", val) + log.Debugw("evaluated template", "target", target, "value", val) } } diff --git a/x-pack/filebeat/input/httpjson/value_tpl_test.go b/x-pack/filebeat/input/httpjson/value_tpl_test.go index 37589cd8821..487451099ad 100644 --- a/x-pack/filebeat/input/httpjson/value_tpl_test.go +++ b/x-pack/filebeat/input/httpjson/value_tpl_test.go @@ -19,6 +19,8 @@ import ( ) func TestValueTpl(t *testing.T) { + logp.TestingSetup() + cases := []struct { name string value string @@ -764,7 +766,7 @@ func TestValueTpl(t *testing.T) { assert.NoError(t, defTpl.Unpack(tc.paramDefVal)) } - got, err := tpl.Execute(tc.paramCtx, tc.paramTr, "", defTpl, logp.NewLogger("")) + got, err := tpl.Execute(tc.paramCtx, tc.paramTr, tc.name, defTpl, logp.NewLogger("")) assert.Equal(t, tc.expectedVal, got) if tc.expectedError == "" { assert.NoError(t, err) From 8dcf23cb650b6752283fc178a42d75b3b217d26b Mon Sep 17 00:00:00 2001 From: Denis Date: Thu, 28 Sep 2023 14:28:35 +0200 Subject: [PATCH 16/22] Make file system metadata values strings (#36697) To better align with ECS and better store the values in Elasticsearch. --- CHANGELOG.next.asciidoc | 1 + libbeat/reader/readfile/fs_metafields_other.go | 5 +++-- libbeat/reader/readfile/fs_metafields_windows.go | 7 ++++--- libbeat/reader/readfile/metafields_other_test.go | 4 ++-- libbeat/reader/readfile/metafields_windows_test.go | 6 +++--- 5 files changed, 13 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index 2064650e19f..21f721492d0 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -15,6 +15,7 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff] *Filebeat* +- Switch types of `log.file.device`, `log.file.inode`, `log.file.idxhi`, `log.file.idxlo` and `log.file.vol` fields to strings to better align with ECS and integrations. {pull}36697[36697] *Heartbeat* diff --git a/libbeat/reader/readfile/fs_metafields_other.go b/libbeat/reader/readfile/fs_metafields_other.go index 425b7435fe8..cc764c4bbcc 100644 --- a/libbeat/reader/readfile/fs_metafields_other.go +++ b/libbeat/reader/readfile/fs_metafields_other.go @@ -22,6 +22,7 @@ package readfile import ( "fmt" "os" + "strconv" "github.com/elastic/beats/v7/libbeat/common/file" "github.com/elastic/elastic-agent-libs/mapstr" @@ -34,11 +35,11 @@ const ( func setFileSystemMetadata(fi os.FileInfo, fields mapstr.M) error { osstate := file.GetOSState(fi) - _, err := fields.Put(deviceIDKey, osstate.Device) + _, err := fields.Put(deviceIDKey, strconv.FormatUint(osstate.Device, 10)) if err != nil { return fmt.Errorf("failed to set %q: %w", deviceIDKey, err) } - _, err = fields.Put(inodeKey, osstate.Inode) + _, err = fields.Put(inodeKey, osstate.InodeString()) if err != nil { return fmt.Errorf("failed to set %q: %w", inodeKey, err) } diff --git a/libbeat/reader/readfile/fs_metafields_windows.go b/libbeat/reader/readfile/fs_metafields_windows.go index 113a74cf829..97bfd5c72de 100644 --- a/libbeat/reader/readfile/fs_metafields_windows.go +++ b/libbeat/reader/readfile/fs_metafields_windows.go @@ -20,6 +20,7 @@ package readfile import ( "fmt" "os" + "strconv" "github.com/elastic/beats/v7/libbeat/common/file" "github.com/elastic/elastic-agent-libs/mapstr" @@ -33,15 +34,15 @@ const ( func setFileSystemMetadata(fi os.FileInfo, fields mapstr.M) error { osstate := file.GetOSState(fi) - _, err := fields.Put(idxhiKey, osstate.IdxHi) + _, err := fields.Put(idxhiKey, strconv.FormatUint(osstate.IdxHi, 10)) if err != nil { return fmt.Errorf("failed to set %q: %w", idxhiKey, err) } - _, err = fields.Put(idxloKey, osstate.IdxLo) + _, err = fields.Put(idxloKey, strconv.FormatUint(osstate.IdxLo, 10)) if err != nil { return fmt.Errorf("failed to set %q: %w", idxloKey, err) } - _, err = fields.Put(volKey, osstate.Vol) + _, err = fields.Put(volKey, strconv.FormatUint(osstate.Vol, 10)) if err != nil { return fmt.Errorf("failed to set %q: %w", volKey, err) } diff --git a/libbeat/reader/readfile/metafields_other_test.go b/libbeat/reader/readfile/metafields_other_test.go index 7874d24d4ae..b9d25b85420 100644 --- a/libbeat/reader/readfile/metafields_other_test.go +++ b/libbeat/reader/readfile/metafields_other_test.go @@ -44,13 +44,13 @@ func checkFields(t *testing.T, expected, actual mapstr.M) { dev, err := actual.GetValue(deviceIDKey) require.NoError(t, err) - require.Equal(t, uint64(17), dev) + require.Equal(t, "17", dev) err = actual.Delete(deviceIDKey) require.NoError(t, err) inode, err := actual.GetValue(inodeKey) require.NoError(t, err) - require.Equal(t, uint64(999), inode) + require.Equal(t, "999", inode) err = actual.Delete(inodeKey) require.NoError(t, err) diff --git a/libbeat/reader/readfile/metafields_windows_test.go b/libbeat/reader/readfile/metafields_windows_test.go index 37ff5cb4bda..dce0b8d2161 100644 --- a/libbeat/reader/readfile/metafields_windows_test.go +++ b/libbeat/reader/readfile/metafields_windows_test.go @@ -52,19 +52,19 @@ func checkFields(t *testing.T, expected, actual mapstr.M) { idxhi, err := actual.GetValue(idxhiKey) require.NoError(t, err) - require.Equal(t, uint64(100), idxhi) + require.Equal(t, "100", idxhi) err = actual.Delete(idxhiKey) require.NoError(t, err) idxlo, err := actual.GetValue(idxloKey) require.NoError(t, err) - require.Equal(t, uint64(200), idxlo) + require.Equal(t, "200", idxlo) err = actual.Delete(idxloKey) require.NoError(t, err) vol, err := actual.GetValue(volKey) require.NoError(t, err) - require.Equal(t, uint64(300), vol) + require.Equal(t, "300", vol) err = actual.Delete(volKey) require.NoError(t, err) From 231e93a6d20e35a8fc6f34dc767110b8a27ec645 Mon Sep 17 00:00:00 2001 From: Fae Charlton Date: Thu, 28 Sep 2023 09:29:14 -0400 Subject: [PATCH 17/22] Enable compression by default for Elasticsearch outputs (#36681) * Enable compression by default for Elasticsearch outputs * update config template * update changelog * regenerate config templates * update docs * make check --- CHANGELOG.next.asciidoc | 2 ++ auditbeat/auditbeat.reference.yml | 5 +++-- filebeat/filebeat.reference.yml | 5 +++-- heartbeat/heartbeat.reference.yml | 5 +++-- .../output-elasticsearch.reference.yml.tmpl | 5 +++-- libbeat/outputs/elasticsearch/config.go | 2 +- libbeat/outputs/elasticsearch/config_test.go | 22 +++++++++++++++++++ .../elasticsearch/docs/elasticsearch.asciidoc | 2 +- metricbeat/metricbeat.reference.yml | 5 +++-- packetbeat/packetbeat.reference.yml | 5 +++-- winlogbeat/winlogbeat.reference.yml | 5 +++-- x-pack/auditbeat/auditbeat.reference.yml | 5 +++-- x-pack/filebeat/filebeat.reference.yml | 5 +++-- .../functionbeat/functionbeat.reference.yml | 5 +++-- x-pack/heartbeat/heartbeat.reference.yml | 5 +++-- x-pack/metricbeat/metricbeat.reference.yml | 5 +++-- x-pack/osquerybeat/osquerybeat.reference.yml | 5 +++-- x-pack/packetbeat/packetbeat.reference.yml | 5 +++-- x-pack/winlogbeat/winlogbeat.reference.yml | 5 +++-- 19 files changed, 71 insertions(+), 32 deletions(-) diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index 21f721492d0..e5b317b1379 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -9,6 +9,8 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff] ==== Breaking changes *Affecting all Beats* +- The Elasticsearch output now enables compression by default. This decreases network data usage by an average of 70-80%, in exchange for 20-25% increased CPU use and ~10% increased ingestion time. The previous default can be restored by setting the flag `compression_level: 0` under `output.elasticsearch`. {pull}36681[36681] + *Auditbeat* diff --git a/auditbeat/auditbeat.reference.yml b/auditbeat/auditbeat.reference.yml index 892d4e1b2d0..c3b10d03f79 100644 --- a/auditbeat/auditbeat.reference.yml +++ b/auditbeat/auditbeat.reference.yml @@ -450,8 +450,9 @@ output.elasticsearch: # IPv6 addresses should always be defined as: https://[2001:db8::1]:9200 hosts: ["localhost:9200"] - # Set gzip compression level. - #compression_level: 0 + # Set gzip compression level. Set to 0 to disable compression. + # The default is 1. + #compression_level: 1 # Configure escaping HTML symbols in strings. #escape_html: false diff --git a/filebeat/filebeat.reference.yml b/filebeat/filebeat.reference.yml index 2de0bc61f56..def62fbca7c 100644 --- a/filebeat/filebeat.reference.yml +++ b/filebeat/filebeat.reference.yml @@ -1546,8 +1546,9 @@ output.elasticsearch: # IPv6 addresses should always be defined as: https://[2001:db8::1]:9200 hosts: ["localhost:9200"] - # Set gzip compression level. - #compression_level: 0 + # Set gzip compression level. Set to 0 to disable compression. + # The default is 1. + #compression_level: 1 # Configure escaping HTML symbols in strings. #escape_html: false diff --git a/heartbeat/heartbeat.reference.yml b/heartbeat/heartbeat.reference.yml index b8281727026..fdbdcbe7042 100644 --- a/heartbeat/heartbeat.reference.yml +++ b/heartbeat/heartbeat.reference.yml @@ -542,8 +542,9 @@ output.elasticsearch: # IPv6 addresses should always be defined as: https://[2001:db8::1]:9200 hosts: ["localhost:9200"] - # Set gzip compression level. - #compression_level: 0 + # Set gzip compression level. Set to 0 to disable compression. + # The default is 1. + #compression_level: 1 # Configure escaping HTML symbols in strings. #escape_html: false diff --git a/libbeat/_meta/config/output-elasticsearch.reference.yml.tmpl b/libbeat/_meta/config/output-elasticsearch.reference.yml.tmpl index edc40e632d7..48f1ba2c007 100644 --- a/libbeat/_meta/config/output-elasticsearch.reference.yml.tmpl +++ b/libbeat/_meta/config/output-elasticsearch.reference.yml.tmpl @@ -9,8 +9,9 @@ output.elasticsearch: # IPv6 addresses should always be defined as: https://[2001:db8::1]:9200 hosts: ["localhost:9200"] - # Set gzip compression level. - #compression_level: 0 + # Set gzip compression level. Set to 0 to disable compression. + # The default is 1. + #compression_level: 1 # Configure escaping HTML symbols in strings. #escape_html: false diff --git a/libbeat/outputs/elasticsearch/config.go b/libbeat/outputs/elasticsearch/config.go index 7134e9333cb..ca77a44b833 100644 --- a/libbeat/outputs/elasticsearch/config.go +++ b/libbeat/outputs/elasticsearch/config.go @@ -65,7 +65,7 @@ var ( Password: "", APIKey: "", MaxRetries: 3, - CompressionLevel: 0, + CompressionLevel: 1, EscapeHTML: false, Kerberos: nil, LoadBalance: true, diff --git a/libbeat/outputs/elasticsearch/config_test.go b/libbeat/outputs/elasticsearch/config_test.go index 22fe4bb4c82..32cb90c904c 100644 --- a/libbeat/outputs/elasticsearch/config_test.go +++ b/libbeat/outputs/elasticsearch/config_test.go @@ -97,6 +97,28 @@ non_indexable_policy.dead_letter_index: } } +func TestCompressionIsOnByDefault(t *testing.T) { + config := "" + c := conf.MustNewConfigFrom(config) + elasticsearchOutputConfig, err := readConfig(c) + if err != nil { + t.Fatalf("Can't create test configuration from valid input") + } + assert.Equal(t, 1, elasticsearchOutputConfig.CompressionLevel, "Default compression level should be 1") +} + +func TestExplicitCompressionLevelOverridesDefault(t *testing.T) { + config := ` +compression_level: 0 +` + c := conf.MustNewConfigFrom(config) + elasticsearchOutputConfig, err := readConfig(c) + if err != nil { + t.Fatalf("Can't create test configuration from valid input") + } + assert.Equal(t, 0, elasticsearchOutputConfig.CompressionLevel, "Explicit compression level should override defaults") +} + func readConfig(cfg *conf.C) (*elasticsearchConfig, error) { c := defaultConfig if err := cfg.Unpack(&c); err != nil { diff --git a/libbeat/outputs/elasticsearch/docs/elasticsearch.asciidoc b/libbeat/outputs/elasticsearch/docs/elasticsearch.asciidoc index cbe74279dcb..5ea65c16dc4 100644 --- a/libbeat/outputs/elasticsearch/docs/elasticsearch.asciidoc +++ b/libbeat/outputs/elasticsearch/docs/elasticsearch.asciidoc @@ -105,7 +105,7 @@ The compression level must be in the range of `1` (best speed) to `9` (best comp Increasing the compression level will reduce the network usage but will increase the cpu usage. -The default value is `0`. +The default value is `1`. ===== `escape_html` diff --git a/metricbeat/metricbeat.reference.yml b/metricbeat/metricbeat.reference.yml index eabdcc8e918..a03fbf080b4 100644 --- a/metricbeat/metricbeat.reference.yml +++ b/metricbeat/metricbeat.reference.yml @@ -1285,8 +1285,9 @@ output.elasticsearch: # IPv6 addresses should always be defined as: https://[2001:db8::1]:9200 hosts: ["localhost:9200"] - # Set gzip compression level. - #compression_level: 0 + # Set gzip compression level. Set to 0 to disable compression. + # The default is 1. + #compression_level: 1 # Configure escaping HTML symbols in strings. #escape_html: false diff --git a/packetbeat/packetbeat.reference.yml b/packetbeat/packetbeat.reference.yml index 7442b7f6a0f..f1e036707b7 100644 --- a/packetbeat/packetbeat.reference.yml +++ b/packetbeat/packetbeat.reference.yml @@ -916,8 +916,9 @@ output.elasticsearch: # IPv6 addresses should always be defined as: https://[2001:db8::1]:9200 hosts: ["localhost:9200"] - # Set gzip compression level. - #compression_level: 0 + # Set gzip compression level. Set to 0 to disable compression. + # The default is 1. + #compression_level: 1 # Configure escaping HTML symbols in strings. #escape_html: false diff --git a/winlogbeat/winlogbeat.reference.yml b/winlogbeat/winlogbeat.reference.yml index 64377c0fc6d..1c8ebebc91a 100644 --- a/winlogbeat/winlogbeat.reference.yml +++ b/winlogbeat/winlogbeat.reference.yml @@ -332,8 +332,9 @@ output.elasticsearch: # IPv6 addresses should always be defined as: https://[2001:db8::1]:9200 hosts: ["localhost:9200"] - # Set gzip compression level. - #compression_level: 0 + # Set gzip compression level. Set to 0 to disable compression. + # The default is 1. + #compression_level: 1 # Configure escaping HTML symbols in strings. #escape_html: false diff --git a/x-pack/auditbeat/auditbeat.reference.yml b/x-pack/auditbeat/auditbeat.reference.yml index e9ecd33ae39..7b575e6b0e8 100644 --- a/x-pack/auditbeat/auditbeat.reference.yml +++ b/x-pack/auditbeat/auditbeat.reference.yml @@ -506,8 +506,9 @@ output.elasticsearch: # IPv6 addresses should always be defined as: https://[2001:db8::1]:9200 hosts: ["localhost:9200"] - # Set gzip compression level. - #compression_level: 0 + # Set gzip compression level. Set to 0 to disable compression. + # The default is 1. + #compression_level: 1 # Configure escaping HTML symbols in strings. #escape_html: false diff --git a/x-pack/filebeat/filebeat.reference.yml b/x-pack/filebeat/filebeat.reference.yml index 9ea0dabfb0b..ff9b523f947 100644 --- a/x-pack/filebeat/filebeat.reference.yml +++ b/x-pack/filebeat/filebeat.reference.yml @@ -3916,8 +3916,9 @@ output.elasticsearch: # IPv6 addresses should always be defined as: https://[2001:db8::1]:9200 hosts: ["localhost:9200"] - # Set gzip compression level. - #compression_level: 0 + # Set gzip compression level. Set to 0 to disable compression. + # The default is 1. + #compression_level: 1 # Configure escaping HTML symbols in strings. #escape_html: false diff --git a/x-pack/functionbeat/functionbeat.reference.yml b/x-pack/functionbeat/functionbeat.reference.yml index 7855538f621..5c42e49b44f 100644 --- a/x-pack/functionbeat/functionbeat.reference.yml +++ b/x-pack/functionbeat/functionbeat.reference.yml @@ -574,8 +574,9 @@ output.elasticsearch: # IPv6 addresses should always be defined as: https://[2001:db8::1]:9200 hosts: ["localhost:9200"] - # Set gzip compression level. - #compression_level: 0 + # Set gzip compression level. Set to 0 to disable compression. + # The default is 1. + #compression_level: 1 # Configure escaping HTML symbols in strings. #escape_html: false diff --git a/x-pack/heartbeat/heartbeat.reference.yml b/x-pack/heartbeat/heartbeat.reference.yml index b8281727026..fdbdcbe7042 100644 --- a/x-pack/heartbeat/heartbeat.reference.yml +++ b/x-pack/heartbeat/heartbeat.reference.yml @@ -542,8 +542,9 @@ output.elasticsearch: # IPv6 addresses should always be defined as: https://[2001:db8::1]:9200 hosts: ["localhost:9200"] - # Set gzip compression level. - #compression_level: 0 + # Set gzip compression level. Set to 0 to disable compression. + # The default is 1. + #compression_level: 1 # Configure escaping HTML symbols in strings. #escape_html: false diff --git a/x-pack/metricbeat/metricbeat.reference.yml b/x-pack/metricbeat/metricbeat.reference.yml index fa15aca7fb6..5ea3499cee5 100644 --- a/x-pack/metricbeat/metricbeat.reference.yml +++ b/x-pack/metricbeat/metricbeat.reference.yml @@ -1846,8 +1846,9 @@ output.elasticsearch: # IPv6 addresses should always be defined as: https://[2001:db8::1]:9200 hosts: ["localhost:9200"] - # Set gzip compression level. - #compression_level: 0 + # Set gzip compression level. Set to 0 to disable compression. + # The default is 1. + #compression_level: 1 # Configure escaping HTML symbols in strings. #escape_html: false diff --git a/x-pack/osquerybeat/osquerybeat.reference.yml b/x-pack/osquerybeat/osquerybeat.reference.yml index 416462f3f47..9d2c21c5ad1 100644 --- a/x-pack/osquerybeat/osquerybeat.reference.yml +++ b/x-pack/osquerybeat/osquerybeat.reference.yml @@ -293,8 +293,9 @@ output.elasticsearch: # IPv6 addresses should always be defined as: https://[2001:db8::1]:9200 hosts: ["localhost:9200"] - # Set gzip compression level. - #compression_level: 0 + # Set gzip compression level. Set to 0 to disable compression. + # The default is 1. + #compression_level: 1 # Configure escaping HTML symbols in strings. #escape_html: false diff --git a/x-pack/packetbeat/packetbeat.reference.yml b/x-pack/packetbeat/packetbeat.reference.yml index 7442b7f6a0f..f1e036707b7 100644 --- a/x-pack/packetbeat/packetbeat.reference.yml +++ b/x-pack/packetbeat/packetbeat.reference.yml @@ -916,8 +916,9 @@ output.elasticsearch: # IPv6 addresses should always be defined as: https://[2001:db8::1]:9200 hosts: ["localhost:9200"] - # Set gzip compression level. - #compression_level: 0 + # Set gzip compression level. Set to 0 to disable compression. + # The default is 1. + #compression_level: 1 # Configure escaping HTML symbols in strings. #escape_html: false diff --git a/x-pack/winlogbeat/winlogbeat.reference.yml b/x-pack/winlogbeat/winlogbeat.reference.yml index 3c6799e7329..0ec02b0e5ae 100644 --- a/x-pack/winlogbeat/winlogbeat.reference.yml +++ b/x-pack/winlogbeat/winlogbeat.reference.yml @@ -334,8 +334,9 @@ output.elasticsearch: # IPv6 addresses should always be defined as: https://[2001:db8::1]:9200 hosts: ["localhost:9200"] - # Set gzip compression level. - #compression_level: 0 + # Set gzip compression level. Set to 0 to disable compression. + # The default is 1. + #compression_level: 1 # Configure escaping HTML symbols in strings. #escape_html: false From 6813a214cc50641a3205a95931b746a6745cc847 Mon Sep 17 00:00:00 2001 From: Dan Kortschak <90160302+efd6@users.noreply.github.com> Date: Fri, 29 Sep 2023 08:19:55 +0930 Subject: [PATCH 18/22] x-pack/filebeat/input/cel: add support for partial evaluation debug logging (#36652) --- CHANGELOG.next.asciidoc | 1 + .../filebeat/docs/inputs/input-cel.asciidoc | 3 ++ x-pack/filebeat/input/cel/config.go | 2 +- x-pack/filebeat/input/cel/input.go | 16 +++++++-- x-pack/filebeat/input/cel/input_test.go | 36 +++++++++++++++++++ 5 files changed, 55 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index e5b317b1379..55e90b2df22 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -222,6 +222,7 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff] - Add input metrics to http_endpoint input. {issue}36402[36402] {pull}36427[36427] - Update mito CEL extension library to v1.6.0. {pull}36651[36651] - Improve template evaluation logging for HTTPJSON input. {pull}36668[36668] +- Add CEL partial value debug function. {pull}36652[36652] *Auditbeat* diff --git a/x-pack/filebeat/docs/inputs/input-cel.asciidoc b/x-pack/filebeat/docs/inputs/input-cel.asciidoc index 258d23096e6..b4389e34c3c 100644 --- a/x-pack/filebeat/docs/inputs/input-cel.asciidoc +++ b/x-pack/filebeat/docs/inputs/input-cel.asciidoc @@ -234,6 +234,9 @@ As noted above the `cel` input provides functions, macros, and global variables ** {mito_docs}/lib#hdr-Try[Try] ** {mito_docs}/lib#hdr-Is_Error[Is Error] +* {mito_docs}/lib#Debug[Debug] — the debug handler registers a logger with the name extension `cel_debug` and calls to the CEL `debug` function are emitted to that logger. +** {mito_docs}/lib#hdr-Debug[Debug] + In addition to the extensions provided in the packages listed above, a global variable `useragent` is also provided which gives the user CEL program access to the {beatname_lc} user-agent string. Additionally, it supports authentication via Basic auth, HTTP Headers or oauth2. diff --git a/x-pack/filebeat/input/cel/config.go b/x-pack/filebeat/input/cel/config.go index e37fe81eeec..5a62a3ad572 100644 --- a/x-pack/filebeat/input/cel/config.go +++ b/x-pack/filebeat/input/cel/config.go @@ -89,7 +89,7 @@ func (c config) Validate() error { if len(c.Regexps) != 0 { patterns = map[string]*regexp.Regexp{".": nil} } - _, err = newProgram(context.Background(), c.Program, root, client, nil, nil, patterns, c.XSDs) + _, err = newProgram(context.Background(), c.Program, root, client, nil, nil, patterns, c.XSDs, logp.L().Named("input.cel")) if err != nil { return fmt.Errorf("failed to check program: %w", err) } diff --git a/x-pack/filebeat/input/cel/input.go b/x-pack/filebeat/input/cel/input.go index 557ad5422e9..ea4958b9c30 100644 --- a/x-pack/filebeat/input/cel/input.go +++ b/x-pack/filebeat/input/cel/input.go @@ -150,7 +150,7 @@ func (i input) run(env v2.Context, src *source, cursor map[string]interface{}, p Password: cfg.Auth.Basic.Password, } } - prg, err := newProgram(ctx, cfg.Program, root, client, limiter, auth, patterns, cfg.XSDs) + prg, err := newProgram(ctx, cfg.Program, root, client, limiter, auth, patterns, cfg.XSDs, log) if err != nil { return err } @@ -861,7 +861,7 @@ var ( } ) -func newProgram(ctx context.Context, src, root string, client *http.Client, limiter *rate.Limiter, auth *lib.BasicAuth, patterns map[string]*regexp.Regexp, xsd map[string]string) (cel.Program, error) { +func newProgram(ctx context.Context, src, root string, client *http.Client, limiter *rate.Limiter, auth *lib.BasicAuth, patterns map[string]*regexp.Regexp, xsd map[string]string, log *logp.Logger) (cel.Program, error) { xml, err := lib.XML(nil, xsd) if err != nil { return nil, fmt.Errorf("failed to build xml type hints: %w", err) @@ -875,6 +875,7 @@ func newProgram(ctx context.Context, src, root string, client *http.Client, limi lib.Strings(), lib.Time(), lib.Try(), + lib.Debug(debug(log)), lib.File(mimetypes), lib.MIME(mimetypes), lib.Regexp(patterns), @@ -906,6 +907,17 @@ func newProgram(ctx context.Context, src, root string, client *http.Client, limi return prg, nil } +func debug(log *logp.Logger) func(string, any) { + log = log.Named("cel_debug") + return func(tag string, value any) { + level := "DEBUG" + if _, ok := value.(error); ok { + level = "ERROR" + } + log.Debugw(level, "tag", tag, "value", value) + } +} + func evalWith(ctx context.Context, prg cel.Program, state map[string]interface{}, now time.Time) (map[string]interface{}, error) { out, _, err := prg.ContextEval(ctx, map[string]interface{}{ // Replace global program "now" with current time. This is necessary diff --git a/x-pack/filebeat/input/cel/input_test.go b/x-pack/filebeat/input/cel/input_test.go index d9f87f103d4..bc0cf171471 100644 --- a/x-pack/filebeat/input/cel/input_test.go +++ b/x-pack/filebeat/input/cel/input_test.go @@ -1189,6 +1189,41 @@ var inputTests = []struct { }, }, + { + name: "debug", + config: map[string]interface{}{ + "interval": 1, + "program": `{"events":[{"message":{"value": 1+debug("partial sum", 2+3)}}]}`, + "state": nil, + "resource": map[string]interface{}{ + "url": "", + }, + }, + time: func() time.Time { return time.Date(2010, 2, 8, 0, 0, 0, 0, time.UTC) }, + want: []map[string]interface{}{{ + "message": map[string]interface{}{ + "value": 6.0, // float64 due to json encoding. + }, + }}, + }, + { + name: "debug_error", + config: map[string]interface{}{ + "interval": 1, + "program": `{"events":[{"message":{"value": try(debug("divide by zero", 0/0))}}]}`, + "state": nil, + "resource": map[string]interface{}{ + "url": "", + }, + }, + time: func() time.Time { return time.Date(2010, 2, 8, 0, 0, 0, 0, time.UTC) }, + want: []map[string]interface{}{{ + "message": map[string]interface{}{ + "value": "division by zero", + }, + }}, + }, + // not yet done from httpjson (some are redundant since they are compositional products). // // cursor/pagination (place above auth test block) @@ -1207,6 +1242,7 @@ func TestInput(t *testing.T) { "ndjson_log_file_simple_file_scheme": "Path handling on Windows is incompatible with url.Parse/url.URL.String. See go.dev/issue/6027.", } + logp.TestingSetup() for _, test := range inputTests { t.Run(test.name, func(t *testing.T) { if reason, skip := skipOnWindows[test.name]; runtime.GOOS == "windows" && skip { From 49cc14d35d5eedffdcb6d1d0d2f9fbf49f74dc92 Mon Sep 17 00:00:00 2001 From: Dan Kortschak <90160302+efd6@users.noreply.github.com> Date: Fri, 29 Sep 2023 08:47:18 +0930 Subject: [PATCH 19/22] libbeat/processors/cache: document capacity configuration (#36685) --- libbeat/processors/cache/config.go | 8 +++++--- libbeat/processors/cache/docs/cache.asciidoc | 11 +++++++---- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/libbeat/processors/cache/config.go b/libbeat/processors/cache/config.go index 36eeb423fc2..03e64ac19c5 100644 --- a/libbeat/processors/cache/config.go +++ b/libbeat/processors/cache/config.go @@ -91,10 +91,12 @@ type storeConfig struct { Memory *memConfig `config:"memory"` File *fileConfig `config:"file"` - // Capacity and Effort are currently experimental - // and not in public-facing documentation. + // Capacity is the number of elements that may be stored. Capacity int `config:"capacity"` - Effort int `config:"eviction_effort"` + + // Effort is currently experimental and + // not in public-facing documentation. + Effort int `config:"eviction_effort"` } type memConfig struct { diff --git a/libbeat/processors/cache/docs/cache.asciidoc b/libbeat/processors/cache/docs/cache.asciidoc index 3e17d37e213..6c5ccf2d197 100644 --- a/libbeat/processors/cache/docs/cache.asciidoc +++ b/libbeat/processors/cache/docs/cache.asciidoc @@ -51,9 +51,10 @@ It has the following settings: One of `backend.memory.id` or `backend.file.id` must be provided. +`backend.capacity`:: The number of elements that can be stored in the cache. `put` operations that would cause the capacity to be exceeded will result in evictions of the oldest elements. Values at or below zero indicate no limit. The capacity should not be lower than the number of elements that are expected to be referenced when processing the input as evicted elements are lost. The default is `0`, no limit. `backend.memory.id`:: The ID of a memory-based cache. Use the same ID across instance to reference the same cache. `backend.file.id`:: The ID of a file-based cache. Use the same ID across instance to reference the same cache. -`backend.file.write_frequency`:: The frequency the cache is periodically written to the backing file. Valid time units are h, m, s, ms, us/µs and ns. Periodic writes are only made if `backend.file.write_frequency` is greater than zero. The contents are always written out to the backing file when the processor is closed. Default is zero, no periodic writes. +`backend.file.write_period`:: The interval between periodic cache writes to the backing file. Valid time units are h, m, s, ms, us/µs and ns. Periodic writes are only made if `backend.file.write_period` is greater than zero. The contents are always written out to the backing file when the processor is closed. Default is zero, no periodic writes. One of `put`, `get` or `delete` must be provided. @@ -88,6 +89,7 @@ processors: backend: memory: id: aidmaster + capacity: 10000 put: ttl: 168h key_field: crowdstrike.aid @@ -103,6 +105,7 @@ processors: ------------------------------------------------------------------------------- This would enrich an event events with `log.file.path` not equal to -"fdrv2/aidmaster" with the `crowdstrike.metadata` fields from events -with `log.file.path` equal to that value where the `crowdstrike.aid` -field matches between the source and destination documents. +"fdrv2/aidmaster" with the `crowdstrike.metadata` fields from events with + `log.file.path` equal to that value where the `crowdstrike.aid` field + matches between the source and destination documents. The capacity allows up + to 10,000 metadata object to be cached between `put` and `get` operations. From 9e316366b50ec5172bd229bb8bacb9d50329a509 Mon Sep 17 00:00:00 2001 From: Andrew Cholakian Date: Fri, 29 Sep 2023 11:16:05 -0500 Subject: [PATCH 20/22] [Heartbeat] Fix missing monitor status on 1 of 2 attempts (#36704) [Heartbeat] Fix missing monitor.status value in initial attempt where max_attempts > 2. Introduced in #36623 adding tests to the scenario runner as well. Original cause was this PR #36519 that did not produce the correct monitor.status: down when the monitor is retried with the second attempt. --- .../wrappers/summarizer/plugstatestat.go | 24 ++++++------ x-pack/heartbeat/scenarios/basics_test.go | 39 +++++++++++++------ .../heartbeat/scenarios/browserscenarios.go | 2 +- .../scenarios/framework/framework.go | 6 +++ x-pack/heartbeat/scenarios/twists.go | 3 ++ 5 files changed, 49 insertions(+), 25 deletions(-) diff --git a/heartbeat/monitors/wrappers/summarizer/plugstatestat.go b/heartbeat/monitors/wrappers/summarizer/plugstatestat.go index f38c22d32ab..62a1c8ee5b8 100644 --- a/heartbeat/monitors/wrappers/summarizer/plugstatestat.go +++ b/heartbeat/monitors/wrappers/summarizer/plugstatestat.go @@ -63,13 +63,15 @@ func (ssp *BrowserStateStatusPlugin) BeforeSummary(event *beat.Event) BeforeSumm } res := ssp.cssp.BeforeSummary(event) - + // Browsers don't set this prior, so we set this here, as opposed to lightweight monitors _, _ = event.PutValue("monitor.status", string(ssp.cssp.js.Status)) + + _, _ = event.PutValue("synthetics", mapstr.M{"type": "heartbeat/summary"}) return res } func (ssp *BrowserStateStatusPlugin) BeforeRetry() { - // noop + ssp.cssp.BeforeRetry() } // LightweightStateStatusPlugin encapsulates the writing of the primary fields used by the summary, @@ -108,7 +110,7 @@ func (ssp *LightweightStateStatusPlugin) BeforeSummary(event *beat.Event) Before } func (ssp *LightweightStateStatusPlugin) BeforeRetry() { - // noop + ssp.cssp.BeforeRetry() } type commonSSP struct { @@ -162,17 +164,10 @@ func (ssp *commonSSP) BeforeSummary(event *beat.Event) BeforeSummaryActions { "summary": &jsCopy, "state": ms, } - if ssp.sf.Type == "browser" { - fields["synthetics"] = mapstr.M{"type": "heartbeat/summary"} - } - eventext.MergeEventFields(event, fields) - if retry { - // mutate the js into the state for the next attempt - ssp.js.BumpAttempt() - } + eventext.MergeEventFields(event, fields) - logp.L().Debugf("attempt info: %v == %v && %d < %d", ssp.js.Status, lastStatus, ssp.js.Attempt, ssp.js.MaxAttempts) + logp.L().Debugf("attempt info: current(%v) == lastStatus(%v) && attempts(%d < %d)", ssp.js.Status, lastStatus, ssp.js.Attempt, ssp.js.MaxAttempts) if retry { return RetryBeforeSummary @@ -180,3 +175,8 @@ func (ssp *commonSSP) BeforeSummary(event *beat.Event) BeforeSummaryActions { return 0 } + +func (ssp *commonSSP) BeforeRetry() { + // mutate the js into the state for the next attempt + ssp.js.BumpAttempt() +} diff --git a/x-pack/heartbeat/scenarios/basics_test.go b/x-pack/heartbeat/scenarios/basics_test.go index a8b39dbfaf1..08794c12146 100644 --- a/x-pack/heartbeat/scenarios/basics_test.go +++ b/x-pack/heartbeat/scenarios/basics_test.go @@ -22,6 +22,7 @@ import ( "github.com/elastic/beats/v7/heartbeat/monitors/wrappers/monitorstate" "github.com/elastic/beats/v7/heartbeat/monitors/wrappers/summarizer/jobsummary" "github.com/elastic/beats/v7/heartbeat/monitors/wrappers/summarizer/summarizertesthelper" + "github.com/elastic/beats/v7/libbeat/beat" "github.com/elastic/beats/v7/x-pack/heartbeat/scenarios/framework" ) @@ -99,25 +100,22 @@ func TestLightweightUrls(t *testing.T) { func TestLightweightSummaries(t *testing.T) { t.Parallel() - scenarioDB.RunTag(t, "lightweight", func(t *testing.T, mtr *framework.MonitorTestRun, err error) { + scenarioDB.RunTagWithSeparateTwists(t, "lightweight", StdAttemptTwists, func(t *testing.T, mtr *framework.MonitorTestRun, err error) { all := mtr.Events() - lastEvent, firstEvents := all[len(all)-1], all[:len(all)-1] + lastEvent := all[len(all)-1] testslike.Test(t, SummaryValidatorForStatus(mtr.Meta.Status), lastEvent.Fields) - for _, e := range firstEvents { - summary, _ := e.GetValue("summary") - require.Nil(t, summary) - } + requireOneSummaryPerAttempt(t, all) }) } func TestBrowserSummaries(t *testing.T) { t.Parallel() - scenarioDB.RunTag(t, "browser", func(t *testing.T, mtr *framework.MonitorTestRun, err error) { + scenarioDB.RunTagWithSeparateTwists(t, "browser", StdAttemptTwists, func(t *testing.T, mtr *framework.MonitorTestRun, err error) { all := mtr.Events() - lastEvent, firstEvents := all[len(all)-1], all[:len(all)-1] + lastEvent := all[len(all)-1] testslike.Test(t, lookslike.Compose( @@ -126,13 +124,30 @@ func TestBrowserSummaries(t *testing.T) { ), lastEvent.Fields) - for _, e := range firstEvents { - summary, _ := e.GetValue("summary") - require.Nil(t, summary) - } + monStatus, _ := lastEvent.GetValue("monitor.status") + summaryIface, _ := lastEvent.GetValue("summary") + summary := summaryIface.(*jobsummary.JobSummary) + require.Equal(t, string(summary.Status), monStatus, "expected summary status and mon status to be equal in event: %v", lastEvent.Fields) + + requireOneSummaryPerAttempt(t, all) + }) } +func requireOneSummaryPerAttempt(t *testing.T, events []*beat.Event) { + attemptCounter := uint16(1) + // ensure we only have one summary per attempt + for _, e := range events { + summaryIface, _ := e.GetValue("summary") + if summaryIface != nil { + summary := summaryIface.(*jobsummary.JobSummary) + require.Equal(t, attemptCounter, summary.Attempt) + require.LessOrEqual(t, summary.Attempt, summary.MaxAttempts) + attemptCounter++ + } + } +} + func TestRunFromOverride(t *testing.T) { t.Parallel() scenarioDB.RunAllWithATwist(t, TwistAddRunFrom, func(t *testing.T, mtr *framework.MonitorTestRun, err error) { diff --git a/x-pack/heartbeat/scenarios/browserscenarios.go b/x-pack/heartbeat/scenarios/browserscenarios.go index 1760ef58750..e15a150db5f 100644 --- a/x-pack/heartbeat/scenarios/browserscenarios.go +++ b/x-pack/heartbeat/scenarios/browserscenarios.go @@ -51,7 +51,7 @@ func init() { framework.Scenario{ Name: "failing-browser", Type: "browser", - Tags: []string{"browser", "browser-inline", "down"}, + Tags: []string{"browser", "browser-inline", "down", "browser-down"}, Runner: func(t *testing.T) (config mapstr.M, meta framework.ScenarioRunMeta, close func(), err error) { err = os.Setenv("ELASTIC_SYNTHETICS_CAPABLE", "true") if err != nil { diff --git a/x-pack/heartbeat/scenarios/framework/framework.go b/x-pack/heartbeat/scenarios/framework/framework.go index c4e3e54b5bc..c6dc0ae9ad6 100644 --- a/x-pack/heartbeat/scenarios/framework/framework.go +++ b/x-pack/heartbeat/scenarios/framework/framework.go @@ -214,6 +214,12 @@ func (sdb *ScenarioDB) RunTagWithATwist(t *testing.T, tagName string, twist *Twi } } +func (sdb *ScenarioDB) RunTagWithSeparateTwists(t *testing.T, tagName string, twists []*Twist, callback func(*testing.T, *MonitorTestRun, error)) { + for _, twist := range twists { + sdb.RunTagWithATwist(t, tagName, twist, callback) + } +} + type MonitorTestRun struct { StdFields stdfields.StdMonitorFields Meta ScenarioRunMeta diff --git a/x-pack/heartbeat/scenarios/twists.go b/x-pack/heartbeat/scenarios/twists.go index 5f4d1093020..ad24b8a42f9 100644 --- a/x-pack/heartbeat/scenarios/twists.go +++ b/x-pack/heartbeat/scenarios/twists.go @@ -36,6 +36,9 @@ func TwistMultiRun(times int) *framework.Twist { }) } +// StdAttemptTwists is a list of real world attempt numbers, that is to say both one and two twists. +var StdAttemptTwists = []*framework.Twist{TwistMaxAttempts(1), TwistMaxAttempts(2)} + func TwistMaxAttempts(maxAttempts int) *framework.Twist { return framework.MakeTwist(fmt.Sprintf("run with %d max_attempts", maxAttempts), func(s framework.Scenario) framework.Scenario { s.Tags = append(s.Tags, "retry") From 4d74439538d59e8f7a5146f8c6d94972f5803148 Mon Sep 17 00:00:00 2001 From: Dan Kortschak <90160302+efd6@users.noreply.github.com> Date: Sat, 30 Sep 2023 03:33:58 +0930 Subject: [PATCH 21/22] libbeat/processors/cache: don't write cache states that have not been altered (#36696) Add a dirty flag to memStore to be used by fileStore so that needless writes are not performed. --- CHANGELOG-developer.next.asciidoc | 2 +- libbeat/processors/cache/file_store.go | 6 ++++++ libbeat/processors/cache/file_store_test.go | 7 +++++++ libbeat/processors/cache/mem_store.go | 5 +++++ libbeat/processors/cache/mem_store_test.go | 7 +++++++ 5 files changed, 26 insertions(+), 1 deletion(-) diff --git a/CHANGELOG-developer.next.asciidoc b/CHANGELOG-developer.next.asciidoc index ca46d018247..cc84570d5d7 100644 --- a/CHANGELOG-developer.next.asciidoc +++ b/CHANGELOG-developer.next.asciidoc @@ -173,7 +173,7 @@ The list below covers the major changes between 7.0.0-rc2 and main only. - Add device handling to Okta API package for entity analytics. {pull}35980[35980] - Make Filebeat HTTPJSON input process responses sequentially. {pull}36493[36493] - Add initial infrastructure for a caching enrichment processor. {pull}36619[36619] -- Add file-backed cache for cache enrichment processor. {pull}36686[36686] +- Add file-backed cache for cache enrichment processor. {pull}36686[36686] {pull}36696[36696] ==== Deprecated diff --git a/libbeat/processors/cache/file_store.go b/libbeat/processors/cache/file_store.go index 45ed9d84068..1ab4ab21ae4 100644 --- a/libbeat/processors/cache/file_store.go +++ b/libbeat/processors/cache/file_store.go @@ -202,6 +202,7 @@ func (c *fileStore) readState() { } if e.Expires.Before(time.Now()) { // Don't retain expired elements. + c.dirty = true // The cache now does not reflect the file. continue } c.cache[e.Key] = &e @@ -239,6 +240,9 @@ func (c *fileStore) periodicWriteOut(ctx context.Context, every time.Duration) { // writeState writes the current cache state to the backing file. // If final is true and the cache is empty, the file will be deleted. func (c *fileStore) writeState(final bool) { + if !c.dirty { + return + } if len(c.cache) == 0 && final { err := os.Remove(c.path) if err != nil { @@ -291,4 +295,6 @@ func (c *fileStore) writeState(final bool) { return } } + // Only mark as not dirty if we succeeded in the write. + c.dirty = false } diff --git a/libbeat/processors/cache/file_store_test.go b/libbeat/processors/cache/file_store_test.go index 557a7eca9a5..22d43083e04 100644 --- a/libbeat/processors/cache/file_store_test.go +++ b/libbeat/processors/cache/file_store_test.go @@ -196,6 +196,7 @@ var fileStoreTests = []struct { id: "test", cache: map[string]*CacheEntry{}, refs: 2, + dirty: false, ttl: time.Second, cap: 1000, effort: 10, @@ -221,6 +222,7 @@ var fileStoreTests = []struct { {Key: "three", Value: int(3), index: 2}, }, refs: 2, + dirty: true, ttl: time.Second, cap: 1000, effort: 10, @@ -247,6 +249,7 @@ var fileStoreTests = []struct { {Key: "three", Value: int(3), index: 2}, }, refs: 2, + dirty: true, ttl: time.Second, cap: 1000, effort: 10, @@ -267,6 +270,7 @@ var fileStoreTests = []struct { {Key: "three", Value: int(3), index: 1}, }, refs: 2, + dirty: true, ttl: time.Second, cap: 1000, effort: 10, @@ -291,6 +295,7 @@ var fileStoreTests = []struct { {Key: "three", Value: int(3), index: 1}, }, refs: 2, + dirty: true, ttl: time.Second, cap: 1000, effort: 10, @@ -315,6 +320,7 @@ var fileStoreTests = []struct { {Key: "three", Value: int(3), index: 1}, }, refs: 1, + dirty: true, ttl: time.Second, cap: 1000, effort: 10, @@ -333,6 +339,7 @@ var fileStoreTests = []struct { cache: nil, // assistively nil-ed. expiries: nil, // assistively nil-ed. refs: 0, + dirty: false, ttl: time.Second, cap: 1000, effort: 10, diff --git a/libbeat/processors/cache/mem_store.go b/libbeat/processors/cache/mem_store.go index 774a019d783..a2fec841d27 100644 --- a/libbeat/processors/cache/mem_store.go +++ b/libbeat/processors/cache/mem_store.go @@ -67,6 +67,9 @@ type memStore struct { expiries expiryHeap ttl time.Duration // ttl is the time entries are valid for in the cache. refs int // refs is the number of processors referring to this store. + // dirty marks the cache as changed from the + // state in a backing file if it exists. + dirty bool // id is the index into global cache store for the cache. id string @@ -176,6 +179,7 @@ func (c *memStore) Put(key string, val any) error { } c.cache[key] = e heap.Push(&c.expiries, e) + c.dirty = true return nil } @@ -212,6 +216,7 @@ func (c *memStore) Delete(key string) error { } heap.Remove(&c.expiries, v.index) delete(c.cache, key) + c.dirty = true return nil } diff --git a/libbeat/processors/cache/mem_store_test.go b/libbeat/processors/cache/mem_store_test.go index 6be5eadb357..4a6cf500e05 100644 --- a/libbeat/processors/cache/mem_store_test.go +++ b/libbeat/processors/cache/mem_store_test.go @@ -184,6 +184,7 @@ var memStoreTests = []struct { id: "test", cache: map[string]*CacheEntry{}, refs: 2, + dirty: false, ttl: time.Second, cap: 1000, effort: 10, @@ -209,6 +210,7 @@ var memStoreTests = []struct { {Key: "three", Value: int(3), index: 2}, }, refs: 2, + dirty: true, ttl: time.Second, cap: 1000, effort: 10, @@ -235,6 +237,7 @@ var memStoreTests = []struct { {Key: "three", Value: int(3), index: 2}, }, refs: 2, + dirty: true, ttl: time.Second, cap: 1000, effort: 10, @@ -255,6 +258,7 @@ var memStoreTests = []struct { {Key: "three", Value: int(3), index: 1}, }, refs: 2, + dirty: true, ttl: time.Second, cap: 1000, effort: 10, @@ -279,6 +283,7 @@ var memStoreTests = []struct { {Key: "three", Value: int(3), index: 1}, }, refs: 2, + dirty: true, ttl: time.Second, cap: 1000, effort: 10, @@ -303,6 +308,7 @@ var memStoreTests = []struct { {Key: "three", Value: int(3), index: 1}, }, refs: 1, + dirty: true, ttl: time.Second, cap: 1000, effort: 10, @@ -321,6 +327,7 @@ var memStoreTests = []struct { cache: nil, // assistively nil-ed. expiries: nil, // assistively nil-ed. refs: 0, + dirty: true, ttl: time.Second, cap: 1000, effort: 10, From 8ace69ff03a7c9d058c4a11a321300d8b00597c4 Mon Sep 17 00:00:00 2001 From: apmmachine <58790750+apmmachine@users.noreply.github.com> Date: Fri, 29 Sep 2023 15:45:41 -0400 Subject: [PATCH 22/22] [updatecli] update elastic stack version for testing 8.11.0-4d413233 (#36699) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: Update snapshot.yml Made with ❤️️ by updatecli * chore: Update snapshot.yml Made with ❤️️ by updatecli --------- Co-authored-by: apmmachine --- testing/environments/snapshot.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testing/environments/snapshot.yml b/testing/environments/snapshot.yml index 20233b29f4c..0605c6531c5 100644 --- a/testing/environments/snapshot.yml +++ b/testing/environments/snapshot.yml @@ -3,7 +3,7 @@ version: '2.3' services: elasticsearch: - image: docker.elastic.co/elasticsearch/elasticsearch:8.11.0-b2ac6b4d-SNAPSHOT + image: docker.elastic.co/elasticsearch/elasticsearch:8.11.0-4d413233-SNAPSHOT # When extend is used it merges healthcheck.tests, see: # https://github.com/docker/compose/issues/8962 # healthcheck: @@ -31,7 +31,7 @@ services: - "./docker/elasticsearch/users_roles:/usr/share/elasticsearch/config/users_roles" logstash: - image: docker.elastic.co/logstash/logstash:8.11.0-b2ac6b4d-SNAPSHOT + image: docker.elastic.co/logstash/logstash:8.11.0-4d413233-SNAPSHOT healthcheck: test: ["CMD", "curl", "-f", "http://localhost:9600/_node/stats"] retries: 600 @@ -44,7 +44,7 @@ services: - 5055:5055 kibana: - image: docker.elastic.co/kibana/kibana:8.11.0-b2ac6b4d-SNAPSHOT + image: docker.elastic.co/kibana/kibana:8.11.0-4d413233-SNAPSHOT environment: - "ELASTICSEARCH_USERNAME=kibana_system_user" - "ELASTICSEARCH_PASSWORD=testing"