Skip to content

Conversation

@joeyzhao2018
Copy link
Contributor

@joeyzhao2018joeyzhao2018 commented Jun 25, 2025

What does this PR do?

Motivation

Testing Guidelines

Additional Notes

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)

@joeyzhao2018joeyzhao2018 requested review from a team as code ownersJune 25, 2025 18:22
Comment on lines 167 to 171
exceptException:
ifnotshould_use_extension:
ifshould_use_extension:
fromdatadog_lambda.metricimportsubmit_errors_metric

submit_errors_metric(context)
Copy link
Contributor

Choose a reason for hiding this comment

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

before, it worked like:

exceptException: fromdatadog_lambda.metricimportsubmit_errors_metricsubmit_errors_metric(context)

we weren't checking for extension at all

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

updated accordingly.

@joeyzhao2018joeyzhao2018force-pushed the joey/fix_error_metrics branch 4 times, most recently from 59e1bc0 to 9413991CompareJune 26, 2025 14:36
@joeyzhao2018joeyzhao2018force-pushed the joey/fix_error_metrics branch from 9413991 to bb41689CompareJune 26, 2025 14:37
Copy link
Contributor

@nhulstonnhulston left a comment

Choose a reason for hiding this comment

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

Nice!

@joeyzhao2018joeyzhao2018 merged commit 495c770 into mainJun 26, 2025
61 checks passed
@joeyzhao2018joeyzhao2018 deleted the joey/fix_error_metrics branch June 26, 2025 16:16
Sign up for freeto 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.

3 participants

@joeyzhao2018@nhulston