-
Task
-
Resolution: Done
-
Major
-
None
-
3
-
False
-
False
-
NEW
-
NEW
-
Undefined
-
-
Logging (Core) - Sprint 200, Logging (Core) - Sprint 201, Logging (Core) - Sprint 202, Logging (Core) - Sprint 203, Logging (Core) - Sprint 204
Summary
Implement an independent process to monitor CRIO container log file rotations that can be used to publish total_bytes_logged metrics in prometheus format. The motivation for moving away from a Ruby implementation is Ruby is not efficient in tracking file rotations. Also collectors can change over time so making metric computation outside of fluentd for logging total_bytes_logged is more preferred.
Acceptance Criteria
- Alternate entrypoint into CLO that runs the exporter process
- Integrated into CLO deployment of fluentd as an additional container
- Exposed metric endpoint that is consumable by Prometheus
- Exposed metric of total_bytes_logged
- Documented metric
Notes
- Exporter process being added to CLO as a workaround to the overhead in setting up an additional container process