Skip to content

Commit 88190bf

Browse files
chore: gRPC intrumentation: plug in Dependabot, update Readme and Changelog (#1399)
* ci(grpc): plug in dependabot * fix(grpc): update changelog to match the style * fix(grpc): update readme to match the style * fix(grpc): fix changelog copy-paste errors * Update instrumentation/grpc/CHANGELOG.md Co-authored-by: Kayla Reopelle <[email protected]> * Update instrumentation/grpc/CHANGELOG.md Co-authored-by: Kayla Reopelle <[email protected]> * Update instrumentation/grpc/CHANGELOG.md Co-authored-by: Kayla Reopelle <[email protected]> --------- Co-authored-by: Kayla Reopelle <[email protected]>
1 parent 70d3c8e commit 88190bf

File tree

3 files changed

+38
-26
lines changed

3 files changed

+38
-26
lines changed

.github/dependabot.yml

+4
Original file line numberDiff line numberDiff line change
@@ -201,3 +201,7 @@ updates:
201201
directory: "/resources/google_cloud_platform"
202202
schedule:
203203
interval: weekly
204+
- package-ecosystem: bundler
205+
directory: "/instrumentation/grpc"
206+
schedule:
207+
interval: weekly

instrumentation/grpc/CHANGELOG.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
## [Unreleased]
1+
# Release History: opentelemetry-instrumentation-grpc
22

33
### v0.2.0 / 2025-01-16
44

55
* BREAKING CHANGE: Set minimum supported version to Ruby 3.1
66

77
* ADDED: Set minimum supported version to Ruby 3.1
88

9-
## [0.1.3] - 2024-09-11
9+
### v0.1.3 / 2024-09-11
1010

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)
1313

14-
## [0.1.2] - 2024-06-26
14+
### v0.1.2 / 2024-06-26
1515

16-
- Align span naming with spec
16+
* FIXED: Align span naming with spec
1717

18-
## [0.1.1] - 2024-06-26
18+
### v0.1.1 / 2024-06-26
1919

20-
- Fix `uninitialized constant Interceptors` error
20+
* FIXED: Fix `uninitialized constant Interceptors` error
2121

22-
## [0.1.0] - 2024-06-18
22+
### v0.1.0 / 2024-06-18
2323

24-
- Initial release
24+
* Initial release

instrumentation/grpc/README.md

+24-16
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,25 @@
1-
# OpenTelemetry::Instrumentation::Grpc
1+
# OpenTelemetry gRPC Instrumentation
22
> [!CAUTION]
33
> This gem is not ready for release by the open-telemetry org yet, but other versions are available on RubyGems
44
55
[![Gem Version](https://badge.fury.io/rb/opentelemetry-instrumentation-grpc.svg)](https://badge.fury.io/rb/opentelemetry-instrumentation-grpc)
66
[![GitHub Actions CI Status](https://github.com/hibachrach/opentelemetry-instrumentation-grpc/actions/workflows/main.yml/badge.svg)](https://github.com/hibachrach/opentelemetry-instrumentation-grpc/actions?query=branch%3Amain)
77

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.
99

1010
> [!WARNING]
1111
> Right now, the gem only instruments outbound requests to gRPC services
1212
13-
## Installation
13+
## How do I get started?
1414

15-
Install the gem and add to the application's Gemfile by executing:
15+
Install the gem using:
1616

17-
```sh
18-
$ bundle add opentelemetry-instrumentation-grpc
17+
```console
18+
gem install opentelemetry-instrumentation-grpc
1919
```
2020

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`.
2222

23-
```sh
24-
$ gem install opentelemetry-instrumentation-grpc
25-
```
2623

2724
## Usage
2825

@@ -46,6 +43,10 @@ instrumentation.
4643
end
4744
```
4845

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+
4950
## Development
5051

5152
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.
5455
bundle exec grpc_tools_ruby_protoc --ruby_out=. --grpc_out=. test/support/proto/ping.proto
5556
```
5657

57-
## Contributing
58+
## How can I get involved?
5859

59-
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`.
6061

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].
6263

63-
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
64+
## License
6465

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.
6667

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).
68+
[grpc-home]: https://github.com/grpc/grpc
69+
[bundler-home]: https://bundler.io
70+
[repo-github]: https://github.com/open-telemetry/opentelemetry-ruby
71+
[license-github]: https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/LICENSE
72+
[ruby-sig]: https://github.com/open-telemetry/community#ruby-sig
73+
[community-meetings]: https://github.com/open-telemetry/community#community-meetings
74+
[slack-channel]: https://cloud-native.slack.com/archives/C01NWKKMKMY
75+
[discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions

0 commit comments

Comments
 (0)