Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(metrics) record CSV failures #1055

Merged

Conversation

awgreene
Copy link
Member

@awgreene awgreene commented Oct 1, 2019

This commit introduces a change so OLM will exposed metrics about a CSV
whenever either of the following conditions are met:

  • The CSV enters the failed phase.
  • The CSV is already in the failed phase, but the reason has changed.

The metrics are recorded with name, version, and reason labels.

@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 1, 2019
@awgreene awgreene force-pushed the csv-health-metrics branch from f2c78f9 to 3827ec9 Compare October 2, 2019 15:45
@awgreene awgreene force-pushed the csv-health-metrics branch from 3827ec9 to 8c851f8 Compare October 2, 2019 18:47
This commit introduces a change so OLM will expose metrics about CSV
sync events.
@awgreene awgreene force-pushed the csv-health-metrics branch from 8c851f8 to a2606a1 Compare October 2, 2019 18:56
@ecordell
Copy link
Member

ecordell commented Oct 2, 2019

/lgtm

Giving a pass on missing docs since we're restructuring those at the moment 😄

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 2, 2019
@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: awgreene, ecordell

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

The pull request process is described here

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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 2, 2019
@ecordell
Copy link
Member

ecordell commented Oct 2, 2019

/retest

@openshift-merge-robot openshift-merge-robot merged commit 179915a into operator-framework:master Oct 3, 2019
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. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants