Skip to content

Commit

Permalink
contractupdates
Browse files Browse the repository at this point in the history
  • Loading branch information
sourabh1007 committed Oct 29, 2024
1 parent ec75b1d commit 89976ee
Show file tree
Hide file tree
Showing 10 changed files with 668 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,17 +151,27 @@
<ATTRIBUTE key="db.cosmosdb.machine_id">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.client_id">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.connection_mode">direct</ATTRIBUTE>
<ATTRIBUTE key="db.operation.name">execute_batch</ATTRIBUTE>
<ATTRIBUTE key="db.namespace">databaseName</ATTRIBUTE>
<ATTRIBUTE key="db.collection.name">containerName</ATTRIBUTE>
<ATTRIBUTE key="server.address">127.0.0.1</ATTRIBUTE>
<ATTRIBUTE key="server.port">Some Value</ATTRIBUTE>
<ATTRIBUTE key="user_agent.original">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.operation_type">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.status_code">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.sub_status_code">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.request_charge">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.item_count">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.activity_id">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.regions_contacted">South Central US</ATTRIBUTE>
<ATTRIBUTE key="db.operation.batch.size">90</ATTRIBUTE>
<ATTRIBUTE key="db.response.status_code">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.row_count">Some Value</ATTRIBUTE>
<ATTRIBUTE key="error.type">400/1001</ATTRIBUTE>
</ACTIVITY>
<EVENT name="FailedRequest" />
<EVENT name="Exception" />
<EVENT name="Exception" />
</OTelActivities></Output>
</Result>
<Result>
Expand Down Expand Up @@ -304,13 +314,22 @@
<ATTRIBUTE key="db.cosmosdb.machine_id">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.client_id">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.connection_mode">direct</ATTRIBUTE>
<ATTRIBUTE key="db.operation.name">execute_batch</ATTRIBUTE>
<ATTRIBUTE key="db.namespace">databaseName</ATTRIBUTE>
<ATTRIBUTE key="db.collection.name">containerName</ATTRIBUTE>
<ATTRIBUTE key="server.address">127.0.0.1</ATTRIBUTE>
<ATTRIBUTE key="server.port">Some Value</ATTRIBUTE>
<ATTRIBUTE key="user_agent.original">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.operation_type">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.status_code">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.sub_status_code">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.request_charge">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.item_count">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.activity_id">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.regions_contacted">South Central US</ATTRIBUTE>
<ATTRIBUTE key="db.operation.batch.size">50</ATTRIBUTE>
<ATTRIBUTE key="db.response.status_code">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.row_count">Some Value</ATTRIBUTE>
<ATTRIBUTE key="error.type">400/1001</ATTRIBUTE>
</ACTIVITY>
<EVENT name="FailedRequest" />
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,17 @@
<ATTRIBUTE key="db.cosmosdb.machine_id">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.client_id">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.connection_mode">direct</ATTRIBUTE>
<ATTRIBUTE key="db.operation.name">delete_database</ATTRIBUTE>
<ATTRIBUTE key="db.namespace">miscdbcustonhandler</ATTRIBUTE>
<ATTRIBUTE key="server.address">127.0.0.1</ATTRIBUTE>
<ATTRIBUTE key="server.port">Some Value</ATTRIBUTE>
<ATTRIBUTE key="user_agent.original">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.operation_type">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.status_code">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.sub_status_code">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.request_charge">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.activity_id">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.response.status_code">Some Value</ATTRIBUTE>
</ACTIVITY>
<ACTIVITY source="Azure.Cosmos.Operation" operationName="Operation.create_database" displayName="create_database ">
<ATTRIBUTE key="az.namespace">Microsoft.DocumentDB</ATTRIBUTE>
Expand All @@ -145,15 +151,22 @@
<ATTRIBUTE key="db.cosmosdb.machine_id">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.client_id">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.connection_mode">direct</ATTRIBUTE>
<ATTRIBUTE key="db.operation.name">create_database</ATTRIBUTE>
<ATTRIBUTE key="db.namespace">miscdbcustonhandler</ATTRIBUTE>
<ATTRIBUTE key="server.address">127.0.0.1</ATTRIBUTE>
<ATTRIBUTE key="server.port">Some Value</ATTRIBUTE>
<ATTRIBUTE key="user_agent.original">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.operation_type">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.status_code">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.sub_status_code">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.request_charge">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.activity_id">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.response.status_code">Some Value</ATTRIBUTE>
</ACTIVITY>
<EVENT name="ThresholdViolation" />
<EVENT name="ThresholdViolation" />
<EVENT name="Exception" />
<EVENT name="Exception" />
</OTelActivities></Output>
</Result>
<Result>
Expand Down Expand Up @@ -270,11 +283,18 @@
<ATTRIBUTE key="db.cosmosdb.machine_id">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.client_id">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.connection_mode">direct</ATTRIBUTE>
<ATTRIBUTE key="db.operation.name">delete_database</ATTRIBUTE>
<ATTRIBUTE key="db.namespace">miscdbdataplane</ATTRIBUTE>
<ATTRIBUTE key="server.address">127.0.0.1</ATTRIBUTE>
<ATTRIBUTE key="server.port">Some Value</ATTRIBUTE>
<ATTRIBUTE key="user_agent.original">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.operation_type">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.status_code">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.sub_status_code">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.request_charge">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.activity_id">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.response.status_code">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.consistency_level">Session</ATTRIBUTE>
</ACTIVITY>
<ACTIVITY source="Azure.Cosmos.Operation" operationName="Operation.create_database" displayName="create_database ">
<ATTRIBUTE key="az.namespace">Microsoft.DocumentDB</ATTRIBUTE>
Expand All @@ -287,11 +307,18 @@
<ATTRIBUTE key="db.cosmosdb.machine_id">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.client_id">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.connection_mode">direct</ATTRIBUTE>
<ATTRIBUTE key="db.operation.name">create_database</ATTRIBUTE>
<ATTRIBUTE key="db.namespace">miscdbdataplane</ATTRIBUTE>
<ATTRIBUTE key="server.address">127.0.0.1</ATTRIBUTE>
<ATTRIBUTE key="server.port">Some Value</ATTRIBUTE>
<ATTRIBUTE key="user_agent.original">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.operation_type">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.status_code">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.sub_status_code">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.request_charge">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.activity_id">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.response.status_code">Some Value</ATTRIBUTE>
<ATTRIBUTE key="db.cosmosdb.consistency_level">Session</ATTRIBUTE>
</ACTIVITY>
<EVENT name="ThresholdViolation" />
<EVENT name="ThresholdViolation" />
Expand Down
Loading

0 comments on commit 89976ee

Please sign in to comment.