Repository navigation
Add OpenTelemetry Tracing to DynamicMockRestController - #1934
Merged
lbroudoux merged 2 commits intoJan 27, 2026
Merged
Conversation
|
Welcome to the Microcks community! 💖 Thanks and congrats 🎉 for opening your first pull request here! Be sure to follow the pull request template or please update it accordingly. Hope you have a great time there! |
dipak0000812
force-pushed
the
feat/dynamic-mock-tracing
branch
from
January 26, 2026 11:30
a979060 to
1cdb491
Compare
Add comprehensive tracing instrumentation to all five DynamicMockRestController endpoints (create, find, get, update, delete) to align with existing tracing patterns in SoapController. Changes: - Add required OpenTelemetry imports (Span, TraceUtil, CommonAttributes, CommonEvents) - Instrument all methods with span attributes (service.name, service.version, operation.name) - Add lifecycle events for invocation receipt, resource operations, and delay configuration - Add error tracking with span status for JSON parse failures and missing resources Fixes microcks#1930 Signed-off-by: dipak0000812 <[email protected]>
dipak0000812
force-pushed
the
feat/dynamic-mock-tracing
branch
from
January 26, 2026 11:47
1cdb491 to
3934346
Compare
lbroudoux
requested changes
Jan 27, 2026
lbroudoux
left a comment
Member
There was a problem hiding this comment.
LGTM. Thanks! I just have a minor comment on the default value for invocation stats enablement, in order to keep consistancy.
dipak0000812
force-pushed
the
feat/dynamic-mock-tracing
branch
from
January 27, 2026 16:45
fb81988 to
6292962
Compare
Signed-off-by: dipak0000812 <[email protected]>
dipak0000812
force-pushed
the
feat/dynamic-mock-tracing
branch
from
January 27, 2026 16:48
6292962 to
5bb2163
Compare
Contributor
Author
|
Hello @lbroudoux, |
lbroudoux
added a commit
that referenced
this pull request
Feb 5, 2026
…ll mongo and be detected as exfiltration or SSRF Signed-off-by: Laurent Broudoux <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1930
This PR adds OpenTelemetry tracing to DynamicMockRestController to align it with existing tracing in SoapController and RestInvocationProcessor.
The change is intentionally minimal:
No functional or behavioral changes are introduced.