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

Top 3.2% on proxy.golang.org
Top 1.4% dependent packages on proxy.golang.org
Top 1.5% dependent repos on proxy.golang.org
Top 7.1% forks on proxy.golang.org
Top 0.3% docker downloads on proxy.golang.org

proxy.golang.org : github.com/honeycombio/dynsampler-go

Package dynsampler contains several sampling algorithms to help you select a representative set of events instead of a full stream. This package is intended to help sample a stream of tracking events, where events are typically created in response to a stream of traffic (for the purposes of logging or debugging). In general, sampling is used to reduce the total volume of events necessary to represent the stream of traffic in a meaningful way. For the purposes of these examples, the "traffic" will be a set of HTTP requests being handled by a server, and "event" will be a blob of metadata about a given HTTP request that might be useful to keep track of later. A "sample rate" of 100 means that for every 100 requests, we capture a single event and indicate that it represents 100 similar requests. Use the `Sampler` interface in your code. Each different sampling algorithm implements the Sampler interface. The following guidelines can help you choose a sampler. Depending on the shape of your traffic, one may serve better than another, or you may need to write a new one! Please consider contributing it back to this package if you do. * If your system has a completely homogeneous stream of requests: use `Static` to use a constant sample rate. * If your system has a steady stream of requests and a well-known low cardinality partition key (e.g. http status): use `Static` and override sample rates on a per-key basis (e.g. if you know want to sample `HTTP 200/OK` events at a different rate from `HTTP 503/Server Error`). * If your logging system has a strict cap on the rate it can receive events, use `TotalThroughput`, which will calculate sample rates based on keeping *the entire system's* representative event throughput right around (or under) particular cap. * If your system has a rough cap on the rate it can receive events and your partitioned keyspace is fairly steady, use `PerKeyThroughput`, which will calculate sample rates based on keeping the event throughput roughly constant *per key/partition* (e.g. per user id) * The best choice for a system with a large key space and a large disparity between the highest volume and lowest volume keys is `AvgSampleRateWithMin` - it will increase the sample rate of higher volume traffic proportionally to the logarithm of the specific key's volume. If total traffic falls below a configured minimum, it stops sampling to avoid any sampling when the traffic is too low to warrant it. * `EMASampleRate` works like `AvgSampleRate`, but calculates sample rates based on a moving average (Exponential Moving Average) of many measurement intervals rather than a single isolated interval. In addition, it can detect large bursts in traffic and will trigger a recalculation of sample rates before the regular interval. Each sampler implementation below has additional configuration parameters and a detailed description of how it chooses a sample rate. Some implementations implement `SaveState` and `LoadState` - enabling you to serialize the Sampler's internal state and load it back. This is useful, for example, if you want to avoid losing calculated sample rates between process restarts.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/honeycombio/dynsampler-go
License: Apache-2.0
Latest release: over 1 year ago
First release: almost 6 years ago
Namespace: github.com/honeycombio
Dependent packages: 13
Dependent repositories: 12
Stars: 58 on GitHub
Forks: 8 on GitHub
Docker dependents: 4
Docker downloads: 81,840,692
See more repository details: repos.ecosyste.ms
Last synced: 6 days ago

Top 9.7% on proxy.golang.org
github.com/CircleCI-Public/slack-orb-go/packages/cli v0.0.0-20231215154809-579b01532039
Create custom Slack notifications for CircleCI job statuses
1 version - Latest release: over 1 year ago - 0 stars on GitHub
Top 9.7% on proxy.golang.org
github.com/opsramp/tracing-proxy v0.0.0-20231208055149-c5d51f40638c
15 versions - Latest release: over 1 year ago
Top 9.8% on proxy.golang.org
github.com/circleci/ex-service-template v0.0.0-20231114132537-cd6dbf6c3d7a
Service template for projects using ex
1 version - Latest release: over 1 year ago - 1 stars on GitHub
Top 5.6% on proxy.golang.org
github.com/honeycombio/honeyaws v1.4.7
Observability for your AWS load balancers, CloudFront, and more
8 versions - Latest release: over 1 year ago - 51 stars on GitHub
Top 4.4% on proxy.golang.org
github.com/honeycombio/refinery v1.21.0
Refinery is a trace-aware tail-based sampling proxy. It examines whole traces and intelligently a...
55 versions - Latest release: about 2 years ago - 1 dependent package - 1 dependent repositories - 176 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/honeycombio/samproxy v1.21.0
55 versions - Latest release: about 2 years ago
Top 8.2% on proxy.golang.org
github.com/honeycombio/malinois v1.21.0
Refinery is a trace-aware tail-based sampling proxy. It examines whole traces and intelligently a...
55 versions - Latest release: about 2 years ago - 176 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/circleci/ex/example v0.0.0-20220408085036-28767e0aa633
Common Go packages for the execution teams
3 versions - Latest release: about 3 years ago - 16 stars on GitHub
Top 8.6% on proxy.golang.org
github.com/jirs5/tracing-proxy v1.8.1
Refinery is a trace-aware sampling proxy. It collects spans emitted by your application, gathers ...
40 versions - Latest release: over 3 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/grafana/honeyaws v1.4.0
Observability for your AWS load balancers, CloudFront, and more
3 versions - Latest release: over 4 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/greymonster-mm/clicktail v0.0.0-20200812101004-1eafb7e3c703
1 version - Latest release: almost 5 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/dsoo/honeytail v1.1.4
Honeycomb's open-source agent. Contains various parsers for extracting structured data out of com...
7 versions - Latest release: almost 5 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/honeycombio/honeycomb-kubernetes-agent v1.5.0
Application visibility for Kubernetes.
8 versions - Latest release: over 5 years ago - 55 stars on GitHub
Past Dependents
Include Past Dependents

Check this option to include packages that no longer depend on this package in their latest version but previously did.