Practical OpenTelemetry for .NET - Martin Thwaites - NDC Oslo 2023

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024
  • OpenTelemetry is the biggest project to come out of The Cloud Native Compute Foundation since a little thing they did called "Kubernetes", and it's become the De Facto Standard for exporting telemetry data from your application. So how do you implement it? is it hard?
    In this talk, we'll go through Tracing, Metrics, and Logs from a .NET perspective. I'll show how easy and simple it is to implement, and give you the heads up on the gotchas you might face.
    Check out our new channel:
    NDC Clips:
    ‪@ndcclips‬
    Check out more of our featured speakers and talks at
    ndcconferences...
    ndcoslo.com/

Комментарии • 14

  • @mrjamiebowman1337
    @mrjamiebowman1337 Год назад +4

    I personally prefer the static implementation of the DiagnosticConfig as opposed to injecting it. Nice to know it can be done that way as well.

  • @DamienSawyer
    @DamienSawyer 11 месяцев назад +2

    That was excellent. Exactly what I was after. Thank you!

  • @alexandrohdez3982
    @alexandrohdez3982 Год назад +1

    Wow a lot of internet manual/tutorial over the internet MUST he updated, there are a lot of changes with this new version.

  • @mystiqkc
    @mystiqkc Месяц назад

    Thanks for the great talk!

  • @felipet391
    @felipet391 11 месяцев назад +1

    Very interesting talk! :)

  • @mehdizeynalov1062
    @mehdizeynalov1062 5 месяцев назад

    a bit aggressive tone. also would be good if the data generated could be shared. other than that good presentation, thank you.

  • @Gab-ub2pw
    @Gab-ub2pw Год назад +1

    I did not unterstand properly: what is particular wrong with his injection implementation ?

    • @DotNetMartin
      @DotNetMartin Год назад +4

      There's nothing "wrong" with injection it just doesn't add anything other than a layer of indirectly.
      Since these are essentially static, I really don't see a reason to instantiate them just so you can inject them. .NET has become obsessed with "interface per class" to do Moq/Mock based unit testing. I don't think that kind of testing really adds anything and in this case, it isn't actually possible.
      If you look for my TDD talk on here you'll be able to see my take on that kind of testing.

  • @AvineshSinghSaab
    @AvineshSinghSaab Год назад +1

    Thank you for this great talk full of all the practical advice

  • @yanpitangui
    @yanpitangui Год назад +2

    Great talk!

  • @mustafasabur
    @mustafasabur Год назад +1

    Super talk! Love to see a part 2 😁😁

    • @DotNetMartin
      @DotNetMartin 11 месяцев назад

      I do this talk about 4 times a year, and every time it has more information... unfortunately I have to remove some too!

  • @gustavnilsson6597
    @gustavnilsson6597 Год назад

    Very useful talk, thanks! but at @22:49 you are using a public field, how come?

    • @DotNetMartin
      @DotNetMartin Год назад +1

      Since it's being injected into a public class, an internal class wouldn't work. That properties also need to be accessed outside the class and therefore need to be public.
      Honestly though, since this is my own app, running on my service, there are few attack vectors for having this public.