diff --git a/website/content/docs/connect/config-entries/proxy-defaults.mdx b/website/content/docs/connect/config-entries/proxy-defaults.mdx index 6ae911a2cb..6a71a0e2a2 100644 --- a/website/content/docs/connect/config-entries/proxy-defaults.mdx +++ b/website/content/docs/connect/config-entries/proxy-defaults.mdx @@ -84,6 +84,39 @@ spec: +### Prometheus + + + + +Expose prometheus metrics: + +```hcl +Kind = "proxy-defaults" +Name = "global" +Config { + envoy_prometheus_bind_addr = "0.0.0.0:9102" +} +``` + + + + +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' +``` + + + + ### Proxy-specific defaults