{"id":34510,"date":"2019-10-31T21:58:46","date_gmt":"2019-10-31T18:58:46","guid":{"rendered":"https:\/\/prohoster.info\/blog\/otkryt-kod-victoriametrics-subd-dlya-vremennyh-ryadov-sovmestimoj-s-prometheus\/"},"modified":"2019-10-31T21:58:46","modified_gmt":"2019-10-31T18:58:46","slug":"otkryt-kod-victoriametrics-subd-dlya-vremennyh-ryadov-sovmestimoj-s-prometheus","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/news\/otkryt-kod-victoriametrics-subd-dlya-vremennyh-ryadov-sovmestimoj-s-prometheus","title":{"rendered":"The code for VictoriaMetrics, a time series database compatible with Prometheus, is open source.","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><noindex><a rel=\"nofollow\" href=\"https:\/\/blog.usejournal.com\/open-sourcing-victoriametrics-f31e34485c2b\">Open<\/a><\/noindex> source texts <noindex><a rel=\"nofollow\" href=\"https:\/\/victoriametrics.com\/\">VictoriaMetrics<\/a><\/noindex> \u2014 a fast and scalable database management system for storing and processing data in the form of time series (a record consists of time and a set of corresponding values for that time, for example, obtained through periodic polling of sensor states or collecting metrics). The project competes with solutions such as <noindex><a rel=\"nofollow\" href=\"https:\/\/influxdata.com\">InfluxDB<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/www.timescale.com\/\">TimescaleDB<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/improbable-eng\/thanos\">Thanos<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/cortexproject\/cortex\">Cortex<\/a><\/noindex> and <noindex><a rel=\"nofollow\" href=\"https:\/\/eng.uber.com\/m3\/\">Uber M3<\/a><\/noindex>. The code is written in Go language and  <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/VictoriaMetrics\/VictoriaMetrics\">is distributed<\/a><\/noindex> under the Apache 2.0 license.<\/p>\n<p>Advantages and features of VictoriaMetrics:<\/p>\n<ul>\n<li class=\"l\"> Easy to use. It consists of a single executable file with minimal configuration options provided via command line upon startup. All data is stored in a single directory specified at launch using the '-storageDataPath' flag;\n<li class=\"l\"> Query language support <noindex><a rel=\"nofollow\" href=\"https:\/\/prometheus.io\/docs\/prometheus\/latest\/querying\/basics\/\">PromQL<\/a><\/noindex>, used in the monitoring system <noindex><a rel=\"nofollow\" href=\"https:\/\/prometheus.io\/\">Prometheus<\/a><\/noindex>. Nested PromQL queries and some <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/VictoriaMetrics\/VictoriaMetrics\/wiki\/ExtendedPromQL\">advanced features<\/a><\/noindex>, such as the 'offset' expression, patterns inside 'WIDTH', 'if' and 'default' operators, additional functions, and the ability to include comments;\n<li class=\"l\"> Ability to use as a <noindex><a rel=\"nofollow\" href=\"https:\/\/prometheus.io\/docs\/prometheus\/latest\/storage\/#remote-storage-integrations\">long-term data storage<\/a><\/noindex>, connected to Prometheus and <noindex><a rel=\"nofollow\" href=\"https:\/\/grafana.com\/\">Grafana<\/a><\/noindex>.\n<li class=\"l\"> An inverse loading mode for uploading historical data is available;\n<li class=\"l\"> Support for various data transfer protocols, including <noindex><a rel=\"nofollow\" href=\"https:\/\/prometheus.io\/docs\/prometheus\/latest\/configuration\/configuration\/#remote_write\">Prometheus API<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/docs.influxdata.com\/influxdb\/v1.7\/write_protocols\/line_protocol_tutorial\/\">Influx<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/graphite.readthedocs.io\/en\/latest\/feeding-carbon.html\">Graphite<\/a><\/noindex> and <noindex><a rel=\"nofollow\" href=\"http:\/\/opentsdb.net\/docs\/build\/html\/api_telnet\/put.html\">OpenTSDB<\/a><\/noindex>. VictoriaMetrics can also be used as a transparent replacement for InfluxDB and can work with InfluxDB-compatible collectors such as Telegraf;\n<li class=\"l\"> High performance and low resource consumption <noindex><a rel=\"nofollow\" href=\"https:\/\/medium.com\/@valyala\/measuring-vertical-scalability-for-time-series-databases-in-google-cloud-92550d78d8ae\">compared<\/a><\/noindex> to competing systems. In some tests, VictoriaMetrics outperforms InfluxDB and TimescaleDB in insert and query operations by up to 20 times. For analytical queries, the advantage over relational databases like PostgreSQL and MySQL can range from 10 to 1000 times.\n<p><center><noindex><a rel=\"nofollow\" href=\"https:\/\/cdn-images-1.medium.com\/max\/716\/1*rDOzSZ8ZX54PLKvuGi8gmw.png\"><img decoding=\"async\" alt=\"The code for VictoriaMetrics, a time series database compatible with Prometheus, is open source.\" src=\"\/wp-content\/uploads\/2019\/05\/96bf0a41c76b12860ff5f7536b236ac9.jpeg\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><\/center><\/p>\n<p><center><noindex><a rel=\"nofollow\" href=\"https:\/\/cdn-images-1.medium.com\/max\/716\/1*WSUgc_uAszar_OqY5z-IWg.png\"><img decoding=\"async\" alt=\"The code for VictoriaMetrics, a time series database compatible with Prometheus, is open source.\" src=\"\/wp-content\/uploads\/2019\/05\/488a00656839a05926ba4294c188d28d.jpeg\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><\/center><\/p>\n<p><center><noindex><a rel=\"nofollow\" href=\"https:\/\/cdn-images-1.medium.com\/max\/716\/1*kmegn4-w9RfKs1uRGW3e4A.png\"><img decoding=\"async\" alt=\"The code for VictoriaMetrics, a time series database compatible with Prometheus, is open source.\" src=\"\/wp-content\/uploads\/2019\/05\/0bc51b862ad1096420ad9d0f723b718a.jpeg\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><\/center><\/p>\n<li class=\"l\"> It has <noindex><a rel=\"nofollow\" href=\"https:\/\/medium.com\/@valyala\/insert-benchmarks-with-inch-influxdb-vs-victoriametrics-e31a41ae2893\">of<\/a><\/noindex> processing of a very large number of unique time series. When processing millions of different time series, it consumes up to 10 times less RAM than InfluxDB.\n<li class=\"l\"> High data compression in disk storage. Compared to TimescaleDB, it can fit up to 70 times more records in the same storage volume;\n<li class=\"l\"> Optimizations for storage with high latencies and low I\/O operations per second (e.g., hard drives and cloud storage from AWS, Google Cloud, and Microsoft Azure) are available;\n<li class=\"l\"> Simple backup system based on <noindex><a rel=\"nofollow\" href=\"https:\/\/medium.com\/@valyala\/how-victoriametrics-makes-instant-snapshots-for-multi-terabyte-time-series-data-e1f3fb0e0282\">snapshots<\/a><\/noindex>;\n<li class=\"l\"> Availability of means to protect the integrity of storage from data corruption, for example, during a power failure (the storage takes the form of <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/LSM-%D0%B4%D0%B5%D1%80%D0%B5%D0%B2%D0%BE\">a log-structured merge tree<\/a><\/noindex>);\n<li class=\"l\"> Implemented in Go, ensuring a trade-off between performance and code complexity compared to Rust and C++.\n<li class=\"l\"> Source codes are provided <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/VictoriaMetrics\/VictoriaMetrics\/tree\/cluster\">cluster versions<\/a><\/noindex>, which supports horizontal scaling across multiple servers and demonstrates low overhead. There are means to ensure high availability.\n<\/ul>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Source: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=50745\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041e\u0442\u043a\u0440\u044b\u0442\u044b \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0442\u0435\u043a\u0441\u0442\u044b VictoriaMetrics &#8212; \u0431\u044b\u0441\u0442\u0440\u043e\u0439 \u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u043c\u043e\u0439 \u0421\u0423\u0411\u0414 \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0444\u043e\u0440\u043c\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u044f\u0434\u0430 (\u0437\u0430\u043f\u0438\u0441\u044c \u043e\u0431\u0440\u0430\u0437\u0443\u0435\u0442 \u0432\u0440\u0435\u043c\u044f \u0438 \u043d\u0430\u0431\u043e\u0440 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u044d\u0442\u043e\u043c\u0443 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0445 \u0447\u0435\u0440\u0435\u0437 \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043e\u043f\u0440\u043e\u0441 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432 \u0438\u043b\u0438 \u0441\u0431\u043e\u0440 \u043c\u0435\u0442\u0440\u0438\u043a). \u041f\u0440\u043e\u0435\u043a\u0442 \u043a\u043e\u043d\u043a\u0443\u0440\u0438\u0440\u0443\u0435\u0442 \u0441 \u0442\u0430\u043a\u0438\u043c\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u044f\u043c\u0438, \u043a\u0430\u043a InfluxDB, TimescaleDB, Thanos, Cortex \u0438 Uber M3. \u041a\u043e\u0434 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Go [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":26001,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-34510","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041e\u0442\u043a\u0440\u044b\u0442\u044b \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0442\u0435\u043a\u0441\u0442\u044b\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/news\/otkryt-kod-victoriametrics-subd-dlya-vremennyh-ryadov-sovmestimoj-s-prometheus\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041e\u0442\u043a\u0440\u044b\u0442 \u043a\u043e\u0434 VictoriaMetrics, \u0421\u0423\u0411\u0414 \u0434\u043b\u044f \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0440\u044f\u0434\u043e\u0432, \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0439 \u0441 Prometheus | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041e\u0442\u043a\u0440\u044b\u0442\u044b \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0442\u0435\u043a\u0441\u0442\u044b\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/news\/otkryt-kod-victoriametrics-subd-dlya-vremennyh-ryadov-sovmestimoj-s-prometheus\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T18:58:46+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T18:58:46+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47The code for VictoriaMetrics, a time series database compatible with Prometheus, is open | ProHoster","description":"Open source codes","canonical_url":"https:\/\/prohoster.info\/en\/blog\/news\/otkryt-kod-victoriametrics-subd-dlya-vremennyh-ryadov-sovmestimoj-s-prometheus","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041e\u0442\u043a\u0440\u044b\u0442 \u043a\u043e\u0434 VictoriaMetrics, \u0421\u0423\u0411\u0414 \u0434\u043b\u044f \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0440\u044f\u0434\u043e\u0432, \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0439 \u0441 Prometheus | ProHoster","og:description":"\u041e\u0442\u043a\u0440\u044b\u0442\u044b \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0442\u0435\u043a\u0441\u0442\u044b","og:url":"https:\/\/prohoster.info\/en\/blog\/news\/otkryt-kod-victoriametrics-subd-dlya-vremennyh-ryadov-sovmestimoj-s-prometheus","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T18:58:46+00:00","article:modified_time":"2019-10-31T18:58:46+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"34510","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-21 19:33:22","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 02:19:28","updated":"2026-01-21 19:33:22","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/34510","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=34510"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/34510\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media\/26001"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=34510"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=34510"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=34510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}