How To Install golang-github-opentracing-contrib-observer-devel on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-opentracing-contrib-observer-devel
on Fedora 36.
What is golang-github-opentracing-contrib-observer-devel
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
We can use yum
or dnf
to install golang-github-opentracing-contrib-observer-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-opentracing-contrib-observer-devel.
Install golang-github-opentracing-contrib-observer-devel on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install golang-github-opentracing-contrib-observer-devel
using dnf
by running the following command:
sudo dnf -y install golang-github-opentracing-contrib-observer-devel
Install golang-github-opentracing-contrib-observer-devel on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install golang-github-opentracing-contrib-observer-devel
using yum
by running the following command:
sudo yum -y install golang-github-opentracing-contrib-observer-devel
How To Uninstall golang-github-opentracing-contrib-observer-devel on Fedora 36
To uninstall only the golang-github-opentracing-contrib-observer-devel
package we can use the following command:
sudo dnf remove golang-github-opentracing-contrib-observer-devel
golang-github-opentracing-contrib-observer-devel Package Contents on Fedora 36
/usr/share/doc/golang-github-opentracing-contrib-observer-devel
/usr/share/doc/golang-github-opentracing-contrib-observer-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/opentracing-contrib
/usr/share/gocode/src/github.com/opentracing-contrib/go-observer
/usr/share/gocode/src/github.com/opentracing-contrib/go-observer/.goipath
/usr/share/gocode/src/github.com/opentracing-contrib/go-observer/README.md
/usr/share/gocode/src/github.com/opentracing-contrib/go-observer/observer.go
/usr/share/licenses/golang-github-opentracing-contrib-observer-devel
/usr/share/licenses/golang-github-opentracing-contrib-observer-devel/LICENSE
References
Summary
In this tutorial we learn how to install golang-github-opentracing-contrib-observer-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).