chassis-agent/statsd_mapping.yml

101 lines
2.2 KiB
YAML
Raw Normal View History

mappings:
2023-07-02 03:46:52 +08:00
- match: "user-service.user-service.captcha_image"
observer_type: summary
2023-07-02 03:46:52 +08:00
name: "captcha_image"
labels:
provider: "$2"
outcome: "$3"
2023-07-02 03:46:52 +08:00
job: "user-service"
summary_options:
quantiles:
- quantile: 0.99
error: 0.001
- quantile: 0.95
error: 0.01
- quantile: 0.9
error: 0.05
- quantile: 0.5
error: 0.005
max_summary_age: 30s
summary_age_buckets: 3
stream_buffer_size: 1000
2023-07-02 03:46:52 +08:00
- match: "user-service.user-service.login"
observer_type: summary
2023-07-02 03:46:52 +08:00
name: "login"
labels:
provider: "$2"
outcome: "$3"
2023-07-02 03:46:52 +08:00
job: "user-service"
summary_options:
quantiles:
- quantile: 0.99
error: 0.001
- quantile: 0.95
error: 0.01
- quantile: 0.9
error: 0.05
- quantile: 0.5
error: 0.005
max_summary_age: 30s
summary_age_buckets: 3
stream_buffer_size: 1000
- match: "user-service.user-service.get_info"
observer_type: summary
name: "get_info"
labels:
provider: "$2"
outcome: "$3"
job: "user-service"
summary_options:
quantiles:
- quantile: 0.99
error: 0.001
- quantile: 0.95
error: 0.01
- quantile: 0.9
error: 0.05
- quantile: 0.5
error: 0.005
max_summary_age: 30s
summary_age_buckets: 3
stream_buffer_size: 1000
- match: "user-service.user-service.get_profile"
observer_type: summary
name: "get_profile"
labels:
provider: "$2"
outcome: "$3"
job: "user-service"
summary_options:
quantiles:
- quantile: 0.99
error: 0.001
- quantile: 0.95
error: 0.01
- quantile: 0.9
error: 0.05
- quantile: 0.5
error: 0.005
max_summary_age: 30s
summary_age_buckets: 3
stream_buffer_size: 1000
- match: "permission-service.permission-service.tenants"
observer_type: summary
name: "tenants"
labels:
provider: "$2"
outcome: "$3"
job: "permission-service"
summary_options:
quantiles:
- quantile: 0.99
error: 0.001
- quantile: 0.95
error: 0.01
- quantile: 0.9
error: 0.05
- quantile: 0.5
error: 0.005
max_summary_age: 30s
summary_age_buckets: 3
stream_buffer_size: 1000