Go Debugging

Open-source Go projects categorized as Debugging

Top 13 Go Debugging Projects

  • ksniff

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

  • Project mention: unknown field "capabilities" in io.k8s.api.core.v1.PodSecurityContext (running tshark in a container/k8s pod) | /r/codehunter | 2023-05-06

    so probably the right way is to use some tool like that (ksniff) or setup a sidecar container. But I am still curious to why I get the above error.

  • 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

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • cdp

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

  • teletrace

    Open-Source Tracing Platform

  • Project mention: Teletrace a new open-source tracing platform based on OpenTelemetry | news.ycombinator.com | 2023-05-02
  • trice

    🟒 super fast πŸš€ and tiny πŸ₯ embedded device 𝘾 printf-like trace ✍ code, works also inside ⚑ interrupts ⚑ and real-time PC πŸ’» logging (trace ID visualization πŸ‘€)

  • Project mention: Fully Permissive License C++ Logger For Embedded System | /r/embedded | 2023-06-28
  • 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
  • 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
  • gont

    A Go testing framework for distributed applications

  • Project mention: Gont – A testing framework for distributed Go applications | news.ycombinator.com | 2023-05-05
  • 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 related posts

Index

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

Project Stars
1 ksniff 3,036
2 stern 2,786
3 cdp 714
4 teletrace 617
5 trice 417
6 gostackparse 106
7 what 100
8 gont 71
9 ssl-handshake 61
10 ecal 37
11 kemba 13
12 gecho 12
13 pod-log-level 11

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com