Sha256: 0094b6756ab95474b7fa240dca9082adbba280a108eecb9d1e235a5f73d4d4b3

Contents?: true

Size: 1.85 KB

Versions: 9

Compression:

Stored size: 1.85 KB

Contents

# OpenTelemetry RestClient Instrumentation

The OpenTelemetry RestClient gem is a community maintained instrumentation for the [RestClient][restclient-home] library.

## How do I get started?

Install the gem using:

```
gem install opentelemetry-instrumentation-restclient
```

Or, if you use [bundler][bundler-home], include `opentelemetry-instrumentation-restclient` in your `Gemfile`.

## Usage

To install the instrumentation, call `use` with the name of the instrumentation.

```ruby
OpenTelemetry::SDK.configure do |c|
  c.use 'OpenTelemetry::Instrumentation::RestClient'
end
```

Alternatively, you can also call `use_all` to install all the available instrumentation.

```ruby
OpenTelemetry::SDK.configure do |c|
  c.use_all
end
```

## How can I get involved?

The `opentelemetry-instrumentation-restclient` gem source is [on github][repo-github], along with related gems including `opentelemetry-api` and `opentelemetry-sdk`.

The OpenTelemetry Ruby gems are maintained by the OpenTelemetry-Ruby special interest group (SIG). You can get involved by joining us in [GitHub Discussions][discussions-url] 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].

## License

Apache 2.0 license. See [LICENSE][license-github] for more information.

[restclient-home]: https://github.com/rest-client/rest-client
[bundler-home]: https://bundler.io
[repo-github]: https://github.com/open-telemetry/opentelemetry-ruby
[license-github]: https://github.com/open-telemetry/opentelemetry-ruby/blob/main/LICENSE
[ruby-sig]: https://github.com/open-telemetry/community#ruby-sig
[community-meetings]: https://github.com/open-telemetry/community#community-meetings
[discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
opentelemetry-instrumentation-restclient-0.20.0 README.md
opentelemetry-instrumentation-restclient-0.19.4 README.md
opentelemetry-instrumentation-restclient-0.19.3 README.md
opentelemetry-instrumentation-restclient-0.19.2 README.md
opentelemetry-instrumentation-restclient-0.19.1 README.md
opentelemetry-instrumentation-restclient-0.19.0 README.md
opentelemetry-instrumentation-restclient-0.18.0 README.md
opentelemetry-instrumentation-restclient-0.17.0 README.md
opentelemetry-instrumentation-restclient-0.16.0 README.md