-
Notifications
You must be signed in to change notification settings - Fork 142
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
Internal API - Visibility System support #1060
Conversation
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.
lets maybe explain above each usage manager whats it's purpose
jfconnect/services/metrics.go
Outdated
return *js.serviceDetails | ||
} | ||
|
||
func (js *JfConnectService) LogMetric(metric []byte) error { |
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.
metric has no type? just simple []byte?
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.
Yes, it's just a JSON payload added to the post request.
Adding an additional type to that payload would add an unnecessary complication to the flow in my opinion.
Co-authored-by: Michael Sverdlov <[email protected]>
This PR introduces an internal API, in the JFrog Platform, to allow for usage reporting for servies that rely on this library.