README.md in aspecto-opentelemetry-0.1.2 vs README.md in aspecto-opentelemetry-0.1.3
- old
+ new
@@ -24,11 +24,11 @@
```rb
# config/initializers/aspecto.rb
require 'aspecto/opentelemetry'
Aspecto::OpenTelemetry::configure do |c|
- c.service_name = '<YOUR_SERIVCE_NAME>'
+ c.service_name = '<YOUR_SERVICE_NAME>'
c.aspecto_auth = '<YOUR_ASPECTO_TOKEN>'
# c.sampling_ratio = 1.0 # [optional]: defaults to 1.0, use aspecto app to configure remotely
end
```
@@ -41,11 +41,11 @@
```
And set environment variables:
```
-OTEL_SERVICE_NAME=<YOUR_SERIVCE_NAME>
+OTEL_SERVICE_NAME=<YOUR_SERVICE_NAME>
ASPECTO_AUTH=<YOUR_ASPECTO_TOKEN>
# ASPECTO_SAMPLING_RATIO=1.0 # [optional]: defaults to 1.0, use aspecto app to configure remotely
```
### Ruby Applications
@@ -56,11 +56,11 @@
```rb
require 'aspecto/opentelemetry'
Aspecto::OpenTelemetry::configure do |c|
- c.service_name = '<YOUR_SERIVCE_NAME>'
+ c.service_name = '<YOUR_SERVICE_NAME>'
c.aspecto_auth = '<YOUR_ASPECTO_TOKEN>'
# c.env = '<CURRENT_ENVIRONMENT>' # [optional]: automatically detected for rails and sinatra
# c.sampling_ratio = 1.0 # [optional]: defaults to 1.0, use aspecto app to configure remotely
end
```
@@ -74,10 +74,10 @@
```
And set environment variables:
```
-OTEL_SERVICE_NAME=<YOUR_SERIVCE_NAME>
+OTEL_SERVICE_NAME=<YOUR_SERVICE_NAME>
ASPECTO_AUTH=<YOUR_ASPECTO_TOKEN>
# ASPECTO_ENV=<CURRENT_ENVIRONMENT> # [optional]: automatically detected for rails and sinatra
# ASPECTO_SAMPLING_RATIO=1.0 # [optional]: defaults to 1.0, use aspecto app to configure remotely
```