-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[connector/servicegraph]Servergraph component does not merge different dimension metrics #35287 #35288
[connector/servicegraph]Servergraph component does not merge different dimension metrics #35287 #35288
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. Would be great to have a test to verify this is now fixed.
Unit tests have been added. |
03d7499
to
765f0dd
Compare
continue | ||
for _, kind := range []string{serverKind, clientKind} { | ||
for _, dimName := range p.config.Dimensions { | ||
if dim, ok := edgeDimensions[kind+"_"+dimName]; ok { |
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.
if dim, ok := edgeDimensions[kind+"_"+dimName]; ok { | |
if dim, ok := edgeDimensions[kind + "_" + dimName]; ok { |
Nit: Whitespace around +
operator.
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.
There is no space in the original code, such as in the upsertDimensions
function. I think it is better to keep the original style.
Co-authored-by: Curtis Robert <crobert@splunk.com>
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
Closed as inactive. Feel free to reopen if this PR is still being worked on. |
Description:
Servergraph component does not merge different dimension metrics。
Link to tracking Issue:
#35287