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

Categorize errors into groups #2321

Merged
merged 7 commits into from
Aug 14, 2024
Merged

Categorize errors into groups #2321

merged 7 commits into from
Aug 14, 2024

Conversation

kislaykishore
Copy link
Collaborator

@kislaykishore kislaykishore commented Aug 8, 2024

This helps reduce the cardinality of the labels to 17 which is required so that Cloud Metrics pipeline doesn't drop the labels. We need to keep this cardinality below 30.

Description

image

Link to the issue in case of a bug fix.

NA

Testing details

  1. Manual - Manually tested that the new label shows up in Prometheus.
  2. Unit tests - Added unit test
  3. Integration tests - NA

@kislaykishore kislaykishore added the execute-integration-tests Run only integration tests label Aug 8, 2024
@kislaykishore kislaykishore requested a review from sethiay August 8, 2024 20:00
@kislaykishore kislaykishore requested a review from a team as a code owner August 8, 2024 20:00
@kislaykishore kislaykishore force-pushed the error-type-grp branch 2 times, most recently from a78d277 to f481507 Compare August 8, 2024 20:08
Copy link

codecov bot commented Aug 8, 2024

Codecov Report

Attention: Patch coverage is 90.90909% with 4 lines in your changes missing coverage. Please review.

Project coverage is 78.91%. Comparing base (c3c7c6f) to head (252115a).
Report is 11 commits behind head on master.

Files Patch % Lines
internal/fs/wrappers/monitoring.go 90.90% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2321      +/-   ##
==========================================
- Coverage   79.54%   78.91%   -0.64%     
==========================================
  Files         106      106              
  Lines       11524    12618    +1094     
==========================================
+ Hits         9167     9957     +790     
- Misses       1920     2187     +267     
- Partials      437      474      +37     
Flag Coverage Δ
unittests 78.91% <90.90%> (-0.64%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@kislaykishore kislaykishore force-pushed the error-type-grp branch 3 times, most recently from 3b740ee to c17a6c7 Compare August 9, 2024 15:53
internal/fs/wrappers/monitoring_test.go Outdated Show resolved Hide resolved
internal/monitor/tags/tags.go Outdated Show resolved Hide resolved
internal/fs/wrappers/monitoring.go Outdated Show resolved Hide resolved
This helps reduce the cardinality of the labels which is required so
that Cloud Metrics pipeline doesn't drop the labels. We need to keep
this cardinality below 30.
sethiay
sethiay previously approved these changes Aug 14, 2024
internal/fs/wrappers/monitoring.go Outdated Show resolved Hide resolved
internal/fs/wrappers/monitoring.go Outdated Show resolved Hide resolved
sethiay
sethiay previously approved these changes Aug 14, 2024
docs/metrics.md Outdated Show resolved Hide resolved
docs/metrics.md Show resolved Hide resolved
@kislaykishore kislaykishore requested a review from sethiay August 14, 2024 07:29
@kislaykishore kislaykishore merged commit 790af9b into master Aug 14, 2024
13 of 14 checks passed
@kislaykishore kislaykishore deleted the error-type-grp branch August 14, 2024 07:40
ashmeenkaur pushed a commit that referenced this pull request Aug 19, 2024
* Categorize errors into groups

This helps reduce the cardinality of the labels which is required so
that Cloud Metrics pipeline doesn't drop the labels. We need to keep
this cardinality below 30.
ashmeenkaur pushed a commit that referenced this pull request Aug 19, 2024
* Categorize errors into groups

This helps reduce the cardinality of the labels which is required so
that Cloud Metrics pipeline doesn't drop the labels. We need to keep
this cardinality below 30.
ashmeenkaur pushed a commit that referenced this pull request Aug 19, 2024
* Categorize errors into groups

This helps reduce the cardinality of the labels which is required so
that Cloud Metrics pipeline doesn't drop the labels. We need to keep
this cardinality below 30.
kislaykishore added a commit that referenced this pull request Aug 21, 2024
* Categorize errors into groups

This helps reduce the cardinality of the labels which is required so
that Cloud Metrics pipeline doesn't drop the labels. We need to keep
this cardinality below 30.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
execute-integration-tests Run only integration tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants