<?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: Sivakumar</title>
    <description>The latest articles on Debug School by Sivakumar (@sivaecr_669).</description>
    <link>https://www.debug.school/sivaecr_669</link>
    <image>
      <url>https://www.debug.school/images/xYb0TBLgx8Hto6b95L9dYuRuZdJzMxXT70zua5I93_o/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzY2NS8xZWIw/NzM0Yy0yNDY3LTQz/NjctOGJkNi04ODQ3/NTA5Zjk1NGIucG5n</url>
      <title>Debug School: Sivakumar</title>
      <link>https://www.debug.school/sivaecr_669</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/sivaecr_669"/>
    <language>en</language>
    <item>
      <title>Datadog assginment Day3</title>
      <dc:creator>Sivakumar</dc:creator>
      <pubDate>Thu, 14 Sep 2023 04:53:16 +0000</pubDate>
      <link>https://www.debug.school/sivaecr_669/datadog-assginment-day3-2i0l</link>
      <guid>https://www.debug.school/sivaecr_669/datadog-assginment-day3-2i0l</guid>
      <description>&lt;h2&gt;
  
  
  Top 10 metrics/indicators for APM
&lt;/h2&gt;

&lt;p&gt;Error Rate&lt;br&gt;
Response Time&lt;br&gt;
Throughput&lt;br&gt;
Apdex Score&lt;br&gt;
Resource Utilization&lt;br&gt;
Transaction Tracing&lt;br&gt;
Network Performance&lt;br&gt;
User Experience Metrics&lt;br&gt;
Error and Log Analysis&lt;br&gt;
Garbage Collection Metrics&lt;/p&gt;

&lt;h2&gt;
  
  
  Top 10 metrics/indicators for Synthetics
&lt;/h2&gt;

&lt;p&gt;Response Time&lt;br&gt;
Availability&lt;br&gt;
Transaction Success Rate&lt;br&gt;
Page Load Time&lt;br&gt;
Transaction Completion Time&lt;br&gt;
Geographical Performance&lt;br&gt;
Browser and Device Metrics&lt;br&gt;
Error Rate&lt;br&gt;
Performance Baseline&lt;br&gt;
Third-Party Service Performance&lt;/p&gt;

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

&lt;p&gt;Page Load Time&lt;br&gt;
Page Render Time&lt;br&gt;
Apdex Score&lt;br&gt;
Error Rate&lt;br&gt;
Session Duration&lt;br&gt;
Conversion Rate&lt;br&gt;
Geographical Performance&lt;br&gt;
Device and Browser Breakdown&lt;br&gt;
Network Latency&lt;br&gt;
Performance by Page&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Datadog Day2 assignment</title>
      <dc:creator>Sivakumar</dc:creator>
      <pubDate>Tue, 12 Sep 2023 11:56:50 +0000</pubDate>
      <link>https://www.debug.school/sivaecr_669/datadog-day2-assignment-59ah</link>
      <guid>https://www.debug.school/sivaecr_669/datadog-day2-assignment-59ah</guid>
      <description>&lt;h2&gt;
  
  
  How to enable process monitoring in data-dog agent
&lt;/h2&gt;

&lt;p&gt;Open the datadog.yaml and uncomment the process_config section under that process_collection should be enabled as true&lt;br&gt;
process_config:&lt;/p&gt;

&lt;p&gt;## @param process_collection - custom object - optional&lt;br&gt;
  ## Specifies settings for collecting processes.&lt;br&gt;
  process_collection:&lt;br&gt;
    ## @param enabled - boolean - optional - default: false&lt;br&gt;
    ## Enables collection of information about running processes.&lt;br&gt;
    enabled: true&lt;/p&gt;

&lt;p&gt;Save the file and restart the agent using command --&amp;gt; systemctl restart datadog-agent&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Below command will give you the confirmation about the process monitoring enabled or not 
datadog-agent config | grep process_collection -B 5 -A 5&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;====================================================================&lt;/p&gt;

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

&lt;p&gt;Install  apache&lt;br&gt;
$ sudo apt update&lt;br&gt;
$ sudo apt install apache2&lt;/p&gt;

&lt;p&gt;Replace this file with your new content to post &lt;br&gt;
$ vi /var/www/html/index.html&lt;/p&gt;

&lt;p&gt;Restart the apache&lt;br&gt;
$service apache2 restart&lt;/p&gt;

&lt;p&gt;Validate using the below curl&lt;br&gt;
$ watch curl &lt;a href="http://localhost"&gt;http://localhost&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Once installed and validated.. Install the apache integration in datadog UI&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Then install mod_status and enable it&lt;br&gt;
By default above modules are enabled but validate once&lt;br&gt;
$ ls /etc/apache2/mods-enabled | grep status*&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Ensure the status files are available using the below command&lt;br&gt;
 sudo /usr/sbin/a2enmod status&lt;/p&gt;

&lt;p&gt;Even though mod_status module enabled we need to allow all incoming connecting to the apache server by allowing a grant permission under status.conf file and restart the apache server using the below commands&lt;br&gt;
$ sudo systemctl restart apache2&lt;br&gt;
$ sudo systemctl status apache2&lt;br&gt;
$ curl &lt;a href="http://server-ip/server-status"&gt;http://server-ip/server-status&lt;/a&gt;&lt;br&gt;
$ curl &lt;a href="http://server-ip/server-status?refresh=5"&gt;http://server-ip/server-status?refresh=5&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Enable apache datadog integration using the below steps&lt;br&gt;
$ cd /etc/datadog-agent/conf.d/apache.d/&lt;br&gt;
$ sudo cp conf.yaml.example conf.yaml&lt;br&gt;
$ sudo vi conf.yaml -- Need to replace apache status url&lt;br&gt;
$ sudo service datadog-agent restart [UBUNTU]&lt;br&gt;
$ sudo systemctl restart datadog-agent [Centos and Ubuntu]&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Use the below command to verify whether datadog agent configured correctly with apache &lt;br&gt;
$ datadog-agent configcheck | grep apache -A 5 -B 5&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Finally install integration in the SaaS UI and verify the apache metrics in metric explorer, host.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;==================================================================&lt;/p&gt;

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

&lt;p&gt;Install openjdk using below steps&lt;/p&gt;

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

&lt;p&gt;$ sudo apt-get update&lt;br&gt;
$ sudo apt-get install openjdk-11-jdk -y&lt;br&gt;
$ apt install openjdk-11-jdk-headless -y&lt;/p&gt;

&lt;p&gt;Go to google and download the zip file for the tomcat installable and locate it in cd /opt/&lt;/p&gt;

&lt;p&gt;Once done follow the below commands&lt;br&gt;
$ unzip apache-tomcat-9.0.73.zip&lt;br&gt;
$ cd apache-tomcat-9.0.73&lt;br&gt;
$ cd bin&lt;br&gt;
$ chmod -R 755 .&lt;br&gt;
$ ls&lt;/p&gt;

&lt;p&gt;Enable JMXRemote using the below steps&lt;br&gt;
Open below file and add the below mentioned content next to the line esac&lt;/p&gt;

&lt;p&gt;vi /opt/apache-tomcat-9.0.73/bin/catalina.sh&lt;/p&gt;

&lt;p&gt;CATALINA_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9012 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false"&lt;/p&gt;

&lt;p&gt;Then restart the tomcat using the below command&lt;br&gt;
$ ./shutdown.sh&lt;br&gt;
$ ./startup.sh&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Integrate tomcat with Datadog using the below steps
$ cd /etc/datadog-agent/conf.d/tomcat.d/
$ cp conf.yaml.example conf.yaml
$ datadog-agent configcheck
$ systemctl restart datadog-agent
$ systemctl status datadog-agent
$ datadog-agent config&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Finally install the integration from SaaS side and verify the metrics
&lt;/h1&gt;

</description>
    </item>
    <item>
      <title>Datadog Indroduction(Siva)</title>
      <dc:creator>Sivakumar</dc:creator>
      <pubDate>Mon, 11 Sep 2023 07:23:21 +0000</pubDate>
      <link>https://www.debug.school/sivaecr_669/datadog-indroductionsiva-1di7</link>
      <guid>https://www.debug.school/sivaecr_669/datadog-indroductionsiva-1di7</guid>
      <description>&lt;h2&gt;
  
  
  What is Observability and its advantage?
&lt;/h2&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; Observability is a reactive action / process, using the monitoring logs,traces &amp;amp; metrics. Which will help in finding the root cause of the issue happened in the monitoring environment . Also it will help to self heal the future issues and gives you the futuristic alert trend of the environment. 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Difference between Observability Monitoring?
&lt;/h2&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  Observability is a reactive process where as monitoring is proactive process 
  Monitoring will show only the data about particular process or services(display data) and it will trigger events in changes. Where as Observability can help to find root cause using the crucial data called traces, logs &amp;amp; metrics.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  What is Data-dog?
&lt;/h2&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  Datadog is a monitoring service which monitors the whole environment in terms of APM,infra,micro services monitoring. 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  What is Data-dog Agent and How it works?
&lt;/h2&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;   DD Agent is a monitoring agent /installable which developed using Go language,which can install in the hosts where we need to monitor the environment a
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Component of Data-dog Agent and short intro for each
&lt;/h2&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;DD agent has 3 components(collector,dogstatsd &amp;amp; forwarder)
Collector -- collect all infra metrics from the host and share to forwarder using http(17285)
DogstatsD -- Module which collect and aggregate the application related data and forward it to forwarder through UDP port
Forwarder -- It can club both the data sent by collector and dogstatsD and send it to Datadog SaaS(Backend)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;===================================================================&lt;/p&gt;

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

&lt;p&gt;$ systemctl start datadog-agent&lt;br&gt;
$ systemctl stop datadog-agent&lt;br&gt;
$ systemctl restart datadog-agent&lt;br&gt;
$ systemctl status datadog-agent&lt;br&gt;
$ ls /var/log/datadog/&lt;br&gt;
$ less /etc/datadog-agent/datadog.yaml&lt;br&gt;
$ less /var/log/datadog/agent.log&lt;br&gt;
$ less /var/log/datadog/process-agent.log&lt;br&gt;
$ less /var/log/datadog/trace-agent.log&lt;br&gt;
$ datadog-agent configcheck&lt;br&gt;
$ datadog-agent config&lt;br&gt;
$ datadog-agent health&lt;br&gt;
$ datadog-agent hostname&lt;br&gt;
$ datadog-agent version&lt;br&gt;
$ datadog-agent status&lt;/p&gt;

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

&lt;h1&gt;
  
  
  Process Agent
&lt;/h1&gt;

&lt;h1&gt;
  
  
  process_agent_enabled: true
&lt;/h1&gt;

&lt;p&gt;Above value should be set as true and restart the agent once.&lt;/p&gt;

&lt;h2&gt;
  
  
  3 Top 5 Techniques for troubleshooting Data-dog Agent
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Ensure the installable not corrupted.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Check whether agent process is running first&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Check whether API key and site are configured correctly in data.yaml file&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Check the datadog/datalog file throwing any specific error&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

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