<?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 Martin LEKPA on Medium]]></title>
        <description><![CDATA[Stories by Martin LEKPA on Medium]]></description>
        <link>https://medium.com/@lekpamartin?source=rss-65e994aaa822------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*yiNe6g9-s3UqLWcXXhZ1Jg.jpeg</url>
            <title>Stories by Martin LEKPA on Medium</title>
            <link>https://medium.com/@lekpamartin?source=rss-65e994aaa822------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 14:15:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lekpamartin/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[Git : Structuration des développements]]></title>
            <link>https://medium.com/@lekpamartin/git-structuration-des-d%C3%A9veloppements-f14c196c1f46?source=rss-65e994aaa822------2</link>
            <guid isPermaLink="false">https://medium.com/p/f14c196c1f46</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[gitlab]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[gitflow]]></category>
            <category><![CDATA[best-practices]]></category>
            <dc:creator><![CDATA[Martin LEKPA]]></dc:creator>
            <pubDate>Tue, 16 Jan 2024 13:58:50 GMT</pubDate>
            <atom:updated>2024-02-02T08:33:30.989Z</atom:updated>
            <content:encoded><![CDATA[<h3>Git : <strong>Structuration des développements</strong></h3><p><strong>Git </strong>est un logiciel de <strong>gestion de versions décentralisé</strong>. C’est un logiciel libre et gratuit, créé en <strong>2005 </strong>par <strong>Linus Torvalds</strong>, auteur du noyau Linux, et distribué selon les termes de la licence publique générale GNU version 2.</p><p>Dans cette article nous allons voir comment on peut structurer nos développements dans un repository git en respectant au maximum les bonnes pratiques.</p><h3>Les Workflows</h3><p>Dans l’organisation et la gestion d’un repository git, il y a deux modèles de gestion des branches qui sont majoritairement utilisées:</p><h4><strong>Workflow Gitflow</strong></h4><figure><img alt="Martin LEKPA — gitflow" src="https://cdn-images-1.medium.com/max/1024/0*rzv6VGZt1-N60a9W.png" /><figcaption>gitflow (from yieldstudio)</figcaption></figure><p>Gitflow est un modèle de branching Git alternatif qui utilise des branches de fonctionnalité et plusieurs branches primaires. Il a été publié et popularisé pour la première fois par Vincent Driessen de chez nvie.</p><p>Dans ce modèle, <strong>les développeurs créent une branche de fonctionnalité et attendent que la fonctionnalité soit terminée pour la merger à la branche « trunk » principale</strong>. Ces branches de fonctionnalités au long cours nécessitent une plus grande collaboration lors du merge, car elles risquent davantage de dévier de la branche « trunk ». Elles peuvent également introduire des mises à jour conflictuelles.</p><p>Gitflow est parfaitement adapté aux projets avec un cycle de livraison planifié et pour les bonnes pratiques DevOps de livraison continue. Il n’ajoute aucun nouveau concept ni aucune nouvelle commande en dehors de ce qui est exigé pour le workflow de branche de fonctionnalité. Il assigne plutôt des rôles très spécifiques aux différentes branches et définit comment et quand elles doivent interagir. Outre les branches de fonctionnalité (feature), le workflow utilise des branches individuelles pour la préparation, la maintenance et l&#39;enregistrement des livraisons. Bien évidemment, vous bénéficiez également de tous les avantages du workflow de branche de fonctionnalité : pull requests, expériences isolées et collaboration plus efficace.</p><p><strong>Développement basé sur les troncs</strong></p><figure><img alt="Martin LEKPA — developpement basé sur les toncs" src="https://cdn-images-1.medium.com/max/1024/0*ULqFZs0F0c0MxLY9.png" /><figcaption>Développement basé sur les troncs (from yieldstudio)</figcaption></figure><p>Le développement basé sur le tronc est une pratique de contrôle de version où <strong>les développeurs mergent de petites mises à jour fréquentes</strong> vers un « tronc » principal ou une branche principale. C’est une pratique courante parmi les équipes DevOps et elle fait partie du cycle de vie DevOps, car elle simplifie les phases de merge et d’intégration. <strong>En fait, le développement basé sur le tronc est une pratique obligatoire pour la CI/CD</strong>. Les développeurs peuvent créer des branches éphémères avec quelques petits commits au lieu de créer des branches de fonctionnalités au long cours. Au fur et à mesure que la base de code se complexifie et que l’équipe s’élargit, le développement basé sur le tronc contribue à maintenir la fluidité des livraisons en production.</p><h3>Les bonnes pratiques</h3><p>Quelque soit le modèle de gestion de branches que vous mettez en place, vous devez respecter les bonnes pratiques:</p><h4><strong>La nomenclature des branches</strong></h4><ul><li><strong>master -&gt; main</strong> : désormais la branche principale se nomme “main”. Si votre gestionnaire de repository (gitlab, github,…) est à jour il nommera automatiquement la branche principale “main” pour les nouveaux repos. Pour uniformiser vous pouvez renommer les anciennes branches mais cela n’est pas obligatoire</li><li><strong>Normaliser le nom de vos branches </strong>: Vous devez créer une norme pour la nommenclature de vos branches. Idéalement elle doit porter les informations sur le ticket pour des raisons de traçabilité. Un exemple de norme : TYPEDEBRANCHE/IDTICKET-DESCRIPTION_DU_TICKET. Ce qui nous donne par exemple release/D1234, hotfix/I7534…</li><li><strong>Utilisez des tags</strong>: Les tags sont des réfs qui pointent vers des points spécifiques de l’historique Git. Les tags sont généralement utilisés pour capturer un point de l’historique utilisé pour une version marquée (c. -à-d., v1. 0.1).</li><li><strong>Expliciter les commits</strong> : Il est très important de bien décrire vos commits. Elle permet à des personnes qui n’ont participé à la construction de comprendre l’évolution. Evitez des description du type “Update main.tf”… Dans la mesure du possible normalisez cette description</li></ul><h4><strong>Pull request</strong></h4><p>Dans leur forme la plus élémentaire, les pull requests sont un mécanisme qui permet à un développeur de prévenir les membres de son équipe qu’il a terminé une fonctionnalité. Une fois que sa branche de fonctionnalité est prête, le développeur fait une pull request.</p><figure><img alt="Martin LEKPA — pull request -git" src="https://cdn-images-1.medium.com/max/300/0*0khGd1EBOkxl3hbM" /><figcaption>Pull request (from Atlassian)</figcaption></figure><h4>Protection des branches</h4><p>Il est important de protéger les branches critiques contre les écritures volontaires ou des erreurs d’écriture. Il va par exemple obliger à passer par des pull request pour mettre à jour les branches.</p><p>Les gestionnaires de repository prennent en charge la gestion des protections des branches.</p><p>Source : Wikipedia, Atlassian</p><p>Plus d’informations : <a href="https://elearning.rousseltm.fr/categories">https://elearning.rousseltm.fr/categories</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f14c196c1f46" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Grail : Dynatrace Data Lakehouse]]></title>
            <link>https://medium.com/@lekpamartin/grail-dynatrace-data-lakehouse-316b3b7fe090?source=rss-65e994aaa822------2</link>
            <guid isPermaLink="false">https://medium.com/p/316b3b7fe090</guid>
            <category><![CDATA[observability]]></category>
            <category><![CDATA[dynatrace]]></category>
            <category><![CDATA[dql]]></category>
            <category><![CDATA[data-lakehouse]]></category>
            <dc:creator><![CDATA[Martin LEKPA]]></dc:creator>
            <pubDate>Mon, 15 Jan 2024 07:01:34 GMT</pubDate>
            <atom:updated>2024-11-17T15:55:58.309Z</atom:updated>
            <content:encoded><![CDATA[<h3>Grail : Dynatrace Data Lakehouse</h3><h3><strong>Introduction</strong></h3><p>A <strong>data lakehouse</strong> features the flexibility and cost-efficiency of a data lake with the contextual and high-speed querying capabilities of a data warehouse.</p><p><strong>Grail</strong> is a data lakehouse included in Dyntrace to <strong>store and manage observability data and much more</strong>. It is only available on Dynatrace SaaS (Cloud Computing) subscriptions. It will obviously initially store the pillars of observability (Logs, Traces and metrics) and extend its scope to other types of data collected in your Dynatrace cluster (business event, network data, etc.)</p><figure><img alt="LEKPA Martin — Grail — Dynatrace" src="https://cdn-images-1.medium.com/max/696/0*ehoiq6wu80b1h2_k.png" /><figcaption>Grail in dynatrace eco-system (from Dynatrace)</figcaption></figure><h3>Data collection and storage</h3><p>Through the oneagent (Dynatrace agent), Dynatrace will be able to natively collect the pillars of observability and also collect other types of data after configuration. To go further, Dynatrace can collect even more data via its API, particularly business events from SaaS (or other) offers such as Salesforce, SAP hybris, etc.</p><h3>Manage data with DYnatrace Query Language (DQL)</h3><h4>Extraction</h4><p>After collecting and storing your data in Grail, you can use the Dynatrace Query Language (DQL) to extract and manipulate the data.</p><p>The DQL language is a succession of commands which are separated by a pipe (|) and each containing parameters, functions and expressions as in the example below :</p><figure><img alt="Martin LEKPA — Dynatrace — grail — DQL" src="https://cdn-images-1.medium.com/max/1024/0*L4to9iEGN3-210E8.png" /><figcaption>DQL syntaxe (from dynatrace)</figcaption></figure><p>The recommended application to manipulate data in Grail is the advanced mode of “Logs and events” application from Dynatrace.</p><figure><img alt="Martin LEKPA — Dynatrace — grail — DQL — logs and events" src="https://cdn-images-1.medium.com/max/1024/1*8rrxvB954lQGqCpPhOdrig.png" /><figcaption>DQL in logs and events</figcaption></figure><p>In the code example below (just to show a few commands) we will retrieve the log type data (line 1) provided from Grail and only keep those provided by the Nginx web server (line 2).<br>In the content of each line of logs, we will extract (line 3) the visitor’s IP, the access date. Then we will create a new http_method field (line 4) to separate the logs into two categories, those with the “GET” method and the others.<br>We will then classify (line 5) give them and count (line 5) the number of elements by http method.</p><pre>fetch logs //, scanLimitGBytes: 500, samplingRatio: 1000<br>| filter matchesValue(process.technology, &quot;Nginx&quot;)<br>| fieldsAdd http_method=if(contains(content,&quot;GET&quot;),&quot;GET&quot;,else:&quot;Others&quot;)<br>| summarize method_count = count(), by:{http_method}</pre><p>Be careful when processing data, it is important to respect good practices, the main objective of which is to always process the minimum amount of information, therefore putting filter requests at the start.</p><h4>Display data with Dashboards or Notebooks</h4><p>Once you have built and tested your DQL query, you can automatically insert it into the following three other Dynatrace applications:<br>- Dashboards<br>- Notebooks</p><figure><img alt="Martin LEKPA — Dynatrace — grail — open with — Dashboars-Notebooks-Logs and events — workflow" src="https://cdn-images-1.medium.com/max/1024/1*-JBetFZluc2YQpxBRH4z3A.png" /><figcaption>Open with</figcaption></figure><p><strong>Dashboards</strong></p><p>Visualization of the query result</p><figure><img alt="Martin LEKPA — dynatrace — grail -DQL-Dashboards" src="https://cdn-images-1.medium.com/max/1024/1*hspFnWKRH9Y8arOkaqQoyw.png" /><figcaption>Dashboards</figcaption></figure><p><strong>Notebooks</strong><br>Visualization of the query as well as the result</p><figure><img alt="Martin LEKPA — dynatrace — grail -DQL-Notebooks" src="https://cdn-images-1.medium.com/max/1024/1*dOLjwbo91UXH6HS-F3pEdg.png" /><figcaption>Notebooks</figcaption></figure><h4>Execute an action based on the result of the query</h4><p>Once the query has been built, you can integrate it into a workflow and, depending on the result of the query, execute actions.<br>A possible use case is to calculate the percentage of memory and CPU usage of your VMs over 1 month and if a machine does not exceed 30% send a request via API to the provider (vmware, cloud, etc.) and reduce (downsize) machine resources.</p><figure><img alt="Martin LEKPA — Dynatrace —grail — dql- Workflows" src="https://cdn-images-1.medium.com/max/1024/0*S0RlQJAvAU_y-6gq.png" /><figcaption>Workflows (From Dynatrace)</figcaption></figure><p>More information in</p><ul><li><a href="https://elearning.rousseltm.fr/training_chapter?id=2">https://elearning.rousseltm.fr/training_chapter?id=2</a></li><li><a href="https://www.udemy.com/course/dynatrace-de-la-decouverte-a-lexpertise/?referralCode=A5A0DDB3989423C5A403">https://www.udemy.com/course/dynatrace-de-la-decouverte-a-lexpertise/?referralCode=A5A0DDB3989423C5A403</a></li><li><a href="https://www.youtube.com/watch?v=Jcjawj8s_Pg&amp;t=315s">https://www.youtube.com/watch?v=Jcjawj8s_Pg&amp;t=315s</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=316b3b7fe090" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>