<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/faun/best-of/2024" -->

---
title: Best Faun posts of 2024 | daily.dev
description: The most upvoted Faun posts of 2024, curated by the daily.dev community.
canonical: https://daily.dev/sources/faun/best-of/2024
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/faun/best-of/2024
og:type: website
og:site_name: daily.dev
og:title: Best Faun posts of 2024 | daily.dev
og:description: The most upvoted Faun posts of 2024, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of Faun — 2024

1. 1  
[](/posts/top-tips-and-tricks-with-tailwind-css-fqakzswdx "Top Tips and Tricks with Tailwind CSS")  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
3m read time • Jul 14, 2024  
### Top Tips and Tricks with Tailwind CSS  
Learn top tips and tricks to enhance your Tailwind CSS projects, including how to properly delegate classes, manage spacing between elements, and avoid overuse of the @apply utility. Discover how to add opacity, transitions, and animations, utilize group hover and pseudo-classes, and customize input values. Check out the provided resources for pre-made components and use the Tailwind IntelliSense plugin for an improved workflow.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/61e7d2d8ea0c819e862d2bb301357e4d?_a=AQAEuiZ)  
799  
26
2. 2  
[](/posts/clean-code-in-practice-how-i-learned-to-write-maintainable-code-utoitxqcv "Clean Code in Practice: How I Learned to Write Maintainable Code")  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
7m read time • Oct 07, 2024  
### Clean Code in Practice: How I Learned to Write Maintainable Code  
Learn how embracing Clean Code principles can transform your code from chaotic and unreadable to maintainable and clear. By using meaningful names, following guidelines like PEP 8 in Python, leveraging types in TypeScript, breaking functions into smaller pieces, avoiding magic numbers, and adhering to the DRY principle, you can significantly improve the readability and maintainability of your code.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/d3b974d8d7e03cbe2adb366ce821d763?_a=AQAEuiZ)  
298  
11
3. 3  
[](/posts/understanding-when-to-cache-your-apis-6gyixbcti "Understanding when to cache your APIs")  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
6m read time • Jun 02, 2024  
### Understanding when to cache your APIs  
Learn about caching techniques, including client-side and server-side caching, cache hit ratio, and when to cache APIs.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/b0d6b6b38fab762237a98f4511a436bd?_a=AQAEuiZ)  
130  
4
4. 4  
[](/posts/building-ai-agents-and-workflow-cme0j3upr "Building AI Agents and Workflow")  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
12m read time • Nov 04, 2024  
### Building AI Agents and Workflow  
With advancements in AI, creating AI Agents and AI-driven Workflows has become a growing interest. An AI Agent uses a Language Model (LLM) for reasoning and utilizes tools to perform tasks autonomously, while an Agentic Workflow combines these agents to execute a series of tasks. The post provides a step-by-step guide to build an AI Agent using langchain and OpenAI, including examples of sending emails and generating responses based on queries. The process involves defining tools, creating agents, setting up workflows, and executing tasks, with a focus on flexibility and extensibility.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/f1fcb00aa3d2104c6693da065f7080e6?_a=AQAEuj9)  
126  
4
5. 5  
[](/posts/spring-boot-3-1-jwt-authentication-authorization-secure-your-apis-like-a-pro--xuvix9nxg "Spring Boot 3.1 JWT Authentication &Authorization: Secure Your APIs Like a Pro🔒")  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
7m read time • Jul 11, 2024  
### Spring Boot 3.1 JWT Authentication &Authorization: Secure Your APIs Like a Pro🔒  
Learn how to secure your Spring Boot 3.1 applications using JWT authentication and authorization. This guide covers creating a Spring Boot project, setting up dependencies, creating secure endpoints, and configuring JWT tokens for user authentication. Includes practical examples and code snippets to help you implement security measures swiftly.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/ffdc1308cf103a26fab3c6e53d6d2247?_a=AQAEuiZ)  
122  
1
6. 6  
[](/posts/deploy-ai-apps-using-docker-to-containerize-python-based-gen-ai-apps--vb3xsd5xa "Deploy AI apps using Docker to containerize python-based GEN-AI Apps.")  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
4m read time • Aug 14, 2024  
### Deploy AI apps using Docker to containerize python-based GEN-AI Apps.  
Deploying AI applications can be streamlined using Docker to containerize Python-based generative AI apps. This guide walks you through setting up a full-stack application that answers questions about a PDF file, using LangChain for orchestration, Streamlit for the UI, Ollama for running the LLM, and Neo4j for vector storage. Key steps include cloning the repository, initializing Docker, configuring the Docker Compose file, and running the services to interact with the app via a browser.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/1be107f56dbf87c0e54b63320194edaa?_a=AQAEuiZ)  
107  
2
7. 7  
[](/posts/essential-linux-terminal-hacks-for-efficiency-part-2-njckbbstz "Essential Linux Terminal Hacks for efficiency — Part 2")  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
3m read time • Jun 02, 2024  
### Essential Linux Terminal Hacks for efficiency — Part 2  
Learn essential Linux terminal hacks for efficiency, including reverse cmd search, reusing commands from history, displaying date and time in history, running multiple commands at once, viewing content with 'less', using 'column' to format text output, truncating files, viewing head and tail of files, checking exit codes, creating nested directories, and using the 'file' command.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/b9f6179882d752e47eb86bab72a16a50?_a=AQAEuiZ)  
100
8. 8  
[](/posts/essential-linux-terminal-hacks-for-efficiency-newputa6u "Essential Linux Terminal Hacks for Efficiency")  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
3m read time • May 05, 2024  
### Essential Linux Terminal Hacks for Efficiency  
Discover essential Linux terminal hacks for improved productivity and quality of life. Learn how to clear the terminal, set aliases for commands, navigate through commands efficiently, change the hostname, get the public IP, and more.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/dd2bd3975c4c37c374c5a996e394e3e8?_a=AQAEuiZ)  
100  
2
9. 9  
[](/posts/a-guide-to-git-branching-strategies-9jnrfbcjx "A Guide to Git Branching Strategies")  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
7m read time • Sep 04, 2024  
### A Guide to Git Branching Strategies  
Source control management is crucial for efficient collaboration and versioning in software development. This guide focuses on Git branching strategies, primarily trunk-based development and Gitflow. Trunk-based development facilitates fast integration and deployment using a single long-lived branch, while Gitflow supports parallel development and is ideal for established products with regular release cycles. Understanding these strategies helps teams choose the best workflow based on their size, experience, and deployment needs.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/f3d8feb68a223030c9aa8567f726f273?_a=AQAEuiZ)  
94  
1
10. 10  
[](/posts/git-branching-strategies-a-guide-for-improved-development-xdyjlo2fe "Git Branching Strategies: A Guide for Improved Development")  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
1m read time • Feb 06, 2024  
### Git Branching Strategies: A Guide for Improved Development  
This post explains the basics of Git branching strategies and how they can improve development workflow. It introduces two prominent strategies - Git Flow and Trunk-Based Development - and highlights their benefits and considerations. Choosing the right strategy is important for collaboration, code quality, and efficiency.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/560f8f420e7afd8d6b6c29f6cae87210?_a=AQAEufR)  
91  
5
11. 11  
[](/posts/java-23-springboot-3-3-4-jakarta-10-ymlkzy3gi "Java 23, SpringBoot 3.3.4, Jakarta 10")  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
16m read time • Oct 07, 2024  
### Java 23, SpringBoot 3.3.4, Jakarta 10  
A rapid-start template optimized for microservices and cloud-native architectures using Java 23, SpringBoot 3.3.4, and Jakarta 10\. It features a packaging structure based on Hexagonal Architecture, cross-cutting concerns handled via AOP, JWT for authentication and authorization, robust web security, and Docker containerization. The Hexagonal Architecture ensures a clear separation of concerns, maintaining flexibility and adaptability. Comprehensive logging, multiple Spring profiles, and extensive use of Swagger and OpenAPI for API documentation are also highlighted.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/503edd3abdae7d8d886142bdd11af386?_a=AQAEuiZ)  
64  
1
12. 12  
[](/posts/understanding-branching-strategies-and-deployment-workflows-for-multi-environment-applications-uhy4san03 "Understanding Branching Strategies and Deployment Workflows for Multi-Environment Applications")  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
5m read time • Nov 04, 2024  
### Understanding Branching Strategies and Deployment Workflows for Multi-Environment Applications  
A structured branching strategy and deployment workflow are essential for seamless code movement from development to production in multi-environment applications. Key branching models like feature branching, Gitflow, and trunk-based development help manage different environments. Effective CI/CD pipelines tailored to specific branches ensure stable and quality code at every stage, enabling efficient development and risk mitigation. Adopting these strategies fosters improved collaboration, quality assurance, controlled releases, and quick rollbacks.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/2f2c0c53b6ed763db28b1579f5a2b1ac?_a=AQAEuj9)  
59
13. 13  
[](/posts/nitric-is-terraform-for-developers-tb2g3jhgl "Nitric is Terraform for Developers")  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
3m read time • Aug 14, 2024  
### Nitric is Terraform for Developers  
Nitric introduces a new paradigm called Infrastructure from Code (IfC), designed to bring the clarity and execution capabilities of Infrastructure as Code (IaC) tools like Terraform to application developers. With Nitric, you can document application requirements in a clear, concise, and executable format using Nitric SDKs and CLI, enabling easier and more efficient development and cloud infrastructure management.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/990023e6b9b75ebe56a6084ea01082b0?_a=AQAEuiZ)  
54  
11
14. 14  
[](/posts/gitops-argo-cd-vs-flux-cd-gshoxh8p6 "GitOps: Argo CD vs Flux CD")  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
8m read time • Jul 30, 2024  
### GitOps: Argo CD vs Flux CD  
GitOps combines Git and Operations to apply continuous deployment to cloud-native applications using Git as the single source of truth for infrastructure and applications. Benefits include consistency, traceability, security, faster recovery, and improved developer experience. Argo CD and Flux CD are popular tools for implementing GitOps, with step-by-step installation guides provided for both. Best practices include separating build and deployment processes, handling secrets carefully, and using tools like Kustomize and Helm to simplify Kubernetes configurations.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/f50a90f988c32a66ecca3cfc6d896155?_a=AQAEuiZ)  
54
15. 15  
[](/posts/migrating-from-nginx-to-envoy-proxy-y8wzrw3jg "Migrating From NGINX to Envoy Proxy")  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
9m read time • Dec 08, 2024  
### Migrating From NGINX to Envoy Proxy  
This guide provides a detailed explanation on how to migrate from NGINX to Envoy Proxy, including step-by-step instructions for configuring each component. It covers the main elements of NGINX configuration, such as server, logging, Gzip feature, and compares them with Envoy's counterparts like listeners, filters, routers, and clusters. The article explains how Envoy handles worker threads, load balancing, access and error logging, and how to run Envoy in a Docker container. At the end, it includes commands to test Envoy's proxy functionality with Docker.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/4d888059fea14c0bc79058ec9c85ae90?_a=AQAEuj9)  
43
16. 16  
[](/posts/a-pain-less-journey-into-arch-linux-odmc4fbz2 "A (pain)less journey into Arch Linux")  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
53m read time • Aug 28, 2024  
### A (pain)less journey into Arch Linux  
The author shares their experience switching from Ubuntu 22.04 to Arch Linux and provides a step-by-step guide on installing and configuring Arch Linux. Key topics include creating bootable media, preparing partitions for dual booting, the installation process, setting up essential configurations, and customizing the desktop environment. The guide addresses necessary prerequisites, mentions potential pitfalls, and emphasizes the importance of understanding the system for effective customization.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/73bd629cf822a55fd9b4a47f2a8853c8?_a=AQAEuiZ)  
43  
4
17. 17  
[](/posts/securely-scale-ci-cd-with-self-hosted-github-runners-on-aws-xkmmghhqj "Securely Scale CI/CD with Self-Hosted GitHub Runners on AWS")  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
6m read time • Aug 18, 2024  
### Securely Scale CI/CD with Self-Hosted GitHub Runners on AWS  
Utilizing self-hosted GitHub runners on AWS addresses limitations with GitHub’s hosted runners by providing greater control over computing resources, environment customization, security, and integration with internal tools. This setup involves deploying an EC2 instance as a public-facing web server and a private instance as a self-hosted GitHub runner to improve the efficiency, security, and customization of CI/CD workflows. Key steps include configuring Docker, SSH key generation, setting up AWS CLI, and creating CI/CD workflows in GitHub Actions.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/1d7d311183296ff3981dd3551fadeeef?_a=AQAEuiZ)  
41  
1
18. 18  
[](/posts/breaking-through-how-to-move-from-junior-to-senior-engineer-le2ofwmub "Breaking Through: How to Move from Junior to Senior Engineer")  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
3m read time • Apr 21, 2024  
### Breaking Through: How to Move from Junior to Senior Engineer  
Learn how to overcome roadblocks and transition from a junior to a senior engineer. Take the lead on projects, improve communication skills, seek feedback, understand the business context, and focus on technical depth.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/63034f478a38597baf63a7cedbedaaee?_a=AQAEufR)  
41
19. 19  
[](/posts/building-a-end-to-end-multi-modal-rag-system-using-aws-bedrock-and-langchain-jkdtqoybz "Building a End to End Multi-Modal RAG System Using AWS Bedrock And Langchain")  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
7m read time • Aug 23, 2024  
### Building a End to End Multi-Modal RAG System Using AWS Bedrock And Langchain  
Learn how to build an end-to-end Retrieval Augmented Generation (RAG) application using AWS Bedrock and Langchain. This project involves loading PDF documents, creating vector embeddings using the Titan model, storing them in a vector store, integrating Cloudy and Llama 2 language models, and building a user-friendly interface with Streamlit. The system efficiently retrieves and summarizes information from PDF files based on user queries.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/66859a89ffd33c0efddea5923f1633f5?_a=AQAEuiZ)  
39
20. 20  
[](/posts/5-ansible-playbooks-you-can-t-live-without-in-your-ci-cd-pipeline--gynp5zl92 "5 Ansible Playbooks You Can’t Live Without in Your CI/CD Pipeline!")  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
4m read time • Dec 08, 2024  
### 5 Ansible Playbooks You Can’t Live Without in Your CI/CD Pipeline!  
Ansible is a key automation tool in CI/CD pipelines for reducing errors and enhancing workflow efficiency. Five essential playbooks recommended for optimal performance include environment provisioning, application deployment, configuration management, continuous monitoring setup, and rollbacks and recovery. These playbooks help ensure consistency, streamline deployments, manage configurations, set up monitoring, and enable reliable rollback mechanisms.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/ca3475116432db57677966d5ae2734e1?_a=AQAEuj9)  
38
21. 21  
[](/posts/monitoring-in-kubernetes-best-practices-cbly3evok "Monitoring in Kubernetes: Best Practices")  
[![Gursimar Singh's profile](https://avatars.githubusercontent.com/u/70017872?v=4&s=64)](https://daily.dev/gursimar)  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
11m read time • Sep 04, 2024  
### Monitoring in Kubernetes: Best Practices  
As Kubernetes adoption rises, effective monitoring is crucial to maintain the health and performance of containerized applications. The post outlines the importance of monitoring, explaining differences between monitoring and observability, and offers best practices including focusing on Four Golden Signals. It highlights the dynamic nature of Kubernetes, necessitating real-time monitoring to manage resource utilization, prevent outages, and ensure security. It also emphasizes the integration of monitoring into CI/CD pipelines and adopting a culture of observability for long-term success.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/230db648350b6720653877df34904d8f?_a=AQAEuiZ)  
38
22. 22  
[](/posts/top-10-kubernetes-tools-you-can-use-in-2024-qvkyejn2k "Top 10 Kubernetes Tools You Can Use In 2024")  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
4m read time • Jul 21, 2024  
### Top 10 Kubernetes Tools You Can Use In 2024  
Explore the top 10 Kubernetes tools to use in 2024, which enhance cluster management, monitoring, security, and deployment in the Kubernetes ecosystem. Tools include Kubectl, Helm, Kustomize, Rancher, Kubernetes Dashboard, Lens, Flux, Kubecost, Amazon EKS, and Google GKE. These tools bridge gaps in Kubernetes functionality, integrate smoothly with DevOps processes, and simplify activities like provisioning clusters, workload monitoring, and cost management.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/f8ccdf5db886301a7d08cf9a80844a7b?_a=AQAEuiZ)  
32  
2
23. 23  
[](/posts/net-application-development-myths-and-benefits-crjmztunn ".NET Application Development: Myths and Benefits")  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
5m read time • Jun 29, 2024  
### .NET Application Development: Myths and Benefits  
The .NET framework, developed by Microsoft, is renowned for its versatility and ease of use in building web applications across various platforms. It offers numerous benefits such as secure applications, code reduction, support for multiple languages, and cross-platform capabilities. Despite common myths, .NET is cost-effective, reliable, and suitable for both small and large-scale projects.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/a6688b273190a65cc33973840ad2d7f6?_a=AQAEuiZ)  
32  
3
24. 24  
[](/posts/geoip-lookups-with-nginx-qojwg9b6z "GeoIP lookups with Nginx")  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
3m read time • Jul 21, 2024  
### GeoIP lookups with Nginx  
Learn how to perform GeoIP lookups with Nginx using the http\_geoip\_module and MaxMind database. This guide walks through installing necessary packages, configuring Nginx, and integrating MaxMind data files for geographical validation of requests. It's a straightforward process that enhances your server's geo control capabilities.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/5b558759e940b38bb4105368f61cf47c?_a=AQAEuiZ)  
31
25. 25  
[](/posts/learning-go-by-instrumenting-a-go-application-for-prometheus-metrics-p7qegadg9 "Learning Go by Instrumenting a Go Application for Prometheus Metrics")  
[![faun's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/71243dc2fd54430491336f7f7d4d83b1)](/sources/[source]/best-of/[year])  
7m read time • Oct 21, 2024  
### Learning Go by Instrumenting a Go Application for Prometheus Metrics  
A beginner's guide to learning Go by instrumenting a Go application for Prometheus metrics. This tutorial covers building a Prometheus metrics exporter to consolidate analytics and metrics from Datadog's SLO product. Key steps include parsing the Datadog API response, creating necessary structs in Go, declaring Prometheus metrics, initializing the Datadog client, fetching SLO data, and pushing the metrics to Prometheus.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/7a37a6161cc24f760b31a33b53a2aa27?_a=AQAEuiZ)  
26

[See all Faun archives](/sources/faun/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/sources/faun/best-of/2024#page","url":"https://daily.dev/sources/faun/best-of/2024","name":"Best Faun Posts of 2024","description":"The most upvoted Faun posts of 2024, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/faun/best-of/2024#items","numberOfItems":25,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/top-tips-and-tricks-with-tailwind-css-fqakzswdx","name":"Top Tips and Tricks with Tailwind CSS"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/clean-code-in-practice-how-i-learned-to-write-maintainable-code-utoitxqcv","name":"Clean Code in Practice: How I Learned to Write Maintainable Code"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/understanding-when-to-cache-your-apis-6gyixbcti","name":"Understanding when to cache your APIs"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/building-ai-agents-and-workflow-cme0j3upr","name":"Building AI Agents and Workflow"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/spring-boot-3-1-jwt-authentication-authorization-secure-your-apis-like-a-pro--xuvix9nxg","name":"Spring Boot 3.1 JWT Authentication \u0026Authorization: Secure Your APIs Like a Pro🔒"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/deploy-ai-apps-using-docker-to-containerize-python-based-gen-ai-apps--vb3xsd5xa","name":"Deploy AI apps using Docker to containerize python-based GEN-AI Apps."},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/essential-linux-terminal-hacks-for-efficiency-part-2-njckbbstz","name":"Essential Linux Terminal Hacks for efficiency — Part 2"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/essential-linux-terminal-hacks-for-efficiency-newputa6u","name":"Essential Linux Terminal Hacks for Efficiency"},{"@type":"ListItem","position":9,"url":"https://daily.dev/posts/a-guide-to-git-branching-strategies-9jnrfbcjx","name":"A Guide to Git Branching Strategies"},{"@type":"ListItem","position":10,"url":"https://daily.dev/posts/git-branching-strategies-a-guide-for-improved-development-xdyjlo2fe","name":"Git Branching Strategies: A Guide for Improved Development"},{"@type":"ListItem","position":11,"url":"https://daily.dev/posts/java-23-springboot-3-3-4-jakarta-10-ymlkzy3gi","name":"Java 23, SpringBoot 3.3.4, Jakarta 10"},{"@type":"ListItem","position":12,"url":"https://daily.dev/posts/understanding-branching-strategies-and-deployment-workflows-for-multi-environment-applications-uhy4san03","name":"Understanding Branching Strategies and Deployment Workflows for Multi-Environment Applications"},{"@type":"ListItem","position":13,"url":"https://daily.dev/posts/nitric-is-terraform-for-developers-tb2g3jhgl","name":"Nitric is Terraform for Developers"},{"@type":"ListItem","position":14,"url":"https://daily.dev/posts/gitops-argo-cd-vs-flux-cd-gshoxh8p6","name":"GitOps: Argo CD vs Flux CD"},{"@type":"ListItem","position":15,"url":"https://daily.dev/posts/migrating-from-nginx-to-envoy-proxy-y8wzrw3jg","name":"Migrating From NGINX to Envoy Proxy"},{"@type":"ListItem","position":16,"url":"https://daily.dev/posts/a-pain-less-journey-into-arch-linux-odmc4fbz2","name":"A (pain)less journey into Arch Linux"},{"@type":"ListItem","position":17,"url":"https://daily.dev/posts/securely-scale-ci-cd-with-self-hosted-github-runners-on-aws-xkmmghhqj","name":"Securely Scale CI/CD with Self-Hosted GitHub Runners on AWS"},{"@type":"ListItem","position":18,"url":"https://daily.dev/posts/breaking-through-how-to-move-from-junior-to-senior-engineer-le2ofwmub","name":"Breaking Through: How to Move from Junior to Senior Engineer"},{"@type":"ListItem","position":19,"url":"https://daily.dev/posts/building-a-end-to-end-multi-modal-rag-system-using-aws-bedrock-and-langchain-jkdtqoybz","name":"Building a End to End Multi-Modal RAG System Using AWS Bedrock And Langchain"},{"@type":"ListItem","position":20,"url":"https://daily.dev/posts/5-ansible-playbooks-you-can-t-live-without-in-your-ci-cd-pipeline--gynp5zl92","name":"5 Ansible Playbooks You Can’t Live Without in Your CI/CD Pipeline!"},{"@type":"ListItem","position":21,"url":"https://daily.dev/posts/monitoring-in-kubernetes-best-practices-cbly3evok","name":"Monitoring in Kubernetes: Best Practices"},{"@type":"ListItem","position":22,"url":"https://daily.dev/posts/top-10-kubernetes-tools-you-can-use-in-2024-qvkyejn2k","name":"Top 10 Kubernetes Tools You Can Use In 2024"},{"@type":"ListItem","position":23,"url":"https://daily.dev/posts/net-application-development-myths-and-benefits-crjmztunn","name":".NET Application Development: Myths and Benefits"},{"@type":"ListItem","position":24,"url":"https://daily.dev/posts/geoip-lookups-with-nginx-qojwg9b6z","name":"GeoIP lookups with Nginx"},{"@type":"ListItem","position":25,"url":"https://daily.dev/posts/learning-go-by-instrumenting-a-go-application-for-prometheus-metrics-p7qegadg9","name":"Learning Go by Instrumenting a Go Application for Prometheus Metrics"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sources","item":"https://daily.dev/sources"},{"@type":"ListItem","position":3,"name":"Faun","item":"https://daily.dev/sources/faun"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/faun/best-of"},{"@type":"ListItem","position":5,"name":"2024"}]}]}
```

