vmware-archive / wavefront-opentracing-sdk-go Goto Github PK
View Code? Open in Web Editor NEWWavefront OpenTracing Go SDK
License: Apache License 2.0
Wavefront OpenTracing Go SDK
License: Apache License 2.0
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.
See this commit id for Java SDK for reference.
wavefrontHQ/wavefront-opentracing-sdk-java@98c3869
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!
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.
Span.FinishWithOptions is only considering the FinishTime option. Should look at the spanlog options too.
Planning to file a PR addressing this shortly.
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.
As per https://www.w3.org/TR/trace-context/ - the tracing header should be formatted as follows:
traceparent: 00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01
tracestate: key=value,key=value
It appears that the current tracer (and the jaeger version) don't support this format.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.