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

[LocalNet] Fix metrics scraping #940

Merged
merged 1 commit into from
Aug 1, 2023
Merged

Conversation

okdas
Copy link
Member

@okdas okdas commented Jul 26, 2023

Description

Fixes metrics scraping on LocalNet.

After quite a few changes to the LocalNet infrastructure, the metrics collection appeared broken on LocalNet.

Summary generated by Reviewpad on 26 Jul 23 21:58 UTC

This pull request fixes the issue with metrics scraping on LocalNet. It updates the Tiltfile and statefulset.yaml files to add pod annotations for Prometheus scraping and specify the port for scraping.

List of changes

  • Changed podAnnotations helm chart value to always "quote" values in case they are not strings (K8s API expects strings only in annotations)
  • Added annotations necessary for scraping of exporter endpoints by Prometheus on LocalNet

@okdas okdas added the infra Core infrastructure - not protocol related label Jul 26, 2023
@okdas okdas added this to the M1: Pocket PoS (Proof of Stake) milestone Jul 26, 2023
@okdas okdas requested a review from dylanlott July 26, 2023 21:58
@okdas okdas self-assigned this Jul 26, 2023
@reviewpad reviewpad bot added small Pull request is small waiting-for-review labels Jul 26, 2023
@Olshansk Olshansk merged commit 7aec931 into main Aug 1, 2023
12 checks passed
red-0ne pushed a commit that referenced this pull request Aug 2, 2023
## Description

Fixes metrics scraping on LocalNet.

After quite a few changes to the LocalNet infrastructure, the metrics collection appeared broken on LocalNet.

<!-- reviewpad:summarize:start -->
### Summary generated by Reviewpad on 26 Jul 23 21:58 UTC
This pull request fixes the issue with metrics scraping on LocalNet. It updates the Tiltfile and statefulset.yaml files to add pod annotations for Prometheus scraping and specify the port for scraping.
<!-- reviewpad:summarize:end -->

## List of changes

- Changed `podAnnotations` helm chart value to always "quote" values in case they are not strings (K8s API expects strings only in annotations)
- Added annotations necessary for scraping of exporter endpoints by Prometheus on LocalNet
dylanlott pushed a commit that referenced this pull request Aug 7, 2023
## Description

Fixes metrics scraping on LocalNet.

After quite a few changes to the LocalNet infrastructure, the metrics collection appeared broken on LocalNet.

<!-- reviewpad:summarize:start -->
### Summary generated by Reviewpad on 26 Jul 23 21:58 UTC
This pull request fixes the issue with metrics scraping on LocalNet. It updates the Tiltfile and statefulset.yaml files to add pod annotations for Prometheus scraping and specify the port for scraping.
<!-- reviewpad:summarize:end -->

## List of changes

- Changed `podAnnotations` helm chart value to always "quote" values in case they are not strings (K8s API expects strings only in annotations)
- Added annotations necessary for scraping of exporter endpoints by Prometheus on LocalNet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra Core infrastructure - not protocol related small Pull request is small waiting-for-review
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants