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

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

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

  • @mystiqkc
    @mystiqkc 3 месяца назад +1

    Thanks for the great talk!

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

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

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

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

  • @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.

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

    Super talk! Love to see a part 2 😁😁

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

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

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

    Great talk!

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

    Very interesting talk! :)

  • @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.

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

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

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

      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.

  • @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.

  • @mehdizeynalov1062
    @mehdizeynalov1062 7 месяцев назад +1

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