Prometheus Metrics Feature Question

How can the prometheus server (that gets started in the background when the PrometheusFeature is enabled) settings be overriden from a consuming application or via configuration.
Reference sample: Capture and visualize metrics using Prometheus and Grafana • Metrics Samples • Particular Docs

What is it that you want to override?

For new applications you are likely better of with using Open telemetry and sending the metrics to Prometheus.