<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Shivam Singhal on Medium]]></title>
        <description><![CDATA[Stories by Shivam Singhal on Medium]]></description>
        <link>https://medium.com/@shivams2799?source=rss-f75e30f65ace------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*awvZiNcnvQTgUP_E.</url>
            <title>Stories by Shivam Singhal on Medium</title>
            <link>https://medium.com/@shivams2799?source=rss-f75e30f65ace------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 15 Nov 2026 06:55:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shivams2799/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Creating accordions with native HTML]]></title>
            <link>https://medium.com/itsopensource/creating-accordions-with-native-html-d3066289f04c?source=rss-f75e30f65ace------2</link>
            <guid isPermaLink="false">https://medium.com/p/d3066289f04c</guid>
            <category><![CDATA[html]]></category>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Shivam Singhal]]></dc:creator>
            <pubDate>Sat, 12 Dec 2020 13:03:25 GMT</pubDate>
            <atom:updated>2022-03-16T19:22:47.733Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*vshUxoKls6CINcZA.png" /></figure><p>Accordions are one of the most commonly used UI components for any website. For example FAQs section of the website, where only the question is shown, and when clicked the answer just opens up. Generally, we handle this by creating 2 divs and adding some javascript to handle the open and close of the accordion. But recently I stumbled upon this hidden gem in HTML that eliminates the need of all this - <a href="https://developer.mozilla.org/docs/Web/HTML/Element/details">&lt;details&gt;</a></p><p>We can simply design a simple FAQ or summary section with &lt;details&gt; HTML tag without using Javascript!!! 🤯🤯🤯. And the best part... it is supported by all the modern browsers (obviously except IE :( ) - <a href="https://caniuse.com/?search=details">browser compatibility</a>.</p><h3>Using &lt;details&gt; tag</h3><p>There are two elements here: &lt;details&gt; and &lt;summary&gt;. &lt;details&gt; is the wrapper for all the content you want to show and hide, and contains the - well, the summary and title of the section. &lt;summary&gt; is optional, if you do not add it, the browser will use some default text. For example, in Firefox and Chrome, it is Details. Below is a sample HTML markup:</p><pre>&lt;details&gt;</pre><pre>&lt;summary&gt;Details&lt;/summary&gt;</pre><pre>&lt;p&gt;Something small enough to escape casual notice.&lt;/p&gt;</pre><pre>&lt;/details&gt;</pre><p>And it will render like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*iYT3am7fS6XdCxRN.gif" /></figure><p>This markup can be designed with CSS as any other HTML element. Now for creating beautiful accordions all you need is just HTML and CSS (and a will to let go of IE).</p><p>Demo: <a href="https://bit.ly/htmldetails">https://itsopensource.com/demos/details/</a></p><p>Cheers.</p><p><em>Originally published at </em><a href="https://itsopensource.com/creating-accordions-with-native-html/"><em>https://itsopensource.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3066289f04c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/itsopensource/creating-accordions-with-native-html-d3066289f04c">Creating accordions with native HTML</a> was originally published in <a href="https://medium.com/itsopensource">itsopensource</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to move forward and backward between commits in git]]></title>
            <link>https://medium.com/@shivams2799/how-to-move-forward-and-backward-between-commits-in-git-9f5853f480b5?source=rss-f75e30f65ace------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f5853f480b5</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[beginner]]></category>
            <dc:creator><![CDATA[Shivam Singhal]]></dc:creator>
            <pubDate>Thu, 03 Sep 2020 16:40:06 GMT</pubDate>
            <atom:updated>2020-09-03T16:46:19.498Z</atom:updated>
            <content:encoded><![CDATA[<p>We always keep moving forward and backward between commits in `git`. Once you checked out a previous hash `git log` no more shows the next commits, we end up rebasing or resetting, but git provides a way to see all the commits, and we can checkout the next commits too from a previous state.</p><p>The simple and easiest way to do this is:</p><pre>git log — online — all</pre><p>Consider this example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*MXH2Zc3aPEVIHJTv.jpg" /></figure><p>Here if we check out to commit id <strong>95613ab Fix more TOC links</strong> and then see the git history with <strong>git log</strong> or <strong>git log — oneline</strong> you will only see:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*Pm7pAIpR8O06fXaL.jpg" /></figure><p>As we see here we missed the commits ahead of <strong>95613ab</strong>. You can see the HEAD with <strong>git show-ref — head</strong> but it will not show the commits in between the <strong>HEAD</strong> and the commit you checked out. So if you do <strong>git log — oneline — all</strong> you will get the whole history with the commit where the `HEAD` is right now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*rcPa_oR2h0DDbibh.jpg" /></figure><p>Let us know if you know the better solution for this problem.</p><p>Cheers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f5853f480b5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 10— CNCF Internship with Fluentbit]]></title>
            <link>https://medium.com/@shivams2799/week-10-cncf-internship-with-fluentbit-887ac118d906?source=rss-f75e30f65ace------2</link>
            <guid isPermaLink="false">https://medium.com/p/887ac118d906</guid>
            <dc:creator><![CDATA[Shivam Singhal]]></dc:creator>
            <pubDate>Sun, 02 Aug 2020 00:22:44 GMT</pubDate>
            <atom:updated>2020-08-19T04:06:11.377Z</atom:updated>
            <content:encoded><![CDATA[<h3>Week 10— CNCF Mentorship with Fluentbit</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*1DdRe-P6FSgNek08.png" /></figure><p>I completed the 9th week of my Mentorship at CNCF (Cloud Native Computing Foundation) with the FluentBit project.</p><p><strong>WORK DONE:</strong></p><ol><li>Fixed the fill background area bug in charts.</li><li>Add only single counter in header instead in every metrics charts.</li><li>Fixed few bugs in form to enter the IP ad port</li><li>Remove obsolete codebase of old plugin metrics charts data.</li><li>Fix the background color of the charts to make UI better.</li><li>Look into the prototype to visualize storage metrics charts.</li></ol><p><strong>Planning for next week:</strong></p><ol><li>Handle the cors issue better in UI.</li><li>Show the y-axis label on the top of charts, currently there is no native method in chart.js for this.</li><li>Fix the opacity of the fill color in plugins charts</li></ol><p>If you have some ideas what we can add or modify, feel free to ping me. You can find me on <a href="http://github.com/championshuttler">Github</a> and <a href="http://twitter.com/idkhtml">Twitter</a>.</p><p>Signing off for today, until next week.</p><p>Stay safe</p><p>:wq</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=887ac118d906" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 09 — CNCF Internship with Fluentbit]]></title>
            <link>https://medium.com/@shivams2799/week-09-cncf-internship-with-fluentbit-c3379831e89?source=rss-f75e30f65ace------2</link>
            <guid isPermaLink="false">https://medium.com/p/c3379831e89</guid>
            <dc:creator><![CDATA[Shivam Singhal]]></dc:creator>
            <pubDate>Sat, 25 Jul 2020 11:06:16 GMT</pubDate>
            <atom:updated>2020-08-19T04:06:59.160Z</atom:updated>
            <content:encoded><![CDATA[<h3>Week 09 — CNCF Mentorship with Fluentbit</h3><p>I completed the 8th week of my Mentorship at CNCF (Cloud Native Computing Foundation) with the FluentBit project.</p><p><strong>WORK DONE:</strong></p><ol><li>Added the form to ask the user to enter the IP and port from which backend data is coming.</li><li>Show the difference for `proc_records` metrics in output plugin.</li><li>Fix the time issue on x-axis of the graphs using moment</li></ol><p><strong>Planning for next week:</strong></p><ol><li>Tweak the form to ask the user to enter the IP and port to use localstorage to save IP and port of the endpoint.</li><li>Restructure the codebase to start showing graphs for `storage` metrics in the dashboard</li><li>Improve the UI of the dashboard including added svg and make UI fluentbit friendly.</li></ol><p>If you have some ideas what we can add or modify, feel free to ping me. You can find me on <a href="http://github.com/championshuttler">Github</a> and <a href="http://twitter.com/idkhtml">Twitter</a>.</p><p>Signing off for today, until next week.</p><p>Stay safe</p><p>:wq</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c3379831e89" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 08 — CNCF Internship with Fluentbit]]></title>
            <link>https://medium.com/@shivams2799/week-08-cncf-internship-with-fluentbit-9a3a2a81e1d3?source=rss-f75e30f65ace------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a3a2a81e1d3</guid>
            <category><![CDATA[mentorship]]></category>
            <category><![CDATA[internships]]></category>
            <category><![CDATA[fluentbit]]></category>
            <dc:creator><![CDATA[Shivam Singhal]]></dc:creator>
            <pubDate>Sun, 19 Jul 2020 22:04:07 GMT</pubDate>
            <atom:updated>2020-08-19T04:08:04.039Z</atom:updated>
            <content:encoded><![CDATA[<h3>Week 08 — CNCF Mentorship with Fluentbit</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*MNoPppT0DqdzdFaZ.png" /></figure><p>I completed the 7th week of my Mentorship at CNCF (Cloud Native Computing Foundation) with the FluentBit project.</p><p><strong>WORK DONE:</strong></p><ol><li>Fixed the bug to render the charts even the plugins sending same data.</li><li>Improve the UI of the dashboard.</li><li>Design the prototype to ask the user to enter the IP and port from which backend data is coming.</li></ol><p><strong>Planning for next week:</strong></p><ol><li>Implement the form to ask the user to fill IP and Port for backend.</li><li>Show the difference for `proc_records` metrics in output plugin.</li></ol><p>If you have some ideas what we can add or modify, feel free to ping me. You can find me on <a href="http://github.com/championshuttler">Github</a> and <a href="http://twitter.com/idkhtml">Twitter</a>.</p><p>Signing off for today, until next week.</p><p>Stay safe</p><p>:wq</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a3a2a81e1d3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 07 — CNCF Internship with Fluentbit]]></title>
            <link>https://medium.com/@shivams2799/week-07-cncf-internship-with-fluentbit-4def7a054e54?source=rss-f75e30f65ace------2</link>
            <guid isPermaLink="false">https://medium.com/p/4def7a054e54</guid>
            <category><![CDATA[fluentbit]]></category>
            <category><![CDATA[internship-experience]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[internships]]></category>
            <dc:creator><![CDATA[Shivam Singhal]]></dc:creator>
            <pubDate>Mon, 13 Jul 2020 12:05:17 GMT</pubDate>
            <atom:updated>2020-08-19T04:08:11.802Z</atom:updated>
            <content:encoded><![CDATA[<h3>Week 07 — CNCF Mentorship with Fluentbit</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*dia6kwrgmkpKIujl.png" /></figure><p>I completed the 6th week of my Mentorship at CNCF (Cloud Native Computing Foundation) with the FluentBit project.</p><p><strong>WORK DONE:</strong></p><ol><li>Split the charts for every metrics of every plugin pipeline is using.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EU9uksCeTlMPQRLBnbZU3g.png" /></figure><p>2. Add the Travis CI to run the tests on the code on github.</p><p>3. Added the notification if backend is not ready or sending the data or CORS Extension is disabled.</p><p>4. Fix the logo on the header of the dashboard</p><p><strong>Where I get stuck:</strong></p><ol><li>There is a bug if the plugin is sending same data over the time chart is not rendering</li></ol><p><strong>Planning for next week:</strong></p><ol><li>Fix the bug I defined above to render the charts even the plugins sending same data.</li><li>Improve the UI of the dashboard.</li></ol><p>If you have some ideas what we can add or modify, feel free to ping me. You can find me on <a href="http://github.com/championshuttler">Github</a> and <a href="http://twitter.com/idkhtml">Twitter</a>.</p><p>Signing off for today, until next week.</p><p>:wq</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4def7a054e54" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 06 — CNCF Internship with Fluentbit]]></title>
            <link>https://medium.com/@shivams2799/week-06-cncf-internship-with-fluentbit-fc6b5a01ca8b?source=rss-f75e30f65ace------2</link>
            <guid isPermaLink="false">https://medium.com/p/fc6b5a01ca8b</guid>
            <category><![CDATA[internships]]></category>
            <category><![CDATA[cncf]]></category>
            <category><![CDATA[fluentbit]]></category>
            <category><![CDATA[mentorship]]></category>
            <category><![CDATA[fluentd]]></category>
            <dc:creator><![CDATA[Shivam Singhal]]></dc:creator>
            <pubDate>Sun, 05 Jul 2020 23:38:31 GMT</pubDate>
            <atom:updated>2020-08-19T04:08:21.234Z</atom:updated>
            <content:encoded><![CDATA[<h3>Week 06 — CNCF Mentorship with Fluentbit</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*Le65gdNsYWTNVmV0.png" /></figure><p>I completed the 5th week of my Mentorship at CNCF (Cloud Native Computing Foundation) with the FluentBit project.</p><p><strong>WORK DONE:</strong></p><ol><li>Improved the UI and fixed chart rendering bugs in <a href="http://github.com/championshuttler/fluentbit-dashboard">Dashboard</a>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-K3gJfgcf3TJUijy_DrL4w.png" /></figure><p>2. Delete the unwanted layer from the Docker Image.</p><p>3. Started rendering the graphs Right to left instead of left to right.</p><p><strong>Planning for next week:</strong></p><ol><li>Show the difference between bytes and records of input plugin at 2 points of time in graphs instead of total values of bytes and records of input plugin</li><li>Improve the UI of the dashboard.</li></ol><p>If you have some ideas what we can add or modify, feel free to ping me. You can find me on <a href="http://github.com/championshuttler">Github</a> and <a href="http://twitter.com/idkhtml">Twitter</a>.</p><p>Signing off for today, until next week.</p><p>:wq</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc6b5a01ca8b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Reduce Node Docker Image Size by 10X]]></title>
            <link>https://medium.com/itsopensource/how-to-reduce-node-docker-image-size-by-10x-f8a27ba875db?source=rss-f75e30f65ace------2</link>
            <guid isPermaLink="false">https://medium.com/p/f8a27ba875db</guid>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[how-to]]></category>
            <category><![CDATA[docker-image]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Shivam Singhal]]></dc:creator>
            <pubDate>Sat, 04 Jul 2020 09:30:01 GMT</pubDate>
            <atom:updated>2020-07-04T10:11:10.560Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/336/1*glD7bNJG3SlO0_xNmSGPcQ.png" /></figure><p>Dockerizing an application is simple, effective, but optimizing the size of Docker Image is the tricky part. Docker is easy to use but once the application starts scaling, the image size inflates exponentially. In general, the node docker image size of the applications is over 1 GB most of the time.</p><h3>Why the Size matters</h3><ol><li>Large docker image sizes — Bigger image size requires more space means increased expense.</li><li>Long build durations — It takes a longer time to push the images over the network and results in CI Pipeline delays.</li></ol><h3>Let’s Start The Optimization</h3><p>Here is our <a href="https://github.com/championshuttler/fluentbit-dashboard">demo application</a> built using the VueJS Application.</p><p>Here is the initial Dockerfile.</p><pre>FROM node:10 </pre><pre>WORKDIR /app </pre><pre>COPY . /app </pre><pre>EXPOSE 8080 </pre><pre>RUN npm install http-server -g </pre><pre>RUN npm install &amp;&amp; npm run build </pre><pre>CMD http-server ./dist</pre><p>The size of this image is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/590/0*-kmMGAeE8Unzh93O.png" /></figure><p>It is 1.34GB! Whoops!</p><p>Let’s start optimizing step by step</p><p>Multi-stage builds make it easy to optimize Docker images by using multiple <strong>intermediate</strong> images in a single Dockerfile. Read more about it <a href="https://docs.docker.com/develop/develop-images/multistage-build/">here</a>. By using multi-stage builds, we can install all dependencies in the build image and copy them to the leaner runtime image.</p><pre>FROM node:10 AS BUILD_IMAGE  <br>                                                                                      WORKDIR /app      <br>                                                                                  COPY . /app   <br>                                                                                     EXPOSE 8080      <br>                                                                                  RUN npm install &amp;&amp; npm run build <br>                                                                                       FROM node:10          <br>                                                                              WORKDIR /app        <br>                                                                                # copy from build image  <br>COPY --from=BUILD_IMAGE /app/dist ./dist                                            COPY --from=BUILD_IMAGE /app/node_modules ./node_modules   <br>                                                                                     RUN npm i -g http-server           <br>                                                                             CMD http-server ./dist</pre><p>Now the size of this image is 1.24GB:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/590/0*rMYyxwc_-Ew8kMrJ.png" /></figure><p>node-prune is an open-source tool for removing unnecessary files from the node_modules folder. Test files, markdown files, typing files and *.map files in Npm packages are not required at all in the production environment generally, most of the developers do not remove them from the production package. By using node-prune it can safely be removed.</p><p>We can use this to remove Development Dependencies:</p><p>After making these changes Dockerfile will look like:</p><pre>FROM node:10 AS BUILD_IMAGE</pre><pre>RUN curl -sfL https://install.goreleaser.com/github.com/tj/node-prune.sh | bash -s -- -b /usr/local/bin</pre><pre>WORKDIR /app</pre><pre>COPY . /app</pre><pre>EXPOSE 8080</pre><pre>RUN npm install &amp;&amp; npm run build</pre><pre># remove development dependencies<br>RUN npm prune --production</pre><pre># run node prune<br>RUN /usr/local/bin/node-prune</pre><pre>FROM node:10</pre><pre>WORKDIR /app</pre><pre># copy from build image<br>COPY --from=BUILD_IMAGE /app/dist ./dist</pre><pre>COPY --from=BUILD_IMAGE /app/node_modules ./node_modules</pre><pre>RUN npm i -g http-server</pre><pre>CMD http-server ./dist</pre><p>By using this we reduced the overall size to 1.09GB</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/590/0*61hjoB79QISbL_6D.png" /></figure><p>When dockerizing a node application, there are lots of <a href="https://hub.docker.com/_/node/">base images</a> available to choose from.</p><p>Here we will use <strong>alpine</strong> image; alpine is a lean docker image with minimum packages but enough to run node applications.</p><pre>FROM node:10 AS BUILD_IMAGE</pre><pre>RUN curl -sfL https://install.goreleaser.com/github.com/tj/node-prune.sh | bash -s -- -b /usr/local/bin</pre><pre>WORKDIR /app</pre><pre>COPY . /app</pre><pre>EXPOSE 8080</pre><pre>RUN npm install &amp;&amp; npm run build</pre><pre># remove development dependencies</pre><pre>RUN npm prune --production</pre><pre># run node prune</pre><pre>RUN /usr/local/bin/node-prune</pre><pre>FROM node:10-alpine</pre><pre>WORKDIR /app</pre><pre># copy from build image</pre><pre>COPY --from=BUILD_IMAGE /app/dist ./dist</pre><pre>COPY --from=BUILD_IMAGE /app/node_modules ./node_modules</pre><pre>RUN npm i -g http-server</pre><pre>CMD http-server ./dist</pre><p>By using this Dockerfile the image size dropped to 157MB \o/</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/590/0*7uOoX1bMbolXZ6Uv.png" /></figure><h3>Conclusion</h3><p>By applying these 3 simple steps, we reduced our docker image size by 10 times.</p><p>Cheers!</p><p><em>Originally published at </em><a href="https://itsopensource.com/how-to-reduce-node-docker-image-size-by-ten-times/"><em>https://itsopensource.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f8a27ba875db" width="1" height="1" alt=""><hr><p><a href="https://medium.com/itsopensource/how-to-reduce-node-docker-image-size-by-10x-f8a27ba875db">How to Reduce Node Docker Image Size by 10X</a> was originally published in <a href="https://medium.com/itsopensource">itsopensource</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 05 — CNCF Internship with Fluentbit]]></title>
            <link>https://medium.com/@shivams2799/week-05-cncf-internship-with-fluentbit-b767e9d95395?source=rss-f75e30f65ace------2</link>
            <guid isPermaLink="false">https://medium.com/p/b767e9d95395</guid>
            <category><![CDATA[cncf]]></category>
            <category><![CDATA[fluentbit]]></category>
            <dc:creator><![CDATA[Shivam Singhal]]></dc:creator>
            <pubDate>Sun, 28 Jun 2020 23:40:28 GMT</pubDate>
            <atom:updated>2020-08-19T04:08:32.183Z</atom:updated>
            <content:encoded><![CDATA[<h3>Week 05 — CNCF Mentorship with Fluentbit</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*DHjTDP97v_eaQd9B.png" /></figure><p>I completed the 4th week of my Mentorship at CNCF (Cloud Native Computing Foundation) with the FluentBit project. I had a video call meeting with <a href="https://edsiper.linuxchile.cl/blog/">Eduardo Silva</a> about what I am working on and task need to be done in next week and where I am facing the issues</p><p><strong>WORK DONE:</strong></p><ol><li>Improved the UI and fixed chart rendering bugs in <a href="http://github.com/championshuttler/fluentbit-dashboard">Dashboard</a>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oxDYtQZvRJfGRi16BKsVDg.png" /></figure><p>2. Added the logo of Fluent Bit in dashboard.</p><p>3. Optimized the Size of <a href="https://hub.docker.com/repository/docker/championshuttler/fluentbit-dashboard">Docker Image</a> to 159 MB from 1.7GB.</p><p>4. Delete unused code and dependencies from package.json.</p><p><strong>Planning for next week:</strong></p><ol><li>Improve the UI of the dashboard</li><li>Load the charts right to left including storing the data for last 20 seconds.</li></ol><p>Many excited things coming soon to the dashboard. Stay Tuned.</p><p>If you have some ideas what we can add or modify, feel free to ping me. You can find me on <a href="http://github.com/championshuttler">Github</a> and <a href="http://twitter.com/idkhtml">Twitter</a>.</p><p>Signing off for today, until next week.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b767e9d95395" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 04 — CNCF Internship with Fluentbit]]></title>
            <link>https://medium.com/@shivams2799/week-04-cncf-internship-with-fluentbit-3987d409143e?source=rss-f75e30f65ace------2</link>
            <guid isPermaLink="false">https://medium.com/p/3987d409143e</guid>
            <category><![CDATA[fluentbit]]></category>
            <category><![CDATA[cncf]]></category>
            <dc:creator><![CDATA[Shivam Singhal]]></dc:creator>
            <pubDate>Tue, 23 Jun 2020 16:22:42 GMT</pubDate>
            <atom:updated>2020-08-19T04:08:45.031Z</atom:updated>
            <content:encoded><![CDATA[<h3>Week 04 — CNCF Mentorship with Fluentbit</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*khNI44Fd_QEMiFE_.png" /></figure><p>I completed the 3rdweek of my Mentorship at CNCF (Cloud Native Computing Foundation) with the FluentBit project. I had a video call meeting with <a href="https://edsiper.linuxchile.cl/blog/">Eduardo Silva</a> about what I am working on and task need to be done in next week and where I am facing the issues</p><p><strong>WORK DONE:</strong></p><ol><li>I started working on the showing the input plugin metrics visualization with the line charts in the <a href="http://github.com/championshuttler/fluentbit-dashboard">dashboard</a>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fV8fRWXHjRc9c1Rs6Plryg.png" /></figure><ol><li>I also made the dashboard docker compatible, you can install dashboard via using <a href="https://hub.docker.com/repository/docker/championshuttler/fluentbit-dashboard">docker image</a>. I will keep updating the docker image</li></ol><p><strong>Where I get stuck:</strong></p><ol><li>Making the live charts reactive and storing the data set in a way that it does not make the UI slow.</li><li>Getting the metrics value for filters and output plugin as earlier they were always null. Eduardo helped me solving this issue</li></ol><p><strong>Planning for next week:</strong></p><ol><li>Add the charts for filters and output plugins</li><li>Make the charts with respect to time (in seconds) and separate each graph with only one metrics (eg — `proc_records`) and draw it against the time in seconds.</li></ol><p>Many excited things coming soon to the dashboard. Stay Tuned.</p><p>If you have some ideas what we can add or modify, feel free to ping me. You can find me on <a href="http://github.com/championshuttler">Github</a> and <a href="http://twitter.com/idkhtml">Twitter</a>.</p><p>Signing off for today, until next week.</p><p>:wq</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3987d409143e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>