Skip to content

Conversation

@savitaashture
Copy link
Contributor

@savitaashture savitaashture commented Oct 11, 2021

Changes

PR address displaying of metrics when Pipeline and Triggers Install/Upgrade

PR incorporates changes from @khrm PR #334 and @sm43 PR https://github.com/sm43/tektoncd-operator/tree/metrics

/cc @vdemeester @nikhil-thomas @sm43 @khrm

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide for more details.

Release Notes

Operator exposes metrics to display Installation and Upgradation count for Tekton Pipeline and Triggers

Result

Pipeline Install and Upgrade count

pipeline1

Triggers Install and Upgrade count

triggers1

@tekton-robot tekton-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Oct 11, 2021
@tekton-robot
Copy link
Contributor

@savitaashture: GitHub didn't allow me to request PR reviews from the following users: khrm.

Note that only tektoncd members and repo collaborators can review this PR, and authors cannot review their own PRs.

Details

In response to this:

Changes

PR address displaying of metrics when Pipeline and Triggers Install/Upgrade

PR incorporates changes from @khrm PR #334 and @sm43 PR https://github.com/sm43/tektoncd-operator/tree/metrics

Result

  • Install of Pipeline and Triggers
curl http://tekton-operator-openshift-operators.apps.ci-ln-0wlllrt-f76d1.origin-ci-int-gce.dev.openshift.com/metrics | grep NewInstall
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed
 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0 tekton_operator_pipeline_reconcile_count{status="NewInstall",version="v0.28.0"} 1
100 15397    0 15397    0     0   8951      0 --:--:--  0:00:01 --:--:--  8946 tekton_operator_trigger_reconcile_count{status="NewInstall",version="v0.16.0"} 1
  • Upgrade of Pipeline and Triggers
curl http://tekton-operator-openshift-operators.apps.ci-ln-0wlllrt-f76d1.origin-ci-int-gce.dev.openshift.com/metrics | grep Upgrade
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed
 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0 tekton_operator_pipeline_reconcile_count{status="Upgrade",version="v0.28.1"} 1
100 15390    0 15390    0     0  15624      0 --:--:-- --:--:-- --:--:-- 15608 tekton_operator_trigger_reconcile_count{status="Upgrade",version="v20211010-ae9b7ebdb7"} 1

/cc @vdemeester @nikhil-thomas @sm43 @khrm

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide for more details.

Release Notes

Operator exposes metrics to display Installation and Upgradation count for Tekton Pipeline and Triggers

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@tekton-robot tekton-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Oct 11, 2021
@savitaashture
Copy link
Contributor Author

@nikhil-thomas @sm43 addressed all the review comment provided in this PR #443

And its ready for another review
PTAL

@savitaashture savitaashture changed the title Add Install and Upragde metrics for Pipeline and Triggers [Openshift] Add Install and Upragde metrics for Pipeline and Triggers Oct 11, 2021
@sm43
Copy link
Member

sm43 commented Oct 12, 2021

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 12, 2021
@sm43
Copy link
Member

sm43 commented Oct 12, 2021

we can also add the new configmap for validation in webhook

func NewConfigValidationController(ctx context.Context, cmw configmap.Watcher) *controller.Impl {

logging.ConfigMapName(): logging.NewConfigFromConfigMap,

@savitaashture
Copy link
Contributor Author

we can also add the new configmap for validation in webhook

will this change relevant to this PR ?
If not lets handle in separate PR wdyt ?

@savitaashture savitaashture force-pushed the install-upgrade-component-metrics branch from 74b6fc2 to 6232db2 Compare October 12, 2021 05:24
@tekton-robot tekton-robot removed the lgtm Indicates that a PR is ready to be merged. label Oct 12, 2021
@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vdemeester

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 12, 2021
@savitaashture savitaashture force-pushed the install-upgrade-component-metrics branch from 6232db2 to 15a71ab Compare October 12, 2021 07:14
@sm43
Copy link
Member

sm43 commented Oct 12, 2021

/lgtm
/hold
@nikhil-thomas to take a look ! :)

@tekton-robot tekton-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm Indicates that a PR is ready to be merged. labels Oct 12, 2021
@nikhil-thomas
Copy link
Member

/lgtm

@nikhil-thomas
Copy link
Member

Thanks 😸 @savitaashture
The pr description is 🔥 🥇 🧑‍💻 👍

@nikhil-thomas
Copy link
Member

/lgtm /hold @nikhil-thomas to take a look ! :)

Thanks 🧑‍💻

@nikhil-thomas
Copy link
Member

/hold cancel

@tekton-robot tekton-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 12, 2021
@nikhil-thomas
Copy link
Member

/approve
/lgtm

@tekton-robot tekton-robot merged commit 8217b33 into tektoncd:main Oct 12, 2021
@savitaashture savitaashture changed the title [Openshift] Add Install and Upragde metrics for Pipeline and Triggers Add Install and Upragde metrics for Pipeline and Triggers Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants