Skip to content

Commit

Permalink
status enum to int
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-hensley committed Sep 18, 2023
1 parent d9ca497 commit 308ca8f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ private static void ProcessResult(IAsyncResult asyncResult, AsyncCallback asyncC

if (httpStatusCode.HasValue)
{
tags.Add(SemanticConventions.AttributeHttpStatusCode, httpStatusCode.Value);
tags.Add(SemanticConventions.AttributeHttpStatusCode, (int)httpStatusCode.Value);
}

HttpClientDuration.Record(durationMs, tags);
Expand Down

0 comments on commit 308ca8f

Please sign in to comment.