comments
This commit is contained in:
parent
7e59c24c13
commit
801ac76eef
@ -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",
|
||||||
|
@ -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
|
||||||
|
@ -29,8 +29,8 @@ var (
|
|||||||
promShipperDbSendError = promauto.NewCounterVec(prometheus.CounterOpts{
|
promShipperDbSendError = promauto.NewCounterVec(prometheus.CounterOpts{
|
||||||
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,
|
||||||
|
Loading…
Reference in New Issue
Block a user