Skip to content

Commit

Permalink
che #17186 Enabling metrics by default
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
  • Loading branch information
ibuziuk committed Jul 2, 2020
1 parent 7cd7be2 commit 2367b5b
Show file tree
Hide file tree
Showing 13 changed files with 2,019 additions and 5 deletions.
2 changes: 1 addition & 1 deletion deploy/crds/org_v1_che_cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,4 @@ spec:
securityContextRunAsUser: ''
metrics:
# Enables '/metrics' endpoint of Che server.
enable: false
enable: true
2 changes: 1 addition & 1 deletion deploy/crds/org_v1_che_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ spec:
used by the Che installation.
properties:
enable:
description: Enables `metrics` Che server endpoint. Default to `false`.
description: Enables `metrics` Che server endpoint. Default to `true`.
type: boolean
type: object
server:
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- /home/ibuziuk/go/src/github.com/eclipse/che-operator/olm/eclipse-che-preview-kubernetes/deploy/olm-catalog/eclipse-che-preview-kubernetes/9.9.9-nightly.1593082234/eclipse-che-preview-kubernetes.crd.yaml 2020-07-01 14:29:20.312523849 +0200
+++ /home/ibuziuk/go/src/github.com/eclipse/che-operator/olm/eclipse-che-preview-kubernetes/deploy/olm-catalog/eclipse-che-preview-kubernetes/9.9.9-nightly.1593703629/eclipse-che-preview-kubernetes.crd.yaml 2020-07-02 17:27:09.493059382 +0200
@@ -250,7 +250,7 @@
used by the Che installation.
properties:
enable:
- description: Enables `metrics` Che server endpoint. Default to `false`.
+ description: Enables `metrics` Che server endpoint. Default to `true`.
type: boolean
type: object
server:

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
--- /home/ibuziuk/go/src/github.com/eclipse/che-operator/olm/eclipse-che-preview-kubernetes/deploy/olm-catalog/eclipse-che-preview-kubernetes/9.9.9-nightly.1593082234/eclipse-che-preview-kubernetes.v9.9.9-nightly.1593082234.clusterserviceversion.yaml 2020-07-01 14:29:20.312523849 +0200
+++ /home/ibuziuk/go/src/github.com/eclipse/che-operator/olm/eclipse-che-preview-kubernetes/deploy/olm-catalog/eclipse-che-preview-kubernetes/9.9.9-nightly.1593703629/eclipse-che-preview-kubernetes.v9.9.9-nightly.1593703629.clusterserviceversion.yaml 2020-07-02 17:27:09.490059364 +0200
@@ -49,12 +49,12 @@
categories: Developer Tools
certified: "false"
containerImage: quay.io/eclipse/che-operator:nightly
- createdAt: "2020-06-25T10:50:34Z"
+ createdAt: "2020-07-02T15:27:09Z"
description: A Kube-native development solution that delivers portable and collaborative
developer workspaces.
repository: https://github.com/eclipse/che-operator
support: Eclipse Foundation
- name: eclipse-che-preview-kubernetes.v9.9.9-nightly.1593082234
+ name: eclipse-che-preview-kubernetes.v9.9.9-nightly.1593703629
namespace: placeholder
spec:
apiservicedefinitions: {}
@@ -394,5 +394,5 @@
maturity: stable
provider:
name: Eclipse Foundation
- replaces: eclipse-che-preview-kubernetes.v9.9.9-nightly.1592203276
- version: 9.9.9-nightly.1593082234
+ replaces: eclipse-che-preview-kubernetes.v9.9.9-nightly.1593082234
+ version: 9.9.9-nightly.1593703629
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
channels:
- currentCSV: eclipse-che-preview-kubernetes.v9.9.9-nightly.1593082234
- currentCSV: eclipse-che-preview-kubernetes.v9.9.9-nightly.1593703629
name: nightly
- currentCSV: eclipse-che-preview-kubernetes.v7.15.0
name: stable
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- /home/ibuziuk/go/src/github.com/eclipse/che-operator/olm/eclipse-che-preview-openshift/deploy/olm-catalog/eclipse-che-preview-openshift/9.9.9-nightly.1593082235/eclipse-che-preview-openshift.crd.yaml 2020-07-01 14:29:20.321523894 +0200
+++ /home/ibuziuk/go/src/github.com/eclipse/che-operator/olm/eclipse-che-preview-openshift/deploy/olm-catalog/eclipse-che-preview-openshift/9.9.9-nightly.1593703629/eclipse-che-preview-openshift.crd.yaml 2020-07-02 17:27:09.684060510 +0200
@@ -250,7 +250,7 @@
used by the Che installation.
properties:
enable:
- description: Enables `metrics` Che server endpoint. Default to `false`.
+ description: Enables `metrics` Che server endpoint. Default to `true`.
type: boolean
type: object
server:

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
--- /home/ibuziuk/go/src/github.com/eclipse/che-operator/olm/eclipse-che-preview-openshift/deploy/olm-catalog/eclipse-che-preview-openshift/9.9.9-nightly.1593082235/eclipse-che-preview-openshift.v9.9.9-nightly.1593082235.clusterserviceversion.yaml 2020-07-01 14:29:20.321523894 +0200
+++ /home/ibuziuk/go/src/github.com/eclipse/che-operator/olm/eclipse-che-preview-openshift/deploy/olm-catalog/eclipse-che-preview-openshift/9.9.9-nightly.1593703629/eclipse-che-preview-openshift.v9.9.9-nightly.1593703629.clusterserviceversion.yaml 2020-07-02 17:27:10.730066688 +0200
@@ -46,12 +46,12 @@
categories: Developer Tools, OpenShift Optional
certified: "false"
containerImage: quay.io/eclipse/che-operator:nightly
- createdAt: "2020-06-25T10:50:35Z"
+ createdAt: "2020-07-02T15:27:09Z"
description: A Kube-native development solution that delivers portable and collaborative
developer workspaces in OpenShift.
repository: https://github.com/eclipse/che-operator
support: Eclipse Foundation
- name: eclipse-che-preview-openshift.v9.9.9-nightly.1593082235
+ name: eclipse-che-preview-openshift.v9.9.9-nightly.1593703629
namespace: placeholder
spec:
apiservicedefinitions: {}
@@ -438,5 +438,5 @@
maturity: stable
provider:
name: Eclipse Foundation
- replaces: eclipse-che-preview-openshift.v9.9.9-nightly.1592203277
- version: 9.9.9-nightly.1593082235
+ replaces: eclipse-che-preview-openshift.v9.9.9-nightly.1593082235
+ version: 9.9.9-nightly.1593703629
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
channels:
- currentCSV: eclipse-che-preview-openshift.v9.9.9-nightly.1593082235
- currentCSV: eclipse-che-preview-openshift.v9.9.9-nightly.1593703629
name: nightly
- currentCSV: eclipse-che-preview-openshift.v7.15.0
name: stable
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/org/v1/che_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ type CheClusterSpecK8SOnly struct {
}

type CheClusterSpecMetrics struct {
// Enables `metrics` Che server endpoint. Default to `false`.
// Enables `metrics` Che server endpoint. Default to `true`.
// +optional
Enable bool `json:"enable"`
}
Expand Down

0 comments on commit 2367b5b

Please sign in to comment.