Skip to content

Commit 60a3ab2

Browse files
committed
update readme
1 parent ef5f348 commit 60a3ab2

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

zero-code-instrumentation/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,17 @@ gem install zero-code-instrumentation
2323
```
2424

2525
Install zero-code-instrumentation will automatically install following gems:
26-
27-
opentelemetry-sdk
28-
opentelemetry-api
29-
opentelemetry-instrumentation-all
30-
opentelemetry-exporter-otlp
31-
opentelemetry-helpers-mysql
32-
opentelemetry-helpers-sql-obfuscation
33-
opentelemetry-resource-detector-google_cloud_platform
34-
opentelemetry-resource-detector-azure
35-
opentelemetry-resource-detector-container
26+
```console
27+
opentelemetry-sdk
28+
opentelemetry-api
29+
opentelemetry-instrumentation-all
30+
opentelemetry-exporter-otlp
31+
opentelemetry-helpers-mysql
32+
opentelemetry-helpers-sql-obfuscation
33+
opentelemetry-resource-detector-google_cloud_platform
34+
opentelemetry-resource-detector-azure
35+
opentelemetry-resource-detector-container
36+
```
3637

3738
Instrument your application:
3839

@@ -87,7 +88,7 @@ Since installing the `zero-code-instrumentation` gem through `gem install`, anyt
8788
RUBYOPT="-r {PUT YOUR GEM PATH}/gems/zero-code-instrumentation-0.1.0/lib/zero-code-instrumentation" bundle exec rails server
8889
```
8990

90-
Instrument Sinatra application with rackup:
91+
Instrument Sinatra application with `rackup`:
9192

9293
If you are using a Gemfile to install the required gems but without `Bundler.require`, set `REQUIRE_BUNDLER` to true. This way, `zero-code-instrumentation` will call `Bundler.require` to initialize the required gems prior to SDK initialization.
9394

@@ -147,5 +148,4 @@ The `zero-code-instrumentation` gem is distributed under the Apache 2.0 license.
147148
[community-meetings]: https://github.com/open-telemetry/community#community-meetings
148149
[slack-channel]: https://cloud-native.slack.com/archives/C01NWKKMKMY
149150
[discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions
150-
[k8sattributesprocessor-url]: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/k8sattributesprocessor/README.md
151151
[opentelemetry-operator]: https://github.com/open-telemetry/opentelemetry-operator

0 commit comments

Comments
 (0)