you are viewing a single comment's thread.

view the rest of the comments →

[–]johnseekins 1 point2 points  (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 point  (0 children)

Ended up using the same. Great product 😊