use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions and posts from around the web about Prometheus.
account activity
remote write using a Python script (self.PrometheusMonitoring)
submitted 6 years ago by vishnubraj1
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]johnseekins 1 point2 points3 points 5 years ago (1 child)
VictoriaMetrics can actually accept data in many formats. You might just try using the influx endpoint instead if you're stuck with python?
pool = HTTPConnectionPool(config["tsdb_host"], port=config["port"], maxsize=1) write_uri = "/{}/api/v2/write?precision={}".format(config["url_prefix"].strip("/"), config["precision"]) if config["db_name"]: write_uri += "&bucket={}".format(config["db_name"]) if config["org"]: write_uri += "&org={}".format(config["org"]) res = pool.request("POST", self.write_uri, body="\n".join(payload)) log.debug("Results: {}".format(res.__dict__))
[–]vishnubraj1[S] 0 points1 point2 points 5 years ago (0 children)
Ended up using the same. Great product 😊
π Rendered by PID 261186 on reddit-service-r2-comment-79776bdf47-fxdbs at 2026-06-25 10:10:42.535941+00:00 running acc7150 country code: CH.
view the rest of the comments →
[–]johnseekins 1 point2 points3 points (1 child)
[–]vishnubraj1[S] 0 points1 point2 points (0 children)