Skip to content

Added classes required for telemetry #572

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

Merged
merged 27 commits into from
May 30, 2025
Merged

Added classes required for telemetry #572

merged 27 commits into from
May 30, 2025

Conversation

saishreeeee
Copy link
Collaborator

@saishreeeee saishreeeee commented May 26, 2025

What type of PR is this?

  • Refactor
  • Feature
  • Bug Fix
  • Other

Description

Added classes required for telemetry frontend logs, request and response

How is this tested?

  • Unit tests
  • E2E Tests
  • Manually
    Verified the working of the models by sending telemetry logs to the endpoint (code for this implementation will be added in the followup PR for telemetry)
  • N/A

Related Tickets & Documents

PECOBLR-441

Copy link

Thanks for your contribution! To satisfy the DCO policy in our contributing guide every commit message must include a sign-off message. One or more of your commits is missing this message. You can reword previous commit messages with an interactive rebase (git rebase -i main).

saishreeeee and others added 14 commits May 26, 2025 12:12
Signed-off-by: Sai Shree Pradhan <[email protected]>
Signed-off-by: Sai Shree Pradhan <[email protected]>
Signed-off-by: Sai Shree Pradhan <[email protected]>
Signed-off-by: Sai Shree Pradhan <[email protected]>
Signed-off-by: Sai Shree Pradhan <[email protected]>
new codeowners

Signed-off-by: Sai Shree Pradhan <[email protected]>
…t to prevent server side resource leaks (#554)

* Enhance Cursor close handling and context manager exception management

* tests

* fmt

* Fix Cursor.close() to properly handle CursorAlreadyClosedError

* Remove specific test message from Cursor.close() error handling

* Improve error handling in connection and cursor context managers to ensure proper closure during exceptions, including KeyboardInterrupt. Add tests for nested cursor management and verify operation closure on server-side errors.

* add

* add

Signed-off-by: Sai Shree Pradhan <[email protected]>
* PECOBLR-86 Improve logging for debug level

Signed-off-by: Sai Shree Pradhan <[email protected]>

* PECOBLR-86 Improve logging for debug level

Signed-off-by: Sai Shree Pradhan <[email protected]>

* fixed format

Signed-off-by: Sai Shree Pradhan <[email protected]>

* used lazy logging

Signed-off-by: Sai Shree Pradhan <[email protected]>

* changed debug to error logs

Signed-off-by: Sai Shree Pradhan <[email protected]>

* used lazy logging

Signed-off-by: Sai Shree Pradhan <[email protected]>

---------

Signed-off-by: Sai Shree Pradhan <[email protected]>
More conditions to run github actions

Signed-off-by: Sai Shree Pradhan <[email protected]>
Signed-off-by: Sai Shree Pradhan <[email protected]>
Signed-off-by: Sai Shree Pradhan <[email protected]>
@saishreeeee saishreeeee changed the base branch from main to telemetry May 26, 2025 06:50
Signed-off-by: Sai Shree Pradhan <[email protected]>
Copy link
Contributor

@jprakash-db jprakash-db left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for making the changes

Signed-off-by: Sai Shree Pradhan <[email protected]>
@samikshya-db
Copy link
Contributor

Let's populate the PR description, testing details. This is useful for future context.

Signed-off-by: Sai Shree Pradhan <[email protected]>
merge with origin/telemetry
Signed-off-by: Sai Shree Pradhan <[email protected]>
Signed-off-by: Sai Shree Pradhan <[email protected]>
Copy link
Contributor

@samikshya-db samikshya-db left a comment

Choose a reason for hiding this comment

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

Excited for telemetry in python driver 🚢 !!

@saishreeeee saishreeeee merged commit fdd385f into telemetry May 30, 2025
22 of 23 checks passed
saishreeeee added a commit that referenced this pull request Jun 4, 2025
* PECOBLR-86 Improve logging for debug level

Signed-off-by: Sai Shree Pradhan <[email protected]>

* PECOBLR-86 Improve logging for debug level

Signed-off-by: Sai Shree Pradhan <[email protected]>

* fixed format

Signed-off-by: Sai Shree Pradhan <[email protected]>

* used lazy logging

Signed-off-by: Sai Shree Pradhan <[email protected]>

* changed debug to error logs

Signed-off-by: Sai Shree Pradhan <[email protected]>

* added classes required for telemetry

Signed-off-by: Sai Shree Pradhan <[email protected]>

* removed TelemetryHelper

Signed-off-by: Sai Shree Pradhan <[email protected]>

* [PECOBLR-361] convert column table to arrow if arrow present (#551)

Signed-off-by: Sai Shree Pradhan <[email protected]>

* Update CODEOWNERS (#562)

new codeowners

Signed-off-by: Sai Shree Pradhan <[email protected]>

* Enhance Cursor close handling and context manager exception management to prevent server side resource leaks (#554)

* Enhance Cursor close handling and context manager exception management

* tests

* fmt

* Fix Cursor.close() to properly handle CursorAlreadyClosedError

* Remove specific test message from Cursor.close() error handling

* Improve error handling in connection and cursor context managers to ensure proper closure during exceptions, including KeyboardInterrupt. Add tests for nested cursor management and verify operation closure on server-side errors.

* add

* add

Signed-off-by: Sai Shree Pradhan <[email protected]>

* PECOBLR-86 improve logging on python driver (#556)

* PECOBLR-86 Improve logging for debug level

Signed-off-by: Sai Shree Pradhan <[email protected]>

* PECOBLR-86 Improve logging for debug level

Signed-off-by: Sai Shree Pradhan <[email protected]>

* fixed format

Signed-off-by: Sai Shree Pradhan <[email protected]>

* used lazy logging

Signed-off-by: Sai Shree Pradhan <[email protected]>

* changed debug to error logs

Signed-off-by: Sai Shree Pradhan <[email protected]>

* used lazy logging

Signed-off-by: Sai Shree Pradhan <[email protected]>

---------

Signed-off-by: Sai Shree Pradhan <[email protected]>

* Update github actions run conditions (#569)

More conditions to run github actions

Signed-off-by: Sai Shree Pradhan <[email protected]>

* Added classes required for telemetry

Signed-off-by: Sai Shree Pradhan <[email protected]>

* fixed example

Signed-off-by: Sai Shree Pradhan <[email protected]>

* changed to doc string

Signed-off-by: Sai Shree Pradhan <[email protected]>

* removed self.telemetry close line

Signed-off-by: Sai Shree Pradhan <[email protected]>

* grouped classes

Signed-off-by: Sai Shree Pradhan <[email protected]>

* formatting

Signed-off-by: Sai Shree Pradhan <[email protected]>

* fixed doc string

Signed-off-by: Sai Shree Pradhan <[email protected]>

* fixed doc string

Signed-off-by: Sai Shree Pradhan <[email protected]>

* added more descriptive comments, put dataclasses in a sub-folder

Signed-off-by: Sai Shree Pradhan <[email protected]>

* fixed default attributes ordering

Signed-off-by: Sai Shree Pradhan <[email protected]>

* changed file names

Signed-off-by: Sai Shree Pradhan <[email protected]>

* added enums to models folder

Signed-off-by: Sai Shree Pradhan <[email protected]>

* removed telemetry batch size

Signed-off-by: Sai Shree Pradhan <[email protected]>

---------

Signed-off-by: Sai Shree Pradhan <[email protected]>
Co-authored-by: Shivam Raj <[email protected]>
Co-authored-by: Jothi Prakash <[email protected]>
Co-authored-by: Madhav Sainanee <[email protected]>
saishreeeee added a commit that referenced this pull request Jun 4, 2025
* PECOBLR-86 Improve logging for debug level

Signed-off-by: Sai Shree Pradhan <[email protected]>

* PECOBLR-86 Improve logging for debug level

Signed-off-by: Sai Shree Pradhan <[email protected]>

* fixed format

Signed-off-by: Sai Shree Pradhan <[email protected]>

* used lazy logging

Signed-off-by: Sai Shree Pradhan <[email protected]>

* changed debug to error logs

Signed-off-by: Sai Shree Pradhan <[email protected]>

* added classes required for telemetry

Signed-off-by: Sai Shree Pradhan <[email protected]>

* removed TelemetryHelper

Signed-off-by: Sai Shree Pradhan <[email protected]>

* [PECOBLR-361] convert column table to arrow if arrow present (#551)

Signed-off-by: Sai Shree Pradhan <[email protected]>

* Update CODEOWNERS (#562)

new codeowners

Signed-off-by: Sai Shree Pradhan <[email protected]>

* Enhance Cursor close handling and context manager exception management to prevent server side resource leaks (#554)

* Enhance Cursor close handling and context manager exception management

* tests

* fmt

* Fix Cursor.close() to properly handle CursorAlreadyClosedError

* Remove specific test message from Cursor.close() error handling

* Improve error handling in connection and cursor context managers to ensure proper closure during exceptions, including KeyboardInterrupt. Add tests for nested cursor management and verify operation closure on server-side errors.

* add

* add

Signed-off-by: Sai Shree Pradhan <[email protected]>

* PECOBLR-86 improve logging on python driver (#556)

* PECOBLR-86 Improve logging for debug level

Signed-off-by: Sai Shree Pradhan <[email protected]>

* PECOBLR-86 Improve logging for debug level

Signed-off-by: Sai Shree Pradhan <[email protected]>

* fixed format

Signed-off-by: Sai Shree Pradhan <[email protected]>

* used lazy logging

Signed-off-by: Sai Shree Pradhan <[email protected]>

* changed debug to error logs

Signed-off-by: Sai Shree Pradhan <[email protected]>

* used lazy logging

Signed-off-by: Sai Shree Pradhan <[email protected]>

---------

Signed-off-by: Sai Shree Pradhan <[email protected]>

* Update github actions run conditions (#569)

More conditions to run github actions

Signed-off-by: Sai Shree Pradhan <[email protected]>

* Added classes required for telemetry

Signed-off-by: Sai Shree Pradhan <[email protected]>

* fixed example

Signed-off-by: Sai Shree Pradhan <[email protected]>

* changed to doc string

Signed-off-by: Sai Shree Pradhan <[email protected]>

* removed self.telemetry close line

Signed-off-by: Sai Shree Pradhan <[email protected]>

* grouped classes

Signed-off-by: Sai Shree Pradhan <[email protected]>

* formatting

Signed-off-by: Sai Shree Pradhan <[email protected]>

* fixed doc string

Signed-off-by: Sai Shree Pradhan <[email protected]>

* fixed doc string

Signed-off-by: Sai Shree Pradhan <[email protected]>

* added more descriptive comments, put dataclasses in a sub-folder

Signed-off-by: Sai Shree Pradhan <[email protected]>

* fixed default attributes ordering

Signed-off-by: Sai Shree Pradhan <[email protected]>

* changed file names

Signed-off-by: Sai Shree Pradhan <[email protected]>

* added enums to models folder

Signed-off-by: Sai Shree Pradhan <[email protected]>

* removed telemetry batch size

Signed-off-by: Sai Shree Pradhan <[email protected]>

---------

Signed-off-by: Sai Shree Pradhan <[email protected]>
Co-authored-by: Shivam Raj <[email protected]>
Co-authored-by: Jothi Prakash <[email protected]>
Co-authored-by: Madhav Sainanee <[email protected]>
Signed-off-by: Sai Shree Pradhan <[email protected]>
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.

6 participants