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

fix: Tolerate Pods without labels in metrics #1660

Merged
merged 1 commit into from
Jul 19, 2024
Merged

Conversation

MoritzWeber0
Copy link
Member

Some Pods may not have labels, for example the Pods created by our CLI during the restore process.

The deployed sessions collector should not fail when it hits such a Pod. Instead, it should just ignore it.

Some Pods may not have labels, for example the Pods created by our CLI
during the restore process.

The deployed sessions collector should not fail when it hits such a Pod.
Instead, it should just ignore it.
Copy link

sonarcloud bot commented Jul 18, 2024

Copy link

codecov bot commented Jul 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.65%. Comparing base (92041c3) to head (9bc2bbb).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1660      +/-   ##
==========================================
+ Coverage   80.64%   80.65%   +0.01%     
==========================================
  Files         185      185              
  Lines        6090     6095       +5     
  Branches      678      679       +1     
==========================================
+ Hits         4911     4916       +5     
  Misses       1030     1030              
  Partials      149      149              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MoritzWeber0 MoritzWeber0 added the bug Something isn't working label Jul 18, 2024
@MoritzWeber0 MoritzWeber0 merged commit 9cb9f7b into main Jul 19, 2024
29 checks passed
@MoritzWeber0 MoritzWeber0 deleted the fix-nullable-labels branch July 19, 2024 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant