PromucFlow_constructor/app/client/src/utils
Rajat Agrawal cf18829c7d
chore: add first load telemetry to evaluations (#33989)
## Description
This PR adds an attribute to evaluations span that tells whether the
evaluation is first evaluation on page load or a subsequent one.

This attribute will help us filter evaluations and measure gains in
update evaluations and first page load evaluations separately.


Fixes #`Issue Number`  
_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.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/9381739425>
> Commit: 4cdd01dc24c70aa29b908420e60c984d20b2494d
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9381739425&attempt=1"
target="_blank">Click here!</a>

<!-- 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

- **Bug Fixes**
- Added a conditional check before calling `endSpan` to handle
`parentSpan` in action execution.

- **Refactor**
- Updated types and interfaces related to telemetry data handling to
enhance type safety and clarity.
- Adjusted telemetry data processing to accommodate new
`SpanAttributes`.

- **New Features**
- Introduced filtering for telemetry span data to exclude specific
entries, improving data management.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-07 18:38:42 +05:30
..
autocomplete chore: Modify logic to detect and hide deep paths in autocomplete suggestions (#33966) 2024-06-06 17:38:40 +05:30
autoHeight
CallbackHandler
editor fix: Icons not coming up in start with template flow. (#29857) 2023-12-26 14:49:08 +05:30
FilterInternalProperties fix: workflows query issues (#31567) 2024-03-07 11:02:10 +05:30
formControl feat: Add knowledge retrieval in Appsmith AI (#30725) 2024-02-05 17:15:45 +05:30
hooks feat: Refactor isCurrentWidgetFocused to isWidgetFocused (#32990) 2024-05-06 13:59:42 +05:30
migrations feat: dsl migration with server (#28518) 2023-11-30 18:03:33 +05:30
NavigationSelector chore: making body and variables as optional props- 31568 (#31665) 2024-03-20 19:03:52 +05:30
ProductRamps
validation
ApiPaneUtils.test.ts
ApiPaneUtils.tsx
AppsmithConsole.ts chore: removes unused js events (#31800) 2024-03-15 07:40:26 +05:30
AppsmithUtils.test.ts
AppsmithUtils.tsx chore: Update analytics to pass the correct source information in identify user call (#32591) 2024-04-19 15:06:50 +05:30
AppUtils.ts
bootIntercom.ts
boxHelpers.test.ts
boxHelpers.ts
BrandingUtils.ts
buildingBlockUtils.ts feat: add analytics for drag and drop building blocks (#32699) 2024-04-22 15:58:37 +01:00
canvasStructureHelpers.test.ts
canvasStructureHelpers.ts
configTree.ts
CustomWidgetBuilderService.test.ts fix: [custom widget] remove stale keys from dynamicTriggerPathList (#31586) 2024-03-20 14:31:03 +05:30
CustomWidgetBuilderService.ts fix: [custom widget] remove stale keys from dynamicTriggerPathList (#31586) 2024-03-20 14:31:03 +05:30
DatasourceSagaUtils.tsx
dayJsUtils.ts
decorators.ts chore: Custom widget (alpha) (#27571) 2023-11-14 10:03:37 +05:30
DSLMigrations.ts feat: dsl migration with server (#28518) 2023-11-30 18:03:33 +05:30
DynamicBindingUtils.test.ts
DynamicBindingUtils.ts fix: body path was getting removed from dynamicBindingPathList of action when changed datasource (#30268) 2024-01-12 17:39:15 +05:30
editorContextUtils.ts chore: update storybook (#32828) 2024-04-22 12:17:28 +03:00
formhelpers.test.ts
formhelpers.ts feat: Add functionality to enforce strong password for form signups (#31605) 2024-03-11 09:39:01 +05:30
GenerateCrudUtil.ts
generators.tsx
getCodeMirrorNamespace.ts
getPathAndValueFromActionDiffObject.ts
getQueryParamsObject.ts
helpers.test.ts
helpers.tsx chore: Page name validation closer to file name validation (#32830) 2024-04-22 19:22:41 +05:30
history.ts feat: add edit option in suggested queries in hint commands (#32076) 2024-03-28 19:24:33 +05:30
importUppy.ts
JSPaneUtils.test.ts chore: js module function name change refactor (#30073) 2024-01-09 10:49:21 +05:30
JSPaneUtils.tsx fix: Show loading state of application until all jsobject update calls are complete (#33545) 2024-05-24 11:49:29 +05:30
klona.test.ts
layoutPropertiesUtils.ts
lazyLottie.ts
localStorage.test.ts
localStorage.tsx feat: Added split pane beta announcement modal (#31676) 2024-03-12 15:13:52 +05:30
MessageUtil.ts
metaWidgetState.ts
PerformanceTracker.ts
PropertyControlFactory.tsx chore: Custom widget (alpha) (#27571) 2023-11-14 10:03:37 +05:30
PropertyControlRegistry.tsx
ReducerUtils.ts
reflowHookUtils.ts
replayHelpers.test.js
replayHelpers.tsx chore: update storybook (#32828) 2024-04-22 12:17:28 +03:00
resizeObserver.ts
serviceWorkerUtils.js chore: Prefetch consolidated api using service worker (#33306) 2024-05-16 18:03:28 +05:30
serviceWorkerUtils.test.js chore: Prefetch consolidated api using service worker (#33306) 2024-05-16 18:03:28 +05:30
storage.ts feat: remote js execution code split (#32853) 2024-05-04 05:46:37 +05:30
SuccessfulBindingsMap.ts
testDSLs.ts feat: added modal name, lint warning for string, action selector modal (#32893) 2024-05-02 17:48:53 +05:30
testPropertyPaneConfig.test.ts chore: autoFocus widget search input on load (#32002) 2024-04-03 13:21:53 +05:30
treeUtils.ts
TypeHelpers.ts
URLUtils.ts
UseComposeRef.ts
WidgetBlueprintUtils.ts
widgetEvalUtils.ts
WidgetFeatures.test.ts
WidgetFeatures.ts feat: [Custom widget] Enable dynamic height and auto layout. (#30459) 2024-02-07 16:30:50 +05:30
WidgetLoadingStateUtils.test.ts chore: Refactoring entity types and updating DS action create permission to fix some bugs on EE (#29573) 2023-12-14 20:14:30 +05:30
WidgetLoadingStateUtils.ts
WidgetMigrationUtils.test.ts
WidgetMigrationUtils.ts
WidgetPropsUtils.test.tsx feat: dsl migration with server (#28518) 2023-11-30 18:03:33 +05:30
WidgetPropsUtils.tsx chore: remove dsl flag (#30986) 2024-05-09 18:41:21 +05:30
WidgetQueryGeneratorRegistry.test.ts
WidgetQueryGeneratorRegistry.ts
widgetRenderUtils.test.ts chore: [chart widget] show configuration errors only in editor (#32024) 2024-03-26 09:49:58 +05:30
widgetRenderUtils.tsx chore: [chart widget] show configuration errors only in editor (#32024) 2024-03-26 09:49:58 +05:30
WidgetSizeUtils.test.ts
WidgetSizeUtils.ts
WorkerUtil.test.ts
WorkerUtil.ts chore: add first load telemetry to evaluations (#33989) 2024-06-07 18:38:42 +05:30