-
Notifications
You must be signed in to change notification settings - Fork 13
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
feat: Add informer metrics #209
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #209 +/- ##
==========================================
+ Coverage 46.99% 47.01% +0.02%
==========================================
Files 57 57
Lines 4886 4956 +70
==========================================
+ Hits 2296 2330 +34
- Misses 2413 2444 +31
- Partials 177 182 +5 ☔ View full report in Codecov by Sentry. |
913d7e8
to
2fbc2de
Compare
Signed-off-by: jannfis <[email protected]>
2fbc2de
to
0bcda12
Compare
- name: Restore go build cache | ||
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 | ||
with: | ||
path: ~/.cache/go-build | ||
key: ${{ runner.os }}-go-build-v1-${{ github.run_id }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cache was not used anyway.
- name: Restore go build cache | ||
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 | ||
with: | ||
path: ~/.cache/go-build | ||
key: ${{ runner.os }}-go-build-v1-${{ github.run_id }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cache was not used anyway
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm!!
This PR adds metrics to the generic informer, conveniently handled within the callbacks.
Additionally, it adds some unit tests for the informer package.
The next step will move the existing application informer to use the generic informer, too.