Watch Me Code a Java Spring App and Send Metrics to Datadog
ฝัง
- เผยแพร่เมื่อ 6 พ.ค. 2023
- 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-Tech-Tutor/dat...
Spring Initialzr:
start.spring.io/
Timed Annotation
micrometer.io/docs/concepts#_...
Spring Docs:
docs.spring.io/spring-boot/do...
#java #spring #datadog - วิทยาศาสตร์และเทคโนโลยี
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!!
Thanks a lot, this tutorial is all i need for spring boot and datadog. Please next tutorial for logs alert and monitoring.
Amazing video, can you share something that sends custom metrics from Springboot to DD?
Thanks
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?
I see all metrics are with a epoch second timestamp. Can we plot millisecond precision timestamps?
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
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
Sorry, boy I can’t find info - when spring boot app doesn’t need agent
Could you share reference, please?
Thanks
Thanks a lot for making this video, dumb question if we have multiple envs, do we have separate api key for each env ?
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.
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
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?