Go Debugging

Open-source Go projects categorized as Debugging

Top 12 Go Debugging Projects

  • ksniff

    Kubectl plugin to ease sniffing on kubernetes pods using tcpdump and wireshark

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • stern

    ⎈ Multi pod and container log tailing for Kubernetes -- Friendly fork of https://github.com/wercker/stern (by stern)

    Project mention: ☸️ Kubernetes: From your docker-compose file to a cluster with Kompose | dev.to | 2024-03-09

    deploy: stage: deploy image: alpine/k8s:1.29.1 variables: NAMESPACE: $CI_COMMIT_REF_SLUG before_script: # init namespace - kubectl config use-context $KUBE_CONTEXT - kubectl create namespace $NAMESPACE || true # download tools - curl --show-error --silent --location https://github.com/stern/stern/releases/download/v1.22.0/stern_1.22.0_linux_amd64.tar.gz | tar zx --directory /usr/bin/ stern && chmod 755 /usr/bin/stern && stern --version - curl --show-error --silent --location https://github.com/kubernetes/kompose/releases/download/v1.32.0/kompose-linux-amd64 -o /usr/local/bin/kompose && chmod a+x /usr/local/bin/kompose && kompose version # show logs asynchronously. Timeout to avoid hanging indefinitely when an error occurs in script section - timeout 1200 stern -n $NAMESPACE "app-" --tail=0 --color=always & # in background, tail new logs if any (current and incoming) pod with this regex as name - timeout 1200 kubectl -n $NAMESPACE get events --watch-only & # in background, tail new events in background script: # first delete CrashLoopBackOff pods, polluting logs - kubectl -n $NAMESPACE delete pod `kubectl -n $NAMESPACE get pods --selector app.kubernetes.io/component=$MODULE | awk '$3 == "CrashLoopBackOff" {print $1}'` || true # now deploying - kompose convert --out k8s/ - kubectl apply -n $NAMESPACE -f k8s/ - echo -e "\e[93;1mWaiting for the new app version to be fully operational...\e[0m" # waiting for successful deployment - kubectl -n $NAMESPACE rollout status deploy/app-db - kubectl -n $NAMESPACE rollout status deploy/app-back - kubectl -n $NAMESPACE rollout status deploy/app-front # on any error before this line, the script will still wait for these threads to complete, so the initial timeout is important. Adding these commands to after_script does not help - pkill stern || true - pkill kubectl || true after_script: # show namespace content - kubectl config use-context $KUBE_CONTEXT - kubectl -n $NAMESPACE get deploy,service,ingress,pod

  • cdp

    Package cdp provides type-safe bindings for the Chrome DevTools Protocol (CDP), written in the Go programming language.

  • teletrace

    Open-Source Tracing Platform

  • gostackparse

    Package gostackparse parses goroutines stack traces as produced by panic() or debug.Stack() at ~300 MiB/s.

  • what

    Debug-level logging for developers (only!)

    Project mention: What: Debug-level logging behind a build tag | news.ycombinator.com | 2023-12-17
  • gont

    A Go testing framework for distributed applications

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • ssl-handshake

    A command-line tool for testing SSL/TLS handshake latency, written in Go.

  • ecal

    A simple embeddable scripting language which supports concurrent event processing. (by krotik)

  • kemba

    A tiny debug logging tool. Ideal for CLI tools and command applications. Inspired by https://github.com/visionmedia/debug

  • gecho

    Gecho - a HTTP request echo debugging service

  • pod-log-level

    A light library to allow changing pod log level without restarting the pod

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go Debugging discussion

Log in or Post with

Go Debugging related posts

  • stern VS stern - a user suggested alternative

    2 projects | 11 Dec 2023
  • unknown field "capabilities" in io.k8s.api.core.v1.PodSecurityContext (running tshark in a container/k8s pod)

    1 project | /r/codehunter | 6 May 2023
  • Kubeshark PCAP Export

    2 projects | /r/kubernetes | 7 Jan 2023
  • Most efficient way to check all containers cluster wide for missing probes?

    2 projects | /r/kubernetes | 15 Sep 2022
  • How can I see mTLS traffic in a K8s cluster that also uses Istio?

    1 project | /r/devops | 30 Mar 2022
  • Adventures in K8S Cloud Native App Development

    3 projects | dev.to | 11 Nov 2021
  • Log centralization with Kubernetes (beginner question)

    1 project | /r/kubernetes | 11 Oct 2021
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 18 Jul 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Index

What are some of the best open-source Debugging projects in Go? This list will help you:

Project Stars
1 ksniff 3,109
2 stern 3,056
3 cdp 719
4 teletrace 623
5 gostackparse 111
6 what 100
7 gont 75
8 ssl-handshake 63
9 ecal 40
10 kemba 13
11 gecho 12
12 pod-log-level 11

Sponsored
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com

Did you konow that Go is
the 4th most popular programming language
based on number of metions?