Skip to content

Commit

Permalink
Use Metrics in Connectors (#296)
Browse files Browse the repository at this point in the history
* add metrics to host apps

* merge fixes and compiles

* Use ME.Console and OTel for logging to correlate

* clean up

* clean up for metrics

* fix self-review comments

* fix seq initialization

* clean up for http traces and rhino 8

* use latest SDK

* formatting
  • Loading branch information
adamhathcock authored Oct 14, 2024
1 parent 0c5b5ed commit 4f04e9e
Show file tree
Hide file tree
Showing 57 changed files with 723 additions and 514 deletions.
22 changes: 11 additions & 11 deletions Connectors/ArcGIS/Speckle.Connectors.ArcGIS3/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -244,16 +244,16 @@
"dependencies": {
"Microsoft.Extensions.DependencyInjection": "[2.2.0, )",
"Speckle.Connectors.Logging": "[1.0.0, )",
"Speckle.Objects": "[3.1.0-dev.160, )",
"Speckle.Sdk": "[3.1.0-dev.160, )"
"Speckle.Objects": "[3.1.0-dev.162, )",
"Speckle.Sdk": "[3.1.0-dev.162, )"
}
},
"speckle.connectors.dui": {
"type": "Project",
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "[2.2.0, )",
"Speckle.Connectors.Common": "[1.0.0, )",
"Speckle.Sdk": "[3.1.0-dev.160, )",
"Speckle.Sdk": "[3.1.0-dev.162, )",
"System.Threading.Tasks.Dataflow": "[6.0.0, )"
}
},
Expand All @@ -278,7 +278,7 @@
"type": "Project",
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "[2.2.0, )",
"Speckle.Objects": "[3.1.0-dev.160, )"
"Speckle.Objects": "[3.1.0-dev.162, )"
}
},
"Microsoft.Extensions.DependencyInjection": {
Expand Down Expand Up @@ -310,18 +310,18 @@
},
"Speckle.Objects": {
"type": "CentralTransitive",
"requested": "[3.1.0-dev.160, )",
"resolved": "3.1.0-dev.160",
"contentHash": "wU8YcZ3NtLnB3uJ9qvWw/j0pZ2FeDMh/eGsX3uqgBPD46G4Yksaeom7SucGxtsAsVNaeDvtd23F8sGzNei/i4w==",
"requested": "[3.1.0-dev.162, )",
"resolved": "3.1.0-dev.162",
"contentHash": "1fyaPjC1kVtroKfoXI7edJX0Uho/TNRWG9mtmIQ7jKhX1zElrJPSoH8zEIMqckZhGmwUrYjlQFPssASNCP721Q==",
"dependencies": {
"Speckle.Sdk": "3.1.0-dev.160"
"Speckle.Sdk": "3.1.0-dev.162"
}
},
"Speckle.Sdk": {
"type": "CentralTransitive",
"requested": "[3.1.0-dev.160, )",
"resolved": "3.1.0-dev.160",
"contentHash": "Gqsp2y9s8QzUSa0iPnTVay9xdXxUkPy0F5lJ6L+DY9HcnII9FQZrCRXYfz05xdcB+M/E6Yg9qeDLx7KwKoD7kw==",
"requested": "[3.1.0-dev.162, )",
"resolved": "3.1.0-dev.162",
"contentHash": "ulT3XNgqIQSmpQFK5YEEwRq4RA6emXBKQHnZxtCz37SJin1PnVpH9m8vOAF9FmaWsgSAfjhhjIZDruMu1oKxSg==",
"dependencies": {
"GraphQL.Client": "6.0.0",
"Microsoft.CSharp": "4.7.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,16 +274,16 @@
"dependencies": {
"Microsoft.Extensions.DependencyInjection": "[2.2.0, )",
"Speckle.Connectors.Logging": "[1.0.0, )",
"Speckle.Objects": "[3.1.0-dev.160, )",
"Speckle.Sdk": "[3.1.0-dev.160, )"
"Speckle.Objects": "[3.1.0-dev.162, )",
"Speckle.Sdk": "[3.1.0-dev.162, )"
}
},
"speckle.connectors.dui": {
"type": "Project",
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "[2.2.0, )",
"Speckle.Connectors.Common": "[1.0.0, )",
"Speckle.Sdk": "[3.1.0-dev.160, )",
"Speckle.Sdk": "[3.1.0-dev.162, )",
"System.Threading.Tasks.Dataflow": "[6.0.0, )"
}
},
Expand All @@ -308,7 +308,7 @@
"type": "Project",
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "[2.2.0, )",
"Speckle.Objects": "[3.1.0-dev.160, )"
"Speckle.Objects": "[3.1.0-dev.162, )"
}
},
"Microsoft.Extensions.DependencyInjection": {
Expand Down Expand Up @@ -346,18 +346,18 @@
},
"Speckle.Objects": {
"type": "CentralTransitive",
"requested": "[3.1.0-dev.160, )",
"resolved": "3.1.0-dev.160",
"contentHash": "wU8YcZ3NtLnB3uJ9qvWw/j0pZ2FeDMh/eGsX3uqgBPD46G4Yksaeom7SucGxtsAsVNaeDvtd23F8sGzNei/i4w==",
"requested": "[3.1.0-dev.162, )",
"resolved": "3.1.0-dev.162",
"contentHash": "1fyaPjC1kVtroKfoXI7edJX0Uho/TNRWG9mtmIQ7jKhX1zElrJPSoH8zEIMqckZhGmwUrYjlQFPssASNCP721Q==",
"dependencies": {
"Speckle.Sdk": "3.1.0-dev.160"
"Speckle.Sdk": "3.1.0-dev.162"
}
},
"Speckle.Sdk": {
"type": "CentralTransitive",
"requested": "[3.1.0-dev.160, )",
"resolved": "3.1.0-dev.160",
"contentHash": "Gqsp2y9s8QzUSa0iPnTVay9xdXxUkPy0F5lJ6L+DY9HcnII9FQZrCRXYfz05xdcB+M/E6Yg9qeDLx7KwKoD7kw==",
"requested": "[3.1.0-dev.162, )",
"resolved": "3.1.0-dev.162",
"contentHash": "ulT3XNgqIQSmpQFK5YEEwRq4RA6emXBKQHnZxtCz37SJin1PnVpH9m8vOAF9FmaWsgSAfjhhjIZDruMu1oKxSg==",
"dependencies": {
"GraphQL.Client": "6.0.0",
"Microsoft.CSharp": "4.7.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,16 +274,16 @@
"dependencies": {
"Microsoft.Extensions.DependencyInjection": "[2.2.0, )",
"Speckle.Connectors.Logging": "[1.0.0, )",
"Speckle.Objects": "[3.1.0-dev.160, )",
"Speckle.Sdk": "[3.1.0-dev.160, )"
"Speckle.Objects": "[3.1.0-dev.162, )",
"Speckle.Sdk": "[3.1.0-dev.162, )"
}
},
"speckle.connectors.dui": {
"type": "Project",
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "[2.2.0, )",
"Speckle.Connectors.Common": "[1.0.0, )",
"Speckle.Sdk": "[3.1.0-dev.160, )",
"Speckle.Sdk": "[3.1.0-dev.162, )",
"System.Threading.Tasks.Dataflow": "[6.0.0, )"
}
},
Expand All @@ -308,7 +308,7 @@
"type": "Project",
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "[2.2.0, )",
"Speckle.Objects": "[3.1.0-dev.160, )"
"Speckle.Objects": "[3.1.0-dev.162, )"
}
},
"Microsoft.Extensions.DependencyInjection": {
Expand Down Expand Up @@ -346,18 +346,18 @@
},
"Speckle.Objects": {
"type": "CentralTransitive",
"requested": "[3.1.0-dev.160, )",
"resolved": "3.1.0-dev.160",
"contentHash": "wU8YcZ3NtLnB3uJ9qvWw/j0pZ2FeDMh/eGsX3uqgBPD46G4Yksaeom7SucGxtsAsVNaeDvtd23F8sGzNei/i4w==",
"requested": "[3.1.0-dev.162, )",
"resolved": "3.1.0-dev.162",
"contentHash": "1fyaPjC1kVtroKfoXI7edJX0Uho/TNRWG9mtmIQ7jKhX1zElrJPSoH8zEIMqckZhGmwUrYjlQFPssASNCP721Q==",
"dependencies": {
"Speckle.Sdk": "3.1.0-dev.160"
"Speckle.Sdk": "3.1.0-dev.162"
}
},
"Speckle.Sdk": {
"type": "CentralTransitive",
"requested": "[3.1.0-dev.160, )",
"resolved": "3.1.0-dev.160",
"contentHash": "Gqsp2y9s8QzUSa0iPnTVay9xdXxUkPy0F5lJ6L+DY9HcnII9FQZrCRXYfz05xdcB+M/E6Yg9qeDLx7KwKoD7kw==",
"requested": "[3.1.0-dev.162, )",
"resolved": "3.1.0-dev.162",
"contentHash": "ulT3XNgqIQSmpQFK5YEEwRq4RA6emXBKQHnZxtCz37SJin1PnVpH9m8vOAF9FmaWsgSAfjhhjIZDruMu1oKxSg==",
"dependencies": {
"GraphQL.Client": "6.0.0",
"Microsoft.CSharp": "4.7.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,16 +274,16 @@
"dependencies": {
"Microsoft.Extensions.DependencyInjection": "[2.2.0, )",
"Speckle.Connectors.Logging": "[1.0.0, )",
"Speckle.Objects": "[3.1.0-dev.160, )",
"Speckle.Sdk": "[3.1.0-dev.160, )"
"Speckle.Objects": "[3.1.0-dev.162, )",
"Speckle.Sdk": "[3.1.0-dev.162, )"
}
},
"speckle.connectors.dui": {
"type": "Project",
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "[2.2.0, )",
"Speckle.Connectors.Common": "[1.0.0, )",
"Speckle.Sdk": "[3.1.0-dev.160, )",
"Speckle.Sdk": "[3.1.0-dev.162, )",
"System.Threading.Tasks.Dataflow": "[6.0.0, )"
}
},
Expand All @@ -309,7 +309,7 @@
"type": "Project",
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "[2.2.0, )",
"Speckle.Objects": "[3.1.0-dev.160, )"
"Speckle.Objects": "[3.1.0-dev.162, )"
}
},
"Microsoft.Extensions.DependencyInjection": {
Expand Down Expand Up @@ -347,18 +347,18 @@
},
"Speckle.Objects": {
"type": "CentralTransitive",
"requested": "[3.1.0-dev.160, )",
"resolved": "3.1.0-dev.160",
"contentHash": "wU8YcZ3NtLnB3uJ9qvWw/j0pZ2FeDMh/eGsX3uqgBPD46G4Yksaeom7SucGxtsAsVNaeDvtd23F8sGzNei/i4w==",
"requested": "[3.1.0-dev.162, )",
"resolved": "3.1.0-dev.162",
"contentHash": "1fyaPjC1kVtroKfoXI7edJX0Uho/TNRWG9mtmIQ7jKhX1zElrJPSoH8zEIMqckZhGmwUrYjlQFPssASNCP721Q==",
"dependencies": {
"Speckle.Sdk": "3.1.0-dev.160"
"Speckle.Sdk": "3.1.0-dev.162"
}
},
"Speckle.Sdk": {
"type": "CentralTransitive",
"requested": "[3.1.0-dev.160, )",
"resolved": "3.1.0-dev.160",
"contentHash": "Gqsp2y9s8QzUSa0iPnTVay9xdXxUkPy0F5lJ6L+DY9HcnII9FQZrCRXYfz05xdcB+M/E6Yg9qeDLx7KwKoD7kw==",
"requested": "[3.1.0-dev.162, )",
"resolved": "3.1.0-dev.162",
"contentHash": "ulT3XNgqIQSmpQFK5YEEwRq4RA6emXBKQHnZxtCz37SJin1PnVpH9m8vOAF9FmaWsgSAfjhhjIZDruMu1oKxSg==",
"dependencies": {
"GraphQL.Client": "6.0.0",
"Microsoft.CSharp": "4.7.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,16 +238,16 @@
"dependencies": {
"Microsoft.Extensions.DependencyInjection": "[2.2.0, )",
"Speckle.Connectors.Logging": "[1.0.0, )",
"Speckle.Objects": "[3.1.0-dev.160, )",
"Speckle.Sdk": "[3.1.0-dev.160, )"
"Speckle.Objects": "[3.1.0-dev.162, )",
"Speckle.Sdk": "[3.1.0-dev.162, )"
}
},
"speckle.connectors.dui": {
"type": "Project",
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "[2.2.0, )",
"Speckle.Connectors.Common": "[1.0.0, )",
"Speckle.Sdk": "[3.1.0-dev.160, )",
"Speckle.Sdk": "[3.1.0-dev.162, )",
"System.Threading.Tasks.Dataflow": "[6.0.0, )"
}
},
Expand All @@ -273,7 +273,7 @@
"type": "Project",
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "[2.2.0, )",
"Speckle.Objects": "[3.1.0-dev.160, )"
"Speckle.Objects": "[3.1.0-dev.162, )"
}
},
"Microsoft.Extensions.DependencyInjection": {
Expand Down Expand Up @@ -311,18 +311,18 @@
},
"Speckle.Objects": {
"type": "CentralTransitive",
"requested": "[3.1.0-dev.160, )",
"resolved": "3.1.0-dev.160",
"contentHash": "wU8YcZ3NtLnB3uJ9qvWw/j0pZ2FeDMh/eGsX3uqgBPD46G4Yksaeom7SucGxtsAsVNaeDvtd23F8sGzNei/i4w==",
"requested": "[3.1.0-dev.162, )",
"resolved": "3.1.0-dev.162",
"contentHash": "1fyaPjC1kVtroKfoXI7edJX0Uho/TNRWG9mtmIQ7jKhX1zElrJPSoH8zEIMqckZhGmwUrYjlQFPssASNCP721Q==",
"dependencies": {
"Speckle.Sdk": "3.1.0-dev.160"
"Speckle.Sdk": "3.1.0-dev.162"
}
},
"Speckle.Sdk": {
"type": "CentralTransitive",
"requested": "[3.1.0-dev.160, )",
"resolved": "3.1.0-dev.160",
"contentHash": "Gqsp2y9s8QzUSa0iPnTVay9xdXxUkPy0F5lJ6L+DY9HcnII9FQZrCRXYfz05xdcB+M/E6Yg9qeDLx7KwKoD7kw==",
"requested": "[3.1.0-dev.162, )",
"resolved": "3.1.0-dev.162",
"contentHash": "ulT3XNgqIQSmpQFK5YEEwRq4RA6emXBKQHnZxtCz37SJin1PnVpH9m8vOAF9FmaWsgSAfjhhjIZDruMu1oKxSg==",
"dependencies": {
"GraphQL.Client": "6.0.0",
"Microsoft.CSharp": "4.7.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,16 +283,16 @@
"dependencies": {
"Microsoft.Extensions.DependencyInjection": "[2.2.0, )",
"Speckle.Connectors.Logging": "[1.0.0, )",
"Speckle.Objects": "[3.1.0-dev.160, )",
"Speckle.Sdk": "[3.1.0-dev.160, )"
"Speckle.Objects": "[3.1.0-dev.162, )",
"Speckle.Sdk": "[3.1.0-dev.162, )"
}
},
"speckle.connectors.dui": {
"type": "Project",
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "[2.2.0, )",
"Speckle.Connectors.Common": "[1.0.0, )",
"Speckle.Sdk": "[3.1.0-dev.160, )",
"Speckle.Sdk": "[3.1.0-dev.162, )",
"System.Threading.Tasks.Dataflow": "[6.0.0, )"
}
},
Expand All @@ -318,7 +318,7 @@
"type": "Project",
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "[2.2.0, )",
"Speckle.Objects": "[3.1.0-dev.160, )"
"Speckle.Objects": "[3.1.0-dev.162, )"
}
},
"Microsoft.Extensions.DependencyInjection": {
Expand Down Expand Up @@ -356,18 +356,18 @@
},
"Speckle.Objects": {
"type": "CentralTransitive",
"requested": "[3.1.0-dev.160, )",
"resolved": "3.1.0-dev.160",
"contentHash": "wU8YcZ3NtLnB3uJ9qvWw/j0pZ2FeDMh/eGsX3uqgBPD46G4Yksaeom7SucGxtsAsVNaeDvtd23F8sGzNei/i4w==",
"requested": "[3.1.0-dev.162, )",
"resolved": "3.1.0-dev.162",
"contentHash": "1fyaPjC1kVtroKfoXI7edJX0Uho/TNRWG9mtmIQ7jKhX1zElrJPSoH8zEIMqckZhGmwUrYjlQFPssASNCP721Q==",
"dependencies": {
"Speckle.Sdk": "3.1.0-dev.160"
"Speckle.Sdk": "3.1.0-dev.162"
}
},
"Speckle.Sdk": {
"type": "CentralTransitive",
"requested": "[3.1.0-dev.160, )",
"resolved": "3.1.0-dev.160",
"contentHash": "Gqsp2y9s8QzUSa0iPnTVay9xdXxUkPy0F5lJ6L+DY9HcnII9FQZrCRXYfz05xdcB+M/E6Yg9qeDLx7KwKoD7kw==",
"requested": "[3.1.0-dev.162, )",
"resolved": "3.1.0-dev.162",
"contentHash": "ulT3XNgqIQSmpQFK5YEEwRq4RA6emXBKQHnZxtCz37SJin1PnVpH9m8vOAF9FmaWsgSAfjhhjIZDruMu1oKxSg==",
"dependencies": {
"GraphQL.Client": "6.0.0",
"Microsoft.CSharp": "4.7.0",
Expand Down
22 changes: 11 additions & 11 deletions Connectors/Revit/Speckle.Connectors.Revit2022/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,16 +302,16 @@
"dependencies": {
"Microsoft.Extensions.DependencyInjection": "[2.2.0, )",
"Speckle.Connectors.Logging": "[1.0.0, )",
"Speckle.Objects": "[3.1.0-dev.160, )",
"Speckle.Sdk": "[3.1.0-dev.160, )"
"Speckle.Objects": "[3.1.0-dev.162, )",
"Speckle.Sdk": "[3.1.0-dev.162, )"
}
},
"speckle.connectors.dui": {
"type": "Project",
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "[2.2.0, )",
"Speckle.Connectors.Common": "[1.0.0, )",
"Speckle.Sdk": "[3.1.0-dev.160, )",
"Speckle.Sdk": "[3.1.0-dev.162, )",
"System.Threading.Tasks.Dataflow": "[6.0.0, )"
}
},
Expand All @@ -322,7 +322,7 @@
"type": "Project",
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "[2.2.0, )",
"Speckle.Objects": "[3.1.0-dev.160, )"
"Speckle.Objects": "[3.1.0-dev.162, )"
}
},
"speckle.converters.revit2022": {
Expand Down Expand Up @@ -361,11 +361,11 @@
},
"Speckle.Objects": {
"type": "CentralTransitive",
"requested": "[3.1.0-dev.160, )",
"resolved": "3.1.0-dev.160",
"contentHash": "wU8YcZ3NtLnB3uJ9qvWw/j0pZ2FeDMh/eGsX3uqgBPD46G4Yksaeom7SucGxtsAsVNaeDvtd23F8sGzNei/i4w==",
"requested": "[3.1.0-dev.162, )",
"resolved": "3.1.0-dev.162",
"contentHash": "1fyaPjC1kVtroKfoXI7edJX0Uho/TNRWG9mtmIQ7jKhX1zElrJPSoH8zEIMqckZhGmwUrYjlQFPssASNCP721Q==",
"dependencies": {
"Speckle.Sdk": "3.1.0-dev.160"
"Speckle.Sdk": "3.1.0-dev.162"
}
},
"Speckle.Revit.API": {
Expand All @@ -376,9 +376,9 @@
},
"Speckle.Sdk": {
"type": "CentralTransitive",
"requested": "[3.1.0-dev.160, )",
"resolved": "3.1.0-dev.160",
"contentHash": "Gqsp2y9s8QzUSa0iPnTVay9xdXxUkPy0F5lJ6L+DY9HcnII9FQZrCRXYfz05xdcB+M/E6Yg9qeDLx7KwKoD7kw==",
"requested": "[3.1.0-dev.162, )",
"resolved": "3.1.0-dev.162",
"contentHash": "ulT3XNgqIQSmpQFK5YEEwRq4RA6emXBKQHnZxtCz37SJin1PnVpH9m8vOAF9FmaWsgSAfjhhjIZDruMu1oKxSg==",
"dependencies": {
"GraphQL.Client": "6.0.0",
"Microsoft.CSharp": "4.7.0",
Expand Down
Loading

0 comments on commit 4f04e9e

Please sign in to comment.