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

service monitor to expose prow metrics to smaug grafana #2143

Merged

Conversation

Gregory-Pereira
Copy link
Member

Related Issues and Dependencies

Addresses issue 374. The service monitor should enable Grafana to access the metrics on its own.

Does this require new deployment ?

no

Description

Add a service monitor which scrapes the opf-ci-prow namespace and exposes those metics.

@sesheta sesheta added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Nov 11, 2021
@sesheta sesheta requested review from pacospace and tumido November 11, 2021 01:24
Copy link
Member

@harshad16 harshad16 left a comment

Choose a reason for hiding this comment

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

lgtm
just a minor comment

Comment on lines 12 to 27
relabelings:
- sourceLabels: [service]
regex: "deck"
action: replace
targetLabel: field
replacement: deck-metrics-opf-ci-prow.apps.smaug.na.operate-first.cloud
- sourceLabels: [service]
regex: "ghproxy"
action: replace
targetLabel: field
replacement: http://ghproxy-metrics-opf-ci-prow.apps.smaug.na.operate-first.cloud
- sourceLabels: [service]
regex: "hook"
action: replace
targetLabel: field
replacement: hook-metrics-opf-ci-prow.apps.smaug.na.operate-first.cloud
Copy link
Member

Choose a reason for hiding this comment

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

Lets remove this , i dont think it would provide any value to us.

@Gregory-Pereira Gregory-Pereira force-pushed the expose-prow-metics-smaug branch from b47313b to 040ef5f Compare November 12, 2021 17:09
@sesheta sesheta added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Nov 12, 2021
Copy link
Member

@harshad16 harshad16 left a comment

Choose a reason for hiding this comment

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

lgtm
thanks 💯

@harshad16 harshad16 merged commit 8f5888e into thoth-station:master Nov 15, 2021
@sesheta sesheta added this to the 2021.11.22 milestone Nov 15, 2021
@sesheta
Copy link
Member

sesheta commented Nov 15, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: harshad16

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

@sesheta sesheta added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 15, 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. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants