Last active
September 6, 2021 09:48
-
-
Save yashrsharma44/02f5765c5710dd09ce5d14e854f22825 to your computer and use it in GitHub Desktop.
Final YAML config file for request logging in Thanos
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
# Dummy Configuration file for Request Logging in Thanos. | |
# The options field can be added individually for http/grpc. | |
# If you want to add config for both grpc/http, indent the config field at the same level of http/grpc | |
http: | |
config: | |
- path: /api/v1/query | |
port: 10904 | |
- path: apiv1/app_range/metrics | |
port: 3456 | |
options: # This options is applied for both grpc/http. | |
level: ERROR | |
decision: | |
log_start: true | |
log_end: true | |
grpc: | |
config: | |
- service: thanos.Store | |
method: Info | |
# The options can be applied for each protocol, or for all protocols | |
http: | |
config: | |
- path: /api/v1/query | |
port: 10904 | |
- path: apiv1/app_range/metrics | |
port: 3456 | |
options: # This options is applied for http. | |
level: ERROR | |
decision: | |
log_start: true | |
log_end: true | |
grpc: | |
config: | |
- service: thanos.Store | |
method: Info | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
where can I get a complete example ? or a document of all items, thanks