This commit is contained in:
rasmus 2022-11-09 19:52:02 +02:00
parent 7e59c24c13
commit 801ac76eef
3 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ var (
Subsystem: "file", Subsystem: "file",
Name: "catchupped", Name: "catchupped",
Help: "(0 or) 1 if initial backlog has been sent; (total <= watcher_file_count)", 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{ promFileErr = promauto.NewCounterVec(prometheus.CounterOpts{
Namespace: globals.PrometheusPrefix, Namespace: globals.PrometheusPrefix,
Subsystem: "file", Subsystem: "file",

View File

@ -29,7 +29,7 @@ type (
String string String string
ParsedMetadata ParsedMetadata
ParsedContent // TODO: not implemented ParsedContent // TODO: ECS
// added by ToBson() // added by ToBson()
timeShip time.Time timeShip time.Time

View File

@ -30,7 +30,7 @@ var (
Namespace: globals.PrometheusPrefix, Namespace: globals.PrometheusPrefix,
// Subsystem: "shipper", // Subsystem: "shipper",
Name: "insertion_error", // "errors", Name: "insertion_error", // "errors",
Help: "Errors while submitting to database", // TODO: Help: "Failed database bulk insertions",
}, []string{"filename"}) }, []string{"filename"})
promShipperSynced = promauto.NewGaugeVec(prometheus.GaugeOpts{ promShipperSynced = promauto.NewGaugeVec(prometheus.GaugeOpts{
Namespace: globals.PrometheusPrefix, Namespace: globals.PrometheusPrefix,