Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions templates/nginx.oboe.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
# oboe_tracing_mode: When traces should be initiated for incoming
# requests. Valid options are "always", "through", and "never".
# Default is "always".
oboe_tracing_mode <%= tracing_mode %>;
oboe_tracing_mode <%= @tracing_mode %>;

# oboe_sampling_rate: The number of requests out of every million that
# will be traced; must be an integer between 0 and 1000000.
# Default is 300000 (30%).
oboe_sampling_rate <%= sampling_rate %>;
oboe_sampling_rate <%= @sampling_rate %>;
4 changes: 2 additions & 2 deletions templates/oboe.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
# request is initiated with a tracing header from upstream) and
# "never". You must set this directive to "always" in order to
# initiate tracing.
OboeTracingMode <%= tracing_mode %>
OboeTracingMode <%= @tracing_mode %>

# OboeSamplingRate: This value reflects the number of requests out
# of every million that will be traced, and must be an integer
# between 0 and 1000000. Default is 300000 (30%).
OboeSamplingRate <%= sampling_rate %>
OboeSamplingRate <%= @sampling_rate %>

# By default, don't trace requests for static files. Feel free to
# change the file extensions listed here.
Expand Down
2 changes: 1 addition & 1 deletion templates/tracelytics.conf.erb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
tracelyzer.access_key=<%= access_key %>
tracelyzer.access_key=<%= @access_key %>