Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1896166

Summary: Collectors are missing metric for input sources
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: LoggingAssignee: Jeff Cantrill <jcantril>
Status: CLOSED ERRATA QA Contact: Anping Li <anli>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.6CC: aos-bugs, periklis
Target Milestone: ---   
Target Release: 4.6.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: logging-core
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-08 13:41:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1888420    
Bug Blocks:    

Description OpenShift BugZilla Robot 2020-11-09 21:14:55 UTC
+++ This bug was initially created as a clone of Bug #1888420 +++

Description of problem:

Logging collectors do not provide input metrics to provide information at point of collection

--- Additional comment from jcantril on 2020-10-23 15:20:17 UTC ---

Setting UpcomingSprint as unable to resolve before EOD

Comment 2 Anping Li 2021-01-29 15:33:01 UTC
Verified on
clusterserviceversion.operators.coreos.com/clusterlogging.4.6.0-202101290552.p0
clusterserviceversion.operators.coreos.com/elasticsearch-operator.4.6.0-202101290552.p0

#curl -k -H "Authorization: Bearer `oc sa get-token prometheus-k8s -n openshift-monitoring`" -H "Content-type: application/json" https://$fluentd_svc//metrics |grep input_record
....
cluster_logging_collector_input_record_total{tag="kubernetes.var.log.containers.prometheus-k8s-1_openshift-monitoring_prometheus-2f18b4c3f374f98ba4b024a06cfb38a4fe3267fd09a10c93ad77fbf9250516c1.log",hostname="fluentd-kpvbt"} 140.0
cluster_logging_collector_input_record_total{tag="journal",hostname="fluentd-kpvbt"} 28218.0
# TYPE cluster_logging_collector_input_record_bytes counter
# HELP cluster_logging_collector_input_record_bytes The total bytes of incoming records
cluster_logging_collector_input_record_bytes{tag="kubernetes.var.log.containers.machine-config-daemon-qrplz_openshift-machine-config-operator_machine-config-daemon-2edaa234bb68e6ea6cab0293a90d9cda0d0463882e39ae9f793356b87fb70200.log",hostname="fluentd-kpvbt"} 30767.0
cluster_logging_collector_input_record_bytes{tag="kubernetes.var.log.containers.aws-ebs-csi-driver-node-4m54l_openshift-cluster-csi-drivers_csi-driver-b315b33e7e0e49b5f81ea2e8ad6d3b2ac2aa69389f773f72271c99f6a04eeca5.log",hostname="fluentd-kpvbt"} 1186.0

Comment 5 errata-xmlrpc 2021-02-08 13:41:41 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.6.16 extras security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:0310