Skip to content

Commit

Permalink
Update Tracing to use Opentelemetry (#245)
Browse files Browse the repository at this point in the history
Partially Resolves #65 by moving the tracing features to use OpenTelemetry.  Metrics continues to use OpenCensus. Exporter extensions and nugets are removed and the features are exposed via Steeltoe Tracing nugets.
  • Loading branch information
Hananiel Sarella authored Feb 14, 2020
1 parent 61efe5b commit ad5e572
Show file tree
Hide file tree
Showing 76 changed files with 1,041 additions and 4,459 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ public void NoFailoverNoLoadBalancingWithExecutorConcurrent()
handlerA.Setup((h) => h.HandleMessage(message)).Callback(() =>
{
var e = new Exception();
allDone.Signal();
failed = 1;
exceptionRegistry.Object.Add(e);
allDone.Signal();
throw e;
});
var dispatcher = channel.Dispatcher;
Expand Down
91 changes: 35 additions & 56 deletions src/Management/Management.sln
Original file line number Diff line number Diff line change
Expand Up @@ -29,32 +29,16 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.Management.CloudFo
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.Management.CloudFoundryCore.Test", "test\CloudFoundryCore.Test\Steeltoe.Management.CloudFoundryCore.Test.csproj", "{B94F21CC-3A87-4D9A-8F9F-39BC4B7447D1}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.Management.EndpointCore.Test", "test\EndpointCore.Test\Steeltoe.Management.EndpointCore.Test.csproj", "{D1E2C1E0-8DF9-403B-A8C8-81C2A259B563}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.Management.EndpointBase", "src\EndpointBase\Steeltoe.Management.EndpointBase.csproj", "{6560432C-FF23-4E24-BA2F-08EA22C9D1E1}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.Management.EndpointBase.Test", "test\EndpointBase.Test\Steeltoe.Management.EndpointBase.Test.csproj", "{E18FE0C4-04F0-46CB-B96A-E9B2210314D6}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.Management.Diagnostics", "src\Diagnostics\Steeltoe.Management.Diagnostics.csproj", "{90C54C3B-488B-4449-826F-940A48992522}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.Management.ExporterBase", "src\ExporterBase\Steeltoe.Management.ExporterBase.csproj", "{E102760A-037A-4B5F-AB38-29572C955A0D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.Management.ExporterCore", "src\ExporterCore\Steeltoe.Management.ExporterCore.csproj", "{A8C4206F-5CB4-4AAD-A5DA-CAB75FB9944C}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.Management.TracingBase", "src\TracingBase\Steeltoe.Management.TracingBase.csproj", "{0DAEE9B6-CE18-4C10-8292-F5F58B4242E5}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.Management.TracingCore", "src\TracingCore\Steeltoe.Management.TracingCore.csproj", "{1753EE33-0754-43B2-8A79-CAE080233F65}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.Management.TracingBase.Test", "test\TracingBase.Test\Steeltoe.Management.TracingBase.Test.csproj", "{5CE3FD57-74C9-4026-82CB-C0B65AEC7DCC}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.Management.TracingCore.Test", "test\TracingCore.Test\Steeltoe.Management.TracingCore.Test.csproj", "{A48BB975-39EB-43E1-9B22-AE1798F8D22E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.Management.ExporterBase.Test", "test\ExporterBase.Test\Steeltoe.Management.ExporterBase.Test.csproj", "{2697ECCD-004F-4FEE-A8CC-7C08819141D2}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.Management.ExporterCore.Test", "test\ExporterCore.Test\Steeltoe.Management.ExporterCore.Test.csproj", "{796DADE8-EB76-4EE3-B5F2-375D69BFCB84}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.Management.OpenCensusBase", "src\OpenCensusBase\Steeltoe.Management.OpenCensusBase.csproj", "{2AB1AA07-0B80-4929-A35B-473C174DE67F}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.Management.TaskCore", "src\TaskCore\Steeltoe.Management.TaskCore.csproj", "{7FEBDFA0-170C-454F-B42E-360FA0A90DD7}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.Management.TaskCore.Test", "test\TaskCore.Test\Steeltoe.Management.TaskCore.Test.csproj", "{BED3B6AA-7EAD-42BC-89C7-8DB5BA395909}"
Expand Down Expand Up @@ -85,6 +69,16 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.Discovery.Abstract
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.Common.Abstractions", "..\Common\src\Abstractions\Steeltoe.Common.Abstractions.csproj", "{282B2292-7D12-48DF-A25D-509B79B9FDE1}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.Management.OpenTelemetryBase", "src\OpenTelemetryBase\Steeltoe.Management.OpenTelemetryBase.csproj", "{C5A54146-778D-44EE-9F84-38E57963E30A}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.Management.TracingBase", "src\TracingBase\Steeltoe.Management.TracingBase.csproj", "{96267423-D9EF-4058-80CA-8E537A32DA99}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.Management.OpenCensusBase", "src\OpenCensusBase\Steeltoe.Management.OpenCensusBase.csproj", "{F4AF1EBF-B32D-455F-A055-E47FA2983D4E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.Management.TracingBase.Test", "test\TracingBase.Test\Steeltoe.Management.TracingBase.Test.csproj", "{908E5C78-2BB9-41E6-B3D5-68FD539D7A2D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.Management.EndpointCore.Test", "test\EndpointCore.Test\Steeltoe.Management.EndpointCore.Test.csproj", "{30D9BE15-45C2-40E3-8C23-F6467F1DDB9B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -103,10 +97,6 @@ Global
{B94F21CC-3A87-4D9A-8F9F-39BC4B7447D1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B94F21CC-3A87-4D9A-8F9F-39BC4B7447D1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B94F21CC-3A87-4D9A-8F9F-39BC4B7447D1}.Release|Any CPU.Build.0 = Release|Any CPU
{D1E2C1E0-8DF9-403B-A8C8-81C2A259B563}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D1E2C1E0-8DF9-403B-A8C8-81C2A259B563}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D1E2C1E0-8DF9-403B-A8C8-81C2A259B563}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D1E2C1E0-8DF9-403B-A8C8-81C2A259B563}.Release|Any CPU.Build.0 = Release|Any CPU
{6560432C-FF23-4E24-BA2F-08EA22C9D1E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6560432C-FF23-4E24-BA2F-08EA22C9D1E1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6560432C-FF23-4E24-BA2F-08EA22C9D1E1}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -119,42 +109,14 @@ Global
{90C54C3B-488B-4449-826F-940A48992522}.Debug|Any CPU.Build.0 = Debug|Any CPU
{90C54C3B-488B-4449-826F-940A48992522}.Release|Any CPU.ActiveCfg = Release|Any CPU
{90C54C3B-488B-4449-826F-940A48992522}.Release|Any CPU.Build.0 = Release|Any CPU
{E102760A-037A-4B5F-AB38-29572C955A0D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E102760A-037A-4B5F-AB38-29572C955A0D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E102760A-037A-4B5F-AB38-29572C955A0D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E102760A-037A-4B5F-AB38-29572C955A0D}.Release|Any CPU.Build.0 = Release|Any CPU
{A8C4206F-5CB4-4AAD-A5DA-CAB75FB9944C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A8C4206F-5CB4-4AAD-A5DA-CAB75FB9944C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A8C4206F-5CB4-4AAD-A5DA-CAB75FB9944C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A8C4206F-5CB4-4AAD-A5DA-CAB75FB9944C}.Release|Any CPU.Build.0 = Release|Any CPU
{0DAEE9B6-CE18-4C10-8292-F5F58B4242E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0DAEE9B6-CE18-4C10-8292-F5F58B4242E5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0DAEE9B6-CE18-4C10-8292-F5F58B4242E5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0DAEE9B6-CE18-4C10-8292-F5F58B4242E5}.Release|Any CPU.Build.0 = Release|Any CPU
{1753EE33-0754-43B2-8A79-CAE080233F65}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1753EE33-0754-43B2-8A79-CAE080233F65}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1753EE33-0754-43B2-8A79-CAE080233F65}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1753EE33-0754-43B2-8A79-CAE080233F65}.Release|Any CPU.Build.0 = Release|Any CPU
{5CE3FD57-74C9-4026-82CB-C0B65AEC7DCC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5CE3FD57-74C9-4026-82CB-C0B65AEC7DCC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5CE3FD57-74C9-4026-82CB-C0B65AEC7DCC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5CE3FD57-74C9-4026-82CB-C0B65AEC7DCC}.Release|Any CPU.Build.0 = Release|Any CPU
{A48BB975-39EB-43E1-9B22-AE1798F8D22E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A48BB975-39EB-43E1-9B22-AE1798F8D22E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A48BB975-39EB-43E1-9B22-AE1798F8D22E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A48BB975-39EB-43E1-9B22-AE1798F8D22E}.Release|Any CPU.Build.0 = Release|Any CPU
{2697ECCD-004F-4FEE-A8CC-7C08819141D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2697ECCD-004F-4FEE-A8CC-7C08819141D2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2697ECCD-004F-4FEE-A8CC-7C08819141D2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2697ECCD-004F-4FEE-A8CC-7C08819141D2}.Release|Any CPU.Build.0 = Release|Any CPU
{796DADE8-EB76-4EE3-B5F2-375D69BFCB84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{796DADE8-EB76-4EE3-B5F2-375D69BFCB84}.Debug|Any CPU.Build.0 = Debug|Any CPU
{796DADE8-EB76-4EE3-B5F2-375D69BFCB84}.Release|Any CPU.ActiveCfg = Release|Any CPU
{796DADE8-EB76-4EE3-B5F2-375D69BFCB84}.Release|Any CPU.Build.0 = Release|Any CPU
{2AB1AA07-0B80-4929-A35B-473C174DE67F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2AB1AA07-0B80-4929-A35B-473C174DE67F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2AB1AA07-0B80-4929-A35B-473C174DE67F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2AB1AA07-0B80-4929-A35B-473C174DE67F}.Release|Any CPU.Build.0 = Release|Any CPU
{7FEBDFA0-170C-454F-B42E-360FA0A90DD7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7FEBDFA0-170C-454F-B42E-360FA0A90DD7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7FEBDFA0-170C-454F-B42E-360FA0A90DD7}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down Expand Up @@ -211,6 +173,26 @@ Global
{282B2292-7D12-48DF-A25D-509B79B9FDE1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{282B2292-7D12-48DF-A25D-509B79B9FDE1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{282B2292-7D12-48DF-A25D-509B79B9FDE1}.Release|Any CPU.Build.0 = Release|Any CPU
{C5A54146-778D-44EE-9F84-38E57963E30A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C5A54146-778D-44EE-9F84-38E57963E30A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C5A54146-778D-44EE-9F84-38E57963E30A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C5A54146-778D-44EE-9F84-38E57963E30A}.Release|Any CPU.Build.0 = Release|Any CPU
{96267423-D9EF-4058-80CA-8E537A32DA99}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{96267423-D9EF-4058-80CA-8E537A32DA99}.Debug|Any CPU.Build.0 = Debug|Any CPU
{96267423-D9EF-4058-80CA-8E537A32DA99}.Release|Any CPU.ActiveCfg = Release|Any CPU
{96267423-D9EF-4058-80CA-8E537A32DA99}.Release|Any CPU.Build.0 = Release|Any CPU
{F4AF1EBF-B32D-455F-A055-E47FA2983D4E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F4AF1EBF-B32D-455F-A055-E47FA2983D4E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F4AF1EBF-B32D-455F-A055-E47FA2983D4E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F4AF1EBF-B32D-455F-A055-E47FA2983D4E}.Release|Any CPU.Build.0 = Release|Any CPU
{908E5C78-2BB9-41E6-B3D5-68FD539D7A2D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{908E5C78-2BB9-41E6-B3D5-68FD539D7A2D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{908E5C78-2BB9-41E6-B3D5-68FD539D7A2D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{908E5C78-2BB9-41E6-B3D5-68FD539D7A2D}.Release|Any CPU.Build.0 = Release|Any CPU
{30D9BE15-45C2-40E3-8C23-F6467F1DDB9B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{30D9BE15-45C2-40E3-8C23-F6467F1DDB9B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{30D9BE15-45C2-40E3-8C23-F6467F1DDB9B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{30D9BE15-45C2-40E3-8C23-F6467F1DDB9B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -219,19 +201,11 @@ Global
{D544C805-F83B-46D8-9F64-AA783F924DB5} = {B86A4082-6F42-4BFC-A1F2-83CC422AD493}
{B886C97F-548C-4FEF-8E95-950A3EBFE901} = {B86A4082-6F42-4BFC-A1F2-83CC422AD493}
{B94F21CC-3A87-4D9A-8F9F-39BC4B7447D1} = {8B4CE682-9C0B-4849-813B-E43BE098FCE2}
{D1E2C1E0-8DF9-403B-A8C8-81C2A259B563} = {8B4CE682-9C0B-4849-813B-E43BE098FCE2}
{6560432C-FF23-4E24-BA2F-08EA22C9D1E1} = {B86A4082-6F42-4BFC-A1F2-83CC422AD493}
{E18FE0C4-04F0-46CB-B96A-E9B2210314D6} = {8B4CE682-9C0B-4849-813B-E43BE098FCE2}
{90C54C3B-488B-4449-826F-940A48992522} = {B86A4082-6F42-4BFC-A1F2-83CC422AD493}
{E102760A-037A-4B5F-AB38-29572C955A0D} = {B86A4082-6F42-4BFC-A1F2-83CC422AD493}
{A8C4206F-5CB4-4AAD-A5DA-CAB75FB9944C} = {B86A4082-6F42-4BFC-A1F2-83CC422AD493}
{0DAEE9B6-CE18-4C10-8292-F5F58B4242E5} = {B86A4082-6F42-4BFC-A1F2-83CC422AD493}
{1753EE33-0754-43B2-8A79-CAE080233F65} = {B86A4082-6F42-4BFC-A1F2-83CC422AD493}
{5CE3FD57-74C9-4026-82CB-C0B65AEC7DCC} = {8B4CE682-9C0B-4849-813B-E43BE098FCE2}
{A48BB975-39EB-43E1-9B22-AE1798F8D22E} = {8B4CE682-9C0B-4849-813B-E43BE098FCE2}
{2697ECCD-004F-4FEE-A8CC-7C08819141D2} = {8B4CE682-9C0B-4849-813B-E43BE098FCE2}
{796DADE8-EB76-4EE3-B5F2-375D69BFCB84} = {8B4CE682-9C0B-4849-813B-E43BE098FCE2}
{2AB1AA07-0B80-4929-A35B-473C174DE67F} = {B86A4082-6F42-4BFC-A1F2-83CC422AD493}
{7FEBDFA0-170C-454F-B42E-360FA0A90DD7} = {B86A4082-6F42-4BFC-A1F2-83CC422AD493}
{BED3B6AA-7EAD-42BC-89C7-8DB5BA395909} = {8B4CE682-9C0B-4849-813B-E43BE098FCE2}
{CFF0B9EA-A2E7-4981-A7C1-085EA0327FD2} = {402D8CB5-C3C3-47E0-BEB3-63D0975E5109}
Expand All @@ -246,6 +220,11 @@ Global
{5CE872B3-6CAD-43ED-A47D-F0C20AD4505B} = {402D8CB5-C3C3-47E0-BEB3-63D0975E5109}
{BE4AA5BA-E583-435D-A6BA-01A11DE100E8} = {402D8CB5-C3C3-47E0-BEB3-63D0975E5109}
{282B2292-7D12-48DF-A25D-509B79B9FDE1} = {402D8CB5-C3C3-47E0-BEB3-63D0975E5109}
{C5A54146-778D-44EE-9F84-38E57963E30A} = {B86A4082-6F42-4BFC-A1F2-83CC422AD493}
{96267423-D9EF-4058-80CA-8E537A32DA99} = {B86A4082-6F42-4BFC-A1F2-83CC422AD493}
{F4AF1EBF-B32D-455F-A055-E47FA2983D4E} = {B86A4082-6F42-4BFC-A1F2-83CC422AD493}
{908E5C78-2BB9-41E6-B3D5-68FD539D7A2D} = {8B4CE682-9C0B-4849-813B-E43BE098FCE2}
{30D9BE15-45C2-40E3-8C23-F6467F1DDB9B} = {8B4CE682-9C0B-4849-813B-E43BE098FCE2}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {7949396C-4BFF-4834-9BC2-F3A345E9CCE5}
Expand Down
Loading

0 comments on commit ad5e572

Please sign in to comment.