Created
August 30, 2023 09:12
-
-
Save SodaDev/6c217bff8620dfa8a321f721207d6470 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: core-api-errors-sampling-policy | |
type: and | |
and: | |
and_sub_policy: | |
- name: error-policy | |
type: status_code | |
status_code: | |
status_codes: | |
- "ERROR" | |
- name: probabilistic-policy | |
type: probabilistic | |
probabilistic: | |
sampling_percentage: ${CoreApiErrorSamplingPercentage} | |
- name: core-api-prefix-policy | |
type: string_attribute | |
string_attribute: | |
key: service.name | |
values: | |
- core-api* | |
enabled_regex_matching: true | |
- name: core-api-sampling | |
type: and | |
and: | |
and_sub_policy: | |
- name: core-api-prefix-policy | |
type: string_attribute | |
string_attribute: | |
key: service.name | |
values: | |
- core-api* | |
enabled_regex_matching: true | |
- name: core-api-probabilistic-policy | |
type: probabilistic | |
probabilistic: | |
sampling_percentage: ${CoreApiSamplingPercentage} | |
- name: cs-errors-sampling-policy | |
type: and | |
and: | |
and_sub_policy: | |
- name: error-policy | |
type: status_code | |
status_code: | |
status_codes: | |
- "ERROR" | |
- name: probabilistic-policy | |
type: probabilistic | |
probabilistic: | |
sampling_percentage: ${CsErrorSamplingPercentage} | |
- name: cs-prefix-policy | |
type: string_attribute | |
string_attribute: | |
key: service.name | |
values: | |
- cs* | |
enabled_regex_matching: true | |
- name: cs-sampling | |
type: and | |
and: | |
and_sub_policy: | |
- name: cs-prefix-policy | |
type: string_attribute | |
string_attribute: | |
key: service.name | |
values: | |
- cs* | |
enabled_regex_matching: true | |
- name: cs-probabilistic-policy | |
type: probabilistic | |
probabilistic: | |
sampling_percentage: ${CsSamplingPercentage} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment