[keystone] add apache_exporter sidecar for Apache worker/scoreboard metrics - #12763
[keystone] add apache_exporter sidecar for Apache worker/scoreboard metrics#12763tz3 wants to merge 1 commit into
Conversation
|
Can this be implemented for barbican as well ? |
|
I think keystone and barbican are the only 2 openstack services running on apache, hence we could add this exporter to common charts at a later stage. |
|
@rajivmucheli yes we can do the same for barbican, WDYT creating a dedicated pr and do the same? |
Shared config in common folder if there will be continuous development and image update. Else a dedicated PR for barbican. |
bbobrov
left a comment
There was a problem hiding this comment.
Please explain why this change is needed.
| enabled: false | ||
| port: "9117" | ||
|
|
||
| image: 'shared-app-images/apache-exporter' |
There was a problem hiding this comment.
where does it come from and who is the maintainer in our team?
There was a problem hiding this comment.
where does it come from and who is the maintainer in our team?
Image added to shared-app-images pipeline: https://github.wdf.sap.corp/cc/base-images/pull/105. Current Keppel image is manually pushed for QA testing only. Maintainer: identity team.
Please explain why this change is needed.
Related task: https://github.wdf.sap.corp/sap-cloud-infrastructure/foundation-issues/issues/1696
|
I am fine with the patch, but lets get the image with the exporter built by our CIs first. |
Summary
apache_exportersidecar to the keystone-api deployment to expose Apache HTTP server metricsmod_statusvia a newstatus.confmounted at/etc/apache2/conf-enabled/status.conf/server-status?autoon localhost and exposes metrics on port 9117prometheus.io/port_1: "9117"annotation so the existingpods_metric_port_1Prometheus job picks it upapi.apacheMetrics.enabled(defaults tofalse)Metrics exposed
apache_workers(busy/idle worker count)apache_scoreboard(per-state worker slots)apache_accesses_total(total request count, requires ExtendedStatus On)Test plan
apacheMetrics.enabled: trueapache_scoreboard,apache_workers,apache_accesses_totalpods_metric_port_1Prometheus job scrapes the targets end-to-end