Skip to content

Commit

Permalink
Merge pull request #212 from crawford/cluster_installer
Browse files Browse the repository at this point in the history
metrics: gather cluster_installer series
  • Loading branch information
openshift-merge-robot committed Aug 5, 2019
2 parents 7b10ce9 + 2eb01ce commit 8c708d1
Show file tree
Hide file tree
Showing 8 changed files with 453 additions and 424 deletions.
3 changes: 3 additions & 0 deletions docs/data-collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ For the OpenShift 4 Developer Preview we will be sending back these exact attrib
// can be used to identify whether a set of errors that occur during
// an upgrade are trending up or down from previous updates.
'{__name__="cluster_version_payload_errors"}',
// cluster_installer reports what installed the cluster, along with its
// version number and invoker.
'{__name__="cluster_installer"}',
// instance:etcd_object_counts:sum identifies two key metrics:
// - the rough size of the data stored in etcd and
// - the consistency between the etcd instances.
Expand Down
434 changes: 222 additions & 212 deletions docs/sample-metrics.md

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions jsonnet/telemeter/metrics.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
// can be used to identify whether a set of errors that occur during
// an upgrade are trending up or down from previous updates.
'{__name__="cluster_version_payload_errors"}',
// cluster_installer reports what installed the cluster, along with its
// version number and invoker.
'{__name__="cluster_installer"}',
// instance:etcd_object_counts:sum identifies two key metrics:
// - the rough size of the data stored in etcd and
// - the consistency between the etcd instances.
Expand Down
2 changes: 1 addition & 1 deletion manifests/benchmark/secretTelemeterServer.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
data:
tokens.json: W3sidG9rZW4iOiAiYmVuY2htYXJrIn1d
whitelist: e19fbmFtZV9fPSJ1cCJ9CntfX25hbWVfXz0iY2x1c3Rlcl92ZXJzaW9uIn0Ke19fbmFtZV9fPSJjbHVzdGVyX3ZlcnNpb25fYXZhaWxhYmxlX3VwZGF0ZXMifQp7X19uYW1lX189ImNsdXN0ZXJfb3BlcmF0b3JfdXAifQp7X19uYW1lX189ImNsdXN0ZXJfb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letions manifests/client/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ spec:
- --match={__name__="cluster_operator_conditions"}
- --match={__name__="cluster_version_payload"}
- --match={__name__="cluster_version_payload_errors"}
- --match={__name__="cluster_installer"}
- --match={__name__="instance:etcd_object_counts:sum"}
- --match={__name__="ALERTS",alertstate="firing"}
- --match={__name__="code:apiserver_request_count:rate:sum"}
Expand Down
1 change: 1 addition & 0 deletions manifests/server/list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ objects:
- --whitelist={__name__="cluster_operator_conditions"}
- --whitelist={__name__="cluster_version_payload"}
- --whitelist={__name__="cluster_version_payload_errors"}
- --whitelist={__name__="cluster_installer"}
- --whitelist={__name__="instance:etcd_object_counts:sum"}
- --whitelist={__name__="alerts",alertstate="firing"}
- --whitelist={__name__="code:apiserver_request_count:rate:sum"}
Expand Down
1 change: 1 addition & 0 deletions manifests/server/statefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ spec:
- --whitelist={__name__="cluster_operator_conditions"}
- --whitelist={__name__="cluster_version_payload"}
- --whitelist={__name__="cluster_version_payload_errors"}
- --whitelist={__name__="cluster_installer"}
- --whitelist={__name__="instance:etcd_object_counts:sum"}
- --whitelist={__name__="alerts",alertstate="firing"}
- --whitelist={__name__="code:apiserver_request_count:rate:sum"}
Expand Down

0 comments on commit 8c708d1

Please sign in to comment.