-
Notifications
You must be signed in to change notification settings - Fork 3
Java upgrade and api pathwise metrics #16
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
Java upgrade and api pathwise metrics #16
Conversation
…ath to show data per api endpoint
…t in the cloudwatch apigateway namespace
e9809f0
to
2518c55
Compare
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.
Please respond to queries
|
||
DimensionFilter apiNameDimensionFilter = new DimensionFilter(); | ||
apiNameDimensionFilter.withName(APINAME); | ||
DimensionFilter apiNameDimensionFilter = DimensionFilter.builder() |
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.
instead of APIName, why 3 diff dimention filters were created?
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.
for(Dimension dimension : metric.getDimensions()) { | ||
if(dimension.getName().equalsIgnoreCase("ApiName")) { | ||
apiName = dimension.getValue(); | ||
for(Dimension dimension : metric.dimensions()) { |
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.
same as above
src/main/resources/conf/config.yml
Outdated
awsSecretKey: "" | ||
displayAccountName: "AppD" | ||
regions: ["us-west-2"] | ||
displayAccountName: "Test Gateway" |
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.
is this display account name is correct?
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.
This is just a placeholder. it is customised by customer based on their needs.
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.
Even as a place holder, please do restore the previous displayName
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.
reverted.
src/main/resources/conf/config.yml
Outdated
# Global time range configuration, applicable to all the metrics configured below. | ||
metricsTimeRange: | ||
startTimeInMinsBeforeNow: 10 | ||
startTimeInMinsBeforeNow: 60 |
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.
what is the purpose of increasing the starttime by 60 min?
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.
This is just a placeholder. it is customised by customer based on their metrics size.
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.
in that case, please dont change the value so that it does not create any confusion unnecessary
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.
reverted.
Upgraded java version to 17
Upgraded aws-cloudwatch-exts-commons to 2.2.8
Added stage and resource to the metric path on collect by adding additional dimensions