Skip to content

Add / Document secureCodeBox Operator Prometheus Metrics#2581

Merged
Ilyesbdlala merged 13 commits intosecureCodeBox:mainfrom
J12934:operator-metrics
Jul 23, 2024
Merged

Add / Document secureCodeBox Operator Prometheus Metrics#2581
Ilyesbdlala merged 13 commits intosecureCodeBox:mainfrom
J12934:operator-metrics

Conversation

@J12934
Copy link
Copy Markdown
Member

@J12934 J12934 commented Jul 18, 2024

Description

  • Add integration / helm value to let prometheus scrape secureCodeBox operator metrics
  • Document operator metrics / where to configure them
  • Add three custom metrics to begin with to track how many scans per scan_type were created and succeeded / failed
    • Refactored Scan status for this to a enum to better allow to track all "state" transitions

Closes #2580

Checklist

  • Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests.
  • Make sure that all your commits are signed-off and that you are added to the Contributors file.
  • Make sure that all CI finish successfully.
  • Optional (but appreciated): Make sure that all commits are Verified.

@J12934 J12934 added enhancement New feature or request go Pull requests that update Go code labels Jul 18, 2024
@J12934 J12934 self-assigned this Jul 18, 2024
@netlify
Copy link
Copy Markdown

netlify bot commented Jul 18, 2024

Deploy Preview for docs-securecodebox canceled.

Name Link
🔨 Latest commit 3465e1d
🔍 Latest deploy log https://app.netlify.com/sites/docs-securecodebox/deploys/669a029ddc691b00085eed28

Copy link
Copy Markdown
Member

@Weltraumschaf Weltraumschaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my suggestions/comments.

J12934 and others added 10 commits July 19, 2024 07:56
Signed-off-by: Jannik Hollenbach <jannik.hollenbach@iteratec.com>
Signed-off-by: Jannik Hollenbach <jannik.hollenbach@iteratec.com>
Signed-off-by: Jannik Hollenbach <jannik.hollenbach@iteratec.com>
Signed-off-by: Jannik Hollenbach <jannik.hollenbach@iteratec.com>
Signed-off-by: Jannik Hollenbach <jannik.hollenbach@iteratec.com>
…e monitor via operator chart

Signed-off-by: Jannik Hollenbach <jannik.hollenbach@iteratec.com>
Signed-off-by: Jannik Hollenbach <jannik.hollenbach@iteratec.com>
Signed-off-by: Jannik Hollenbach <jannik.hollenbach@iteratec.com>
Signed-off-by: Jannik Hollenbach <jannik.hollenbach@iteratec.com>
Co-authored-by: Sven Strittmatter <ich@weltraumschaf.de>
Signed-off-by: Jannik Hollenbach <jannik@hollenbach.de>
@J12934 J12934 force-pushed the operator-metrics branch from 9c670c0 to 583ab2a Compare July 19, 2024 05:56
J12934 added 3 commits July 19, 2024 08:00
Signed-off-by: Jannik Hollenbach <jannik.hollenbach@iteratec.com>
Signed-off-by: Jannik Hollenbach <jannik.hollenbach@iteratec.com>
@J12934 J12934 requested a review from Weltraumschaf July 19, 2024 06:08
@Ilyesbdlala Ilyesbdlala merged commit 00f4a65 into secureCodeBox:main Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request go Pull requests that update Go code

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Prometheus Metrics for the secureCodeBox Operator

3 participants