Skip to content

Conversation

coramiam
Copy link

@coramiam coramiam commented Sep 25, 2025

Added basic runtime telemetry (execution event only) to the following community activity packages:

  • UiPath.Database.Activities
  • UiPath.FTP.Activities
  • UiPath.Cryptography.Activities
  • UiPath.Java.Activities
  • UiPath.Credentials.Activities

This PR only covers the infrastructure for Telemetry which was migrated from System.Activities, and a basic runtime event for each activity mentioned in the Jira tickets.

⚠️ To do:

  • in a separate PR - add field details for each activity to be sent to Telemetry.
  • later edit: Not a bug, but an activity misconfiguration -> - possible bug - investigate why the container activities (child activities) don't seem to trigger events - for example, the FTP child activities don't seem to trigger events, only the FTP scope activity does.

Jira tickets:
https://uipath.atlassian.net/browse/STUD-77058
https://uipath.atlassian.net/browse/STUD-77060
https://uipath.atlassian.net/browse/STUD-77061
https://uipath.atlassian.net/browse/STUD-77063
https://uipath.atlassian.net/browse/STUD-77065

How to test:
Add the activities in a Studio project, run/debug them and check the Telemetry events sent in the Robot AppInsights page using this filter:

requests
| where name contains ".Activities."
| where tostring(customDimensions.ActivityPackage) contains "Database." // change this to your package name
| order by name asc

Added basic runtime telemetry (execution event only) to the following community activity packages:
- UiPath.Database.Activities
- UiPath.FTP.Activities
- UiPath.Cryptography.Activities
- UiPath.Java.Activities
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds basic runtime telemetry infrastructure to four community activity packages (Database, FTP, Java, and Cryptography). The implementation includes telemetry event tracking for activity execution with exception handling support.

Key changes:

  • Created shared telemetry infrastructure and contracts in UiPath.Shared.Telemetry
  • Added telemetry execution tracking to all activities in the four target packages
  • Updated project configurations to include necessary telemetry dependencies

Reviewed Changes

Copilot reviewed 76 out of 76 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
UiPath.Shared.Telemetry/* New shared telemetry infrastructure with contracts, services, and providers
UiPath.Shared.Contracts/* Supporting contract wrappers for runtime and designer integration
Activities/*/**.csproj Updated project files to include telemetry dependencies
Activities///**.cs Added telemetry tracking to individual activity implementations
Directory.build.* Global build configuration updates for telemetry support

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Added basic runtime telemetry (execution event only) to the following community activity packages:
- UiPath.Database.Activities
- UiPath.FTP.Activities
- UiPath.Cryptography.Activities
- UiPath.Java.Activities
- UiPath.Credentials.Activities
@LiviuPonova LiviuPonova force-pushed the feature/communityactivities/add-runtime-telemetry branch from a105d71 to 02b3a12 Compare October 1, 2025 12:04
@LiviuPonova LiviuPonova changed the title Community Activities: Added basic runtime telemetry for Cryptography, Database, FTP and Java activities Community Activities: Added basic runtime telemetry for Credentials, Cryptography, Database, FTP and Java activities Oct 1, 2025
Addressed the changes required for the PR
Fixed failing tests for Cryptography, Database, FTP and Java Activities
Copy link

sonarqubecloud bot commented Oct 1, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
57.8% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Copy link

sonarqubecloud bot commented Oct 1, 2025

Copy link

sonarqubecloud bot commented Oct 1, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Copy link

sonarqubecloud bot commented Oct 1, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
39.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Copy link

sonarqubecloud bot commented Oct 1, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Copy link

sonarqubecloud bot commented Oct 1, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
41.3% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

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.

3 participants