Observer API for OpenTracing-Go Tracers
OTObserver can be used to watch the span events like StartSpan(), SetOperationName(), SetTag() and Finish(). A need for observers arose when information (metrics) more than just the latency information was required for the spans, in the distributed tracers. But, there can be a lot of metrics in different domains and adding such metrics to any one (client) tracer breaks cross-platform compatibility. There are various ways to avoid such issues, however, an observer pattern is cleaner and provides loose coupling between the packages exporting metrics (on span events) and the tracer. This information can be in the form of hardware metrics, RPC metrics, useful metrics exported out of the kernel or other metrics, profiled for a span. These additional metrics can help us in getting better Root-cause analysis. With that being said, its not just for calculation of metrics, it can be used for anything which needs watching the span events. This package contains the source code needed for building packages that reference the following Go import paths: – github.com/opentracing-contrib/go-observer
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 0-0.6.20190701gita52f234.fc35 | - |
Fedora 35 | 0-0.6.20190701gita52f234.fc35 | - |
Fedora 34 | 0-0.5.20190701gita52f234.fc34 | - |
You can contact the maintainers of this package via email at
golang-github-opentracing-contrib-observer dash maintainers at fedoraproject dot org
.