{"id":25706,"date":"2023-06-09T11:27:49","date_gmt":"2023-06-09T09:27:49","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=25706"},"modified":"2024-09-11T10:18:38","modified_gmt":"2024-09-11T08:18:38","slug":"migrating-monitoring-data-from-prometheus-to-victoriametrics","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/migrating-monitoring-data-from-prometheus-to-victoriametrics\/","title":{"rendered":"Migrating Monitoring Data from Prometheus to VictoriaMetrics"},"content":{"rendered":"\n<p>Now that we know the advantages of VictoriaMetrics over Prometheus (see my previous <a href=\"https:\/\/www.dbi-services.com\/blog\/prometheus-vs-victoriametrics\/\" target=\"_blank\" rel=\"noreferrer noopener\">blog post<\/a>), we have to find a way to migrate data between the two. If you have the default retention set in Prometheus (ie. 15 days), it is probably not a strong requirement to keep them in a new VictoriaMetrics setup.<\/p>\n\n\n\n<p>Nevertheless, I will detail here how to proceed.<\/p>\n\n\n\n<p>Note that I will keep Grafana for the display part as it is compatible with both monitoring solutions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Overview<\/h2>\n\n\n\n<p>I will proceed as follow:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Take a snapshot on Prometheus<\/li>\n\n\n\n<li>Import data in VictoriaMetrics with vmctl<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Snapshot<\/h2>\n\n\n\n<p>To be able to trigger a snapshot of Prometheus data, I have first to enable admin API. This is done by adding <code>--web.enable-admin-api<\/code> flag to startup command. Once that&#8217;s done, triggering a snapshot is as easy as a curl command with POST http method:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ curl -XPOST http:\/\/&lt;PrometheusIP&gt;:9090\/api\/v1\/admin\/tsdb\/snapshot\n{&quot;status&quot;:&quot;success&quot;,&quot;data&quot;:{&quot;name&quot;:&quot;20230608T150754Z-7c864ce21dbb79c5&quot;}}\n<\/pre><\/div>\n\n\n<p>Result is json formatted which includes status and the name of the folder created inside <code>data\/snapshots<\/code> subfolder of Prometheus:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\/prometheus $ ls -1 data\/snapshots\/\n20230608T150254Z-3466e689e07d12cd\n20230608T150754Z-7c864ce21dbb79c5\n20230608T152459Z-66050f91e5b82015\n20230608T153146Z-2b08c6e61aa9ef66\n<\/pre><\/div>\n\n\n<p>Each snapshot is named with date and time of the snapshot and a random number.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">vmctl<\/h2>\n\n\n\n<p><a href=\"https:\/\/docs.victoriametrics.com\/vmctl.html\" target=\"_blank\" rel=\"noreferrer noopener\"><code>vmctl<\/code><\/a> is tool provided by VictoriaMetrics which will help us to read the snapshot and write it into VictoriaMetrics TSDB. I was looking for this tool inside VictoriaMetrics container. Unfortunately, it is not in it, but this is to make server image lighter. <code>vmctl<\/code> has its own docker image.<\/p>\n\n\n\n<p>Command looks like this:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\ndocker run --rm \\\n  -v .\/data\/snapshots:\/snapshots\/ \\\n  -it victoriametrics\/vmctl:stable \\\n   prometheus \\\n  --prom-snapshot=\/snapshots\/20230608T153146Z-2b08c6e61aa9ef66 \\\n  --vm-addr http:\/\/&lt;VictoriaMetricsIP&gt;:8428\n<\/pre><\/div>\n\n\n<p>As it is a container image I have to provide few parameters:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Line 2: Map the volume where snapshots (line 2) are<\/li>\n\n\n\n<li>Line 3: -it is required as vmctl requires confirmation if it must proceed with import or not<\/li>\n\n\n\n<li>Line 4: Is the type of import<\/li>\n\n\n\n<li>Line 5: Path to the snapshot inside the container<\/li>\n\n\n\n<li>Line 6: I have to provide the VictoriaMetrics URL to import data<\/li>\n<\/ul>\n\n\n\n<p>Running the command shows content of the snapshot and waits for user confirmation:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nPrometheus import mode\nPrometheus snapshot stats:\n  blocks found: 1;\n  blocks skipped by time filter: 0;\n  min time: 1686227907429 (2023-06-08T12:38:27Z);\n  max time: 1686238305983 (2023-06-08T15:31:45Z);\n  samples: 1306417;\n  series: 3591.\nFound 1 blocks to import. Continue? &#x5B;Y\/n]\n<\/pre><\/div>\n\n\n<p>After confirming:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nVM worker 0:\u2192 644619 samples\/s\nVM worker 1:\u2192 645300 samples\/s\nProcessing blocks: 1 \/ 2 &#x5B;\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2592\u2592\u2592\u2592\u2592\u2592\u2592\u2592\u2592\u2592\u2592\u2592\u2592\u2592\u2592\u2592\u2592\u2592\u2592\u2592\u2592] 50.00%\n2023\/06\/08 15:56:58 Import finished!\n2023\/06\/08 15:56:58 VictoriaMetrics importer stats:\n  idle duration: 332.185307ms;\n  time spent while importing: 1.213899228s;\n  total samples: 1620207;\n  samples\/s: 1334712.93;\n  total bytes: 31.2 MB;\nVM worker 0:\u2198 644619 samples\/s\nVM worker 1:\u2198 645300 samples\/s\nProcessing blocks: 2 \/ 2 &#x5B;\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588] 100.00%\n2023\/06\/08 15:56:58 Total time: 2.302315453s\n<\/pre><\/div>\n\n\n<p>From VictoriaMetrics dashboard, we can see data ingestion:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"939\" height=\"322\" src=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-08-18_14_03-VictoriaMetrics-Dashboards-Grafana-\u2014-Mozilla-Firefox.png\" alt=\"\" class=\"wp-image-25723\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-08-18_14_03-VictoriaMetrics-Dashboards-Grafana-\u2014-Mozilla-Firefox.png 939w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-08-18_14_03-VictoriaMetrics-Dashboards-Grafana-\u2014-Mozilla-Firefox-300x103.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-08-18_14_03-VictoriaMetrics-Dashboards-Grafana-\u2014-Mozilla-Firefox-768x263.png 768w\" sizes=\"auto, (max-width: 939px) 100vw, 939px\" \/><\/figure>\n\n\n\n<p>Secondly, to confirm it worked, ahead of this data copy, I have created a Grafana dashboard querying same data but from both Prometheus and VictoriaMetrics datasource:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"701\" height=\"334\" src=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-08-18_07_44-.png\" alt=\"\" class=\"wp-image-25719\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-08-18_07_44-.png 701w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-08-18_07_44--300x143.png 300w\" sizes=\"auto, (max-width: 701px) 100vw, 701px\" \/><\/figure>\n\n\n\n<p>Before import, dashboard looked like this (note the absence of label):<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"930\" height=\"407\" src=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-08-18_11_12-WildFly-Dashboards-Grafana-\u2014-Mozilla-Firefox.png\" alt=\"\" class=\"wp-image-25720\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-08-18_11_12-WildFly-Dashboards-Grafana-\u2014-Mozilla-Firefox.png 930w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-08-18_11_12-WildFly-Dashboards-Grafana-\u2014-Mozilla-Firefox-300x131.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-08-18_11_12-WildFly-Dashboards-Grafana-\u2014-Mozilla-Firefox-768x336.png 768w\" sizes=\"auto, (max-width: 930px) 100vw, 930px\" \/><\/figure>\n\n\n\n<p>Afterwards:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"937\" height=\"402\" src=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-08-18_11_44-WildFly-Dashboards-Grafana-\u2014-Mozilla-Firefox.png\" alt=\"\" class=\"wp-image-25721\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-08-18_11_44-WildFly-Dashboards-Grafana-\u2014-Mozilla-Firefox.png 937w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-08-18_11_44-WildFly-Dashboards-Grafana-\u2014-Mozilla-Firefox-300x129.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-08-18_11_44-WildFly-Dashboards-Grafana-\u2014-Mozilla-Firefox-768x329.png 768w\" sizes=\"auto, (max-width: 937px) 100vw, 937px\" \/><\/figure>\n\n\n\n<p>Data is there. <code>rate<\/code> function has a different behavior in Prometheus and VictoriaMetrics which explains why curves do not perfectly align.<\/p>\n\n\n\n<p>Let&#8217;s have a look at raw data to confirm that they exactly match (Prometheus in the top array and VM in the bottom array):<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"646\" src=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-09-08_47_55-WildFly-Dashboards-Grafana-\u2014-Mozilla-Firefox-1024x646.png\" alt=\"\" class=\"wp-image-25732\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-09-08_47_55-WildFly-Dashboards-Grafana-\u2014-Mozilla-Firefox-1024x646.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-09-08_47_55-WildFly-Dashboards-Grafana-\u2014-Mozilla-Firefox-300x189.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-09-08_47_55-WildFly-Dashboards-Grafana-\u2014-Mozilla-Firefox-768x484.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-09-08_47_55-WildFly-Dashboards-Grafana-\u2014-Mozilla-Firefox-1536x969.png 1536w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-09-08_47_55-WildFly-Dashboards-Grafana-\u2014-Mozilla-Firefox.png 1907w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>At 16:46:15.986, we can see that the counter increased from same 20087 to 23112.<\/p>\n\n\n\n<p>Finally, for existing Grafana dashboards you might have setup, you could either change the datasource of them individually or change the connection URL parameter at the global configuration level of Grafana (in Connections =&gt; Your connections =&gt; Data sources).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now that we know the advantages of VictoriaMetrics over Prometheus (see my previous blog post), we have to find a way to migrate data between the two. If you have the default retention set in Prometheus (ie. 15 days), it is probably not a strong requirement to keep them in a new VictoriaMetrics setup. Nevertheless, [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197,1320],"tags":[2257,143,2234,2978],"type_dbi":[],"class_list":["post-25706","post","type-post","status-publish","format-standard","hentry","category-application-integration-middleware","category-devops","tag-grafana","tag-monitoring","tag-prometheus","tag-victoriametrics"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Migrating Monitoring Data from Prometheus to VictoriaMetrics - dbi Blog<\/title>\n<meta name=\"description\" content=\"How can we migrate from Prometheus to VictoriaMetrics Time Series DataBase\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/migrating-monitoring-data-from-prometheus-to-victoriametrics\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Migrating Monitoring Data from Prometheus to VictoriaMetrics\" \/>\n<meta property=\"og:description\" content=\"How can we migrate from Prometheus to VictoriaMetrics Time Series DataBase\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/migrating-monitoring-data-from-prometheus-to-victoriametrics\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-09T09:27:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-11T08:18:38+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-08-18_07_44-.png\" \/>\n<meta name=\"author\" content=\"Middleware Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Middleware Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/migrating-monitoring-data-from-prometheus-to-victoriametrics\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/migrating-monitoring-data-from-prometheus-to-victoriametrics\\\/\"},\"author\":{\"name\":\"Middleware Team\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/8d8563acfc6e604cce6507f45bac0ea1\"},\"headline\":\"Migrating Monitoring Data from Prometheus to VictoriaMetrics\",\"datePublished\":\"2023-06-09T09:27:49+00:00\",\"dateModified\":\"2024-09-11T08:18:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/migrating-monitoring-data-from-prometheus-to-victoriametrics\\\/\"},\"wordCount\":450,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/migrating-monitoring-data-from-prometheus-to-victoriametrics\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/06\\\/2023-06-08-18_07_44-.png\",\"keywords\":[\"Grafana\",\"Monitoring\",\"Prometheus\",\"VictoriaMetrics\"],\"articleSection\":[\"Application integration &amp; Middleware\",\"DevOps\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/migrating-monitoring-data-from-prometheus-to-victoriametrics\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/migrating-monitoring-data-from-prometheus-to-victoriametrics\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/migrating-monitoring-data-from-prometheus-to-victoriametrics\\\/\",\"name\":\"Migrating Monitoring Data from Prometheus to VictoriaMetrics - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/migrating-monitoring-data-from-prometheus-to-victoriametrics\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/migrating-monitoring-data-from-prometheus-to-victoriametrics\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/06\\\/2023-06-08-18_07_44-.png\",\"datePublished\":\"2023-06-09T09:27:49+00:00\",\"dateModified\":\"2024-09-11T08:18:38+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/8d8563acfc6e604cce6507f45bac0ea1\"},\"description\":\"How can we migrate from Prometheus to VictoriaMetrics Time Series DataBase\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/migrating-monitoring-data-from-prometheus-to-victoriametrics\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/migrating-monitoring-data-from-prometheus-to-victoriametrics\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/migrating-monitoring-data-from-prometheus-to-victoriametrics\\\/#primaryimage\",\"url\":\"http:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/06\\\/2023-06-08-18_07_44-.png\",\"contentUrl\":\"http:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/06\\\/2023-06-08-18_07_44-.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/migrating-monitoring-data-from-prometheus-to-victoriametrics\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Migrating Monitoring Data from Prometheus to VictoriaMetrics\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/8d8563acfc6e604cce6507f45bac0ea1\",\"name\":\"Middleware Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"caption\":\"Middleware Team\"},\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/middleware-team\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Migrating Monitoring Data from Prometheus to VictoriaMetrics - dbi Blog","description":"How can we migrate from Prometheus to VictoriaMetrics Time Series DataBase","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/migrating-monitoring-data-from-prometheus-to-victoriametrics\/","og_locale":"en_US","og_type":"article","og_title":"Migrating Monitoring Data from Prometheus to VictoriaMetrics","og_description":"How can we migrate from Prometheus to VictoriaMetrics Time Series DataBase","og_url":"https:\/\/www.dbi-services.com\/blog\/migrating-monitoring-data-from-prometheus-to-victoriametrics\/","og_site_name":"dbi Blog","article_published_time":"2023-06-09T09:27:49+00:00","article_modified_time":"2024-09-11T08:18:38+00:00","og_image":[{"url":"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-08-18_07_44-.png","type":"","width":"","height":""}],"author":"Middleware Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Middleware Team","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/migrating-monitoring-data-from-prometheus-to-victoriametrics\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/migrating-monitoring-data-from-prometheus-to-victoriametrics\/"},"author":{"name":"Middleware Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1"},"headline":"Migrating Monitoring Data from Prometheus to VictoriaMetrics","datePublished":"2023-06-09T09:27:49+00:00","dateModified":"2024-09-11T08:18:38+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/migrating-monitoring-data-from-prometheus-to-victoriametrics\/"},"wordCount":450,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/migrating-monitoring-data-from-prometheus-to-victoriametrics\/#primaryimage"},"thumbnailUrl":"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-08-18_07_44-.png","keywords":["Grafana","Monitoring","Prometheus","VictoriaMetrics"],"articleSection":["Application integration &amp; Middleware","DevOps"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/migrating-monitoring-data-from-prometheus-to-victoriametrics\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/migrating-monitoring-data-from-prometheus-to-victoriametrics\/","url":"https:\/\/www.dbi-services.com\/blog\/migrating-monitoring-data-from-prometheus-to-victoriametrics\/","name":"Migrating Monitoring Data from Prometheus to VictoriaMetrics - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/migrating-monitoring-data-from-prometheus-to-victoriametrics\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/migrating-monitoring-data-from-prometheus-to-victoriametrics\/#primaryimage"},"thumbnailUrl":"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-08-18_07_44-.png","datePublished":"2023-06-09T09:27:49+00:00","dateModified":"2024-09-11T08:18:38+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1"},"description":"How can we migrate from Prometheus to VictoriaMetrics Time Series DataBase","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/migrating-monitoring-data-from-prometheus-to-victoriametrics\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/migrating-monitoring-data-from-prometheus-to-victoriametrics\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/migrating-monitoring-data-from-prometheus-to-victoriametrics\/#primaryimage","url":"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-08-18_07_44-.png","contentUrl":"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2023\/06\/2023-06-08-18_07_44-.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/migrating-monitoring-data-from-prometheus-to-victoriametrics\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Migrating Monitoring Data from Prometheus to VictoriaMetrics"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1","name":"Middleware Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","caption":"Middleware Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/middleware-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/25706","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=25706"}],"version-history":[{"count":25,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/25706\/revisions"}],"predecessor-version":[{"id":25736,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/25706\/revisions\/25736"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=25706"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=25706"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=25706"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=25706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}