feat: make environment variables useful.

fix: made config file an environment variable.

fix: reordered and renamed part of the Agent structure.
This commit is contained in:
James Wells 2023-03-30 17:39:04 -07:00
parent 2b0975b30a
commit 8077c66fc9
Signed by: jwells
GPG key ID: 73196D10B8E65666
5 changed files with 50 additions and 27 deletions

View file

@ -49,7 +49,7 @@ mode = "router"
/*
* This is the port to G'Agent will listen for on
* for Prometheus queries. It defaults to 9101.
* for Prometheus queries. Can be overriden by MONITOR_PORT environment variable
* Monitoring will be disabled if this is set to 0.
*
* Optional.