aboutsummaryrefslogtreecommitdiff
blob: 1f89340a29c7027e3a6330944bdfa7dd4a343ff8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
  "$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"
      ]
    }
  ]
}
Powered by cgit v1.2.3 (git 2.41.0)