-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add ability to gather lock metrics #32
Conversation
f5c2897
to
662af66
Compare
@davidbrota Any chance this could get a look over ? :-) |
@rabbitt Thanks for the PR! I plan to look over this today |
@rabbitt These changes look great. It might be better behind an argument toggle just so users' logs aren't riddled with warnings for a non-default feature. I can implement that when I update the metrics list. I'll try to get this merged and released tomorrow |
@ccheek21 Thanks for the approval! Any idea when this might make it into an official release? Edit: Apparently you replied as I was writing mine. Yeah, an argument toggle would arguably ('scuse the pun) be a much better mechanism for enabling it - which I'm more than happy to add, if you prefer. |
@rabbitt If you can add the argument toggle, it'd speed up the release process for me. I plan to release as soon as it gets merged since I don't have any other changes queued right now, so that could be as soon as tomorrow |
@ccheek21 any preference on argument name, or is |
@rabbitt I'd probably go with |
Hi @ccheek21, Let me know if the changes look good, and I can squash the commits down - or if there are additional changes you'd like made. Thanks!, -- |
@rabbitt Looks great -- thanks for the responsive changes! I can take care of squashing and releasing. Apparently there is some work being done on the release pipeline today, so I'm not sure if that will affect a getting the official release out today, but I'll see what I can do |
@rabbitt This feature is released with v2.1.3 |
@ccheek21 I'm working on creating an integration to slurp up Cloudflare's cloudflared metrics (aka their argo tunnel daemon) into newrelic. Once I'm finished, I'd love to get it added to newrelic's suite of ("blessed" ?) integrations. Is that possible? If so, what's the process for that ? Thanks! |
@rabbitt Thanks for the offer! I'm not entirely sure what that process would look like, but I'm talking with some people who should be able to answer that a bit better. I'll keep you in the loop |
Description of the changes
Adds the ability to gather database lock metrics. The easiest method for doing so was to leverage the
crosstab
function of thetablefunc
extension. If the extension is not available, a warning will be emitted alerting the user to that fact, and providing instructions on how to enable lock metric gather.PR Review Checklist
Author
Reviewer