Skip to content

Conversation

muskan124947
Copy link
Contributor

By enhancing telemetry for SQL drivers, we can achieve a more nuanced understanding of the operating environments in use. This capability enables us to make strategic decisions about testing and support, ultimately improving our efficiency and reducing costs. Adopting a structured approach to telemetry collection will ensure we gather the most relevant and useful data, facilitating continuous improvement in our processes.

Format
{Driver Name}|{OS Type}|{Process Architecture}|{OS Details}|{Runtime Details}

Maximum lengths (in Unicode characters) for each field are:
Driver Name - 16
OS Type - 10
Process Architecture - 10
OS Details - 44
Runtime Details - 44

@@ -170,7 +170,7 @@ public void setApplicationName(String applicationName) {
@Override
public String getApplicationName() {
return getStringProperty(connectionProps, SQLServerDriverStringProperty.APPLICATION_NAME.toString(),
SQLServerDriverStringProperty.APPLICATION_NAME.getDefaultValue());
SQLServerDriver.constructedAppName);
Copy link
Contributor

Choose a reason for hiding this comment

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

As decided to make a change only for interfaceLibName, let us keep the application name unchanged everywhere.

Copy link

codecov bot commented Mar 4, 2025

Codecov Report

Attention: Patch coverage is 75.86207% with 7 lines in your changes missing coverage. Please review.

Project coverage is 51.51%. Comparing base (7e795d4) to head (f018b4b).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
.../com/microsoft/sqlserver/jdbc/SQLServerDriver.java 75.00% 0 Missing and 7 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2626      +/-   ##
============================================
- Coverage     51.54%   51.51%   -0.03%     
- Complexity     3996     4001       +5     
============================================
  Files           147      147              
  Lines         33694    33731      +37     
  Branches       5630     5641      +11     
============================================
+ Hits          17366    17377      +11     
- Misses        13877    13895      +18     
- Partials       2451     2459       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Jeffery-Wasty Jeffery-Wasty moved this from In progress to Under Peer Review in MSSQL JDBC Mar 4, 2025
@muskan124947 muskan124947 self-assigned this Mar 7, 2025
@muskan124947 muskan124947 requested a review from divang March 7, 2025 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Under Peer Review
Development

Successfully merging this pull request may close these issues.

2 participants