You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
support static "all" metrics and update guidelines
Add metric to cdk.IResource
Implement and apply rule awslint:metrics-on-interface: All metric methods should be on the construct interface and not the class
Implement and apply rule awslint:metrics-generic-method: All constructs which emit metrics should have at least a single generic "metric" method
Implement and apply rule awslint:metrics-method-signature: Metric method signature should adhere to the rules
Implement and apply rule awslint:metrics-static-all-generic: If there is a static all metric method, it should at least include a single "metricAll" generic method
Implement and apply rule awslint:metrics-static-all: Verify signature of all "metricAllXxx" static methods
The text was updated successfully, but these errors were encountered:
eladb
changed the title
Guidelines implementation: Metrics
awslint:metrics
May 1, 2019
Marking this RFCs as stale since there has been little recent activity and it is not currently close to getting accepted as-is. We appreciate the effort that has gone into this proposal. Marking an RFCs as stale is not a one-way door. If you have made substantial changes to the proposal, please open a new issue/RFC. You might also consider raising a PR to aws/aws-cdk directly or self-publishing to Construct Hub.
metric
tocdk.IResource
awslint:metrics-on-interface
: All metric methods should be on the construct interface and not the classawslint:metrics-generic-method
: All constructs which emit metrics should have at least a single generic "metric" methodawslint:metrics-method-signature
: Metric method signature should adhere to the rulesawslint:metrics-static-all-generic
: If there is a static all metric method, it should at least include a single "metricAll" generic methodawslint:metrics-static-all
: Verify signature of all "metricAllXxx" static methodsThe text was updated successfully, but these errors were encountered: