Actuators in Spring Boot | Tech Primers

  Рет қаралды 49,165

Tech Primers

Tech Primers

7 жыл бұрын

This video covers the Actuators in Spring Boot with examples.
🔗GitHub Code link: github.com/TechPrimers/spring...
📌 Related Playlist
================
🔗Spring Boot Primer - • Spring Boot Primer
🔗Spring Cloud Primer - • Spring Cloud Primer
🔗Spring Microservices Primer - • Spring Microservices P...
🔗Spring JPA Primer - • Spring JPA Primer
🔗Java 8 Streams - • Java 8 Streams
🔗Spring Security Primer - • Spring Security Primer
🔗Containers Primer - • Containers Primer
🔗Kubernetes Primer - • Kubernetes Primer
🔗AWS Primer - • AWS Primer
💥Join TechPrimers Slack Community: bit.ly/JoinTechPrimers
💥Telegram: t.me/TechPrimers
💥TechPrimer HindSight (Blog): / techprimers
💥Website: techprimers.com
💥Slack Community: techprimers.slack.com
💥Twitter: / techprimers
💥Facebook: TechPrimers
💥GitHub: github.com/TechPrimers or techprimers.github.io/
🎬Video Editing: iMovie
🎼Background Music: Broke For Free - Day Bird
brokeforfree.bandcamp.com/tra...
The Passion HiFi - What We Came To Do
---------------------------------------------------------------
🔥 Disclaimer/Policy:
The content/views/opinions posted here are solely mine and the code samples created by me are open sourced.
You are free to use the code samples in Github after forking and you can modify it for your own use.
All the videos posted here are copyrighted. You cannot re-distribute videos on this channel in other channels or platforms.
#Actuators #SpringBoot #TechPrimers

Пікірлер: 49
@she1212
@she1212 6 жыл бұрын
What is the real time use of actuators? How can you hide the sensitive information shown in /env
@TechPrimers
@TechPrimers 6 жыл бұрын
You can use it for Monitoring the Health of your Application and for collecting information about the application. You can write custom Heath Indicators and disable /env since it exposes sensitive info.
@she1212
@she1212 6 жыл бұрын
Thanks for the reply. Here's what i did for my app As recommended in docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html I tried putting this in application.properties "endpoints.env.keys-to-sanitize=password,secret,key,token,.*credentials.*,vcap_services # Keys that should be sanitized. Keys can be simple strings that the property ends with or regex expressions." But i did not see any key/password removed from /env. So I completely disabled the endpoints using endpoints.enabled=false, And enabled only health and info.
@bahdanshyshkin7918
@bahdanshyshkin7918 6 жыл бұрын
I think you are doing a great work because you save a lot of developer's time which they would spend researching and reading docs. Big respect)
@TechPrimers
@TechPrimers 6 жыл бұрын
Thanks mate. Glad that was helpful
@maclovesgeet
@maclovesgeet 6 жыл бұрын
Awesome work. One tip.. you may like to edit away the clip which is not required in the final video. E.g searching for downloaded zip. This will shorten the length of the video and will remain crisp and clear. Anyways.. keep up the good work.
@melsaied101
@melsaied101 6 жыл бұрын
Thank you for you effort
@ankitagarwal969
@ankitagarwal969 5 жыл бұрын
nice tutorial
@sun-prairie
@sun-prairie 6 жыл бұрын
Thank you! good content. keep up your good work.
@deepaksahoo4175
@deepaksahoo4175 5 жыл бұрын
I still feel Boot Admin is a better way of handling all actuator (rest)end points. Because in its admin is a graphical UI
@AzamKhan-uw1bg
@AzamKhan-uw1bg 5 жыл бұрын
I am thankful to you for describing actutor , please describe about WebAppInitializer and SpringBootServletInitializer
@TechPrimers
@TechPrimers 5 жыл бұрын
sure will do
@rushabhuttarwar2325
@rushabhuttarwar2325 4 жыл бұрын
Thanks bro... please tell me which IED you can use
@easyappscompany
@easyappscompany 5 жыл бұрын
Useful
@GauravKawatrakir
@GauravKawatrakir 6 жыл бұрын
How to use the same as above in spring boot 2 ? In Spring boot 2, it shows deprecated. It shows nothing like /env, etc./
@SenthilKumar-po7fi
@SenthilKumar-po7fi 4 жыл бұрын
it was useful
@rajeshreddy5614
@rajeshreddy5614 6 жыл бұрын
Hey i want change data source properties on the fly. Using spring config . Plz make a vedio for that.
@bathulanagendra4621
@bathulanagendra4621 6 жыл бұрын
Hi ajay.if I used actuator in my project it is saying that unsatisfied dependency expressed through method entityManagerFactoryBuilder.Bean creation exception is coming.if I removed that dependency it was working fine.how to resolve this issue.
@kranthisingh1749
@kranthisingh1749 5 жыл бұрын
Okay so , If I want to use the Actuators data to push to some monitoring tool how do I do that. Is it possible??
@omkarpidde8144
@omkarpidde8144 2 жыл бұрын
I think you have to restart the application.... Changes from pom.xml file will not be reflected, until it is restarted
@krishnendughosh1212
@krishnendughosh1212 6 жыл бұрын
Can you please show us how logging can be done in spring boot so that all the request and response can be logged .
@TechPrimers
@TechPrimers 6 жыл бұрын
+krishnendu ghosh sure
@nareshe9906
@nareshe9906 2 жыл бұрын
By default I want to allow the info ,health actuator endpoints and other end points need to be authenticated with some credentials . How to do the same. ?
@sujithg5873
@sujithg5873 6 жыл бұрын
Nice video.How to get a custom variable value in a controller from application.properties
@TechPrimers
@TechPrimers 6 жыл бұрын
you use get using annotations like this: @Value ("${property.value}") private String propertyValue;
@sujithg5873
@sujithg5873 6 жыл бұрын
Tech Primers Thank you so much
@user-ok9wv9tf6h
@user-ok9wv9tf6h 4 жыл бұрын
If u use Spring Boot Version more than 2.0 management.endpoint.health.show-details=always management.endpoints.web.exposure.include=* management.endpoint.beans.enabled=true
@Explore-world-
@Explore-world- 2 жыл бұрын
Its not working with latest version (2.6.2). May be outdated tutorial??
@HimanshuTibrewal
@HimanshuTibrewal 5 жыл бұрын
Your username is blank in the properties file, update properties file with the correct username and password.
@sujithg5873
@sujithg5873 6 жыл бұрын
How can we use actuators in real project?this case anybody can access this information.But I want to limit for some people.Is it possible? Could u help me sir
@TechPrimers
@TechPrimers 6 жыл бұрын
+Sujith G yes. U need to use Spring Security to secure your end points by adding authentication & Authorization filters.
@elibely
@elibely 5 жыл бұрын
great work but please kill the music, i think if i want music i can have another video playing alongside
@nedu-n-chezhian9324
@nedu-n-chezhian9324 5 жыл бұрын
That's rude
@ashwinibalakrishnan9672
@ashwinibalakrishnan9672 2 жыл бұрын
Can you explain what is meant by health check and metrics
@proxy5061
@proxy5061 2 жыл бұрын
Every application, enterprise , business applications need continues monitoring about the cache, database is working or not, all the APIs are working or not so we need that !
@ziedmiladi4320
@ziedmiladi4320 6 жыл бұрын
spring security with Oauth2 plz :)
@TechPrimers
@TechPrimers 6 жыл бұрын
yes Zied. Will be posting in the next week day
@ashutoshchaurasia2972
@ashutoshchaurasia2972 3 жыл бұрын
Nice video quite helpful but that background noise is annoying
@rajeshch1267
@rajeshch1267 5 жыл бұрын
why custom actuator in spring boot
@TechPrimers
@TechPrimers 5 жыл бұрын
if you need to expose any custom info, you can use it
@dhoniramakrishna120
@dhoniramakrishna120 4 жыл бұрын
Brother can I u tell how to send OTP to particular Mobile number please tell me brother
@SasidharTelugu
@SasidharTelugu 4 жыл бұрын
Background music is too loud and it's dominating
@sathiits
@sathiits 5 жыл бұрын
I couldn’t find the Endpoint interface from actuator dependency instead I’m seeing EndpointSupplier
@sathiits
@sathiits 5 жыл бұрын
I’m using 1.5.6 spring boot
@TechPrimers
@TechPrimers 5 жыл бұрын
Yes it's changed in the recent spring boot version
@ashishagrawal7709
@ashishagrawal7709 5 жыл бұрын
Thanks but why music in background, its disturbing
@trapslime16
@trapslime16 4 жыл бұрын
The only bad thing is that music was to quiet, i could almost hear you talk
@khimaanshu9
@khimaanshu9 4 жыл бұрын
Tutorial is good, but the background music is irritating.
@waziharaa
@waziharaa 3 жыл бұрын
Please remove the Background noise. Irritating
Spring Boot with HTTPS Example | Tech Primers
14:50
Tech Primers
Рет қаралды 83 М.
Spring Security using JWT in Spring Boot App | Tech Primers
1:13:04
Tech Primers
Рет қаралды 138 М.
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 43 МЛН
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 16 МЛН
Spring Security using OAuth2 in Spring Boot | Tech Primers
1:00:37
Tech Primers
Рет қаралды 263 М.
Spring Batch in Spring Boot | CSV to Database | Tech Primers
41:31
Tech Primers
Рет қаралды 260 М.
REST API Documentation using Swagger2 in Spring Boot | Tech Primers
26:27
Mastering Spring Boot's Actuator
1:05:48
SpringDeveloper
Рет қаралды 36 М.
Profiles in Spring Boot | Spring Profiles | Tech Primers
14:13
Tech Primers
Рет қаралды 72 М.
BYD U8 танковый разворот
1:00
YOUR NEW AUTO
Рет қаралды 1,7 МЛН
САКЕНДІ ҚАТЫНЫ ҚЫЗҒАНЫП ҚАЛДЫ
0:31
Ән - көңілдің ажары.
Рет қаралды 251 М.
🎀 strong challenge with @RezoHulk #challenge #funny #foryou #gym
0:30
The poor girl couldn't take care of the cat 😢😔
0:38
Ben Meryem
Рет қаралды 9 МЛН
Самый ДОБРЫЙ мальчик!😎
1:00
Petr Savkin
Рет қаралды 7 МЛН