-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from liuhaoyang/dev
push preview-0.0.2
- Loading branch information
Showing
109 changed files
with
674 additions
and
1,632 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+1.48 MB
docs/design/Dapper,aLarge-ScaleDistributedSystemsTracingInfrastructure.pdf
Binary file not shown.
Binary file added
BIN
+140 KB
docs/design/Uncertainty in Aggregate Estimates from Sampled Distributed Traces.pdf
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
using System.Collections.Generic; | ||
using System.Threading.Tasks; | ||
using Butterfly.Protocol; | ||
using Butterfly.DataContract.Tracing; | ||
using Butterfly.Storage.Query; | ||
|
||
namespace Butterfly.Storage | ||
{ | ||
public interface ISpanQuery | ||
{ | ||
Task<IEnumerable<Span>> GetSpans(); | ||
Task<Span> GetSpan(string spanId); | ||
|
||
Task<IEnumerable<Span>> GetTrace(string traceId); | ||
Task<Trace> GetTrace(string traceId); | ||
|
||
Task<PageResult<Trace>> GetTraces(TraceQuery traceQuery); | ||
|
||
Task<IEnumerable<string>> GetServices(); | ||
|
||
Task<IEnumerable<Span>> GetSpanDependencies(DependencyQuery dependencyQuery); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System; | ||
|
||
namespace Butterfly.Storage.Query | ||
{ | ||
public class DependencyQuery | ||
{ | ||
public DateTimeOffset? StartTimestamp { get; set; } | ||
|
||
public DateTimeOffset? FinishTimestamp { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Butterfly.Storage.Query | ||
{ | ||
public static class QueryConstants | ||
{ | ||
public const string Service = "service.name"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/Butterfly.Protocal/Baggage.cs → ...Butterfly.DataContract/Tracing/Baggage.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace Butterfly.Protocol | ||
namespace Butterfly.DataContract.Tracing | ||
{ | ||
public class Baggage | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
src/Butterfly.Protocal/Log.cs → src/Butterfly.DataContract/Tracing/Log.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/Butterfly.Protocal/LogField.cs → ...utterfly.DataContract/Tracing/LogField.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace Butterfly.Protocol | ||
namespace Butterfly.DataContract.Tracing | ||
{ | ||
public class LogField | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
src/Butterfly.Protocal/Reference.cs → ...tterfly.DataContract/Tracing/Reference.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace Butterfly.Protocol | ||
namespace Butterfly.DataContract.Tracing | ||
{ | ||
public class SpanReference | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
src/Butterfly.Protocal/Span.cs → src/Butterfly.DataContract/Tracing/Span.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/Butterfly.Protocal/Tag.cs → src/Butterfly.DataContract/Tracing/Tag.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace Butterfly.Protocol | ||
namespace Butterfly.DataContract.Tracing | ||
{ | ||
public class Tag | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
src/Butterfly.Protocal/Trace.cs → src/Butterfly.DataContract/Tracing/Trace.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.