<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Debug School: Pradnya Kekan</title>
    <description>The latest articles on Debug School by Pradnya Kekan (@badepradnya2022_378).</description>
    <link>https://www.debug.school/badepradnya2022_378</link>
    <image>
      <url>https://www.debug.school/images/N2OhUkn8iFfzwnlrFgZSABJbVDzoetuu09EzoGb001c/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzY2MC9jNzQx/OTU2NC1mMjA1LTQx/OTAtODM3OC05MTQ4/ZmE4ZDU5ZmEucG5n</url>
      <title>Debug School: Pradnya Kekan</title>
      <link>https://www.debug.school/badepradnya2022_378</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/badepradnya2022_378"/>
    <language>en</language>
    <item>
      <title>Day 3: Monitoring</title>
      <dc:creator>Pradnya Kekan</dc:creator>
      <pubDate>Thu, 14 Sep 2023 05:08:52 +0000</pubDate>
      <link>https://www.debug.school/badepradnya2022_378/day-3-monitoring-355k</link>
      <guid>https://www.debug.school/badepradnya2022_378/day-3-monitoring-355k</guid>
      <description>&lt;h2&gt;
  
  
  1 Top 10 metrics/indicators for APM
&lt;/h2&gt;

&lt;p&gt;Error rate&lt;br&gt;
  Response time&lt;br&gt;
  Memory usage&lt;br&gt;
  CPU usage&lt;br&gt;
  Node availability&lt;br&gt;
  Version comparison&lt;br&gt;
  User experience monitoring&lt;br&gt;
  uptime of application&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.debug.school/images/9en93PM1djx3EACgiLcG_5SpawBRpSFam5XIUQd6m8M/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvMmliMWdz/eWN3bXhsb3p4NDdh/cnAucG5n" class="article-body-image-wrapper"&gt;&lt;img src="https://www.debug.school/images/9en93PM1djx3EACgiLcG_5SpawBRpSFam5XIUQd6m8M/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvMmliMWdz/eWN3bXhsb3p4NDdh/cnAucG5n" alt="Image description" width="800" height="378"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2 Top 10 metrics/indicators for Synthetic monitoring
&lt;/h2&gt;

&lt;p&gt;Total Response time&lt;br&gt;
   DNS&lt;br&gt;
   connection&lt;br&gt;
   SSl&lt;br&gt;
   download time&lt;br&gt;
   connect time &lt;br&gt;
   error code&lt;br&gt;
   set alerts&lt;br&gt;
   monitors transactions&lt;br&gt;
   latency&lt;br&gt;
   Test from Multiple Locations&lt;/p&gt;

&lt;h2&gt;
  
  
  3 Top 10 metrics/indicators for RUM
&lt;/h2&gt;

&lt;p&gt;-session tracking&lt;br&gt;
  -monitor browsers&lt;br&gt;
  -Session length&lt;br&gt;
  -Apdex score&lt;br&gt;
  -Page load time&lt;br&gt;
  -Click paths&lt;br&gt;
  -Browser versions&lt;br&gt;
  -Operating system&lt;br&gt;
  -User location&lt;br&gt;
  -Page views&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Day 2: Datadog Integration</title>
      <dc:creator>Pradnya Kekan</dc:creator>
      <pubDate>Tue, 12 Sep 2023 12:07:51 +0000</pubDate>
      <link>https://www.debug.school/badepradnya2022_378/day-2-datadog-integration-bim</link>
      <guid>https://www.debug.school/badepradnya2022_378/day-2-datadog-integration-bim</guid>
      <description>&lt;h2&gt;
  
  
  Write it down a step to collect apache metrices to datadog
&lt;/h2&gt;

&lt;p&gt;1)Install the Datadog Agent&lt;br&gt;
2)Install Apache HTTPD server &lt;br&gt;
3)Enable mod_status in Apache- by default it is enabled in ubuntu&lt;br&gt;
   status.conf&lt;br&gt;
   status.load&lt;br&gt;
4)Configure the Agent to collect Apache metrics in apache.d file &lt;br&gt;
    -GO to /etc/apache2/mods-enabled/status.conf &lt;br&gt;
    -Replace Require ip to  Require all granted&lt;br&gt;
5)enable apache integration &lt;br&gt;
  -go to  /etc/datadog-agent/conf.d/apache.d/&lt;br&gt;
  -sudo cp conf.yaml.example conf.yaml&lt;br&gt;
  -sudo vi conf.yaml &lt;br&gt;
  -and put the apache_status_url &lt;br&gt;
  sudo service datadog-agent restart &lt;br&gt;
6)Install apache integration&lt;br&gt;
7)Create a fake traffic and verify on datadog metrics&lt;/p&gt;

&lt;h2&gt;
  
  
  Write it down a step to collect tomcat metrices to datadog
&lt;/h2&gt;

&lt;p&gt;1)Install the Datadog Agent&lt;br&gt;
 2)Install tomcat apache&lt;br&gt;
 3)enable JMX Remote&lt;br&gt;
   -cd /etc/datadog-agent/conf.d/tomcat.d/&lt;br&gt;
   -cp conf.yaml.example conf.yaml&lt;br&gt;
   -datadog-agent configcheck&lt;br&gt;
   -systemctl restart datadog-agent&lt;br&gt;
   -systemctl status datadog-agent&lt;br&gt;
   -datadog-agent config&lt;br&gt;
4)Install Apache tomcat inegration&lt;br&gt;
5)Verify it on datadog metrics&lt;/p&gt;

&lt;h2&gt;
  
  
  Write it down a step to collect docker metrices to datadog
&lt;/h2&gt;

&lt;p&gt;1)install datadog agent&lt;br&gt;
 2)Install docker&lt;br&gt;
 3)do the integration:&lt;br&gt;
   -cd /etc/datadog-agent/conf.d/docker.d/&lt;br&gt;
   -cp conf.yaml.default conf.yaml&lt;br&gt;
   -vi conf.yaml &lt;br&gt;
   -add - url: "unix://var/run/docker.sock"&lt;br&gt;
   -systemctl restart datadog-agent&lt;br&gt;
   -systemctl status datadog-agent&lt;br&gt;
 4)create few containers and verify it in datadog metrics&lt;/p&gt;

&lt;h2&gt;
  
  
  Write it down a step to collect mysql metrices to datadog
&lt;/h2&gt;

&lt;p&gt;1)Install datadog agent&lt;br&gt;
 2) Install MySQL&lt;br&gt;
 3)create mysql user and grant required privilages&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;do the mysql integration on datadog page
4)Configure Datadog agent to start collection mysql metrix.
-cd /etc/datadog-agent/conf.d/mysql.d/

&lt;ul&gt;
&lt;li&gt;sudo cp conf.yaml.example conf.yaml
-sudo vi conf.yaml 
-cd /etc/datadog-agent/conf.d/mysql.d/
-sudo cp conf.yaml.example conf.yaml&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;sudo vi conf.yaml 
password :
options:
  replication: false
  galera_cluster: true
  extra_status_metrics: true
  extra_innodb_metrics: true
  extra_performance_metrics: true
  schema_size_metrics: false
  disable_innodb_metrics: false
$ sudo service datadog-agent restart
$ sudo service datadog-agent restart&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;and then install mysql integration on datadog and verify&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Day 1:Datadog</title>
      <dc:creator>Pradnya Kekan</dc:creator>
      <pubDate>Mon, 11 Sep 2023 07:41:39 +0000</pubDate>
      <link>https://www.debug.school/badepradnya2022_378/day-1datadog-33p5</link>
      <guid>https://www.debug.school/badepradnya2022_378/day-1datadog-33p5</guid>
      <description>&lt;h2&gt;
  
  
  What is Observability and its advantage?
&lt;/h2&gt;

&lt;p&gt;Observability is ability to measure systems current state based on logs, events and metrics.&lt;br&gt;
Observability helps us in understanding whay and what has happened to the system and what can be done to prevent that from happening again.&lt;/p&gt;

&lt;h2&gt;
  
  
  Difference between Observability Monitoring?
&lt;/h2&gt;

&lt;p&gt;Observability can ask questions based in hypothesis.&lt;br&gt;
Monitoring can ask questions based on dashboard.&lt;br&gt;
Observability is a superset while monitoring is a subset of observability.&lt;br&gt;
Monitoring tells us what is wrong while observability tells us why isit wrong.&lt;br&gt;
Observability is useful is dynamic environment whereas Monitoring is useful is static environment.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Datadog?
&lt;/h2&gt;

&lt;p&gt;Datadog is a service which provides monitoring for applications ,data, servers through SAAS .&lt;br&gt;
It can be used to visualize data, explore metrics, manage logs  etc.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Datadog Agent and How it works?
&lt;/h2&gt;

&lt;p&gt;It collects metrics and events from systems and apps and sends them to Datadog, where you can analyze your monitoring and performance data.&lt;/p&gt;

&lt;h2&gt;
  
  
  Component of Datadog Agent and short intro for each
&lt;/h2&gt;

&lt;p&gt;Collector : It gathers all metrics every 15 seconds,&lt;br&gt;
Forwarder : It send metrics over HTTPS to Datadog&lt;br&gt;
DogStatsD :It is a deamon which accepts metrics, events, and service checks over UDP and periodically aggregates and forwards them to Datadog.&lt;/p&gt;

&lt;h2&gt;
  
  
  1 Top 10 commands of Datadog Agent
&lt;/h2&gt;

&lt;p&gt;systemctl stop datalog-agent&lt;br&gt;
systemctl start datalog-agent &lt;br&gt;
datalog-agent health &lt;br&gt;
datalog-agent version&lt;br&gt;
datalog-agent status&lt;br&gt;
datalog-agent hostname&lt;br&gt;
ystemctl restart datadog-agent&lt;br&gt;
systemctl status datadog-agent&lt;br&gt;
datalog-agent launch-gui&lt;br&gt;
datalog-agent check&lt;br&gt;
datalog-agent help&lt;/p&gt;

&lt;h2&gt;
  
  
  2 Locate how to enable Process monitoring in datadog.yaml?
&lt;/h2&gt;

&lt;p&gt;in the yaml file : &lt;br&gt;
   &lt;strong&gt;process_agent_enabled: true&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  3 Top 5 Techniques for troubleshooting Datadog Agent
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Check Api key
2.check site name
3.Check the service status of datadog agent, trace, process agent.
4.check the agent logs
5.check connectivity to the agent with  datadog-agent info, and there check status field.&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
  </channel>
</rss>
