-
Bug
-
Resolution: Done
-
Blocker
-
Logging 5.4.0
-
False
-
False
-
NEW
-
VERIFIED
-
-
-
Logging (Core) - Sprint 215
Since the switch to /var/log/pods, the fluentd collector is not setting namspace, podname and containername labels on log_*_bytes_total metrics.
It is still expecting the old/var/log/containers path, but we are now reading from /var/log/pods.
For example:
Name | container | containername | endpoint | exported_namespace | hostname | instance | job | namespace | path | plugin_id | pod | podname | prometheus | service | type | Value |
log_collected_bytes_total | collector | notfound | metrics | notfound | collector-m9bq5 | 10.128.1.200:24231 | collector | openshift-logging | /var/log/pods/chat_chatter_05682f61-8a44-47af-ae0f-41ad3792e20a/chatter/0.log | container-input | collector-m9bq5 | notfound | openshift-monitoring/k8s | collector | tail | 46317128 |
The collector needs to recognise /var/log/pods paths.