File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,27 @@ with lib; {
116116 default = 6060 ;
117117 description = mdDoc "Port number of Go Ethereum metrics service." ;
118118 } ;
119+
120+ influxdb = {
121+ enable = mkEnableOption ( mdDoc "Enable metrics export/push to an external InfluxDB database" ) ;
122+ endpoint = mkOption {
123+ type = types . str ;
124+ default = "http://127.0.0.1:8086" ;
125+ description = mdDoc "InfluxDB API endpoint to report metrics to." ;
126+ } ;
127+
128+ username = mkOption {
129+ type = types . str ;
130+ default = "geth" ;
131+ description = mdDoc "Username to authorize access to the database." ;
132+ } ;
133+
134+ password = mkOption {
135+ type = types . str ;
136+ default = "test" ;
137+ description = mdDoc "Password to authorize access to the database." ;
138+ } ;
139+ } ;
119140 } ;
120141
121142 network = mkOption {
You can’t perform that action at this time.
0 commit comments