Giter VIP home page Giter VIP logo

wavefront-opentracing-sdk-go's Issues

A CappedRateSampler is needed

It would be great to have a variation of the RateSampler that's capped at a specific number of samples per minute. For example, I'd like to specify that I'd like at the most 100 samples per minute. The sampler would then adaptively calculate a rate that gives approximately that number of samples per minute and block any additional samples from being sent during that time period.

I have code for this that I could put in a PR if you're interested.

SpanLogs are not working

There's a bug in RawSpan.LogKV preventing it from working. The array sent to InterleavedKVToFields needs to be flattened.

Filing a PR for this shortly!

SpanReporter should use custom registry for derived metrics

Based on user feedback. The span reporter relies on the default metrics registry for the derived metrics.

If a user is using the span reporter and a custom metrics reporter (go-metrics) alongside each other, they'll both use the default registry and stomp on each other.

We should update the span reporter to use a custom registry for derived metrics as well.

http.status_code gets dropped from RED metrics when specified in redMetricsCustomTagKeys

By default, http.status_code gets promoted to the error counter for error spans. But it gets dropped before request and duration RED metrics are sent (https://github.com/wavefrontHQ/wavefront-opentracing-sdk-go/blob/master/reporter/reporter.go#L277). If it is specified in redMetricsCustomTagKeys, http.status_code should not get dropped from request and duration metrics.

This can be fixed by promoting http.status_code by default to all RED metrics for any span, which would be consistent with the update that is being made for java SDKs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.