Prometheus is intended to expose metrics to be scraped and not push at scale. You can override how the metrics are exposed and scrape them using your prometheus stack. I haven’t tried overriding the configuration however the metrics are using the jmx_prometheus_javaagent, you can see this
here. You could add a mount point at the config file location to override the configuration
/datahub/datahub-gms/scripts/prometheus-config.yaml
and the details on what this agent can do is from this
project.