Browse Source

Document proxy-defaults config for prometheus (#9640)

pull/9656/head
Luke Kysow 4 years ago committed by GitHub
parent
commit
9f006fdcc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 33
      website/content/docs/connect/config-entries/proxy-defaults.mdx

33
website/content/docs/connect/config-entries/proxy-defaults.mdx

@ -84,6 +84,39 @@ spec:
</Tab>
</Tabs>
### Prometheus
<Tabs>
<Tab heading="HCL">
Expose prometheus metrics:
```hcl
Kind = "proxy-defaults"
Name = "global"
Config {
envoy_prometheus_bind_addr = "0.0.0.0:9102"
}
```
</Tab>
<Tab heading="Kubernetes YAML">
Expose prometheus metrics:
```yaml
apiVersion: consul.hashicorp.com/v1alpha1
kind: ProxyDefaults
metadata:
name: global
spec:
config:
envoy_prometheus_bind_addr: '0.0.0.0:9102'
```
</Tab>
</Tabs>
### Proxy-specific defaults
<Tabs>

Loading…
Cancel
Save