-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 static mapping for dynamodb metricset #17614
Conversation
Pinging @elastic/integrations-platforms (Team:Platforms) |
@jsoriano I added dashboard changes in this PR, feel free to comment! |
Thanks! Some suggestions on the dashboard:
|
691dbc8
to
bb65cc6
Compare
Signed-off-by: chrismark <[email protected]>
bb65cc6
to
e4151dc
Compare
Tested and it works! Thanks for the help! |
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.
One question about type here: should we use double instead of long for some of the metrics?
Streams during the specified time period. | ||
fields: | ||
- name: avg | ||
type: long |
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.
Should some of these metrics be double
type? For example, in data.json aws.dynamodb.metrics.SuccessfulRequestLatency.avg
= 1.6592021822660081
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.
+1, I think that most of the metrics here should be double.
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.
😬 nice catch, thank you both!
Signed-off-by: chrismark <[email protected]>
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.
LGTM!
* Add static mapping for dynamodb metricset Signed-off-by: chrismark <[email protected]> * Fix field types Signed-off-by: chrismark <[email protected]> (cherry picked from commit e023845)
* Add static mapping for dynamodb metricset Signed-off-by: chrismark <[email protected]> * Fix field types Signed-off-by: chrismark <[email protected]> (cherry picked from commit e023845)
What does this PR do?
This PR adds static mappings for
aws
dynamodb
metricset.Why is it important?
To avoid having breaking non TSVB visualisations when there no data in ES to create the respective fields with the dynamic mapping.