diff --git a/website/content/docs/connect/config-entries/proxy-defaults.mdx b/website/content/docs/connect/config-entries/proxy-defaults.mdx index d421ac8bc..e829a9d89 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