Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
haotianw465 committed Sep 25, 2018
1 parent fa3a55e commit 3e6910b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,15 @@ The [API Reference](http://docs.aws.amazon.com/xray-sdk-for-ruby/latest/referenc
```ruby
require 'aws-xray-sdk'

# configure path based sampling rules in case of web app
# For configuring sampling rules through X-Ray service
# please see https://docs.aws.amazon.com/xray/latest/devguide/xray-console-sampling.html.
# The doc below defines local fallback sampling rules which has lower priority.
my_sampling_rules = {
version: 1,
version: 2,
rules: [
{
description: 'healthcheck',
service_name: '*',
host: '*',
http_method: 'GET',
url_path: '/ping',
fixed_target: 0,
Expand Down

0 comments on commit 3e6910b

Please sign in to comment.