-
Notifications
You must be signed in to change notification settings - Fork 3
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
Expose AWS Metrics as an array in update.go #31
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.
LGTM 👍
Name: "yace_cloudwatch_dmsapi_requests_total", | ||
Help: "Help is not implemented yet.", | ||
}) | ||
) |
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.
Should Metrics
slice be declared next to the metrics now
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.
My thought is that update.go
is the library entrypoint so if we centralize important pieces of the library API it can make it more discoverable/obvious. We might be the only people using it as a library but might help upstream maintenance as a reminder there's multiple entrypoints. Writing this made think it might be a good idea to add this info to the upstream README. WDYT?
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.
We might be the only people using it as a library but might help upstream maintenance as a reminder there's multiple entrypoints. Writing this made think it might be a good idea to add this info to the upstream README. WDYT?
+1
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 should hopefully make it a lot harder to skip registering a metric, which I already did.
Also deleted the release.yml since it attempts to publish to the upstream repo, 😬
Edit: and adjusted lint + build to run on our live branch