I am facing some challenges while configuring Spring Boot Micrometer
for my application. Micrometer documents says we can configure influxdb uri, userName, password, db
etc through application.yml
file which is working fine for my demo application but for production ready application we are using docker-compose
and we are setting all our environment variable through docker-compose
. Now I am facing challenges like -
- How can I force micrometer to use
docker-compose
environment variableinfluxdb uri
- For
influxdb
password, our application stores passwords inAWS secret Manager
, how micrometer will access password from secret manager? - Can I configure all this micrometer properties programmatically (Spring Bean)? How?