<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/opentelemetry-httpclient-instrumentation-in-net-tracing-outbound-http-calls-t7uo304xd" -->

---
title: OpenTelemetry HttpClient Instrumentation in .NET:...
description: A practical guide to setting up OpenTelemetry HttpClient instrumentation in .NET for tracing outbound HTTP calls. Covers the one-line setup with...
canonical: https://daily.dev/posts/opentelemetry-httpclient-instrumentation-in-net-tracing-outbound-http-calls-t7uo304xd
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: OpenTelemetry HttpClient Instrumentation in .NET: Tracing Outbound HTTP Calls | daily.dev
og:description: A practical guide to setting up OpenTelemetry HttpClient instrumentation in .NET for tracing outbound HTTP calls. Covers the one-line setup with...
og:url: https://daily.dev/posts/opentelemetry-httpclient-instrumentation-in-net-tracing-outbound-http-calls-t7uo304xd
og:image: https://api.daily.dev/og/posts/T7UO304xd.png
og:image:alt: OpenTelemetry HttpClient Instrumentation in .NET: Tracing Outbound HTTP Calls
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenTelemetry HttpClient Instrumentation in .NET: Tracing Outbound HTTP Calls

**[We Are .NET](https://daily.dev/sources/wearedotnet)** · 14 min read · 1 upvotes · 0 comments

## Summary

A practical guide to setting up OpenTelemetry HttpClient instrumentation in .NET for tracing outbound HTTP calls. Covers the one-line setup with AddHttpClientInstrumentation(), automatic span attributes following semantic conventions, W3C traceparent header propagation across services, integration with IHttpClientFactory and typed clients, request filtering via FilterHttpRequestMessage, span enrichment with custom tags using EnrichWithHttpRequestMessage/EnrichWithHttpResponseMessage callbacks, exception recording, manual propagation for edge cases, and a complete production-ready ASP.NET Core configuration combining inbound and outbound tracing with log correlation.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.devleader.ca/2026/07/30/opentelemetry-httpclient-instrumentation-in-net-tracing-outbound-http-calls>

## Similar posts on daily.dev

- [OpenTelemetry ASP.NET Core: Setup, Auto-Instrumentation, and Configuration](https://daily.dev/posts/opentelemetry-asp-net-core-setup-auto-instrumentation-and-configuration-tiydmwrgx) · We Are .NET · 1 upvotes · 0 comments
- [Distributed Tracing Across .NET Services with OpenTelemetry: W3C Trace Context and Baggage](https://daily.dev/posts/distributed-tracing-across-net-services-with-opentelemetry-w3c-trace-context-and-baggage-u8610tjrt) · We Are .NET · 1 upvotes · 0 comments
- [Logging, Metrics, and Distributed Tracing in .NET with OpenTelemetry and ClickStack](https://daily.dev/posts/logging-metrics-and-distributed-tracing-in-net-with-opentelemetry-and-clickstack-ohkhm2db1) · ClickHouse · 4 upvotes · 0 comments
- [OpenTelemetry Logging .NET: ILogger Integration and Structured Log Export](https://daily.dev/posts/opentelemetry-logging-net-ilogger-integration-and-structured-log-export-5b3h28qfa) · We Are .NET · 1 upvotes · 0 comments

---

Tags: [#devops](https://daily.dev/tags/devops), [#.net](https://daily.dev/tags/.net), [#observability](https://daily.dev/tags/observability), [#opentelemetry](https://daily.dev/tags/opentelemetry)

[View this post on daily.dev](https://daily.dev/posts/opentelemetry-httpclient-instrumentation-in-net-tracing-outbound-http-calls-t7uo304xd)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"OpenTelemetry HttpClient Instrumentation in .NET: Tracing Outbound HTTP Calls","url":"https://daily.dev/posts/opentelemetry-httpclient-instrumentation-in-net-tracing-outbound-http-calls-t7uo304xd","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/opentelemetry-httpclient-instrumentation-in-net-tracing-outbound-http-calls-t7uo304xd"},"datePublished":"2026-07-30T22:07:13.027Z","dateModified":"2026-07-30T23:09:26.475Z","description":"A practical guide to setting up OpenTelemetry HttpClient instrumentation in .NET for tracing outbound HTTP calls. Covers the one-line setup with...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/1306765235441f8337047d2201b379b8?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/1306765235441f8337047d2201b379b8?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"We Are .NET","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"We Are .NET","logo":"https://media.daily.dev/image/upload/s--BsnVOa3i--/f_auto/v1718347410/logos/wearedotnet","url":"https://daily.dev/sources/wearedotnet"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/opentelemetry-httpclient-instrumentation-in-net-tracing-outbound-http-calls-t7uo304xd","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"devops,.net,observability,opentelemetry","timeRequired":"PT14M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"We Are .NET","item":"https://daily.dev/sources/wearedotnet"},{"@type":"ListItem","position":3,"name":"OpenTelemetry HttpClient Instrumentation in .NET: Tracing Outbound HTTP Calls"}]}
```

