Skip to content

fix(FOUR-33645): guard activity execution time metric when ms timesta… - #9085

Open
gproly wants to merge 1 commit into
developfrom
bugfix/FOUR-33645
Open

gproly wants to merge 1 commit into
developfrom
bugfix/FOUR-33645

Conversation

@gproly

@gproly gproly commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

…mps are null

Prevent task completion failures when recording the Prometheus activity_execution_time_seconds histogram in BpmnSubscriber.

Fall back to created_at and completed_at when created_at_ms or completed_at_ms are unavailable, and skip the metric observation when either timestamp is still missing.

https://processmaker.atlassian.net/browse/FOUR-33645

…mps are null

Prevent task completion failures when recording the Prometheus
activity_execution_time_seconds histogram in BpmnSubscriber.

Fall back to created_at and completed_at when created_at_ms or
completed_at_ms are unavailable, and skip the metric observation
when either timestamp is still missing.

https://processmaker.atlassian.net/browse/FOUR-33645
@decisions-sonarqube

Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

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.

1 participant