Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a TOML->YAML conversion whoopsie #163

Merged
merged 1 commit into from
Aug 4, 2022
Merged
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
6 changes: 1 addition & 5 deletions charts/refinery/sample-configs/rules_complete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -221,15 +221,14 @@ dataset4:
Sampler: RulesBasedSampler
# Optional, if set to true then the rules will also check nested json fields, in the format of parent.child
CheckNestedFields: false
dataset4.rule:
rule:
- name: "drop healthchecks"
drop: true
condition:
field: http.route
operator: '='
value: "/health-check"

dataset4.rule:
- name: "keep slow 500 errors"
SampleRate: 1
condition:
Expand All @@ -240,7 +239,6 @@ dataset4:
operator: '>='
value: 1000.789

dataset4.rule:
- name: "dynamically sample 200 responses"
condition:
- field: status_code
Expand All @@ -255,7 +253,6 @@ dataset4:
AddSampleRateKeyToTrace: true
AddSampleRateKeyToTraceField: "meta.refinery.dynsampler_key"

dataset4.rule:
- name: "sample traces originating from a service"
scope: "span"
sampleRate: 5
Expand All @@ -267,7 +264,6 @@ dataset4:
operator: "="
value: "root"

dataset4.rule:
- SampleRate: 10 # default when no rules match

dataset5:
Expand Down