diff --git a/Net.Vatprc.Uniapi/Net.Vatprc.Uniapi.csproj b/Net.Vatprc.Uniapi/Net.Vatprc.Uniapi.csproj index 425dc6b..ea03708 100644 --- a/Net.Vatprc.Uniapi/Net.Vatprc.Uniapi.csproj +++ b/Net.Vatprc.Uniapi/Net.Vatprc.Uniapi.csproj @@ -44,12 +44,12 @@ - - + + - - - + + + diff --git a/Net.Vatprc.Uniapi/appsettings.toml b/Net.Vatprc.Uniapi/appsettings.toml index e406245..107fa69 100644 --- a/Net.Vatprc.Uniapi/appsettings.toml +++ b/Net.Vatprc.Uniapi/appsettings.toml @@ -5,7 +5,7 @@ Using = [ "Serilog.Sinks.Console", "Net.Vatprc.Uniapi", "Sentry.Serilog", - "Serilog.Sinks.Grafana.Loki", + "Serilog.Sinks.OpenTelemetry", ] [Serilog.MinimumLevel] diff --git a/Net.Vatprc.Uniapi/packages.lock.json b/Net.Vatprc.Uniapi/packages.lock.json index ad98bba..9ca2673 100644 --- a/Net.Vatprc.Uniapi/packages.lock.json +++ b/Net.Vatprc.Uniapi/packages.lock.json @@ -159,23 +159,21 @@ }, "Serilog": { "type": "Direct", - "requested": "[3.1.1, )", - "resolved": "3.1.1", - "contentHash": "P6G4/4Kt9bT635bhuwdXlJ2SCqqn2nhh4gqFqQueCOr9bK/e7W9ll/IoX1Ter948cV2Z/5+5v8pAfJYUISY03A==" + "requested": "[4.0.1, )", + "resolved": "4.0.1", + "contentHash": "pzeDRXdpSLSsgBHpZcmpIDxqMy845Ab4s+dfnBg0sN9h8q/4Wo3vAoe0QCGPze1Q06EVtEPupS+UvLm8iXQmTQ==" }, "Serilog.AspNetCore": { "type": "Direct", - "requested": "[8.0.1, )", - "resolved": "8.0.1", - "contentHash": "B/X+wAfS7yWLVOTD83B+Ip9yl4MkhioaXj90JSoWi1Ayi8XHepEnsBdrkojg08eodCnmOKmShFUN2GgEc6c0CQ==", + "requested": "[8.0.2, )", + "resolved": "8.0.2", + "contentHash": "LNUd1bHsik2E7jSoCQFdeMGAWXjH7eUQ6c2pqm5vl+jGqvxdabYXxlrfaqApjtX5+BfAjW9jTA2EKmPwxknpIA==", "dependencies": { - "Microsoft.Extensions.DependencyInjection": "8.0.0", "Microsoft.Extensions.Logging": "8.0.0", "Serilog": "3.1.1", "Serilog.Extensions.Hosting": "8.0.0", - "Serilog.Extensions.Logging": "8.0.0", "Serilog.Formatting.Compact": "2.0.0", - "Serilog.Settings.Configuration": "8.0.0", + "Serilog.Settings.Configuration": "8.0.2", "Serilog.Sinks.Console": "5.0.0", "Serilog.Sinks.Debug": "2.0.0", "Serilog.Sinks.File": "5.0.0" @@ -192,31 +190,31 @@ }, "Serilog.Sinks.Console": { "type": "Direct", - "requested": "[5.0.1, )", - "resolved": "5.0.1", - "contentHash": "6Jt8jl9y2ey8VV7nVEUAyjjyxjAQuvd5+qj4XYAT9CwcsvR70HHULGBeD+K2WCALFXf7CFsNQT4lON6qXcu2AA==", + "requested": "[6.0.0, )", + "resolved": "6.0.0", + "contentHash": "fQGWqVMClCP2yEyTXPIinSr5c+CBGUvBybPxjAGcf7ctDhadFhrQw03Mv8rJ07/wR5PDfFjewf2LimvXCDzpbA==", "dependencies": { - "Serilog": "3.1.1" + "Serilog": "4.0.0" } }, - "Serilog.Sinks.Grafana.Loki": { + "Serilog.Sinks.OpenTelemetry": { "type": "Direct", - "requested": "[8.3.0, )", - "resolved": "8.3.0", - "contentHash": "bHo/WvvtClr57onuYLz3h7CzTKe9z0kvLfzDJftzjkSo4jTyUrZH5rn4YXj/AsilKN4flJ8Psezza7mmWDELcA==", + "requested": "[4.1.0, )", + "resolved": "4.1.0", + "contentHash": "zYKe2TIeWZE4sFUlbGAk94Ae46xgp20dsiw52m2KnRe34zBRQmb+GjYvcpciqMR3nskWebWODjJe2yRTDR3q8g==", "dependencies": { - "Serilog": "2.12.0", - "System.Text.Json": "4.7.0" + "Google.Protobuf": "3.26.1", + "Grpc.Net.Client": "2.62.0", + "Serilog": "4.0.0" } }, "Serilog.Sinks.PeriodicBatching": { "type": "Direct", - "requested": "[4.0.1, )", - "resolved": "4.0.1", - "contentHash": "8JU3zTIiJNLrWxxXEwAg2vxdihACZvE+WrJYOIB2tdLZQWi8b/3olFpgKiNjESYYmpfoSCjncGAu5o6sxXQ0Xw==", + "requested": "[5.0.0, )", + "resolved": "5.0.0", + "contentHash": "k57sDVgYitVdA5h9XSvy8lSlEts1ZzqlApHINUNV5WIuvnt6Z18LNynUQI6JYioKdqbUhkY6+KP844w7/awcOw==", "dependencies": { - "Serilog": "3.1.1", - "System.Threading.Channels": "8.0.0" + "Serilog": "4.0.0" } }, "Swashbuckle.AspNetCore": { @@ -345,6 +343,33 @@ "resolved": "4.0.0", "contentHash": "rpts69yYgvJqg6PPgqShBQEZ4aNzWQqWpWppcT0oDWxDCIsBqiod4pj6LQZdhk+1OozLFagemldMRACdHF3CsA==" }, + "Google.Protobuf": { + "type": "Transitive", + "resolved": "3.26.1", + "contentHash": "CHZX8zXqhF/fdUtd+AYzew8T2HFkAoe5c7lbGxZY/qryAlQXckDvM5BfOJjXlMS7kyICqQTMszj4w1bX5uBJ/w==" + }, + "Grpc.Core.Api": { + "type": "Transitive", + "resolved": "2.62.0", + "contentHash": "q4Jj6bRZHNnE4CMLqgjiBUCKLit+tRr0simZsS2W6U++akd7CzXByeKy2tddqT68hFzP2XzceXA2YtBTfWtixA==" + }, + "Grpc.Net.Client": { + "type": "Transitive", + "resolved": "2.62.0", + "contentHash": "C7HxLt+wWPTpPFORRHkxxtDLL+K/jXSmZBaPLhFM8AEkN0bYjklIfCwnzajn1gcbRcEETBb0WnRgHJdVzpwbCg==", + "dependencies": { + "Grpc.Net.Common": "2.62.0", + "Microsoft.Extensions.Logging.Abstractions": "6.0.0" + } + }, + "Grpc.Net.Common": { + "type": "Transitive", + "resolved": "2.62.0", + "contentHash": "eBv5I4RPWfdezGXqooU5hs3+XcfVMLk5XDlA4G/Nd9TMX78ZGrFl/lM1Ad187zgBLmH7WPAgfjKRWLBwaa1Wbw==", + "dependencies": { + "Grpc.Core.Api": "2.62.0" + } + }, "Humanizer.Core": { "type": "Transitive", "resolved": "2.14.1", @@ -499,11 +524,11 @@ }, "Microsoft.Extensions.DependencyModel": { "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "NSmDw3K0ozNDgShSIpsZcbFIzBX4w28nDag+TfaQujkXGazBm+lid5onlWoCBy4VsLxqnnKjEBbGSJVWJMf43g==", + "resolved": "8.0.1", + "contentHash": "5Ou6varcxLBzQ+Agfm0k0pnH7vrEITYlXMDuE6s7ZHlZHz6/G8XJ3iISZDr5rfwfge6RnXJ1+Wc479mMn52vjA==", "dependencies": { "System.Text.Encodings.Web": "8.0.0", - "System.Text.Json": "8.0.0" + "System.Text.Json": "8.0.4" } }, "Microsoft.Extensions.Diagnostics": { @@ -755,11 +780,11 @@ }, "Serilog.Settings.Configuration": { "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "nR0iL5HwKj5v6ULo3/zpP8NMcq9E2pxYA6XKTSWCbugVs4YqPyvaqaKOY+OMpPivKp7zMEpax2UKHnDodbRB0Q==", + "resolved": "8.0.2", + "contentHash": "hn8HCAmupon7N0to20EwGeNJ+L3iRzjGzAHIl8+8CCFlEkVedHvS6NMYMb0VPNMsDgDwOj4cPBPV6Fc2hb0/7w==", "dependencies": { "Microsoft.Extensions.Configuration.Binder": "8.0.0", - "Microsoft.Extensions.DependencyModel": "8.0.0", + "Microsoft.Extensions.DependencyModel": "8.0.1", "Serilog": "3.1.1" } }, @@ -917,16 +942,16 @@ }, "System.Text.Json": { "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "OdrZO2WjkiEG6ajEFRABTRCi/wuXQPxeV6g8xvUJqdxMvvuCCEk86zPla8UiIQJz3durtUEbNyY/3lIhS0yZvQ==", + "resolved": "8.0.4", + "contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==", "dependencies": { "System.Text.Encodings.Web": "8.0.0" } }, "System.Threading.Channels": { "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "CMaFr7v+57RW7uZfZkPExsPB6ljwzhjACWW1gfU35Y56rk72B/Wu+sTqxVmGSk4SFUlPc3cjeKND0zktziyjBA==" + "resolved": "6.0.0", + "contentHash": "TY8/9+tI0mNaUMgntOxxaq2ndTkdXqLSxvPmas7XEqOlv9lQtB7wLjYGd756lOaO7Dvb5r/WXhluM+0Xe87v5Q==" }, "System.ValueTuple": { "type": "Transitive",