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",
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",

View File

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

View File

@ -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,