Skip to content
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

Submit metric for DynamoDB Stream Type #578

Merged

Conversation

nhulston
Copy link
Contributor

@nhulston nhulston commented Mar 19, 2025

What does this PR do?

Submits a metric for DynamoDB stream type, that we can later query on metabase.

The type of stream will be identified via a tag on the metric:

  • streamtype:new_and_old_images
  • streamtype:new_image
  • streamtype:old_image
  • streamtype:keys_only

Motivation

Get insights on what stream setting customers are using to come up with a decision regarding: https://docs.google.com/document/d/1phVoU-XtzxjVmECNz3JOC6SJv5GtGj4lbjwXyCv-VUs/edit?tab=t.0#heading=h.ety0x21ybvdr

Testing Guidelines

Manual
Screenshot 2025-03-19 at 9 34 22 AM

and integration tests

Additional Notes

PRs to allow us to query on metabase:
https://github.com/DataDog/consul-config/pull/292757
https://github.com/DataDog/consul-config/pull/292758

Types of Changes

  • Bug fix
  • New feature
  • Breaking change
  • Misc (docs, refactoring, dependency upgrade, etc.)

Check all that apply

  • This PR's description is comprehensive
  • This PR contains breaking changes that are documented in the description
  • This PR introduces new APIs or parameters that are documented and unlikely to change in the foreseeable future
  • This PR impacts documentation, and it has been updated (or a ticket has been logged)
  • This PR's changes are covered by the automated tests
  • This PR collects user input/sensitive content into Datadog
  • This PR passes the integration tests (ask a Datadog member to run the tests)

Sorry, something went wrong.

@nhulston nhulston force-pushed the nicholas.hulston/submit-metric-for-dynamodb-stream-type branch from f8d1674 to 326a1c8 Compare March 19, 2025 13:42
@nhulston nhulston force-pushed the nicholas.hulston/submit-metric-for-dynamodb-stream-type branch from 326a1c8 to 309ebb5 Compare March 19, 2025 13:44
@nhulston nhulston marked this pull request as ready for review March 19, 2025 14:32
@nhulston nhulston requested a review from a team as a code owner March 19, 2025 14:32
@nhulston nhulston merged commit 92ec3b8 into main Mar 19, 2025
60 checks passed
@nhulston nhulston deleted the nicholas.hulston/submit-metric-for-dynamodb-stream-type branch March 19, 2025 14:43
@@ -28,6 +30,8 @@ def calculate_span_pointers(
return _calculate_s3_span_pointers_for_event(event)

elif event_source.equals(EventTypes.DYNAMODB):
# Temporary metric. TODO eventually remove(@nhulston)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Quality Violation

Suggested change
# Temporary metric. TODO eventually remove(@nhulston)
# Temporary metric. TODO(<owner>) eventually remove(@nhulston)
comments must have ownership (...read more)

When using TODO or FIXME, specify who write the annotation. It's a best practice to remind you who created the annotation and have potential context and information about this issue.

View in Datadog  Leave us feedback  Documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants