-
Notifications
You must be signed in to change notification settings - Fork 218
feat: add metadata support for Metrics #1323
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
Conversation
Right now, the only metadata that's provided is the group/version/kind information associated with the resource being processed. Fixes #1322.
@@ -22,4 +25,21 @@ default <T> Optional<T> getSecondaryResource(Class<T> expectedType) { | |||
ControllerConfiguration<P> getControllerConfiguration(); | |||
|
|||
ManagedDependentResourceContext managedDependentResourceContext(); | |||
|
|||
ResourceID currentlyReconciledResourceID(); |
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.
Why are we exposing this to the user? This is not usable at all for him. Could be very confusing? Is this this for metrics?
|
||
ResourceID currentlyReconciledResourceID(); | ||
|
||
Map<String, Object> metadata(); |
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.
Same here why is this in the context and not hidden from the user?
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
Kudos, SonarCloud Quality Gate passed! |
Right now, the only metadata that's provided is the group/version/kind information associated with the resource being processed. Fixes #1322. Fixes #1324. Co-authored-by: csviri <[email protected]>
Right now, the only metadata that's provided is the group/version/kind information associated with the resource being processed. Fixes #1322. Fixes #1324. Co-authored-by: csviri <[email protected]>
Right now, the only metadata that's provided is the group/version/kind information associated with the resource being processed. Fixes #1322. Fixes #1324. Co-authored-by: csviri <[email protected]>
Right now, the only metadata that's provided is the group/version/kind
information associated with the resource being processed.
Fixes #1322 #1324.
Builds on top of #1319.