-
Notifications
You must be signed in to change notification settings - Fork 61
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(agent): Memcached instance metrics with host name #958
base: dev
Are you sure you want to change the base?
Conversation
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #958 +/- ##
==========================================
+ Coverage 78.50% 78.53% +0.03%
==========================================
Files 195 196 +1
Lines 27057 27108 +51
==========================================
+ Hits 21241 21290 +49
- Misses 5816 5818 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Please address all comments and refactor the code.
Co-authored-by: Michal Nowacki <[email protected]>
agent/php_memcached.h
Outdated
* Purpose : Create a memcached instance metric | ||
* | ||
* Params : 1. The memcached host or socket name as given to Memcached::addServer(). | ||
* Must be non-null. |
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.
Since this function is a public API, this cannot be guaranteed and therefore this function needs to account for invalid input.
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.
removed this comment in c8bdfb7. The function can handle NULL
The agent should report instance metrics when multiple servers are | ||
added at once |
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.
This comment is not accurate.
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.
fixed in 3364eb0
These metrics can be used by the backend to create AWS relationship maps with memcached