Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 5.8% dependent packages on proxy.golang.org
Top 4.7% dependent repos on proxy.golang.org

proxy.golang.org : github.com/thisdougb/health

Package health provides an easy way to record and report metrics. A good example is using the health package in a service architecture running on k8s. Each container can run a /health http handler that simple returns the json output from health.Dump(). A dashboard can consume that json ouput, using it for alerting, graphs, logs, etc. Using a standard metrics output across all app services, means it is trivial to build a dashboard that auto-discoveres any container. The intention is that this package is used in a similar way to /proc on *nix systems. It is the responsibility of the metrics consumer to handle rates over time (message per second, for example). This keeps the health package simple. In a DevOps team, ops can run a consumer at high frequency while troubleshooting, for example per second. While a log aggregator like DataDog can consume at per minute. Example: Output:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/thisdougb/health
Keywords: containers, docker, go, golang, kubernetes
License: GPL-3.0
Latest release: about 4 years ago
First release: about 4 years ago
Namespace: github.com/thisdougb
Dependent packages: 1
Dependent repositories: 1
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 22 days ago

    Loading...
    Readme
    Loading...