Skip to content

Conversation

hetu494
Copy link

@hetu494 hetu494 commented Jan 31, 2020

Currently filesystem metrics -> aws.rds.filesystem.* metrics are being tagged with an empty 'name:' tag.
This happens because we are trying to parse the name key's value from the "fileSys" section of the log event, but it has an empty values as seen here: https://a.cl.ly/v1um7p1z which results in an empty tag like this: https://a.cl.ly/WnuEgNNn
I think my change will not add the name tag if it has an empty value.

What does this PR do?

Change the function to collect fileSys metrics to deal with an empty name: tag issue.

Motivation

Customer reached out to us about this, we have an issue on the support board.

Additional Notes

Anything else we should know when reviewing?

Currently filesystem metrics -> aws.rds.filesystem.* metrics are being tagged with a empty 'name:' tag. 
This happens because we are trying to parse the name key's value from the "fileSys" section of the log event, but it has an empty values as seen here: https://a.cl.ly/v1um7p1z which results in an empty tag like this: https://a.cl.ly/WnuEgNNn
I think my change will not add the `name` tag if it has an empty value.
@agocs agocs added the rds related to the rds_enhanced_monitoring function label Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rds related to the rds_enhanced_monitoring function
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants