Deprecation Warning
===================
Unfortunately, my available time to maintain this project is very low.
I would suggest that you investigate using the Open Telemetry collector to achieve Prometheus metrics to Splunk and see if it meets your needs first:
https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/prometheusreceiver
https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/splunkhecexporter
===================
This add-on provides two modular inputs to allow Splunk to ingest metrics from Prometheus (prometheus.io).
The first is via polling a Prometheus exporter, or the federation endpoint on a Prometheus server from Splunk. The second opens up a TCP port which can act as a remote write target for one or more Prometheus servers.
Full documentation and source is available at: https://github.com/lukemonahan/splunk_modinput_prometheus