ADD datasouce to enviroment variable #681
-
Is your feature request related to a problem? Please describe. Describe the solution you'd like Describe alternatives you've considered Using configuration files, but this adds complexity in managing separate files for different environments. MSSQL_EXPORTER_DATASOURCE: The full connection string to the SQL Server. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @AntonBushmelev, the environment variables are already implemented, please have a look here - #430 You can also define your own environment variables and interpolate them as needed. For that make sure to pass them as ${YOUR_ENV} to the DSN string. Here is the issue with more details - #427 Try it out and let me know if you need any assistance. I'll move this issue to discussions for the time being. |
Beta Was this translation helpful? Give feedback.
-
thank's ! |
Beta Was this translation helpful? Give feedback.
Hi @AntonBushmelev, the environment variables are already implemented, please have a look here - #430
You can also define your own environment variables and interpolate them as needed. For that make sure to pass them as ${YOUR_ENV} to the DSN string. Here is the issue with more details - #427
Try it out and let me know if you need any assistance.
I'll move this issue to discussions for the time being.