Skip to content

Commit 5a27832

Browse files
authored
Merge pull request #33 from gatewayd-io/circuit-breaking-all-the-way
Circuit breaking all the way
2 parents 54aed8c + 50bca06 commit 5a27832

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+145
-57
lines changed

.vale/Vocab/accept.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ acceptancePolicy
7171
receiveDeadline
7272
receiveTimeout
7373
sendDeadline
74+
dialTimeout
75+
backoff
76+
backoffMultiplier
77+
disableBackoffCaps
7478
API
7579
DBA
7680
DBRE
@@ -82,3 +86,6 @@ maxBackups
8286
Postgres
8387
GatewayD
8488
gatewayd
89+
frontmatter
90+
startTimeout
91+
tls_connections

developing-plugins/grpc-api-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified_date: 2023-11-05 18:05:24 +0100
2+
last_modified_date: 2023-11-17 17:49:50 +0100
33
layout: default
44
title: gRPC API Reference
55
description: GatewayD exposes a gRPC API that can be used to interact with the GatewayD plugin system. This API can be used by the GatewayD plugins and is available in the GatewayD SDK.

developing-plugins/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified_date: 2023-11-05 18:05:24 +0100
2+
last_modified_date: 2023-11-17 17:49:50 +0100
33
layout: default
44
title: Developing Plugins
55
nav_order: 4

developing-plugins/plugin-developers-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified_date: 2023-11-05 18:05:24 +0100
2+
last_modified_date: 2023-11-17 17:49:50 +0100
33
layout: default
44
title: Plugin Developers Guide
55
description: Plugin developers' guide of GatewayD

developing-plugins/sdk-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified_date: 2023-11-05 18:05:24 +0100
2+
last_modified_date: 2023-11-17 17:49:50 +0100
33
layout: default
44
title: SDK Reference
55
description: The GatewayD plugin SDK provides a number of interfaces, structs and methods to help you build your plugin.

developing-plugins/template-projects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified_date: 2023-11-05 18:05:24 +0100
2+
last_modified_date: 2023-11-17 17:49:50 +0100
33
layout: default
44
title: Template Projects
55
description: Template projects can be used to quickly get started with developing plugins.

getting-started/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified_date: 2023-11-05 18:05:24 +0100
2+
last_modified_date: 2023-11-17 17:49:50 +0100
33
layout: default
44
title: Getting Started
55
nav_order: 1

getting-started/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified_date: 2023-11-05 18:05:24 +0100
2+
last_modified_date: 2023-11-17 17:49:50 +0100
33
layout: default
44
title: Installation
55
description: How to install GatewayD and its plugins on different platforms and how to build it from source.

getting-started/running-gatewayd.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified_date: 2023-11-05 18:05:24 +0100
2+
last_modified_date: 2023-11-17 17:49:50 +0100
33
layout: default
44
title: Running GatewayD
55
description: How to run GatewayD and test it with psql
@@ -95,20 +95,20 @@ Running GatewayD will produce the following log output, which means that Gateway
9595
5. exposing an HTTP and a gRPC API on ports `18080` and `19090`.
9696

9797
```bash
98-
2023-04-08T02:01:04+02:00 INF configuring client automatic mTLS plugin=gatewayd-plugin-cache
99-
2023-04-08T02:01:04+02:00 INF Starting metrics server via HTTP over Unix domain socket endpoint=/metrics plugin=gatewayd-plugin-cache timestamp=2023-04-08T02:01:04.242+0200 unixDomainSocket=/tmp/gatewayd-plugin-cache.sock
100-
2023-04-08T02:01:04+02:00 INF configuring server automatic mTLS plugin=gatewayd-plugin-cache timestamp=2023-04-08T02:01:04.243+0200
101-
2023-04-08T02:01:04+02:00 INF Registering plugin hooks name=gatewayd-plugin-cache
102-
2023-04-08T02:01:04+02:00 INF Plugin is ready name=gatewayd-plugin-cache
103-
2023-04-08T02:01:04+02:00 INF Started the metrics merger scheduler metricsMergerPeriod=5s startDelay=1680912069
104-
2023-04-08T02:01:04+02:00 INF Starting plugin health check scheduler healthCheckPeriod=5s
105-
2023-04-08T02:01:04+02:00 INF Metrics are exposed address=http://localhost:9090/metrics
106-
2023-04-08T02:01:04+02:00 INF There are clients available in the pool count=10 name=default
107-
2023-04-08T02:01:04+02:00 INF Started the client health check scheduler healthCheckPeriod=1m0s startDelay=2023-04-08T02:02:04+02:00
108-
2023-04-08T02:01:04+02:00 INF GatewayD is listening address=0.0.0.0:15432
109-
2023-04-08T02:01:04+02:00 INF Started the HTTP API address=localhost:18080
110-
2023-04-08T02:01:04+02:00 INF Started the gRPC API address=localhost:19090 network=tcp
111-
2023-04-08T02:01:04+02:00 INF GatewayD is running pid=41568
98+
2023-11-15T22:50:29+01:00 INF configuring client automatic mTLS plugin=gatewayd-plugin-cache
99+
2023-11-15T22:50:29+01:00 INF Starting metrics server via HTTP over Unix domain socket endpoint=/metrics plugin=gatewayd-plugin-cache timestamp=2023-11-15T22:50:29.589+0100 unixDomainSocket=/tmp/gatewayd-plugin-cache.sock
100+
2023-11-15T22:50:29+01:00 INF configuring server automatic mTLS plugin=gatewayd-plugin-cache timestamp=2023-11-15T22:50:29.596+0100
101+
2023-11-15T22:50:29+01:00 INF Registering plugin hooks name=gatewayd-plugin-cache
102+
2023-11-15T22:50:29+01:00 INF Plugin is ready name=gatewayd-plugin-cache
103+
2023-11-15T22:50:29+01:00 INF Started the metrics merger scheduler metricsMergerPeriod=5s startDelay=2023-11-15T22:50:34+01:00
104+
2023-11-15T22:50:29+01:00 INF Starting plugin health check scheduler healthCheckPeriod=5s
105+
2023-11-15T22:50:29+01:00 INF Metrics are exposed address=http://localhost:9090/metrics readHeaderTimeout=10s timeout=10s
106+
2023-11-15T22:50:29+01:00 INF There are clients available in the pool count=10 name=default
107+
2023-11-15T22:50:29+01:00 INF Started the client health check scheduler healthCheckPeriod=1m0s startDelay=2023-11-15T22:51:29+01:00
108+
2023-11-15T22:50:29+01:00 INF GatewayD is listening address=0.0.0.0:15432
109+
2023-11-15T22:50:29+01:00 INF Started the HTTP API address=localhost:18080
110+
2023-11-15T22:50:29+01:00 INF Started the gRPC API address=localhost:19090 network=tcp
111+
2023-11-15T22:50:29+01:00 INF GatewayD is running pid=32371
112112
```
113113

114114
{: .note }

getting-started/welcome.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified_date: 2023-11-05 18:05:24 +0100
2+
last_modified_date: 2023-11-17 17:49:50 +0100
33
layout: default
44
title: Welcome
55
description: Introduction to GatewayD and its key features

0 commit comments

Comments
 (0)