-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 Window Attribute for Metrics #5722
Conversation
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide. |
@callum-mcdata once you are ready for an Engineering team member to review (test passing, name solidified), feel free to add the |
Hey @leahwicz this PR is ready for review! I updated the tests to ensure that they pass (ie adding |
Thanks @callum-mcdata! I just added @emmyoop as a reviewer since she is on support rotation right now |
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.
Just a nit and a few questions.
@emmyoop made the changes that you mentioned in above resolved conversations! |
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.
Looks good!
@gshank could I get approval to merge in this PR? Looks like I'm not an authorized user to merge into |
* file changes * changing to window * adding test * adding changie for feature * fixing commits * fixing tests * adding timestamp * fixing graph unparsed * changing default value
resolves #5721
Description
Adding the attribute
window
to the metric definition as an optional string. No tests have been added yet as this is merely a draft.Produced Manifest
I tested this out in a development project and was able to confirm that
"window": "14 days"
was correctly represented in the single metric where it was defined. For all others"window": ""
was present.Checklist
changie new
to create a changelog entry