File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -92,9 +92,6 @@ func main() {
92
92
esClusterInfoInterval = kingpin .Flag ("es.clusterinfo.interval" ,
93
93
"Cluster info update interval for the cluster label" ).
94
94
Default ("5m" ).Duration ()
95
- esExportLicense = kingpin .Flag ("es.license" ,
96
- "Export license information" ).
97
- Default ("false" ).Bool ()
98
95
esCA = kingpin .Flag ("es.ca" ,
99
96
"Path to PEM file that contains trusted Certificate Authorities for the Elasticsearch connection." ).
100
97
Default ("" ).String ()
@@ -232,10 +229,6 @@ func main() {
232
229
prometheus .MustRegister (collector .NewIlmIndicies (logger , httpClient , esURL ))
233
230
}
234
231
235
- if * esExportLicense {
236
- prometheus .MustRegister (collector .NewClusterLicense (logger , httpClient , esURL ))
237
- }
238
-
239
232
// Create a context that is cancelled on SIGKILL or SIGINT.
240
233
ctx , cancel := signal .NotifyContext (context .Background (), os .Interrupt , os .Kill )
241
234
defer cancel ()
You can’t perform that action at this time.
0 commit comments