1
1
![ ] ( docs/anim-logo.svg )
2
2
3
- [ ![ ] ( https://shields.io/badge/Docs-English-blue?logo=Read%20The%20Docs )] ( ./docs/README.md )
4
- [ ![ ] ( https://shields.io/badge/Readme-中文-blue?logo=Read%20The%20Docs )] ( ./docs/README_CN.md )
5
- [ ![ codecov] ( https://codecov.io/gh/alibaba/opentelemetry-go-auto-instrumentation/branch/main/graph/badge.svg )] ( https://codecov.io/gh/alibaba/opentelemetry-go-auto-instrumentation )
6
- [ ![ ] ( https://shields.io/badge/Commercial-Aliyun-orange?logo=alibabacloud )] ( https://help.aliyun.com/zh/arms/application-monitoring/getting-started/monitoring-the-golang-applications )
3
+ [ ![ ] ( https://shields.io/badge/Docs-English-blue?logo=Read%20The%20Docs )] ( ./README.md )   ;
4
+ [ ![ ] ( https://shields.io/badge/Readme-中文-blue?logo=Read%20The%20Docs )] ( ./docs/README_CN.md )   ;
5
+ [ ![ codecov] ( https://codecov.io/gh/alibaba/opentelemetry-go-auto-instrumentation/branch/main/graph/badge.svg )] ( https://codecov.io/gh/alibaba/opentelemetry-go-auto-instrumentation )   ;
6
+ [ ![ ] ( https://shields.io/badge/Aliyun-Commercial-orange?logo=alibabacloud )] ( https://help.aliyun.com/zh/arms/application-monitoring/getting-started/monitoring-the-golang-applications )   ;
7
+ [ ![ ] ( https://img.shields.io/badge/New-Adopter-orange?logo=githubsponsors )] ( https://github.com/alibaba/opentelemetry-go-auto-instrumentation/issues/225 )   ;
7
8
8
9
This project provides an automatic solution for Golang applications that want to
9
10
leverage OpenTelemetry to enable effective observability. No code changes are
@@ -13,7 +14,7 @@ time. Simply adding `otel` prefix to `go build` to get started :rocket:
13
14
# Installation
14
15
15
16
### Install via Bash
16
- For ** Linux and MacOS** users, install the tool by running the following command
17
+ For Linux and MacOS users, install the tool by running the following command
17
18
``` bash
18
19
$ sudo curl -fsSL https://cdn.jsdelivr.net/gh/alibaba/opentelemetry-go-auto-instrumentation@main/install.sh | sudo bash
19
20
```
@@ -36,6 +37,11 @@ $ make install # build and install
36
37
37
38
# Getting Started
38
39
40
+ Check the version by running:
41
+ ``` bash
42
+ $ otel version
43
+ ```
44
+
39
45
The configuration for the tool can be set by the following command:
40
46
41
47
``` bash
@@ -45,7 +51,7 @@ $ otel set -rule=custom.json # use default and custom rules
45
51
$ otel set -debug -verbose -rule=custom.json # set multiple configs
46
52
```
47
53
48
- Normally, you don't need to set any configurations. Just adding ` otel ` prefix to ` go build ` to build your project:
54
+ ** Normally, you don't need to set any configurations. Just adding ` otel ` prefix to ` go build ` to build your project:**
49
55
50
56
``` bash
51
57
$ otel go build
@@ -63,26 +69,44 @@ The detailed usage of `otel` tool can be found in [**Usage**](./docs/usage.md).
63
69
> at [ GitHub Issues] ( https://github.com/alibaba/opentelemetry-go-auto-instrumentation/issues )
64
70
> to help us enhance this project.
65
71
72
+ # Examples
73
+
74
+ You can also explore [ ** these examples** ] ( ./example/ ) to get hands-on experience. They are designed to construct a full picture of how to use the tool in different scenarios.
75
+
76
+ Also there are several [ ** documents** ] ( ./docs ) that you may find useful for either understanding the project or contributing to it.
77
+
66
78
# Supported Libraries
67
79
68
- | Plugin Name | Repository Url | Min Supported Version | Max Supported Version |
69
- | ------------ | ------------------------------------------ | --------------------- | --------------------- |
70
- | database/sql | https://pkg.go.dev/database/sql | - | - |
71
- | echo | https://github.com/labstack/echo | v4.0.0 | v4.12.0 |
72
- | fasthttp | https://github.com/valyala/fasthttp | v1.45.0 | v1.57.0 |
73
- | gin | https://github.com/gin-gonic/gin | v1.7.0 | v1.10.0 |
74
- | go-redis | https://github.com/redis/go-redis | v9.0.5 | v9.5.1 |
75
- | gorm | https://github.com/go-gorm/gorm | v1.22.0 | v1.25.9 |
76
- | grpc | https://google.golang.org/grpc | v1.44.0 | v1.67.0 |
77
- | hertz | https://github.com/cloudwego/hertz | v0.8.0 | v0.9.2 |
78
- | kratos | https://github.com/go-kratos/kratos | v2.6.3 | v2.8.2 |
79
- | log | https://pkg.go.dev/log | - | - |
80
- | logrus | https://github.com/sirupsen/logrus | v1.5.0 | v1.9.3 |
81
- | mongodb | https://github.com/mongodb/mongo-go-driver | v1.11.1 | v1.15.2 |
82
- | mux | https://github.com/gorilla/mux | v1.3.0 | v1.8.1 |
83
- | net/http | https://pkg.go.dev/net/http | - | - |
84
- | slog | https://pkg.go.dev/log/slog | - | - |
85
- | zap | https://github.com/uber-go/zap | v1.20.0 | v1.27.0 |
80
+ | Plugin Name | Repository Url | Min Supported Version | Max Supported Version |
81
+ | ---------------| ---------------------------------------------- | -----------------------| -----------------------|
82
+ | database/sql | https://pkg.go.dev/database/sql | - | - |
83
+ | echo | https://github.com/labstack/echo | v4.0.0 | v4.12.0 |
84
+ | elasticsearch | https://github.com/elastic/go-elasticsearch | v8.4.0 | v8.15.0 |
85
+ | fasthttp | https://github.com/valyala/fasthttp | v1.45.0 | v1.59.0 |
86
+ | fiber | https://github.com/gofiber/fiber | v2.43.0 | v2.52.6 |
87
+ | gin | https://github.com/gin-gonic/gin | v1.7.0 | v1.10.0 |
88
+ | go-redis | https://github.com/redis/go-redis | v9.0.5 | v9.5.1 |
89
+ | go-redis v8 | https://github.com/redis/go-redis | v8.11.0 | v8.11.5 |
90
+ | gomicro | https://github.com/micro/go-micro | v5.0.0 | v5.3.0 |
91
+ | gorestful | https://github.com/emicklei/go-restful | v3.7.0 | v3.12.1 |
92
+ | gorm | https://github.com/go-gorm/gorm | v1.22.0 | v1.25.9 |
93
+ | grpc | https://google.golang.org/grpc | v1.44.0 | v1.71.0 |
94
+ | hertz | https://github.com/cloudwego/hertz | v0.8.0 | v0.9.2 |
95
+ | iris | https://github.com/kataras/iris | v12.2.0 | v12.2.11 |
96
+ | kitex | https://github.com/cloudwego/kitex | v0.5.1 | v0.11.3 |
97
+ | kratos | https://github.com/go-kratos/kratos | v2.6.3 | v2.8.4 |
98
+ | langchaingo | https://github.com/tmc/langchaingo | v0.1.13 | v0.1.13 |
99
+ | log | https://pkg.go.dev/log | - | - |
100
+ | logrus | https://github.com/sirupsen/logrus | v1.5.0 | v1.9.3 |
101
+ | mongodb | https://github.com/mongodb/mongo-go-driver | v1.11.1 | v1.15.1 |
102
+ | mux | https://github.com/gorilla/mux | v1.3.0 | v1.8.1 |
103
+ | nacos | https://github.com/nacos-group/nacos-sdk-go/v2 | v2.0.0 | v2.2.7 |
104
+ | net/http | https://pkg.go.dev/net/http | - | - |
105
+ | redigo | https://github.com/gomodule/redigo | v1.9.0 | v1.9.2 |
106
+ | slog | https://pkg.go.dev/log/slog | - | - |
107
+ | trpc-go | https://github.com/trpc-group/trpc-go | v1.0.0 | v1.0.3 |
108
+ | zap | https://github.com/uber-go/zap | v1.20.0 | v1.27.0 |
109
+ | zerolog | https://github.com/rs/zerolog | v1.10.0 | v1.33.0 |
86
110
87
111
We are progressively open-sourcing the libraries we have supported, and your contributions are very welcome 💖!
88
112
@@ -99,9 +123,12 @@ to engage with us.
99
123
100
124
<img src =" docs/dingtalk.png " height =" 200 " >
101
125
102
- # Adopters
126
+ We would thankfully acknowledge the following contributors for their valuable contributions to this project:
127
+
128
+ <a href =" https://github.com/alibaba/opentelemetry-go-auto-instrumentation/graphs/contributors " >
129
+ <img alt =" contributors " src =" https://contrib.rocks/image?repo=alibaba/opentelemetry-go-auto-instrumentation " height =" 100 " />
130
+ </a >
103
131
104
- These are only part of the companies using this project, for reference only. If you are using this project, please [ add your company here ] ( https://github.com/alibaba/opentelemetry-go-auto-instrumentation/issues/225 ) to tell us your scenario to make this project better.
132
+ The star history of this project is as follows, which shows the growth of this project over time:
105
133
106
- - <img src =" ./docs/alibaba.png " width =" 80 " >
107
- - <img src =" ./docs/aliyun.png " width =" 100 " >
134
+ <img src =" https://api.star-history.com/svg?repos=alibaba/opentelemetry-go-auto-instrumentation&type=Date " height =" 200 " >
0 commit comments