{
"$schema": "https://www.krakend.io/schema/v3.json",
"version": 3,
"name": "Checkin.bot API",
"extra_config": {
"telemetry/opencensus": {
"sample_rate": 100,
"reporting_period": 0,
"exporters": {
"prometheus": {
"port": 9091,
"namespace": "krakend",
"tag_host": false,
"tag_path": true,
"tag_method": true,
"tag_statuscode": false
}
}
},
"telemetry/metrics": {
"collection_time": "60s",
"proxy_disabled": false,
"router_disabled": false,
"backend_disabled": false,
"endpoint_disabled": false,
"listen_address": ":8090"
}
},
"timeout": "3000ms",
"cache_ttl": "300s",
"output_encoding": "json",
"debug_endpoint": true,
"endpoints": [
{
"endpoint": "/checkinbot/webhook",
"method": "POST",
"output_encoding": "json",
"backend": [
{
"url_pattern": "/checkinbot/webhook",
"encoding": "json",
"sd": "static",
"method": "POST",
"host": [
"http://checkinbot:8080"
],
"disable_host_sanitize": false
}
]
},
{
"endpoint": "/checkinbot/healthcheck",
"method": "GET",
"output_encoding": "string",
"backend": [
{
"url_pattern": "/checkinbot/healthcheck",
"encoding": "string",
"sd": "static",
"method": "GET",
"host": [
"http://checkinbot:8080"
],
"disable_host_sanitize": false
}
]
},
{
"endpoint": "/checkinbot/fedi_login_callback",
"method": "GET",
"output_encoding": "string",
"backend": [
{
"url_pattern": "/checkinbot/fedi_login_callback",
"encoding": "string",
"sd": "static",
"method": "GET",
"disable_host_sanitize": false,
"host": [
"http://checkinbot:8080"
]
}
],
"input_query_strings": [
"code",
"state"
]
}
]
}