Skip to content

Commit

Permalink
Merge pull request #19 from Colvin-Y/bump/v1.6.0
Browse files Browse the repository at this point in the history
Bump kruise-api to v.1.6.0; Fix typo; Fix panic metrics
  • Loading branch information
furykerry authored Jul 26, 2024
2 parents 9a15936 + 1b676f1 commit c793c09
Show file tree
Hide file tree
Showing 6 changed files with 124 additions and 500 deletions.
36 changes: 18 additions & 18 deletions docs/statefulset-metrics.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# Stateful Set Metrics

| Metric name| Description | Status |
| ---------- | ----------- | ----------- |
| kruise_statefulset_created | Unix creation timestamp | STABLE |
| kruise_statefulset_status_replicas | Number of desired pods for a StatefulSet. | STABLE |
| kruise_statefulset_status_replicas_available | The number of available replicas per StatefulSet. | STABLE |
| kruise_statefulset_status_replicas_current | The number of current replicas per StatefulSet. | STABLE |
| kruise_statefulset_status_replicas_ready | The number of ready replicas per StatefulSet. | STABLE |
| kruise_statefulset_status_replicas_updated | The number of updated replicas per StatefulSet. | STABLE |
| kruise_statefulset_status_observed_generation | The generation observed by the StatefulSet controller. | STABLE |
| kruise_statefulset_status_condition | The current status conditions of a statefulset | STABLE |
| kruise_statefulset_status_current_revision | Indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas). | STABLE |
| kruise_statefulset_status_update_revision | Indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas) | STABLE |
| kruise_statefulset_spec_metadata_generation | Sequence number representing a specific generation of the desired state for the StatefulSet. | STABLE |
| kruise_statefulset_spec_replicas | Number of desired pods for a statefulset | STABLE |
| kruise_statefulset_spec_strategy_rollingupdate_max_unavailable | Maximum number of unavailable replicas during a rolling update of a statefulset | STABLE |
| kruise_statefulset_spec_reserveordinals | | STABLE |
| kruise_statefulset_spec_strategy_type | The type of updateStrategy | STABLE |
| kruise_statefulset_labels | Kubernetes labels converted to Prometheus labels. | STABLE |
| Metric name | Description | Status |
| -------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | ------ |
| kruise_statefulset_created | Unix creation timestamp | STABLE |
| kruise_statefulset_status_replicas | Number of desired pods for a StatefulSet. | STABLE |
| kruise_statefulset_status_replicas_available | The number of available replicas per StatefulSet. | STABLE |
| kruise_statefulset_status_replicas_current | The number of current replicas per StatefulSet. | STABLE |
| kruise_statefulset_status_replicas_ready | The number of ready replicas per StatefulSet. | STABLE |
| kruise_statefulset_status_replicas_updated | The number of updated replicas per StatefulSet. | STABLE |
| kruise_statefulset_status_observed_generation | The generation observed by the StatefulSet controller. | STABLE |
| kruise_statefulset_status_condition | The current status conditions of a statefulset | STABLE |
| kruise_statefulset_status_current_revision | Indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas). | STABLE |
| kruise_statefulset_status_update_revision | Indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas) | STABLE |
| kruise_statefulset_metadata_generation | Sequence number representing a specific generation of the desired state for the StatefulSet. | STABLE |
| kruise_statefulset_spec_replicas | Number of desired pods for a statefulset | STABLE |
| kruise_statefulset_spec_strategy_rollingupdate_max_unavailable | Maximum number of unavailable replicas during a rolling update of a statefulset | STABLE |
| kruise_statefulset_spec_reserveordinals | | STABLE |
| kruise_statefulset_spec_strategy_type | The type of updateStrategy | STABLE |
| kruise_statefulset_labels | Kubernetes labels converted to Prometheus labels. | STABLE |
55 changes: 27 additions & 28 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ module github.com/openkruise/kruise-state-metrics
go 1.18

require (
github.com/google/go-cmp v0.5.9
github.com/google/go-cmp v0.6.0
github.com/oklog/run v1.1.0
github.com/openkruise/kruise-api v1.5.0
github.com/openkruise/kruise-api v1.6.0
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.11.0
github.com/prometheus/common v0.30.0
github.com/prometheus/exporter-toolkit v0.6.1
k8s.io/api v0.24.16
k8s.io/apimachinery v0.24.16
k8s.io/api v0.26.10
k8s.io/apimachinery v0.26.10
k8s.io/autoscaler/vertical-pod-autoscaler v0.9.2
k8s.io/client-go v0.24.0
k8s.io/klog/v2 v2.80.1
k8s.io/client-go v0.26.10
k8s.io/klog/v2 v2.110.1
k8s.io/kube-state-metrics/v2 v2.2.1
)

Expand All @@ -23,22 +23,22 @@ require (
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dgryski/go-jump v0.0.0-20170409065014-e1f439676b57 // indirect
github.com/emicklei/go-restful v2.9.5+incompatible // indirect
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
github.com/go-kit/log v0.1.0 // indirect
github.com/go-logfmt/logfmt v0.5.0 // indirect
github.com/go-logr/logr v1.2.3 // indirect
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/jsonreference v0.20.0 // indirect
github.com/go-openapi/swag v0.19.14 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-openapi/jsonpointer v0.19.6 // indirect
github.com/go-openapi/jsonreference v0.20.2 // indirect
github.com/go-openapi/swag v0.22.3 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/gnostic v0.5.7-v3refs // indirect
github.com/google/gofuzz v1.1.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/imdario/mergo v0.3.12 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/jpillora/backoff v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/mailru/easyjson v0.7.6 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
Expand All @@ -47,22 +47,21 @@ require (
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/procfs v0.6.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
golang.org/x/crypto v0.0.0-20220214200702-86341886e292 // indirect
golang.org/x/net v0.8.0 // indirect
golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b // indirect
golang.org/x/sys v0.6.0 // indirect
golang.org/x/term v0.6.0 // indirect
golang.org/x/text v0.8.0 // indirect
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect
golang.org/x/crypto v0.16.0 // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/oauth2 v0.12.0 // indirect
golang.org/x/sys v0.16.0 // indirect
golang.org/x/term v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.3.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.28.1 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42 // indirect
k8s.io/utils v0.0.0-20221107191617-1a15be271d1d // indirect
sigs.k8s.io/gateway-api v0.4.3 // indirect
sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280 // indirect
k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
sigs.k8s.io/yaml v1.4.0 // indirect
)
Loading

0 comments on commit c793c09

Please sign in to comment.