Skip to content

azure-eventhub v2: Fix processingTime input metric#40547

Closed
zmoog wants to merge 1 commit intoelastic:mainfrom
zmoog:zmoog/azure-eventhub-fix-input-metrics
Closed

azure-eventhub v2: Fix processingTime input metric#40547
zmoog wants to merge 1 commit intoelastic:mainfrom
zmoog:zmoog/azure-eventhub-fix-input-metrics

Conversation

@zmoog
Copy link
Copy Markdown
Contributor

@zmoog zmoog commented Aug 16, 2024

Proposed commit message

Update the processingTime input metric only once after the for loop using the time since processingStartTime.

Before this change, by updating processingStartTime inside the loop we ended up counting time multiple times.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Disruptive User Impact

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Use cases

Screenshots

Logs

@zmoog zmoog added bug Team:obs-ds-hosted-services Label for the Observability Hosted Services team labels Aug 16, 2024
@zmoog zmoog self-assigned this Aug 16, 2024
@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Aug 16, 2024
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Aug 16, 2024

This pull request does not have a backport label.
If this is a bug or security fix, could you label this PR @zmoog? 🙏.
For such, you'll need to label your PR with:

  • The upcoming major version of the Elastic Stack
  • The upcoming minor version of the Elastic Stack (if you're not pushing a breaking change)

To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-v8./d.0 is the label to automatically backport to the 8./d branch. /d is the digit

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Dec 26, 2024

backport-8.x has been added to help with the transition to the new branch 8.x.
If you don't need it please use backport-skip label and remove the backport-8.x label.

@mergify mergify bot added the backport-8.x Automated backport to the 8.x branch with mergify label Dec 26, 2024
Update the processingTime input metric only once after the for loop
using the time since processingStartTime.

Before this change, by updating processingStartTime inside the loop we
ended up counting time multiple times.
@zmoog zmoog force-pushed the zmoog/azure-eventhub-fix-input-metrics branch from 051590e to 48cf35f Compare December 22, 2025 22:16
@zmoog zmoog added backport-active-all Automated backport with mergify to all the active branches input:azure-eventhub and removed backport-8.x Automated backport to the 8.x branch with mergify labels Apr 1, 2026
@zmoog
Copy link
Copy Markdown
Contributor Author

zmoog commented Apr 1, 2026

Superseded by #49864

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-active-all Automated backport with mergify to all the active branches bug input:azure-eventhub Team:obs-ds-hosted-services Label for the Observability Hosted Services team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants