Skip to content

Commit

Permalink
T-4821 Use ingestion_* options, update outdated naming
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrHeinz committed Feb 10, 2025
1 parent 0af81bc commit 43fc00a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion example-project/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This will install all dependencies listed in the `Gemfile.lock` file.
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.

```ruby
http_io_device = Logtail::LogDevices::HTTP.new("<source_token>", logtail_host: "<ingesting_host>")
http_io_device = Logtail::LogDevices::HTTP.new("<source_token>", ingesting_host: "<ingesting_host>")
```

## Run the example project
Expand Down
2 changes: 1 addition & 1 deletion example-project/config.ru
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use Logtail::Integrations::Rack::HTTPEvents
use Logtail::Integrations::Rack::ErrorEvent

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

# STDOUT IO device sends logs to console output
stdout_io_device = STDOUT
Expand Down
4 changes: 2 additions & 2 deletions logtail-ruby-rack.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ require "logtail-rack/version"
Gem::Specification.new do |spec|
spec.name = "logtail-rack"
spec.version = Logtail::Integrations::Rack::VERSION
spec.authors = ["Logtail"]
spec.email = ["hi@logtail.com"]
spec.authors = ["Better Stack"]
spec.email = ["hello@betterstack.com"]

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

0 comments on commit 43fc00a

Please sign in to comment.