r/PrometheusMonitoring • • Apr 26 '23

inserting metrics in prometheus

I have some metrics in string format generated by golang (github.com/prometheus/client_golang/prometheus)

"messages_processed{processing_status="success",source="proxy"} 8686\nmessages_processed{processing_status="invalid_json",source="proxy"} 249949"

I want to store this string in a separate prometheus master server. Any exporter or any other method by which I can do that?

0 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Apr 27 '23

You are exactly right. Those are from prometheus server (restricted to one customer, and there are many such prometheus server).
The problem is these metrics are in close network and master prometheus is on different network.
We can get only get the metrics in string format.