Skip to content

Commit

Permalink
With NewRelic
Browse files Browse the repository at this point in the history
  • Loading branch information
idjohnson committed Jul 21, 2023
1 parent 92c25c7 commit fa12c02
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -54,3 +54,4 @@ build-iPhoneSimulator/

# Used by RuboCop. Remote config files pulled in from inherit_from directive.
# .rubocop-https?--*
newrelic.yml
3 changes: 3 additions & 0 deletions Gemfile
Expand Up @@ -8,3 +8,6 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
gem 'pg'
gem 'puma'
gem "sinatra"

gem 'newrelic_rpm'
gem 'newrelic-infinite_tracing'
12 changes: 12 additions & 0 deletions Gemfile.lock
@@ -1,8 +1,18 @@
GEM
remote: https://rubygems.org/
specs:
google-protobuf (3.23.4-x86_64-linux)
googleapis-common-protos-types (1.7.0)
google-protobuf (~> 3.14)
grpc (1.56.2-x86_64-linux)
google-protobuf (~> 3.23)
googleapis-common-protos-types (~> 1.0)
mustermann (3.0.0)
ruby2_keywords (~> 0.0.1)
newrelic-infinite_tracing (9.3.1)
grpc (~> 1.34)
newrelic_rpm (= 9.3.1)
newrelic_rpm (9.3.1)
nio4r (2.5.9)
pg (1.5.3)
puma (6.3.0)
Expand All @@ -22,6 +32,8 @@ PLATFORMS
x86_64-linux

DEPENDENCIES
newrelic-infinite_tracing
newrelic_rpm
pg
puma
sinatra
Expand Down
2 changes: 2 additions & 0 deletions helloworld.rb
@@ -1,5 +1,7 @@
require 'sinatra'
require 'pg'
require 'newrelic_rpm'
require 'newrelic/infinite_tracing'

set :port, 4000
set :bind, '0.0.0.0'
Expand Down

0 comments on commit fa12c02

Please sign in to comment.