From 5a1887a09ce49a7f0218736173d3f10ba56b0f79 Mon Sep 17 00:00:00 2001
From: Luke Kysow <1034429+lkysow@users.noreply.github.com>
Date: Tue, 26 Jan 2021 10:51:31 -0800
Subject: [PATCH] Document proxy-defaults config for prometheus
---
.../connect/config-entries/proxy-defaults.mdx | 33 +++++++++++++++++++
1 file changed, 33 insertions(+)
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