Skip to content

[PROD] Update RDS func to deal with empty name tag #198

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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