---
title: "ASP.NET Core -Updating the OpenTelemetry configuration"
url: https://daily.dev/posts/asp-net-core--updating-the-opentelemetry-configuration-7naz4xqh0
source_url: https://bartwullems.blogspot.com/2024/04/aspnet-core-updating-opentelemetry.html
type: article
source: "The Art of Simplicity"
published: 2024-04-30T11:36:24.970Z
updated: 2026-03-15T05:51:52.982Z
tags: ["aspnet", "azure", ".net"]
reading_time: 2
upvotes: 4
comments: 1
language: 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.

# ASP.NET Core -Updating the OpenTelemetry configuration

**[The Art of Simplicity](https://daily.dev/sources/bartwullems)** · 2 min read · 4 upvotes · 1 comments

## Summary

Learn how to update the OpenTelemetry configuration in ASP.NET Core, including the recommended versions of .NET and OpenTelemetry. Find out why the error 'IServiceCollection' does not contain a definition for 'AddOpenTelemetryTracing' occurred.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://bartwullems.blogspot.com/2024/04/aspnet-core-updating-opentelemetry.html>

## Community discussion

Top comments from developers on daily.dev.

**@atomicib** · 0 upvotes

> Alllrighty... So basically you had an old version of the package, and API changed between the versions, so you had to update the method name?

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#aspnet](https://daily.dev/tags/aspnet), [#azure](https://daily.dev/tags/azure), [#.net](https://daily.dev/tags/.net)

[View this post on daily.dev](https://daily.dev/posts/asp-net-core--updating-the-opentelemetry-configuration-7naz4xqh0)
