Skip to content

Commit 43fc00a

Browse files
committed
T-4821 Use ingestion_* options, update outdated naming
1 parent 0af81bc commit 43fc00a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

example-project/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This will install all dependencies listed in the `Gemfile.lock` file.
1515
Then replace `<source_token>` and `<ingesting_host>` in `config.ru` with your actual source token and ingesting host which you can find by going to [Better Stack Telemetry](https://teleemetry.betterstack.com/dashboard) -> Source -> Configure.
1616

1717
```ruby
18-
http_io_device = Logtail::LogDevices::HTTP.new("<source_token>", logtail_host: "<ingesting_host>")
18+
http_io_device = Logtail::LogDevices::HTTP.new("<source_token>", ingesting_host: "<ingesting_host>")
1919
```
2020

2121
## Run the example project

example-project/config.ru

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use Logtail::Integrations::Rack::HTTPEvents
77
use Logtail::Integrations::Rack::ErrorEvent
88

99
# HTTP IO device sends logs to Better Stack, replace <source_token> and <ingesting_host> with your real source token and ingesting host
10-
http_io_device = Logtail::LogDevices::HTTP.new("<source_token>", logtail_host: "<ingesting_host>")
10+
http_io_device = Logtail::LogDevices::HTTP.new("<source_token>", ingesting_host: "<ingesting_host>")
1111

1212
# STDOUT IO device sends logs to console output
1313
stdout_io_device = STDOUT

logtail-ruby-rack.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ require "logtail-rack/version"
55
Gem::Specification.new do |spec|
66
spec.name = "logtail-rack"
77
spec.version = Logtail::Integrations::Rack::VERSION
8-
spec.authors = ["Logtail"]
9-
spec.email = ["hi@logtail.com"]
8+
spec.authors = ["Better Stack"]
9+
spec.email = ["hello@betterstack.com"]
1010

1111
spec.summary = %q{Logtail integration for Rack}
1212
spec.homepage = "https://github.com/logtail/logtail-ruby-rack"

0 commit comments

Comments
 (0)