-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Add spans attributes for no of lines and action count (#37001)
## Description Fixes #36995 ## Automation /ok-to-test tags="@tag.Sanity" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/11455841055> > Commit: 7285f3f > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=11455841055&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.Sanity` > Spec: > <hr>Tue, 22 Oct 2024 08:35:48 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added new constants for layout operations and data extraction to improve functionality. - Introduced observability tracking for various methods to enhance monitoring and performance insights. - **Bug Fixes** - Enhanced error handling and logging for action updates and layout modifications. - **Refactor** - Improved clarity and maintainability of methods related to action collections and layout updates. - **Chores** - Updated method signatures to include new observability parameters for better tracking. - Added metrics for line and action counts in action collection updates. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information
Rishabh Rathod
authored
Oct 22, 2024
1 parent
4f55f52
commit dc5fbed
Showing
8 changed files
with
142 additions
and
29 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
...r/appsmith-interfaces/src/main/java/com/appsmith/external/constants/spans/OnLoadSpan.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.appsmith.external.constants.spans; | ||
|
||
import com.appsmith.external.constants.spans.ce.OnLoadSpanCE; | ||
|
||
public class OnLoadSpan extends OnLoadSpanCE {} |
This file contains 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
22 changes: 22 additions & 0 deletions
22
...smith-interfaces/src/main/java/com/appsmith/external/constants/spans/ce/OnLoadSpanCE.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.appsmith.external.constants.spans.ce; | ||
|
||
import static com.appsmith.external.constants.spans.BaseSpan.APPSMITH_SPAN_PREFIX; | ||
|
||
public class OnLoadSpanCE { | ||
|
||
public static final String GET_ALL_EXECUTABLES_BY_CREATOR_ID = | ||
APPSMITH_SPAN_PREFIX + "getAllExecutablesByCreatorIdFlux"; | ||
public static final String EXECUTABLE_NAME_TO_EXECUTABLE_MAP = | ||
APPSMITH_SPAN_PREFIX + "executableNameToExecutableMap"; | ||
public static final String EXECUTABLE_IN_CREATOR_CONTEXT = APPSMITH_SPAN_PREFIX + "executablesInCreatorContext"; | ||
public static final String ADD_DIRECTLY_REFERENCED_EXECUTABLES_TO_GRAPH = | ||
APPSMITH_SPAN_PREFIX + "addDirectlyReferencedExecutablesToGraph"; | ||
public static final String GET_POSSIBLE_ENTITY_REFERENCES = APPSMITH_SPAN_PREFIX + "getPossibleEntityReferences"; | ||
public static final String UPDATE_EXECUTABLE_SELF_REFERENCING_PATHS = | ||
APPSMITH_SPAN_PREFIX + "updateExecutableSelfReferencingPaths"; | ||
public static final String GET_POSSIBLE_ENTITY_PARENTS_MAP = APPSMITH_SPAN_PREFIX + "getPossibleEntityParentsMap"; | ||
public static final String ADD_EXPLICIT_USER_SET_ON_LOAD_EXECUTABLES_TO_GRAPH = | ||
APPSMITH_SPAN_PREFIX + "addExplicitUserSetOnLoadExecutablesToGraph"; | ||
public static final String GET_UNPUBLISHED_ON_LOAD_EXECUTABLES_EXPLICIT_SET_BY_USER_IN_CREATOR_CONTEXT = | ||
APPSMITH_SPAN_PREFIX + "getUnpublishedOnLoadExecutablesExplicitSetByUserInCreatorContext"; | ||
} |
This file contains 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
This file contains 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
Oops, something went wrong.