Watch Me Code a Java Spring App and Send Metrics to Datadog

Поділитися
Вставка
  • Опубліковано 16 жов 2024
  • In this video you will get to see me set up a new Java Spring project using Spring Initialzr and then with minimal dependencies send metrics to Datadog. Then I will setup some basic metrics tracking in Datadog and show how to easily add timed metrics for your APIs using micrometer.
    Github:
    github.com/The...
    Spring Initialzr:
    start.spring.io/
    Timed Annotation
    micrometer.io/...
    Spring Docs:
    docs.spring.io...
    #java #spring #datadog

КОМЕНТАРІ • 13

  • @manojdewangan8442
    @manojdewangan8442 Рік тому +2

    Thanks a lot for making this tutorial. Sometimes all we need is a starting point. I started learning datadog yesterday and was stuck how can I integrate with my spring app.
    It really helped that its superrrrrrrrrrrrr easy, you just have to not give-up. Once again THANKS!!

  • @ukarsaja
    @ukarsaja Рік тому +1

    Thanks a lot, this tutorial is all i need for spring boot and datadog. Please next tutorial for logs alert and monitoring.

  • @TechTutorRyan
    @TechTutorRyan  Рік тому +2

    I noticed that there are some portions that got cut off on the bottom of my screen. Please let me know if you have any questions. On the Datadog website where I was waiting for the Docker image to connect, a finish button will become enabled when it is able to establish a connection to Datadog.
    The other part is after that I stop the datadog image where you can view the images running with:
    docker ps
    Then take the container ID and you can shut down that container with:
    docker stop

    • @OlgaGritsatsueva
      @OlgaGritsatsueva Рік тому

      Sorry, boy I can’t find info - when spring boot app doesn’t need agent
      Could you share reference, please?

  • @vipulgoswami9774
    @vipulgoswami9774 Рік тому

    Thanks for wonderful video, but i would like to enable the APM for my application and i am unable to find the easy way to enable using micrometer but as per the documentation of data-dog its looks very simple, so do you have any experience with the APM in java using Micrometer

  • @dhrub6
    @dhrub6 5 місяців тому

    Amazing video, can you share something that sends custom metrics from Springboot to DD?
    Thanks

  • @epam_stasilho
    @epam_stasilho 6 місяців тому

    I see all metrics are with a epoch second timestamp. Can we plot millisecond precision timestamps?

  • @vikasgupta1828
    @vikasgupta1828 Рік тому +1

    Thanks

  • @AliaksandrSmirnou
    @AliaksandrSmirnou Рік тому

    hi
    how to add custom metric into datadog with datadog-micrometer-regisrty
    we are using datadog instrumentation agent into prod env which generates metric automatically
    but to add custom metric in this case?

  • @sidvenkat-p8y
    @sidvenkat-p8y Рік тому

    Thanks a lot for making this video, dumb question if we have multiple envs, do we have separate api key for each env ?

    • @sidvenkat-p8y
      @sidvenkat-p8y Рік тому

      I am trying to understand how would the metrics query would change in datadog for different envs? as the value is going to be firstApi or secondApi for all envs.

    • @TechTutorRyan
      @TechTutorRyan  Рік тому

      You typically will set a configuration for a tag that indicates the environment so you can filter on it.
      docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/?tab=helm

  • @sebastijanp3
    @sebastijanp3 6 місяців тому

    Could you showcase what are the benefits of Datadog vs. Dynatrace if any? I see Datadog stocks are of higher value, but I cannot see where the benefits of Datadog usages are when comparing it to Dynatrace?