mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-31 09:57:17 +02:00
Add metrics implementation* Covers proxy service on server side* Update documentation
This commit is contained in:
parent
fb3ed64fa1
commit
ff528e8c7b
10 changed files with 310 additions and 1 deletions
|
@ -133,6 +133,9 @@ type Options struct {
|
|||
// Enable proxying of websocket connections. Defaults to "false".
|
||||
// Caution: Enabling this feature could result in abuse via DOS attacks.
|
||||
AllowWebsockets bool `mapstructure:"allow_websockets"`
|
||||
|
||||
// Address/Port to bind to for prometheus metrics
|
||||
MetricsAddr string `mapstructure:"metrics_address"`
|
||||
}
|
||||
|
||||
// NewOptions returns a new options struct with default values
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue