Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
eventhorizon-cli committed Jan 20, 2024
1 parent 45a034a commit 6957955
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ private static IEnumerable<JaegerTag> ToJaegerSpanTags(

yield return new JaegerTag
{
Key = "span.kind", Type = JaegerTagType.String, Value = span.SpanKind.ToJaegerSpanKind()
Key = "span.kind",
Type = JaegerTagType.String,
Value = span.SpanKind.ToJaegerSpanKind()
};

foreach (var attribute in spanAttributes)
Expand All @@ -170,7 +172,9 @@ private static IEnumerable<JaegerSpanLog> ToJaegerSpanLogs(
Fields = attributesBySpanEvent.TryGetValue(spanEvent.Index, out var attributes)
? attributes.Select(a => new JaegerTag
{
Key = a.Key, Type = a.ValueType.ToJaegerTagType(), Value = a.Value
Key = a.Key,
Type = a.ValueType.ToJaegerTagType(),
Value = a.Value
}).ToArray()
: Array.Empty<JaegerTag>()
};
Expand Down

0 comments on commit 6957955

Please sign in to comment.