(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[46149],{39629:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/integrations/infrastructure-metrics/telegraf/telegraf-disque",function(){return i(52548)}])},52548:function(e,t,i){"use strict";i.r(t),i.d(t,{__toc:function(){return a}});var s=i(85893),r=i(31379),n=i(9575);let a=[{depth:3,value:"Install Integration",id:"install-integration"},{depth:3,value:"Install Telegraf",id:"install-telegraf"},{depth:3,value:"Configure the Telegraf input plugin",id:"configure-the-telegraf-input-plugin"},{depth:3,value:"Configure The Output plugin",id:"configure-the-output-plugin"},{depth:3,value:"Start Telegraf",id:"start-telegraf"},{depth:3,value:"View your metrics",id:"view-your-metrics"},{depth:3,value:"How to diagnose no data in Stack",id:"how-to-diagnose-no-data-in-stack"},{depth:3,value:"Telegraf Disque metrics Overview",id:"telegraf-disque-metrics-overview"}];function o(e){let t=Object.assign({p:"p",h3:"h3",code:"code",pre:"pre",span:"span",a:"a"},(0,n.a)(),e.components),{Steps:i,InstallIntegration:r,InstallTelegraf:a,Callout:o,TelegrafOutputPlugin:c,StartTelegraf:u,LaunchStack:d,DiagnoseNoData:h,IntercomButton:g}=t;return o||l("Callout",!0),h||l("DiagnoseNoData",!0),r||l("InstallIntegration",!0),a||l("InstallTelegraf",!0),g||l("IntercomButton",!0),d||l("LaunchStack",!0),u||l("StartTelegraf",!0),i||l("Steps",!0),c||l("TelegrafOutputPlugin",!0),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.p,{children:"Configure Telegraf to ship Disque metrics to your Logit.io stacks via Logstash."}),"\n",(0,s.jsxs)(i,{children:[(0,s.jsx)(t.h3,{id:"install-integration",children:"Install Integration"}),(0,s.jsx)(r,{}),(0,s.jsx)(t.h3,{id:"install-telegraf",children:"Install Telegraf"}),(0,s.jsx)(a,{}),(0,s.jsx)(t.h3,{id:"configure-the-telegraf-input-plugin",children:"Configure the Telegraf input plugin"}),(0,s.jsxs)(t.p,{children:["The configuration file below is pre-configured to scrape the system metrics from your hosts, add the following code to the configuration file ",(0,s.jsx)(t.code,{children:"/etc/telegraf/telegraf.conf"})," from the previous step."]}),(0,s.jsx)(t.pre,{"data-language":"yaml","data-theme":"default",hasCopyCode:!0,children:(0,s.jsxs)(t.code,{"data-language":"yaml","data-theme":"default",children:[(0,s.jsxs)(t.span,{className:"line",children:[(0,s.jsx)(t.span,{style:{color:"var(--shiki-color-text)"},children:"[["}),(0,s.jsx)(t.span,{style:{color:"var(--shiki-token-string)"},children:"inputs.disque"}),(0,s.jsx)(t.span,{style:{color:"var(--shiki-color-text)"},children:"]]  "})]}),"\n",(0,s.jsxs)(t.span,{className:"line",children:[(0,s.jsx)(t.span,{style:{color:"var(--shiki-color-text)"},children:"  "}),(0,s.jsx)(t.span,{style:{color:"var(--shiki-token-comment)"},children:"## An array of URI to gather stats about. Specify an ip or hostname"})]}),"\n",(0,s.jsxs)(t.span,{className:"line",children:[(0,s.jsx)(t.span,{style:{color:"var(--shiki-color-text)"},children:"  "}),(0,s.jsx)(t.span,{style:{color:"var(--shiki-token-comment)"},children:"## with optional port and password."})]}),"\n",(0,s.jsxs)(t.span,{className:"line",children:[(0,s.jsx)(t.span,{style:{color:"var(--shiki-color-text)"},children:"  "}),(0,s.jsx)(t.span,{style:{color:"var(--shiki-token-comment)"},children:"## ie disque://localhost, disque://10.10.3.33:18832, 10.0.0.1:10000, etc."})]}),"\n",(0,s.jsxs)(t.span,{className:"line",children:[(0,s.jsx)(t.span,{style:{color:"var(--shiki-color-text)"},children:"  "}),(0,s.jsx)(t.span,{style:{color:"var(--shiki-token-comment)"},children:"## If no servers are specified, then localhost is used as the host."})]}),"\n",(0,s.jsxs)(t.span,{className:"line",children:[(0,s.jsx)(t.span,{style:{color:"var(--shiki-color-text)"},children:"  "}),(0,s.jsx)(t.span,{style:{color:"var(--shiki-token-string-expression)"},children:'servers = ["localhost"]'})]})]})}),(0,s.jsx)(o,{type:"info",children:(0,s.jsxs)(t.p,{children:["Read more about how to configure data scraping and configuration options for ",(0,s.jsx)(t.a,{href:"https://github.com/influxdata/telegraf/blob/release-1.18/plugins/inputs/Disque/README.md",children:"Disque"})]})}),(0,s.jsx)(t.h3,{id:"configure-the-output-plugin",children:"Configure The Output plugin"}),(0,s.jsx)(c,{}),(0,s.jsx)(t.h3,{id:"start-telegraf",children:"Start Telegraf"}),(0,s.jsx)(u,{}),(0,s.jsx)(t.h3,{id:"view-your-metrics",children:"View your metrics"}),(0,s.jsx)(d,{source:"Disque_Metrics_via_Telegraf",utmMedium:"metrics",utmCampaign:"telegraf-Disque-metrics"}),(0,s.jsx)(t.h3,{id:"how-to-diagnose-no-data-in-stack",children:"How to diagnose no data in Stack"}),(0,s.jsx)(h,{})]}),"\n",(0,s.jsx)(t.h3,{id:"telegraf-disque-metrics-overview",children:"Telegraf Disque metrics Overview"}),"\n",(0,s.jsx)(t.p,{children:"To efficiently monitor and analyze Disque metrics in a distributed environment, it's crucial to adopt a reliable and effective metrics management\nsolution. Telegraf, an open-source metrics collection agent, fits this role perfectly, capable of extracting Disque metrics from various sources,\nincluding operational Disque instances, databases, and other related applications."}),"\n",(0,s.jsx)(t.p,{children:"Telegraf boasts a diverse range of input plugins, allowing users to collect metrics from numerous sources such as CPU usage, memory consumption,\nnetwork activity, and more. To store and analyze these harvested metrics, organizations can leverage Prometheus, an open-source monitoring and\nalerting system famous for its flexible querying language and potent graphical data visualization features."}),"\n",(0,s.jsx)(t.p,{children:"To ship Disque metrics from Telegraf to Prometheus, organizations need to configure Telegraf to output metrics in the Prometheus format, and then\nuse Prometheus to scrape these metrics from the Telegraf server. This process involves setting up Telegraf to collect Disque metrics, outputting\nthem in the Prometheus format, configuring Prometheus to pull these metrics from the Telegraf server, and then visually interpreting the data\nusing Prometheus's dynamic querying and graphical visualization capabilities."}),"\n",(0,s.jsx)(t.p,{children:"Once the metrics are successfully collected into Prometheus, further analysis and visualization can be conducted using Grafana. Grafana is an\nopen-source platform renowned for its monitoring and observability capabilities, and is fully compatible with Prometheus. It enables users to\ncreate dynamic and interactive dashboards for a deeper understanding of the metrics data, offering a more comprehensive view of performance trends\nand potential issues."}),"\n",(0,s.jsxs)(t.p,{children:["If you need any further assistance with shipping your log data to Logit.io we're here to help you get started. Feel free to get in contact with\nour support team by sending us a message via ",(0,s.jsx)(g,{text:"live chat"})," & we'll be happy to assist."]})]})}function l(e,t){throw Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}t.default=(0,r.j)({MDXContent:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:t}=Object.assign({},(0,n.a)(),e.components);return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(o,{...e})}):o(e)},pageOpts:{filePath:"src/pages/integrations/infrastructure-metrics/telegraf/telegraf-disque.mdx",route:"/integrations/infrastructure-metrics/telegraf/telegraf-disque",frontMatter:{title:"Disque Metrics",metaTitle:"Learn How to Integrate and Configure Telegraf to Send Disque Metrics",subTitle:"Ship your Disque Metrics via Telegraf to your Logit.io Stack",color:"#4d4d4d",description:"Use our example to configure Telegraf to ship Disque metrics to your Logit.io stacks. Configure Telegraf to send Disque metrics to Logstash or Elastic.",stackTypes:"metrics",sslPortType:"beats-ssl",tags:"Telegraf, Metrics, Telemetry, OpenTelemetry, Health, Instrumentation, Disque, Prometheus, In-Memory Database"},title:"Disque Metrics",headings:a},pageNextRoute:"/integrations/infrastructure-metrics/telegraf/telegraf-disque"})}},function(e){e.O(0,[31379,92888,49774,40179],function(){return e(e.s=39629)}),_N_E=e.O()}]);