You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added functionality for export of failure logs (#591)
* added functionality for export of failure logs
Signed-off-by: Sai Shree Pradhan <[email protected]>
* changed logger.error to logger.debug in exc.py
Signed-off-by: Sai Shree Pradhan <[email protected]>
* Fix telemetry loss during Python shutdown
Signed-off-by: Sai Shree Pradhan <[email protected]>
* unit tests for export_failure_log
Signed-off-by: Sai Shree Pradhan <[email protected]>
* try-catch blocks to make telemetry failures non-blocking for connector operations
Signed-off-by: Sai Shree Pradhan <[email protected]>
* removed redundant try/catch blocks, added try/catch block to initialize and get telemetry client
Signed-off-by: Sai Shree Pradhan <[email protected]>
* skip null fields in telemetry request
Signed-off-by: Sai Shree Pradhan <[email protected]>
* removed dup import, renamed func, changed a filter_null_values to lamda
Signed-off-by: Sai Shree Pradhan <[email protected]>
* removed unnecassary class variable and a redundant try/except block
Signed-off-by: Sai Shree Pradhan <[email protected]>
* public functions defined at interface level
Signed-off-by: Sai Shree Pradhan <[email protected]>
* changed export_event and flush to private functions
Signed-off-by: Sai Shree Pradhan <[email protected]>
* formatting
Signed-off-by: Sai Shree Pradhan <[email protected]>
* changed connection_uuid to thread local in thrift backend
Signed-off-by: Sai Shree Pradhan <[email protected]>
* made errors more specific
Signed-off-by: Sai Shree Pradhan <[email protected]>
* revert change to connection_uuid
Signed-off-by: Sai Shree Pradhan <[email protected]>
* reverting change in close in telemetry client
Signed-off-by: Sai Shree Pradhan <[email protected]>
* JsonSerializableMixin
Signed-off-by: Sai Shree Pradhan <[email protected]>
* isdataclass check in JsonSerializableMixin
Signed-off-by: Sai Shree Pradhan <[email protected]>
* convert TelemetryClientFactory to module-level functions, replace NoopTelemetryClient class with NOOP_TELEMETRY_CLIENT singleton, updated tests accordingly
Signed-off-by: Sai Shree Pradhan <[email protected]>
* renamed connection_uuid as session_id_hex
Signed-off-by: Sai Shree Pradhan <[email protected]>
* added NotImplementedError to abstract class, added unit tests
Signed-off-by: Sai Shree Pradhan <[email protected]>
* formatting
Signed-off-by: Sai Shree Pradhan <[email protected]>
* added PEP-249 link, changed NoopTelemetryClient implementation
Signed-off-by: Sai Shree Pradhan <[email protected]>
* removed unused import
Signed-off-by: Sai Shree Pradhan <[email protected]>
* made telemetry client close a module-level function
Signed-off-by: Sai Shree Pradhan <[email protected]>
* unit tests verbose
Signed-off-by: Sai Shree Pradhan <[email protected]>
* debug logs in unit tests
Signed-off-by: Sai Shree Pradhan <[email protected]>
* debug logs in unit tests
Signed-off-by: Sai Shree Pradhan <[email protected]>
* removed ABC from mixin, added try/catch block around executor shutdown
Signed-off-by: Sai Shree Pradhan <[email protected]>
* checking stuff
Signed-off-by: Sai Shree Pradhan <[email protected]>
* finding out
* finding out more
* more more finding out more nice
* locks are useless anyways
* haha
* normal
* := looks like walrus horizontally
* one more
* walrus again
* old stuff without walrus seems to fail
* manually do the walrussing
* change 3.13t, v2
Signed-off-by: Sai Shree Pradhan <[email protected]>
* formatting, added walrus
Signed-off-by: Sai Shree Pradhan <[email protected]>
* formatting
Signed-off-by: Sai Shree Pradhan <[email protected]>
* removed walrus, removed test before stalling test
Signed-off-by: Sai Shree Pradhan <[email protected]>
* changed order of stalling test
Signed-off-by: Sai Shree Pradhan <[email protected]>
* removed debugging, added TelemetryClientFactory
Signed-off-by: Sai Shree Pradhan <[email protected]>
* remove more debugging
Signed-off-by: Sai Shree Pradhan <[email protected]>
---------
Signed-off-by: Sai Shree Pradhan <[email protected]>
0 commit comments