comments
This commit is contained in:
		| @@ -18,7 +18,7 @@ var ( | ||||
| 		Subsystem: "file", | ||||
| 		Name:      "catchupped", | ||||
| 		Help:      "(0 or) 1 if initial backlog has been sent; (total <= watcher_file_count)", | ||||
| 	}, []string{"filename"}) // TODO: rm filename? | ||||
| 	}, []string{"filename"}) | ||||
| 	promFileErr = promauto.NewCounterVec(prometheus.CounterOpts{ | ||||
| 		Namespace: globals.PrometheusPrefix, | ||||
| 		Subsystem: "file", | ||||
|   | ||||
| @@ -29,7 +29,7 @@ type ( | ||||
| 		String string | ||||
| 		ParsedMetadata | ||||
|  | ||||
| 		ParsedContent // TODO: not implemented | ||||
| 		ParsedContent // TODO: ECS | ||||
|  | ||||
| 		// added by ToBson() | ||||
| 		timeShip time.Time | ||||
|   | ||||
| @@ -29,8 +29,8 @@ var ( | ||||
| 	promShipperDbSendError = promauto.NewCounterVec(prometheus.CounterOpts{ | ||||
| 		Namespace: globals.PrometheusPrefix, | ||||
| 		// Subsystem: "shipper", | ||||
| 		Name: "insertion_error",                     // "errors", | ||||
| 		Help: "Errors while submitting to database", // TODO: | ||||
| 		Name: "insertion_error", // "errors", | ||||
| 		Help: "Failed database bulk insertions", | ||||
| 	}, []string{"filename"}) | ||||
| 	promShipperSynced = promauto.NewGaugeVec(prometheus.GaugeOpts{ | ||||
| 		Namespace: globals.PrometheusPrefix, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user