Add functionality for export of latency logs via telemetry#608
Merged
saishreeeee merged 90 commits intoJul 3, 2025
Merged
Add functionality for export of latency logs via telemetry#608
Commits
Commits on Jun 17, 2025
added functionality for export of failure logs
Show description for 65a75f4committedchanged logger.error to logger.debug in exc.py
Show description for 5305308committedFix telemetry loss during Python shutdown
Show description for ba83c33committedunit tests for export_failure_log
Show description for 131db92committedtry-catch blocks to make telemetry failures non-blocking for connector operations
Show description for 3abc40dcommittedremoved redundant try/catch blocks, added try/catch block to initialize and get telemetry client
Show description for ffa4787committedskip null fields in telemetry request
Show description for cc077f3committedremoved dup import, renamed func, changed a filter_null_values to lamda
Show description for 2c6fd44committedremoved unnecassary class variable and a redundant try/except block
Show description for 89540a1committedpublic functions defined at interface level
Show description for 52a1152committedchanged export_event and flush to private functions
Show description for 3dcdcfacommittedformatting
Show description for b2714c9committedchanged connection_uuid to thread local in thrift backend
Show description for 377a87bcommittedmade errors more specific
Show description for c9376b8committedrevert change to connection_uuid
Show description for bbfadf2committedreverting change in close in telemetry client
Show description for 9bce26bcommittedJsonSerializableMixin
Show description for ef4514dcommittedisdataclass check in JsonSerializableMixin
Show description for 8924835committedconvert TelemetryClientFactory to module-level functions, replace NoopTelemetryClient class with NOOP_TELEMETRY_CLIENT singleton, updated tests accordingly
Show description for 65361e7committedrenamed connection_uuid as session_id_hex
Show description for 1722a77committedadded NotImplementedError to abstract class, added unit tests
Show description for e841434committedformatting
Show description for 2f89266committedadded PEP-249 link, changed NoopTelemetryClient implementation
Show description for 5564bbbcommittedremoved unused import
Show description for 1e4e8cfcommittedmade telemetry client close a module-level function
Show description for 55b29bccommittedunit tests verbose
Show description for 93bf170committeddebug logs in unit tests
Show description for 45f5ccfcommitteddebug logs in unit tests
Show description for 8ff1c1fcommittedremoved ABC from mixin, added try/catch block around executor shutdown
Show description for 8bdd324committedchecking stuff
Show description for f99f7eacommitted- committed
- committed
- committed
- committed
- committed
- committed
- committed
- committed
- committed
- committed
- committed
change 3.13t, v2
Show description for ca8b958committedformatting, added walrus
Show description for 3eabac9committedformatting
Show description for fb9ef43committedremoved walrus, removed test before stalling test
Show description for 1e795aacommitted
Commits on Jun 18, 2025
changed order of stalling test
Show description for 2c293a5committedremoved debugging, added TelemetryClientFactory
Show description for d237255committedremove more debugging
Show description for f101b19committed
Commits on Jun 19, 2025
latency logs funcitionality
Show description for a094659committedmerge
Show description for 695a07dcommittedfixed type of return value in get_session_id_hex() in thrift backend
Show description for fc918d6committeddebug on TelemetryClientFactory lock
Show description for d7c75d7committedformatting
Show description for b6b0f89committedtype notation for _waiters
Show description for 50a1206committedcalled connection.close() in test_arraysize_buffer_size_passthrough
Show description for 39a0530committedrun all unit tests
Show description for 413427fcommittedmore debugging
Show description for 6b1d1b8committedremoved the connection.close() from that test, put debug statement before and after TelemetryClientFactory lock
Show description for 8f5e5bacommittedmore debug
Show description for 2dc00bacommittedmore more more
Show description for 1ff03d4committedwhy
Show description for 6ff07c8committedwhywhy
Show description for 395049acommittedthread name
Show description for 4466821committed
Commits on Jun 20, 2025
added teardown to all tests except finalizer test (gc collect)
Show description for 34b63e4committedadded the get_attribute functions to the classes
Show description for 49082fbcommittedremoved tearDown, added connection.close() to first test
Show description for ed1db9dcommitted
Commits on Jun 21, 2025
finally
Show description for 9fa5a89committed
Commits on Jun 22, 2025
remove debugging
Show description for 14433c4committed
Commits on Jun 23, 2025
added test for export_latency_log, made mock of thrift backend with retry policy
Show description for ef4ca13committedMerge branch 'telemetry' into PECOBLR-554
Show description for 152e0dacommittedadded multi threaded tests
Show description for b5bf165committedformatting
Show description for 307a8cccommitted
Commits on Jun 25, 2025
added TelemetryExtractor, removed multithreaded tests
Show description for 0fd46d4committedformatting
Show description for f6f50b2committedfixes in test
Show description for 1163ebecommittedfix in telemetry extractor
Show description for 4b6ace0committed- committed
- committed
Commits on Jun 30, 2025
added doc strings to latency_logger, abstracted export_telemetry_log
Show description for 4d56141committedstatement type, unit test fix
Show description for 27295c2committedunit test fix
Show description for b558bc8committed
Commits on Jul 1, 2025
statement type changes
Show description for 01853bccommittedtest_fetches fix
Show description for 45f74d0committedadded mocks to resolve the errors caused by log_latency decorator in tests
Show description for 149d4a8committedremoved function in test_fetches cuz it is only used once
Show description for e031663committed
Commits on Jul 2, 2025
added _safe_call which returns None in case of errors in the get functions
Show description for 142b9a8committedremoved the changes in test_client and test_fetches
Show description for 2a26965committedremoved the changes in test_fetches
Show description for ae90deecommitted
Commits on Jul 3, 2025
test_telemetry
Show description for acc9904committedremoved test
Show description for a847122committed