Http response code metrics in prometheus output?

I have these three options set, and I'm not seeing any http status code data in the output.
addServicesLabels = true
addEntryPointsLabels = true
addRoutersLabels = true

I found this issue from years ago on the subject but not much else.

Is there any way to have traffic report on http status codes?

Thank you!

The Prometheus metrics system does not include response codes by default. This can be added by adding a fetch_http_metrics metric to your prometheus.yml file like so: - job_name: 'http_metric' # snip metrics_path: /metrics method: GET metrics_ignore_default_targets: true # snip http_requests_total: summary_fraction: 0.5 labels: - target: .metrics.http_requests_total