You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before integrating new outputs I'm planning some changes (and possible breaks) for a v2.0.0. Here what and why.
Configuration
Until now, configuration is only possible through environment variables, I would like to add a config file as the number of option is increasing as long I'm adding new outputs. My idea is to use https://github.com/spf13/viper and use its capacity to handle different methods for configuration with a hierarchy "env vars > yaml config file > default values".
Add Test & Code Coverage
For that, I need to change some methods, some of outputs have endpoint of their services which are hard coded. For adding tests, I will add function to create Client object with as much modifiable parameters that needed.
Before integrating new outputs I'm planning some changes (and possible breaks) for a v2.0.0. Here what and why.
Configuration
Until now, configuration is only possible through environment variables, I would like to add a config file as the number of option is increasing as long I'm adding new outputs. My idea is to use https://github.com/spf13/viper and use its capacity to handle different methods for configuration with a hierarchy "env vars > yaml config file > default values".
Add Test & Code Coverage
For that, I need to change some methods, some of outputs have endpoint of their services which are hard coded. For adding tests, I will add function to create
Client
object with as much modifiable parameters that needed.Automatic code coverage test will run on https://coveralls.io/.
Remove useless handlers
✔️ #18
/checkpayload
is not usefull anymore,DEBUG
config option will print input and outputs in stdout.✔️ #18
Change format of output configuration in logs
✔️ #18 #19
We have currently :
That will be :
This syntax is more concise.
Add stats
Add
/stats
handler that will return a json with classic metrics (number of goroutines, heap, etc) fromexpvar
package and custom ones :Enable/Disable detailed view for Slack output
✔️ #18
refer #15
Add an helm chart
refer #16
The text was updated successfully, but these errors were encountered: