You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* BREAKING CHANGE: Set minimum supported version to Ruby 3.1
6
6
7
7
* ADDED: Set minimum supported version to Ruby 3.1
8
8
9
-
##[0.1.3] - 2024-09-11
9
+
### v0.1.3 / 2024-09-11
10
10
11
-
- Fix error in handling of non-gRPC errors
12
-
- Fix error in method signature for OpenTelemetry::Instrumentation::Grpc.client_interceptor [#1](https://github.com/hibachrach/opentelemetry-instrumentation-grpc/pull/1)
11
+
* FIXED: Fix error in handling of non-gRPC errors
12
+
* FIXED: Fix error in method signature for OpenTelemetry::Instrumentation::Grpc.client_interceptor [#1](https://github.com/hibachrach/opentelemetry-instrumentation-grpc/pull/1)
[](https://github.com/hibachrach/opentelemetry-instrumentation-grpc/actions?query=branch%3Amain)
7
7
8
-
OpenTelemetry instrumentation for users of the `grpc` gem
8
+
OpenTelemetry instrumentation for users of the [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) gem.
9
9
10
10
> [!WARNING]
11
11
> Right now, the gem only instruments outbound requests to gRPC services
12
12
13
-
## Installation
13
+
## How do I get started?
14
14
15
-
Install the gem and add to the application's Gemfile by executing:
15
+
Install the gem using:
16
16
17
-
```sh
18
-
$ bundle add opentelemetry-instrumentation-grpc
17
+
```console
18
+
gem install opentelemetry-instrumentation-grpc
19
19
```
20
20
21
-
If bundler is not being used to manage dependencies, install the gem by executing:
21
+
Or, if you use [bundler][bundler-home], include `opentelemetry-instrumentation-grpc` to your `Gemfile`.
22
22
23
-
```sh
24
-
$ gem install opentelemetry-instrumentation-grpc
25
-
```
26
23
27
24
## Usage
28
25
@@ -46,6 +43,10 @@ instrumentation.
46
43
end
47
44
```
48
45
46
+
## Examples
47
+
48
+
Example usage can be seen in the `./example/trace_demonstration.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/instrumentation/grpc/example/trace_demonstration.rb)
49
+
49
50
## Development
50
51
51
52
Integration tests rely on a real gRPC server that is started by relevant tests. The proto definition is located in `test/support/proto/ping.proto`. Making changes to the proto definition requires re-creating gRPC-generated code. To do this, run the following command:
@@ -54,14 +55,21 @@ Integration tests rely on a real gRPC server that is started by relevant tests.
Bug reports and pull requests are welcome on GitHub at https://github.com/open-telemetry/opentelemetry-ruby-contrib. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/CODE_OF_CONDUCT.md).
60
+
The `opentelemetry-instrumentation-grpc` gem source is [on github][repo-github], along with related gems including `opentelemetry-api`and `opentelemetry-sdk`.
60
61
61
-
## License
62
+
The OpenTelemetry Ruby gems are maintained by the OpenTelemetry Ruby special interest group (SIG). You can get involved by joining us on our [GitHub Discussions][discussions-url], [Slack Channel][slack-channel] or attending our weekly meeting. See the [meeting calendar][community-meetings] for dates and times. For more information on this and other language SIGs, see the OpenTelemetry [community page][ruby-sig].
62
63
63
-
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
64
+
## License
64
65
65
-
## Code of Conduct
66
+
The `opentelemetry-instrumentation-grpc` gem is distributed under the Apache 2.0 license. See [LICENSE][license-github] for more information.
66
67
67
-
Everyone interacting in the OpenTelemetry::Instrumentation::Grpc project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/CODE_OF_CONDUCT.md).
0 commit comments