-
Notifications
You must be signed in to change notification settings - Fork 4k
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
chore: spans added in ast service for RTS calls #39823
Conversation
WalkthroughThe changes add new constants for span naming in the on-load spans class and integrate them into observability code. The modifications update methods in executable and service classes to name and tap reactive streams with Micrometer observations. Additionally, constructors now inject an Changes
Sequence Diagram(s)sequenceDiagram
participant Client as Caller
participant Executor as OnLoadExecutablesUtilCEImpl
participant Micrometer as Micrometer
Client->>Executor: getPossibleEntityReferencesMap()
Executor->>Micrometer: flux.name(GET_POSSIBLE_REFERENCES_FROM_DYNAMIC_BINDING)
Executor->>Micrometer: flux.tap(ObservationRegistry)
Micrometer-->>Executor: Observation recorded
sequenceDiagram
participant Caller as Client
participant Service as AstServiceCEImpl
participant Micrometer as Micrometer
Caller->>Service: getPossibleReferencesFromDynamicBinding(bindings, eval_version)
Service->>Micrometer: .name(AST_SERVICE_CALLING_RTS_API)
Service->>Micrometer: .tap(ObservationRegistry) with tags ("no_of_bindings", "eval_version")
Micrometer-->>Service: Metrics logged
Assessment against linked issues
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (4)
🧰 Additional context used🧬 Code Definitions (3)app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AstServiceCEImpl.java (1)
app/server/appsmith-server/src/main/java/com/appsmith/server/services/AstServiceImpl.java (2)
app/server/appsmith-server/src/main/java/com/appsmith/server/onload/internal/OnLoadExecutablesUtilCEImpl.java (1)
⏰ Context from checks skipped due to timeout of 90000ms (4)
🔇 Additional comments (9)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Description
Fixes #39799
or
Fixes
Issue URL
Warning
If no issue exists, please create an issue first, and check with the maintainers if the issue is valid.
Automation
/ok-to-test tags="@tag.Datasource"
🔍 Cypress test results
Tip
🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/13966111083
Commit: c695fd1
Cypress dashboard.
Tags:
@tag.Datasource
Spec:
Thu, 20 Mar 2025 10:16:02 UTC
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit